View Issue Details

IDProjectCategoryView StatusLast Update
0004417Dwarf FortressWorld Generation -- Generalpublic2011-04-01 13:09
Reporteruser1294Assigned To 
PrioritylowSeverityminorReproducibilityrandom
Status newResolutionopen 
Product Version0.31.25 
Summary0004417: Site positions with REQUIRES_POPULATION work spottily in World Gen
DescriptionIn a modded entity of mine, I have a site-bound mayor position with REQUIRES_POPULATION to make sure it only appears in major sites. However, the position isn't always filled when there are enough people at the site. At first, I considered the possibility that it only counts historical figures to determine if a site gets a major, but I have had sites with thousands of inhabitants that lack a mayor, while smaller sites have one.
Steps To ReproduceAdd the following entity position to humans, and generate a world:

    [POSITION:MAYOR]
        [NAME:mayor:mayors]
        [SITE]
        [NUMBER:1]
        [RESPONSIBILITY:LAW_MAKING]
        [RESPONSIBILITY:MEET_WORKERS]
        [RESPONSIBILITY:RECEIVE_DIPLOMATS]
        [RESPONSIBILITY:MILITARY_GOALS]
        [REQUIRES_POPULATION:125]
        [RULES_FROM_LOCATION]
        [ELECTED]
        [PRECEDENCE:60]
        [FLASHES]
        [BRAG_ON_KILL]
        [EXPORTED_IN_LEGENDS]
        [CHAT_WORTHY]
        [DO_NOT_CULL]
        [KILL_QUEST]
        [COLOR:5:0:0]
        [ACCOUNT_EXEMPT]
        [DUTY_BOUND]
TagsNo tags attached.

Activities

user6

2011-04-01 12:08

  ~0016940

However, the position isn't always filled when there are enough people at the site. At first, I considered the possibility that it only counts historical figures to determine if a site gets a major, but I have had sites with thousands of inhabitants that lack a mayor, while smaller sites have one.

Are you sure that population is the only criterion for the position to be filled? I.e., if you remove the tag, do all the sites reliably have that position?

user1294

2011-04-01 13:09

  ~0016951

Removing the tag indeed causes mayors to show up at every civilization site, excepting conquered sites (they get an administrator instead) and fortresses (which play by different rules since they normally don't have a site government). As long as there is at least one person at the site, there is a mayor (yes, I had a hamlet with a pop of 1 and a mayor).

Add Note

Note

Issue History

Date Modified Username Field Change
2011-04-01 11:28 user1294 New Issue
2011-04-01 12:08 user6 Note Added: 0016940
2011-04-01 13:09 user1294 Note Added: 0016951