Update flower entity to spawn snails based on game state.

- Added Snail entity with states for eating and sleeping.
- Modified Flowers script to handle snail spawning logic.
This commit is contained in:
Dan 2024-05-14 14:51:01 +01:00
parent 9988ee23de
commit 908f834181
8 changed files with 143 additions and 2 deletions

View file

@ -13,6 +13,9 @@ var level_started : bool = false
var level_complete : bool = false
var game_over : bool = false
## Game Rules
var spawn_snails : bool = false
var gathered_nectar : int = 0 :
get:
return gathered_nectar