Lots of colouring in
This commit is contained in:
parent
02f4ae939c
commit
1c33ea2f59
24 changed files with 592 additions and 46 deletions
|
|
@ -27,6 +27,7 @@ func get_current_director():
|
|||
## If we are at the highest director, we need to go to a flower
|
||||
func get_next_target():
|
||||
if nectar == 0:
|
||||
Log.pr("No nectar!")
|
||||
|
||||
## If there is a next directory drone, lets go to it
|
||||
var next_drone = drone_manager.get_next_director(latest_target_director)
|
||||
|
|
@ -42,8 +43,12 @@ func get_next_target():
|
|||
## Let's go home, we need the previous director drones location
|
||||
var previous_drone = drone_manager.get_previous_director(latest_target_director)
|
||||
if previous_drone:
|
||||
Log.pr("Previous drone", previous_drone)
|
||||
latest_target_director = previous_drone.visit_order
|
||||
return previous_drone
|
||||
else:
|
||||
Log.pr("No previous drone")
|
||||
return null
|
||||
|
||||
func deposit_nectar():
|
||||
GameState.add_nectar()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue