Updated entity interaction and game state

Significant changes include:
- Disabled input pickability for DeathBox in Dog entity
- Simplified mouse click detection logic in Snail script
- Removed unnecessary conditions and actions from snail eating state
- Adjusted cursor hotspot position for hand cursor in Cursor Manager
- Reset flower nectar level upon game reset
This commit is contained in:
Dan 2024-05-16 12:33:24 +01:00
parent 7f5d9dc6fc
commit 84f07fde20
6 changed files with 15 additions and 34 deletions

View file

@ -16,4 +16,4 @@ func edit() -> void:
Input.set_custom_mouse_cursor(edit_cursor, Input.CURSOR_ARROW, Vector2(32, 32))
func hand() -> void:
Input.set_custom_mouse_cursor(hand_cursor, Input.CURSOR_ARROW, Vector2(32, 32))
Input.set_custom_mouse_cursor(hand_cursor, Input.CURSOR_ARROW, Vector2(8, 8))

View file

@ -118,3 +118,4 @@ func reset() -> void:
drones_used = 0
dead_bees = 0
spawn_snails = false
flower_nectar_level = max_flower_nectar_level