Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Quick reaction help  (Read 756 times)

Neowulf

  • Bay Watcher
    • View Profile
Quick reaction help
« on: May 10, 2011, 05:49:12 pm »

Looking to make a pair of reactions to produce mudstone (at a screw press) and claystone (at a kiln).
I figured out one reaction by myself (clay mechanisms at a kiln), but making stones as in the leftovers from mining is a wee bit beyond me.
What I did that worked:
Code: [Select]
[REACTION:MAKE_CLAY_MECHANISM]
[NAME:make clay mechanism]
[BUILDING:KILN:CUSTOM_T]
[REAGENT:clay:1:BOULDER:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:FIRED_MAT]
[PRODUCT:100:1:TRAPPARTS:NONE:GET_MATERIAL_FROM_REAGENT:clay:FIRED_MAT]
[FUEL]
[SKILL:MECHANICS]

All I can think of for stones:
Code: [Select]
[REACTION:MAKE_CLAYSTONE]
[NAME:make claystone]
[BUILDING:KILN]
[REAGENT:clay:1:BOULDER:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:FIRED_MAT]
[PRODUCT:100:1:BOULDER:NONE:STONE:CLAYSTONE]
[FUEL]
[SKILL:POTTERY]

[REACTION:MAKE_MUDSTONE]
[NAME:compress mudstone]
[BUILDING:SCREW_PRESS]
[REAGENT:clay:1:BOULDER:NONE:NONE:NONE]
[HAS_MATERIAL_REACTION_PRODUCT:FIRED_MAT]
[PRODUCT:100:1:BOULDER:NONE:STONE:MUDSTONE]
[SKILL:PRESSING]

Nothing shows up after regen and new fortress, and no errors in errorlog.txt
Any ideas?

Trying to make a bit of a (real)hippie fortress: no cutting into the motherearth, but using mud, sand, and sticks as my materials and trading for metal and gems needed for moods and demands. Need the mud/claystone reactions for the inevitable mason/stonecrafter strange mood that happens before the second dwarf caravan can bring some stones.
Logged

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: Quick reaction help
« Reply #1 on: May 10, 2011, 06:15:06 pm »

Did you remember to enable the entity to use the reaction?

Kweri

  • Bay Watcher
    • View Profile
Re: Quick reaction help
« Reply #2 on: May 10, 2011, 06:24:52 pm »

Stone is not a valid material token. http://df.magmawiki.com/index.php/Material_token

Change STONE:MUDSTONE and STONE:CLAYSTONE to INORGANIC:MUDSTONE and INORGANIC:CLAYSTONE.

Not sure if that was keeping the reactions from showing up, but it's something you need to fix anyway!
Logged

Neowulf

  • Bay Watcher
    • View Profile
Re: Quick reaction help
« Reply #3 on: May 11, 2011, 09:26:18 am »

Did you remember to enable the entity to use the reaction?
And that would be the problem, thanks.

Stone is not a valid material token. http://df.magmawiki.com/index.php/Material_token

Change STONE:MUDSTONE and STONE:CLAYSTONE to INORGANIC:MUDSTONE and INORGANIC:CLAYSTONE.

Not sure if that was keeping the reactions from showing up, but it's something you need to fix anyway!
That page says STONE is an alias for INORGANIC, which should mean it's perfectly interchangeable. Changed it anyway, but is there a reason STONE should never be used?
Logged

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: Quick reaction help
« Reply #4 on: May 11, 2011, 11:49:25 am »

Stone is not a valid material token. http://df.magmawiki.com/index.php/Material_token

Change STONE:MUDSTONE and STONE:CLAYSTONE to INORGANIC:MUDSTONE and INORGANIC:CLAYSTONE.

Not sure if that was keeping the reactions from showing up, but it's something you need to fix anyway!
That page says STONE is an alias for INORGANIC, which should mean it's perfectly interchangeable. Changed it anyway, but is there a reason STONE should never be used?
[/quote]I didn't know STONE worked too.  :-\

Anyways, INORGANIC will work, regardless. It's more proper, and it works with metal. Not sure if STONE works with metal.