trapdoors

This commit is contained in:
Llywelwyn 2023-09-26 21:09:47 +01:00
parent bd450e806b
commit 06d5674199
10 changed files with 160 additions and 125 deletions

View file

@ -271,6 +271,7 @@ impl TownBuilder {
building.1 + building.3 / 2
);
build_data.map.tiles[exit_idx] = TileType::DownStair;
build_data.spawn_list.push((exit_idx, "trapdoor".to_string()));
let mut to_place: Vec<&str> = vec!["npc_miner", "npc_miner", "npc_guard", "prop_chair"];
self.random_building_spawn(building, build_data, rng, &mut to_place, exit_idx)
}