Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0007736Dwarf FortressInit Optionspublic2014-07-30 06:532014-08-15 05:41
Quietust 
Toady One 
normalminorhave not tried
resolvedfixed 
0.40.05 
0.40.09 
0007736: Omitting STRICT_POPULATION_CAP from d_init.txt defaults it to 0
Most init/d_init settings with numeric values have valid ranges, such that setting a value too high or too low will restrict it to that range (e.g. POPULATION_CAP has a minimum of 7 and a maximum of 1000). Such options, if not set at all, will be given a value of 0, which may not make any sense.

The most notable instance of this is STRICT_POPULATION_CAP, which defaults to 0 when not specified (which has turned out to be the case with several incorrectly-prepared "starter packs", as noted in 0007684).

Ideally, most init/d_init settings should be pre-initialized to sane values in memory.
Additionally, d_init.txt should probably include the same warning present at the top of init.txt.
No tags attached.
related to 0002922resolved Toady One Population Cap not working 
parent of 0007684resolved Footkerchief Starter Pack includes obsolete version of d_init.txt 
has duplicate 0007746resolved lethosor No immigrants 
has duplicate 0007988resolved Footkerchief No Immigrants Arriving 
Issue History
2014-07-30 06:53QuietustNew Issue
2014-07-30 16:07FootkerchiefRelationship addedhas duplicate 0007746
2014-07-30 16:07FootkerchiefRelationship addedrelated to 0007684
2014-07-30 18:52lethosorAssigned To => lethosor
2014-07-30 18:52lethosorStatusnew => acknowledged
2014-08-03 09:26lethosorIssue Monitored: Trif
2014-08-03 09:29lethosorRelationship replacedparent of 0007684
2014-08-13 08:40FootkerchiefSummaryOmitting init setting can result in invalid default setting values => Omitting STRICT_POPULATION_CAP causes it to default to 0
2014-08-13 08:41FootkerchiefRelationship addedrelated to 0007988
2014-08-13 08:41FootkerchiefSummaryOmitting STRICT_POPULATION_CAP causes it to default to 0 => Omitting STRICT_POPULATION_CAP from d_init.txt defaults it to 0
2014-08-13 08:41FootkerchiefStatusacknowledged => confirmed
2014-08-13 08:42FootkerchiefRelationship addedrelated to 0002922
2014-08-13 08:48FootkerchiefRelationship replacedhas duplicate 0007988
2014-08-13 10:25Toady OneStatusconfirmed => resolved
2014-08-13 10:25Toady OneFixed in Version => Next Version
2014-08-13 10:25Toady OneResolutionopen => fixed
2014-08-13 10:25Toady OneAssigned Tolethosor => Toady One
2014-08-15 05:41TrifIssue End Monitor: Trif

There are no notes attached to this issue.