View Issue Details

IDProjectCategoryView StatusLast Update
0009628Dwarf FortressDwarf Mode -- Interface, Generalpublic2021-01-31 21:48
Reportermilo christiansen Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version0.42.06 
Summary0009628: Job details menu either does not work or works very poorly for reactions
DescriptionThe job details menu does not work correctly for user reactions. The ability to select material is based on input item type rather than material (reaction classes are ignored, and you cannot select materials at all for many input types) and you cannot select art images at all, not even for items that it would make sense for.
Steps To ReproduceCreate a reaction that uses blocks to build a statue, no menu at all. Change this reaction to use a log and it allows you to select wood materials, but no art image.

Create a reaction that limits material selection via reaction classes, the material list will be very wrong.

Create just about any reaction other than a very limited set of basic stuff and it probably won't work as expected with this menu.
Additional InformationExamples in 0009628:0034856
Tagsmenu, modding, reactions

Activities

chaosvolt

2016-03-14 10:30

reporter   ~0034848

I've noticed this as well, while working on a variant of Kobold Camp. Adding the PRODUCT_TOKEN token to my reactions for making wooden picks and other weapons allowed for details, but rock arrows don't allow for details.

Whether this is working for weaving haircloth, brewing kumis, or salvaging/refitting oversized armor has yet to be tested due to lack of materials to order said reactions.

milo christiansen

2016-03-14 10:36

reporter   ~0034849

I tried PRODUCT_TOKEN for my statue reactions in First Landing after seeing it in the adventure mode crafts reactions, but it didn't make any difference.

No matter how you look at it the way this menu works is inconsistent and horrible for mods.

chaosvolt

2016-03-14 10:43

reporter   ~0034850

I am at least fairly certain that selecting material for those modded-in wooden weapons did not become an option until I added PRODUCT_TOKEN to them.

Still, old habits die hard. I'm used to controlling whether my kobolds are packing sexy chert arrows or shitty microcline arrows the hard way. o3o

Deon

2016-03-14 14:57

reporter   ~0034852

I second this. There should be at least an option to disable this for modding reaction. It seriously screws over carefully planned workflows :).

chaosvolt

2016-03-14 22:31

reporter   ~0034856

Last edited: 2016-03-15 14:32

I can additionally confirm that it wasn't the use of reaction categories that caused it. Additionally, I'll provide examples.

[REACTION:WOOD_PICK]
    [NAME:make wooden pick]
    [BUILDING:CRAFTSMAN:NONE]
    [REAGENT:wood:1:WOOD:NONE:NONE:NONE]
    [PRODUCT:100:1:WEAPON:ITEM_WEAPON_PICK:GET_MATERIAL_FROM_REAGENT:wood:NONE]
        [PRODUCT_TOKEN:pick]
    [SKILL:WOODCRAFT]
    [CATEGORY:KOBOLD_WOOD_WEAPONS]
    [CATEGORY_NAME:Wooden weapons]
    [CATEGORY_DESCRIPTION:Make various weapons using wooden logs.]

This is presently successful, and if I recall the details option wasn't shown until PRODUCT_TOKEN was added.

[REACTION:STONE_ARROWS]
    [NAME:make rock arrows]
    [BUILDING:CRAFTSMAN:NONE]
    [REAGENT:stone:1:BOULDER:NONE:NONE:NONE]
    [PRODUCT:100:20:AMMO:ITEM_AMMO_ARROWS:GET_MATERIAL_FROM_REAGENT:stone:NONE]
        [PRODUCT_TOKEN:arrow]
    [SKILL:STONECRAFT]

The word chosen for the PRODUCT_TOKEN has yet to produce any success, and giving it a category had no effect. Still waiting for opportunities to test other reactions I've added, I might get some dwarven thieves...ahem, scouts, soon to see how this bug interacts with products that return armor, cloth, or leather.

EDIT: I can confirm this doesn't work for brewing drinks from milk.

chaosvolt

2016-05-11 15:10

reporter   ~0035139

So, Toady said some improvements were made to product details in .43.01, anyone tested this?

chaosvolt

2021-01-31 19:16

reporter   ~0040890

Still broken as of 47.05 it seems, so the answer to my question several years ago was "nope it's still borked"

Issue History

Date Modified Username Field Change
2016-03-14 09:40 milo christiansen New Issue
2016-03-14 10:30 chaosvolt Note Added: 0034848
2016-03-14 10:36 milo christiansen Note Added: 0034849
2016-03-14 10:43 chaosvolt Note Added: 0034850
2016-03-14 14:57 Deon Note Added: 0034852
2016-03-14 14:57 Deon Tag Attached: reactions
2016-03-14 14:58 Deon Tag Attached: modding
2016-03-14 14:59 Deon Tag Attached: menu
2016-03-14 22:31 chaosvolt Note Added: 0034856
2016-03-15 14:32 chaosvolt Note Edited: 0034856
2016-05-11 15:10 chaosvolt Note Added: 0035139
2021-01-31 19:16 chaosvolt Note Added: 0040890
2021-01-31 21:48 lethosor Additional Information Updated