Dwarf Fortress Bug Tracker - Dwarf Fortress | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0009106 | Dwarf Fortress | Adventure Mode -- Reactions | public | 2015-10-26 03:37 | 2020-08-24 17:55 |
Reporter | DarthAgnan | ||||
Assigned To | |||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | Windows | OS Version | ||
Product Version | 0.40.24 | ||||
Target Version | Fixed in Version | ||||
Summary | 0009106: Reactions in adventure mode are very broken. | ||||
Description | It seems that reactions for adventure mode that use stacks of items or items with size, such as thread, bars, cloth, etc. either consume the entire stacks of items or subtract wrong amount of dimension and demand extra item/stack (sometimes a negative part of it!). If in REAGENT ([REAGENT:coal:150:BAR:NO_SUBTYPE:COAL:NO_MATGLOSS]) you specify 150 amount (which is one full bar), reaction will ask for a bar and 0/150 of second bar to proceed. If in REAGENT ([REAGENT:coal:2:BAR:NO_SUBTYPE:COAL:NO_MATGLOSS]) you specify 2 amount of bars, and use full 150 bar, reaction will ask for -148/150 of second bar to proceed. If in REAGENT ([REAGENT:bone:10:NONE:NONE:NONE:NONE][ANY_BONE_MATERIAL]) you specify that you want 10 bones then reaction will take one bone from the stack and will ask you for 9(!) more stacks to proceed. That is if you used [ANY_BONE_MATERIAL] to identify bones; if you use REACTION_CLASS to identify bones - reaction will consume 10 full stacks. | ||||
Steps To Reproduce | The following example will demonstrate 4 bugs: add [REACTION_CLASS:ADV_BONE] to bone material and then the rest into the reactions: [REACTION:DECORATE_BONE_BANDS1] [NAME:decorate item with bone (bands) eating up stacks] [ADVENTURE_MODE_ENABLED] [REAGENT:target:1:NONE:NONE:NONE:NONE][PRESERVE_REAGENT] [REAGENT:bone:1:NONE:NONE:NONE:NONE][REACTION_CLASS:ADV_BONE] [IMPROVEMENT:100:target:BANDS:GET_MATERIAL_FROM_REAGENT:bone:NONE] [SKILL:BONECARVE] [REACTION:DECORATE_BONE_BANDS2] [NAME:decorate item with bone (bands) working fine with stacks] [ADVENTURE_MODE_ENABLED] [REAGENT:target:1:NONE:NONE:NONE:NONE][PRESERVE_REAGENT] [REAGENT:bone:2:NONE:NONE:NONE:NONE][ANY_BONE_MATERIAL] [IMPROVEMENT:100:target:BANDS:GET_MATERIAL_FROM_REAGENT:bone:NONE] [SKILL:BONECARVE] Now if you use this reactions, the first one will use the entire stack of bones (1), while the second one will use only one bone out of the stack and then demand for another bone from another stack (2). Both reactions seem to ignore the skill for both quality and training purposes (3). Also, the first one consumes skulls all right, while the second - does not consume skulls (4)... I have no idea why; it might be because skulls have dimensions like bars and this reaction consumes only a fraction of the skull? | ||||
Additional Information | Another observation rather than bug: GET_MATERIAL_FROM_REAGENT will use the material of the first item of many. Say, you are making a bone breastplate out of 10 bones (using 10 stacks of bones is the only way to make it work) and pick first bone to be a cat bone and the rest of 9 - human bones, the reaction will result in cat bone breastplate. Another observation which probably is a bug: partial bars either leftover from reactions or result of a reaction always weigh the same as a full 150 dimension bar. How I know they are partial? Reactions will take what is left in the bar and then demand the leftover of the other bar, so from how much it demand the second time I can tell how much the first one had in it. | ||||
Tags | adventurer mode, long-standing bug, modding, reactions | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-10-26 03:37 | DarthAgnan | New Issue | |||
2015-10-26 12:26 | Detros | Note Added: 0033133 | |||
2015-10-27 08:41 | DarthAgnan | Note Added: 0033136 | |||
2015-10-27 12:39 | Detros | Note Added: 0033137 | |||
2015-10-28 07:29 | chaosvolt | Note Added: 0033138 | |||
2015-10-28 07:30 | chaosvolt | Tag Attached: adventurer mode | |||
2015-10-28 07:30 | chaosvolt | Tag Attached: modding | |||
2015-10-28 07:30 | chaosvolt | Tag Attached: reactions | |||
2015-10-28 08:48 | DarthAgnan | Note Added: 0033140 | |||
2015-10-29 21:15 | chaosvolt | Note Added: 0033146 | |||
2016-02-13 09:29 | chaosvolt | Note Added: 0034656 | |||
2016-02-13 09:29 | chaosvolt | Issue Monitored: chaosvolt | |||
2016-05-20 18:19 | chaosvolt | Tag Attached: long-standing bug | |||
2020-02-13 22:26 | chaosvolt | Note Added: 0040054 | |||
2020-08-24 17:55 | noxiilarxene | Note Added: 0040707 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|