Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: MAX_MULTIPLIER not working?  (Read 468 times)

Bogus

  • Bay Watcher
    • View Profile
MAX_MULTIPLIER not working?
« on: March 28, 2016, 04:22:29 pm »

doesnt seem to have any effect. this reaction just grabs a whole stack and turns it into 3 units of powder. tried to put the token at the end as well and it was the same. i read somewhere this token was the fix for this exact problem tho, why is it not working?

Code: [Select]
[REACTION:MILL_BONES_TEETH]
[NAME:mill bones/teeth]
[BUILDING:QUERN:CUSTOM_B]
[BUILDING:MILLSTONE:CUSTOM_b]
[MAX_MULTIPLIER:1] <---
[REAGENT:bones/teeth:1:CORPSEPIECE:NONE:NONE:NONE]
[USE_BODY_COMPONENT]
[REACTION_CLASS:BONE]
[REAGENT:bag:1:BOX:NONE:NONE:NONE]
[EMPTY]
[BAG]
[PRESERVE_REAGENT]
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[PRODUCT:100:3:POWDER_MISC:NONE:GET_MATERIAL_FROM_REAGENT:bones/teeth:NONE]
[PRODUCT_DIMENSION:150]
[PRODUCT_TO_CONTAINER:bag]
[SKILL:MILLING]
[CATEGORY:MILL_CORPSES]
Logged

Bogus

  • Bay Watcher
    • View Profile
Re: MAX_MULTIPLIER not working?
« Reply #1 on: March 30, 2016, 04:15:42 am »

bump. did noone try to use this token so far? does it work for anyone?

meanwhile, i wrote a script to turn corpsepiece stacks into proper amounts of things. turns out a corpse piece item always has a stack size of 1, but a material_amount field that matches the number of items displayed.

so it seems the actual problem might be that corpse pieces as reagents are still broken, not so much that the token doesnt work? tho toady writes in the file_changes.txt specifically about bone stacks and how this token applies to them.
Logged

milo christiansen

  • Bay Watcher
  • Something generic here
    • View Profile
Re: MAX_MULTIPLIER not working?
« Reply #2 on: March 30, 2016, 10:18:14 am »

When I use bone reactions I use "NONE:NONE:NONE:NONE" as the item and material, then the "ANY_BONE_MATERIAL" tag after that. AFAIK MAX_MULTIPLIER works just fine...
Logged
Rubble 8 - The most powerful modding suite in existence!
After all, coke is for furnaces, not for snorting.
You're not true dwarven royalty unless you own the complete 'Signature Collection' baby-bone bedroom set from NOKEAS

Bogus

  • Bay Watcher
    • View Profile
Re: MAX_MULTIPLIER not working?
« Reply #3 on: March 30, 2016, 10:50:37 am »

i didnt use ANY_BONE_MATERIAL but USE_BODY_COMPONENT, mostly because i have one reaction for bones and one for horn. it makes sense then, but it sucks.

Spoiler (click to show/hide)
Logged