OK, fixed it. (sleep 1 tick was actually sleeping 0)
But uh, TemplatePerson seems broken. The main thread just seems to constantly call reset_temp_behaviors and never actually gets into person main loop... (checking the flow control in edith it seems this way)
EDIT: THERE IS NO WAY INTO PERSON MAIN LOOP FROM ANY SECTION OF CODE!!!
EDIT2: Person main loop is not used! TSO seems to use Interaction - Idle with idle priority, however for this branch to be called Debug Flag 3 needs to be set (what? running the idle interaction isn't a debug thing...)
EDIT3: Confirmed - debug flags bit 3 is set automatically as evidenced by Edith's simulator globals inspector!
But uh, TemplatePerson seems broken. The main thread just seems to constantly call reset_temp_behaviors and never actually gets into person main loop... (checking the flow control in edith it seems this way)
EDIT: THERE IS NO WAY INTO PERSON MAIN LOOP FROM ANY SECTION OF CODE!!!
EDIT2: Person main loop is not used! TSO seems to use Interaction - Idle with idle priority, however for this branch to be called Debug Flag 3 needs to be set (what? running the idle interaction isn't a debug thing...)
EDIT3: Confirmed - debug flags bit 3 is set automatically as evidenced by Edith's simulator globals inspector!

Last edited: