uncaught case: TakeItem failing/items not being available to take.
The plan is to stay on 'current' action. But if current action automatically goes back to TakeItem then it's an infinite loop.
This means i need to do something like: identify what is an automatic action and disallow it to be set as the current on another automatic action. Or maybe require action that don't automatic finish, finish themselves which would allow me to block going back to it. I'm not 100% sure about the approach yet.
Maybe create action ExecutionFlags (or something like that: Automatic, Manual, AutomaticFailable), and require a Manual before an AutomaticFailable. To avoid automatic failable loops.
Or maybe just a listener to wait until the items are there to take? Which would probably have to change in the future anyway because that sort of sucks.
uncaught case: TakeItem failing/items not being available to take.
The plan is to stay on 'current' action. But if current action automatically goes back to TakeItem then it's an infinite loop.
This means i need to do something like: identify what is an automatic action and disallow it to be set as the current on another automatic action. Or maybe require action that don't automatic finish, finish themselves which would allow me to block going back to it.I'm not 100% sure about the approach yet.Maybe create action ExecutionFlags (or something like that: Automatic, Manual, AutomaticFailable), and require a Manual before an AutomaticFailable. To avoid automatic failable loops.
Or maybe just a listener to wait until the items are there to take? Which would probably have to change in the future anyway because that sort of sucks.