Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Plaudenslager/7db7f52e87457ff6f9e5877142d81422 to your computer and use it in GitHub Desktop.
Save Plaudenslager/7db7f52e87457ff6f9e5877142d81422 to your computer and use it in GitHub Desktop.
MapScript: Tea shop with current and future state experiment
time = default 0
fill = time > 1 ? 'blue' : time > 0 ? 'red' : 'white'
tea:
-> hot-water
-> leaves
-> cup
-> logo-cup
stage = 3
cup:
-> cup1
stage = 3
cup1:
stage = 4
time = 1
logo-cup:
stage = 2
time = 2
-> cup-vendor
-> branding
cup-vendor:
->cup-mfg
stage = 3
time = 2
hot-water:
-> kettle
-> water
stage = 2
kettle:
-> power
stage = 3
power:
stage = 4
water:
stage = 4
leaves:
stage = 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment