Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upCity size of 0 prevents many buildings/terrains from spawning #22827
Comments
Night-Pryanik
added
the
Mapgen
label
Jan 30, 2018
This comment has been minimized.
This comment has been minimized.
|
Please list the buildings you expect to appear. |
This comment has been minimized.
This comment has been minimized.
|
ID "Lake" ID "farm_abandoned" |
This comment has been minimized.
This comment has been minimized.
Reknot
commented
Feb 3, 2018
•
|
Actually you can force it for some reason, they seem to spawn hidden. I know "Swamp Shack" and "Cabin" comes up in the save files wihout altering anything, for the rest I made my own custom "overmap_specials.json", see below. ### (can't get the tabs to work proper, sorry for the formatting)
|
Leland
changed the title
Map Generation Issue
City size of 0 prevents many buildings/terrains from spawning
Feb 19, 2018
ZhilkinSerg
added this to To do
in Mapgen and overmapgen improvements
Apr 19, 2018
ZhilkinSerg
removed this from To do
in Mapgen and overmapgen improvements
Apr 19, 2018
ZhilkinSerg
added this to To do
in Mapgen and overmapgen improvements
Apr 19, 2018
This comment has been minimized.
This comment has been minimized.
ZenZen2
commented
Apr 19, 2018
|
Confirming this bug. |
ZenZen2
added
<Bug>
(S2 - Confirmed)
labels
Apr 19, 2018
This comment has been minimized.
This comment has been minimized.
ZenZen2
commented
Apr 19, 2018
•
|
I think setting city size to 0 breaks city distance somehow, but thats just a theory. |
This comment has been minimized.
This comment has been minimized.
|
I tried this. Is something in the river generation code breaking the other specials somehow? |
Noctifer-de-Mortem commentedJan 29, 2018
Game version: Experimental Build 7085
Operating system: Windows 10
Tiles or curses: Tiles
Mods active:
"dda",
"Arcana",
"Cata++",
"DinoMod",
"Medieval_Stuff",
"Mining_Mod",
"More_Survival_Tools",
"No_Fungi",
"Sabaton_memes",
"blazemod",
"Tanks",
"boats",
"crazy_cataclysm",
"no_npc_food",
"novitamins",
"realguns"
(Also tested with no mods)
Expected behavior
After #22011 , various different types of buildings and terrain spawn. The player would not be in forest only area.
Actual behavior
It seems that despite being able to, some natural features do not spawn. The area gets some limited spawns but somethings don't seem to spawn at all.
Steps to reproduce the behavior
Create a world with a city size of zero and then start a game in it, scenario is irrelevant. Open the map and notice the lack of interesting features such as cabins and LMOE shelters.
Personal Theory:
((Now, I am not very good at coding and as such was not able to find anything to back this up in the code so if I am wrong, feel free to correct me.))
It looks to me that city size zero is a sort of hack; just lower the city value to city but the map generation still treats it the same as with cities still being a thing. If we add required flags, it seems the spawn rate is fixed but that would affect world with city size of >1. So I was thinking maybe a flag that works like the required flag but only works in city size 0 as a solution?