diff --git a/changelog.txt b/changelog.txt index d0f1ac59a..af9d9f93d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -35,6 +35,7 @@ Template for new versions: - `open-legends`: don't intercept text bound for vanilla search widgets - `gui/unit-info-viewer`: correctly display skill levels when rust is involved - `timestream`: fix dwarves spending too long eating and drinking +- `timestream`: accelerate job creation in proportion to calendar time advancement - `locate-ore`: fix sometimes selecting an incorrect tile when there are multiple mineral veins in a single map block - `gui/settings-manager`: fix position of "settings restored" message on embark when the player has no saved embark profiles - `build-now`: fix error when building buildings that (in previous DF versions) required the architecture labor diff --git a/timestream.lua b/timestream.lua index e41143e05..da82f1673 100644 --- a/timestream.lua +++ b/timestream.lua @@ -60,7 +60,17 @@ end -- ensure we never skip over cur_year_tick values that match this list local TICK_TRIGGERS = { - {mod=10, rem={0}}, -- season ticks and (mod=100) crop growth + {mod=10, rem={0}}, -- 0: season ticks (and lots of other stuff) + -- 0 mod 100: crop growth, strange mood, minimap update, rot + -- 20 mod 100: building updates + -- 40 mod 100: assign tombs to newly tomb-eligible corpses + -- 80 mod 100: incarceration updates + -- 40 mod 1000: remove excess seeds + {mod=50, rem={25, 35, 45}}, -- 25: stockpile updates + -- 35: check bags + -- 35 mod 100: job auction + -- 45: stockpile updates + {mod=100, rem={99}}, -- 99: new job creation } -- "owed" ticks we would like to skip at the next opportunity