Dwarf Fortress Bug Tracker - Dwarf Fortress
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011810||Dwarf Fortress||Dwarf Mode -- Jobs, Assignment of Jobs||public||2021-10-03 11:13||2021-10-09 01:38|
|Platform||x86_64||OS||Windows 10 Home (Cygwin)||OS Version||21H1+19043.1165|
|Target Version||Fixed in Version|
|Summary||0011810: sum of casts maximum BODY_SIZE prevents wood chopping|
|Description||If I assign BODY_SIZE to all the castes and the sum of the caste's BODY_SIZE maximum values is <=86000 then *no* dwarf (regardless of age or caste) will be able to chop down trees.|
So even if one caste has a [BODY_SIZE:*:*:72427] no dwarf from this cast will be able to chop wood, because the other caste has a [BODY_SIZE:*:*:12573], because 72427+12573<=86000.
If the sum of BODY_SIZE's is in the range [86001,86008] then wood chopping ability is undefined, sometimes it works, sometimes it does not.
If the sum of BODY_SIZE's is >=86009 then wood chopping apparently always works, even if one caste has a [BODY_SIZE:*:*:10000].
Have not tried with more than two castes, it may be an average as opposed to a sum.
|Steps To Reproduce||$ git format-patch v0.47.05..BODY_SIZE_BUG|
objects/creature_standard.txt | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/objects/creature_standard.txt b/objects/creature_standard.txt
index 0b39bea..908e393 100644
@@ -126,12 +126,6 @@ creature_standard
- These tags establish the growth phases of the creature's life. The format is (BODY_SIZE|<year>|<day>|<average size>).
These body modifiers give individual dwarves different characteristics. In the case of HEIGHT, BROADNESS and LENGTH, the modifier is also a percentage change to the BODY_SIZE of the individual creature. The seven numbers afterward give a distribution of ranges. Each interval has an equal chance of occurring.
@@ -331,10 +325,26 @@ creature_standard
To add beards, put square brackets around the following:
+ trying SUM(BODY_SIZE)=85000=72427+12573
This command lets you select all of the castes again.
|Tags||No tags attached.|
|2021-10-03 11:13||enemy-of-christ||New Issue|
|2021-10-05 06:53||Bumber||Note Added: 0041160|
|2021-10-09 01:38||FantasticDorf||Note Added: 0041162|