|
@@ -20,6 +20,7 @@ func _on_chocolate_tablet_body_entered(body: Node3D) -> void:
|
|
|
|
|
|
func _give_chocolate_to(walker: Walker) -> void:
|
|
func _give_chocolate_to(walker: Walker) -> void:
|
|
walker.give_chocolate()
|
|
walker.give_chocolate()
|
|
|
|
+ reparent(walker)
|
|
chocolateAnimation.play(COLLECT_ANIM)
|
|
chocolateAnimation.play(COLLECT_ANIM)
|
|
chocolateAnimation.animation_finished.connect(_finish)
|
|
chocolateAnimation.animation_finished.connect(_finish)
|
|
|
|
|