Lots of colouring in
This commit is contained in:
parent
02f4ae939c
commit
1c33ea2f59
24 changed files with 592 additions and 46 deletions
|
|
@ -8,6 +8,8 @@ var time_at_patch : float = 0.0
|
|||
|
||||
func enter(_msg := {}):
|
||||
bee.just_gathering = true
|
||||
|
||||
Log.pr("Gathering now...")
|
||||
#animator.play("Idle")
|
||||
|
||||
#if !bee.in_range_of_flowers:
|
||||
|
|
@ -22,6 +24,7 @@ func update(_delta : float):
|
|||
#animator.play("Gathering")
|
||||
time_at_patch += _delta
|
||||
if time_at_patch > 5.0:
|
||||
Log.pr("Gathered nectar!")
|
||||
bee.nectar += 1
|
||||
state_transition.emit(self, "Idle")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue