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
+4 -1
View File
@@ -25,7 +25,10 @@ static func generate(_seed: String = "") -> FloorState:
floor.entrance = Vector2i(4, 12)
floor.exit = Vector2i(18, 4)
floor.enemies[&"goblin"] = ActorStateType.new(&"goblin", Vector2i(24, 8), 6, 2)
floor.chests[Vector2i(4, 7)] = {"opened": false}
floor.chests[Vector2i(4, 7)] = {
"loot_table_id": &"floor1_reward",
"opened": false,
}
floor.metadata = {"hand_authored": true, "theme": "surface"}
return floor