|Anonymous | Login | Signup for a new account||2023-09-27 10:16 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011804||Dwarf Fortress||Dwarf Mode -- Jobs, General||public||2021-09-09 10:31||2021-09-09 10:31|
|Target Version||Fixed in Version|
|Summary||0011804: [MAX_MULTIPLIER:1] and stack size not respected by some modded reactions|
|Description||The [MAX_MULTIPLIER:1] token doesn't work consistently across all modded reactions, even when they are otherwise very similar.|
My mod contains two very similar reactions, which both take CORPSEPIECE items as the reagent:
[NAME:carve bone Blocks]
[DESCRIPTION:Requires 1 bone to produce 1 block.]
[NAME:Process Plants (Foliage)]
[DESCRIPTION:Process plant foliage sheared from a plant creature into usable thread.]
In the first reaction, the bone carver takes a whole stack of bones to the workshop. The reaction consumes only one bone from the stack, and produces a single bone block. I have similar reactions which take more bones, for example three bones for a table. The whole stack is never consumed, and only a single product is produced.
The second reaction takes a stack of CORPSEPIECE which has been sheared from a plant-based creature. In this case, the thresher takes a whole stack to the workshop. The whole stack is consumed, and only a single thread is produced.
I should note that this exact behavior occurs whether or not [MAX_MULTIPLIER:1] is present. So this bug could be that the token doesn't work, or that when the token is absent, a whole stack is consumed without producing a commensurate number of products.
I will also note that in the second reaction, the product type doesn't seem to matter. If I change it from THREAD to BLOCKS like in the first reaction, the same behavior is observed—the whole stack is consumed, and only a single product is produced.
|Steps To Reproduce||https://dffd.bay12games.com/file.php?id=15654 [^]|
In the provided save, add a "Process Plants (Foliage)" tasks to the Farmer's Workshop. For comparison, also add any of the tasks available at the Bone Carver's workshop.
A stack of stray shambling mound foliage  is available in the Farmer's workshop, and stray dog bone  in the nearby refuse stockpile for testing.
|Tags||No tags attached.|
|2021-09-09 10:31||Rekov||New Issue|
|Copyright © 2000 - 2010 MantisBT Group|