Ajout de l'amélioration du modèle du robot au cours de l'histoire, d'une annonce sur cette amélioration ainsi qu'un succès à l'utilisation de toutes les incubateurs d'orchid dans une base

This commit is contained in:
2026-07-10 16:25:33 +02:00
parent be33225d4d
commit cb5a2421ae
32 changed files with 254 additions and 51 deletions
@@ -0,0 +1,32 @@
@tool
extends AnnounceObject
class_name AnnounceModel
const ORCHID_3D_SCENE = preload("res://entities/player_3d/resources/3d_orchid.blend")
@export var text : String
func _init(
_text := text
):
text = _text
func get_3d_object() -> Node3D:
return ORCHID_3D_SCENE.instantiate()
func get_title() -> String:
return "MODEL_HAS_BEEN_UPGRADED"
func get_text() -> String:
return text
func get_camera_z_pos() -> float:
return 5.
func get_card_info() -> CardInfo:
return null
func _on_dismiss():
pass
# GameInfo.game_data.player_data.tool_discovered.append(tool_item.get_item_name())