Behavior Tree for an other purpose : game state and transitions

This might be what you are looking for: