#18 ajout de la classe UndergroundLoot et aparition de loot par jour

This commit is contained in:
2025-08-20 10:25:50 +02:00
parent 9de869b7af
commit 3021567ecb
11 changed files with 182 additions and 23 deletions

View File

@@ -12,7 +12,7 @@ const SPRITE_SCENE : PackedScene = preload("res://entities/plants/plant_sprite.t
enum State {PLANTED, GROWING, MATURE}
@export var plant_type: PlantType
@export var planet: Planet
var planet: Planet # mis à jour par la classe Planet
var state: State = State.PLANTED: set = change_state
@export var day: int = 0 : set = set_day