it works just fine until i add loops into events logic, for example, active mission can have event "take" which doesn't switch state, or some actions allow going back in actions. state_paths returns thousands of variants and takes several seconds, which makes it unusable
is there any method to quickly calculate next possible event?
first issue is to show buttons for available events with the object. so, i solved it with code:
it works just fine until i add loops into events logic, for example, active mission can have event "take" which doesn't switch state, or some actions allow going back in actions.
state_paths
returns thousands of variants and takes several seconds, which makes it unusableis there any method to quickly calculate next possible event?