Lots of colouring in
This commit is contained in:
parent
02f4ae939c
commit
1c33ea2f59
24 changed files with 592 additions and 46 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue