Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Reactions Using Products in Next Reaction Frustration v34.02  (Read 610 times)

HAJ523

  • Escaped Lunatic
    • View Profile
Reactions Using Products in Next Reaction Frustration v34.02
« on: February 18, 2012, 05:04:02 pm »

In working on my own mod i have run into a minor frustration.

I have a reaction that uses 1 stone and creates 2 obsidian using a custom workshop that requires magma. However whenever a dwarf is performing the reaction on repeat they do the annoying thing of using one of the 2 pieces of stone they just got out of the last reaction in the next. If i forbid obsidian they don't and use the other stone however that also prevents the other normal workshops from using it.

How can i forbid them from using the obsidian in my custom workshop? Is there a tag that i can add to the reaction to stop them from using the obsidian? The reagent that is in the reaction is already marked as WORTHLESS_STONE_ONLY.

Code: [Select]
[REACTION:OBSIDIAN_BOULDER_WSTONE]
[NAME:make obsidian using stone]
[BUILDING:OBSIDIAN_FACTORY:NONE]
[REAGENT:A:1:BOULDER:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
[PRODUCT:100:2:BOULDER:NONE:INORGANIC:OBSIDIAN]
[SKILL:SMELT]
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Reactions Using Products in Next Reaction Frustration v34.02
« Reply #1 on: February 18, 2012, 05:47:29 pm »

Nope - you can either make obsidian economic, or you can apply a REACTION_CLASS to every stone except obsidian.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Reactions Using Products in Next Reaction Frustration v34.02
« Reply #2 on: February 18, 2012, 05:57:49 pm »

or you can apply a REACTION_CLASS to every stone except obsidian.
Not as horrible as it sounds.
Can just add the reaction class to the main stone template and make a semi-duplicate for obsidian to reside under.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries