Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Reaction help  (Read 546 times)

CT

  • Bay Watcher
  • Gah zombies!!
    • View Profile
Reaction help
« on: June 14, 2011, 08:58:54 pm »

Armok know the forums get a hundred of these a day but I still need help. So I am trying to create a custom reaction to create wood from the smelter, and the reaction shows up but need adamantine strands to create it  :o. What am i doing wrong?
[REACTION:FREE_WOOD]
[NAME:create wood]
[BUILDING:SMELTER:NONE]
[PRODUCT:100:5:WOOD:NO_SUBTYPE:PLANT_MAT:ALDER:WOOD][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

I also added the reaction the dwarfs entity file here it is.
[PERMITTED_REACTION:FREE_WOOD]

Any help would be appreciated.
Logged
No, yep. That's what I meant too. I want to come out of the theater completely fucked up for weeks.

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Reaction help
« Reply #1 on: June 14, 2011, 11:04:50 pm »

Nothing's wrong with what you posted here. Are you sure that you removed the reagent part of the reaction?
Logged
Thank you for all the fish. It was a good run.

Eagle0600

  • Bay Watcher
  • Highly Confused
    • View Profile
Re: Reaction help
« Reply #2 on: June 15, 2011, 02:11:03 am »

Same here. I can see nothing wrong with that. Try it on a fresh install and gen a new world?
Logged
GENERATION 21:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Wyrm

  • Bay Watcher
    • View Profile
Re: Reaction help
« Reply #3 on: June 15, 2011, 10:26:48 am »

Wood doesn't need PRODUCT_DIMENSION. 5 wood items produces five logs of standard size.
Logged

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: Reaction help
« Reply #4 on: June 15, 2011, 03:47:48 pm »

It's wrong, I know it's wrong but for the life of me I can't remember why.


Quote
PLANT_MAT:ALDER:WOOD]

Something with this....

anyway

This works you just need a log, but it isn't consumed.

Quote
   [REAGENT:A:1:WOOD:NONE:NONE:NONE][PRESERVE_REAGENT]
   [PRODUCT:100:5:WOOD:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:A:NONE]
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Reaction help
« Reply #5 on: June 15, 2011, 04:03:24 pm »

PLANT_MAT:ALDER:WOOD works.

Make sure you generate a new world and it's not some weird duplicated reaction too.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Reaction help
« Reply #6 on: June 15, 2011, 04:55:17 pm »

It's wrong, I know it's wrong but for the life of me I can't remember why.


Quote
PLANT_MAT:ALDER:WOOD]

Something with this....

No, that part is perfectly valid - the syntax is PLANT_MAT:PLANT_ID:MATERIAL_NAME, and that example follows it correctly.
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.