View Issue Details

IDProjectCategoryView StatusLast Update
0012668Dwarf FortressCombat -- Generalpublic2024-01-26 01:26
Reportercaldfir Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version50.11 
Summary0012668: syndrome effects reduced by factor of 10000
DescriptionTesting with CE_FEVER indicates that a SEV:9900 is required to trigger a "slight fever" with "moderate fever" occurring around SEV:500000. This is *drastically* different from the values seen in the vanilla RAWs, which are all in the range 1-100.

Additional syndrome effects appear to have the same issue:
- CE_DIZZINESS
- CE_PAIN
- CE_NAUSEA

The following effects have a single binary trigger somewhere around 9900 (on/off):
- CE_NUMBNESS
- CE_UNCONSCIOUSNESS
- CE_IMPAIR_FUNCTION (tested on lungs)

The following seems to be off by a factor of 0000036:0000100 rather than 10k:
- CE_SWELLING (0000036:0000100 required to trigger "slight swelling" with "moderate swelling" at

(remaining effects not tested, though anecdotally CE_NECROSIS definitely kills the heck outta things)
Steps To Reproduce- Add the following interactions to your game: https://dffd.bay12games.com/file.php?id=16980
- Open DF in testing-arena mode.
- Pause the game.
- Create a HUMAN on team 1 with condition "fever 50A"
- Create a HUMAN on team 1 with condition "fever 9.9kA"
- Create a HUMAN on team 1 with condition "fever 500kA"
- Unpause for about 3s, re-pause.
- Inspect each creature's HEALTH tab. You will observe NO FEVER on the first human, "slight" fever on the second, and "moderate" on the third.
- Compare the CE_FEVER:SEV values in the provided syndromes to those in the vanilla RAWs (for example creature_bug_slug_new.txt::SPIDER_BROWN_RECLUSE).
Additional Informationforum post: http://www.bay12forums.com/smf/index.php?topic=182357.msg8525862#msg8525862
(contains detailed outline of research method and findings)

confirmed present in the following versions:
- 0.50.11 (present: tested in arena + fortress modes)
- 0.47.05 (present: tested in arena)
- 0.43.05 (present: tested in arena)
- 0.34.11 (slightly different manifestation)
  - values below CE_FEVER:SEV:9900 result in "slight fever" rather than zero-fever
Tagssyndrome

Activities

caldfir

2024-01-24 17:26

reporter   ~0042016

Accidentally created unintended links in description. Paragraph should read:

The following seems to be off by a factor of 100 rather than 10k:
- CE_SWELLING (100 required to trigger "slightly swollen"desc with "heavily swollen"desc at 5000)

caldfir

2024-01-25 15:05

reporter   ~0042018

Last edited: 2024-01-25 15:08

With a hint from Putnam, tracked down a related post from Toady: http://www.bay12forums.com/smf/index.php?topic=169696.msg8083872#msg8083872
"The SYN_CONCENTRATION_ADDED tag was a precaution after I had one bug with effects not fully manifesting due to low levels. It may not be necessary, but I decided to give everybody a full dose of the juice until I could get a closer look at it."

This refers to a bunch of [SYN_CONCENTRATION_ADDED:1000:0] in the example interactions (and presumably in the generated ones). This means that this is a known issue, but may mean that the scope is limited to interactions and not direct material-based syndromes. This does also give a reasonable workaround for modders, though it means the wiki documentation is just flat-out wrong on how this works.

note: even with this SYN_CONCENTRATION_ADDED:1000 added, things would still be off by a factor of 10 (I think?)

caldfir

2024-01-25 15:06

reporter   ~0042019

Last edited: 2024-01-26 01:26

After more investigation, the issue seems limited to INTERACTION and VERMIN_BITE applied syndromes. These have no available source for initial "concentration" provided, so they rely on SYN_CONCENTRATION_ADDED to embed that information into the syndrome itself (the workaround in the linked post by Tarn). This remains a problem, however, since SYN_CONCENTRATION_ADDED is capped at 1000, and a value of 10,000 would be needed for CE_FEVER:SEV:100 to correspond to a "serious fever".

Issue History

Date Modified Username Field Change
2024-01-24 17:21 caldfir New Issue
2024-01-24 17:21 caldfir Tag Attached: syndrome
2024-01-24 17:26 caldfir Note Added: 0042016
2024-01-25 15:05 caldfir Note Added: 0042018
2024-01-25 15:06 caldfir Note Added: 0042019
2024-01-25 15:08 caldfir Note Edited: 0042018
2024-01-26 01:26 caldfir Note Edited: 0042019