town -> woods -> one floor of dungeon; infinite dungeon elsewhere

just trying things out.
This commit is contained in:
Llywelwyn 2023-08-27 03:43:25 +01:00
parent 486807fc84
commit 02be487334
10 changed files with 72 additions and 18 deletions

View file

@ -180,6 +180,9 @@ impl PrefabBuilder {
'1' => {
build_data.map.tiles[idx] = TileType::ToTown;
}
'2' => {
build_data.map.tiles[idx] = TileType::ToInfinite;
}
_ => {
rltk::console::log(format!("Unknown glyph '{}' when loading overmap", ch as u8 as char));
}

View file

@ -83,10 +83,10 @@ const OVERMAP_TEMPLATE: &str =
^^^............................................................
^^^^............................................................
^^^^^...........................................................
^^^^^^^^........................................................
^^^^^^^^^.......................................................
^^^^^^^^^......................................................
^^^^^^^^^................................................
^^^^^.^^........................................................
^^^^..^^^.......................................................
^^^...^^^......................................................
^^^2.^^^^................................................
^^^^^^^^................................................
^^^^^^^.............................................
^^^^^^^...............................