feat: add equipment identification and item use

This commit is contained in:
goose
2026-10-03 14:04:11 -04:00
parent 5214f5fa8b
commit e5ab923a67
20 changed files with 655 additions and 60 deletions
+3
View File
@@ -16,6 +16,9 @@ var log: Array[GameEvent] = []
var gold := 0
# D1 owns inventory at run scope so it persists while the player changes floors.
var inventory: InventoryState = InventoryState.new()
# D3 keeps item identity and equipment with the run so swaps persist across floors.
var equipment: EquipmentState = EquipmentState.new()
var identification: ItemIdentification = ItemIdentification.new()
func _init(new_seed: String, new_settings: RunSettings = null) -> void:
settings = new_settings if new_settings != null else RunSettings.new(new_seed)