cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
695 stars 271 forks source link

Mapgen gon' kaput in build 2023-10-24-0030 #3496

Closed Unrepentant-Atheist closed 1 year ago

Unrepentant-Atheist commented 1 year ago

Describe the bug

Same char, same template, same mods, same world. Build build 2023-10-24-0030 where the mapgen is absolutely out of whack.

mapgen_fucked

Same char, same template, same mods, same world, how I know my mapgen to usually work: Build Cataclysm-BN experimental build 2023-10-23-2242

mapgen_ok

The difference between these 2 screenshots seems to be the mod Urban_Development from CDDA:BN . It just keeps on generating towers and towers and towers, endless number of towers in between some houses. Other mods generate some stuff sprinkled here and there, otherwise Urban_Development takes the reins.

Steps To Reproduce

  1. Make world with different builds
  2. Wonder what's gone wrong....

Screenshots

No response

Versions and configuration

Additional context

No response

chaosvolt commented 1 year ago

Uh, ya got an actual description of what the problem is, or you just want us to guess? Because if you make me resort to guessing all I've got is "mapgen creating cities of different sizes" and that's gonna get closed for being works as intended.

Vollch commented 1 year ago

I'm guessing it's about amount of towers. Urban development trying to spawn "-1"(i.e. max int) of towers. And new mapgen doesn't hesitates giving them all.

Unrepentant-Atheist commented 1 year ago

The mapgen is totally bonkers. 2nd one is how I know the map gen to works with my mods, 1st one is where everything is out of whack.

Edit: Now I see...probably related to this PR https://github.com/cataclysmbnteam/Cataclysm-BN/pull/3438