Files
scrap-signal/entities/items/circuit/circuit.gd
Kellan KOZUME decd182b3e feat(atelier): complete zone 2 level design and game systems
- Add atelier tilemap (14x14 tiles) with dark atmosphere
- Add Journal D-891 interactable with Matteo Corda narrative
- Add pushable frozen robot (reuses PushableBox logic)
- Add PassageTrigger to reveal hidden path via TileMapLayer
- Add RepairStation for SCRAP-09 self-repair mini-game
- Add scrap09 puzzle in RepairMinigame with valid connections
- Add door to cour unlocked by scrap09_repaired flag
2026-04-25 12:54:33 -04:00

12 lines
300 B
GDScript

class_name Circuit
extends Area2D
@export var item_id : String = "circuit"
@export var item_name : String = "Circui"
@export var prompt_text : String = "[E] Take"
func interact() -> void:
GameState.add_item(item_id)
print("Ramassé : ", item_name)
queue_free() # supprime l'item de la scène