Greenheart / swipeforfuture.com

Solving the climate crisis, one swipe at a time 🌍🔥
https://swipeforfuture.com
GNU General Public License v3.0
7 stars 1 forks source link

Add state update triggers/actions #98

Open Muthaias opened 4 years ago

Muthaias commented 4 years ago

Example use cases:

This could help us resolve #67, since these actions could be used to simulate ticking changes

Greenheart commented 4 years ago

This is similar to the new world state modifiers concept introduced recently. Perhaps this issue can be closed since its partially covered by the current implementation?

Muthaias commented 4 years ago

This can be implemented using a type of world state modifier.

One could possibly choose to add an optional matching criteria to every worldStateModifier. Doing so would make this feature obsolete or considered implemented.

Otherwise one could just add matching criterias to the world state modifiers that need make use of it. I would not want to remove this feature request yet though.

Greenheart commented 4 years ago

Good summary, thanks for the explanation! Let's leave it until later 🔜