Lots of colouring in

This commit is contained in:
Dan 2024-05-08 14:03:38 +01:00
parent 02f4ae939c
commit 1c33ea2f59
24 changed files with 592 additions and 46 deletions

View file

@ -12,6 +12,10 @@ func enter(_msg := {}):
## Get the next target location from the bee
if bee.just_gathering:
target = bee.get_current_director() # We want to go back the way we came
if !target:
Log.pr("No director around, returning to hive")
## If there is no other director, just go straight back home
state_transition.emit(self, "Returning")
bee.just_gathering = false
else:
target = bee.get_next_target()