feat: add deterministic world chest loot

This commit is contained in:
goose
2026-10-03 13:34:12 -04:00
parent 795d25fb4a
commit a251359885
19 changed files with 423 additions and 7 deletions
+2
View File
@@ -12,6 +12,8 @@ var floors: Dictionary[int, FloorState] = {}
var floor_deadlines: Dictionary[int, FloorDeadline] = {}
var current_turn := 0
var log: Array[GameEvent] = []
# Currency is run-scoped like inventory, so chest rewards persist through floors.
var gold := 0
# D1 owns inventory at run scope so it persists while the player changes floors.
var inventory: InventoryState = InventoryState.new()