Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Reaction Problem  (Read 578 times)

TheYakuza

  • Bay Watcher
    • View Profile
Reaction Problem
« on: June 10, 2012, 04:07:38 pm »

I am having a problem with one of my Smelter Reactions. I am tired of embarking on a map with no iron so I wanted to make a reaction that takes 2 pieces of copper and turns it into 1 iron bar. I have this in the  " reaction_smelter" document. But nothing comes up on my smelter when I regen the world. Does anyone one know that the problem is or know a better way this can be done?

~Thanks

Spoiler (click to show/hide)
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction Problem
« Reply #1 on: June 10, 2012, 04:13:49 pm »

Your reagents are incomplete

METAL_ORE:COPPER??:NONE:NONE

or

METAL_ORE:NONE:INORGANIC:COPPER??

normally I just place REACTION_CLASSES on things and use that
Logged

TheYakuza

  • Bay Watcher
    • View Profile
Re: Reaction Problem
« Reply #2 on: June 10, 2012, 04:24:12 pm »

Thanks, Also I forgot to put the reaction to be permitted in the entity default. Problem Solve.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Reaction Problem
« Reply #3 on: June 10, 2012, 04:48:36 pm »

Your reagents are incomplete

METAL_ORE:COPPER??:NONE:NONE

or

METAL_ORE:NONE:INORGANIC:COPPER??

normally I just place REACTION_CLASSES on things and use that

No. His reagents are right. What he did is perfectly valid: METAL_ORE is a valid item and COPPER refers to what kind of metal you can get out of the ore.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Reaction Problem
« Reply #4 on: June 10, 2012, 09:04:35 pm »

Your reagents are incomplete

METAL_ORE:COPPER??:NONE:NONE

or

METAL_ORE:NONE:INORGANIC:COPPER??

normally I just place REACTION_CLASSES on things and use that

No. His reagents are right. What he did is perfectly valid: METAL_ORE is a valid item and COPPER refers to what kind of metal you can get out of the ore.

Specifically, he's using the old (but still valid) syntax for requesting metal ores - the new syntax (which Toady himself doesn't seem to be using yet) is [REAGENT:A:1:BOULDER:NONE:NONE:NONE][METAL_ORE:COPPER].
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.