prefab whitespace fix

This commit is contained in:
Llywelwyn 2023-07-23 02:39:02 +01:00
parent 050923fab0
commit 53afddf055
2 changed files with 13 additions and 12 deletions

View file

@ -161,6 +161,8 @@ pub fn random_builder(new_depth: i32, rng: &mut rltk::RandomNumberGenerator) ->
if rng.roll_dice(1, 3) == 1 { if rng.roll_dice(1, 3) == 1 {
builder.with(WaveFunctionCollapseBuilder::new()); builder.with(WaveFunctionCollapseBuilder::new());
builder.with(CullUnreachable::new());
builder.with(VoronoiSpawning::new());
} }
if rng.roll_dice(1, 20) == 1 { if rng.roll_dice(1, 20) == 1 {

View file

@ -165,13 +165,13 @@ pub const HOUSE_NOTRAP_7X7: PrefabVault = PrefabVault {
can_flip: Flipping::Both, can_flip: Flipping::Both,
}; };
const HOUSE_NOTRAP_7X7_V: &str = " const HOUSE_NOTRAP_7X7_V: &str = "
#   # ##   ##
#   g # #   g #
  # #     # #  
   ?       ?   
  # #     # #  
# g   # # g   #
#   # ##   ##
"; ";
pub const HOUSE_TRAP_7X7: PrefabVault = PrefabVault { pub const HOUSE_TRAP_7X7: PrefabVault = PrefabVault {
@ -183,13 +183,13 @@ pub const HOUSE_TRAP_7X7: PrefabVault = PrefabVault {
can_flip: Flipping::Both, can_flip: Flipping::Both,
}; };
const HOUSE_TRAP_7X7_V: &str = " const HOUSE_TRAP_7X7_V: &str = "
#   # ##   ##
#     # #     #
  #^#     #^#  
  ^? g    ^? g 
 g#^#    g#^#  
#     # #     #
#   # ##   ##
"; ";
pub const ORC_HOUSE_8X8: PrefabVault = PrefabVault { pub const ORC_HOUSE_8X8: PrefabVault = PrefabVault {
@ -208,5 +208,4 @@ const ORC_HOUSE_8X8_V: &str = "
# %o # # %o #
#   ?# #   ?#
##+### ##+###
"; ";