refonte de l'inspecteur #61

This commit is contained in:
2025-09-12 10:48:51 +02:00
parent 6687235094
commit 655b875759
16 changed files with 263 additions and 143 deletions

View File

@@ -15,9 +15,15 @@ var planet : Planet # mis à jour par la classe Planet
func _init(_planet = null):
planet = _planet
func inspected_text():
func pointer_text():
return "Buried Loot"
func inspector_info() -> Inspector.Info:
return Inspector.Info.new(
"Buried Loot",
"Can contain some seeds from the past... Dig it with a shovel."
)
func generate_sprite() -> Node2D:
var object = SPRITE_SCENE.instantiate()