Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with a reaction.  (Read 769 times)

Mekboy

  • Bay Watcher
  • [MEGABEAST_EATER]
    • View Profile
Help with a reaction.
« on: July 25, 2010, 05:26:34 pm »

At the moment I am trying to mod in a warpstone, in impure and pure forms. As pure it is a gem, and impure a stone.

The problem is making a reaction at the smelter which turns the impure form into the pure form.


Here is the impure form (it's found everywhere so I can get it quickly while I'm testing this, and I'm still messing with melting points et.c.):
Spoiler (click to show/hide)

And here is the pure form:
Spoiler (click to show/hide)

Any help would be appreciated, as this is my first attempt modding.
Logged
Quote from: CatalystParadox
Aw, Mekboy! A song for meeeee?
You're so sweet.  Why don't you just come in here so I can give you a hug.
... bring my pants.
Quote from: Urist Imiknorris
You seem to be under the illusion that we give a shit about what happens to dwarves who are too dumb to live.

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Help with a reaction.
« Reply #1 on: July 25, 2010, 06:08:02 pm »

Ok, should be something like this. You can remove the comments I put after it.

[REACTION:PURGE_THE_IMPURE]
[NAME:purify waropstone]
[BUILDING:SMELTER:NONE]
[REAGENT:A:1:NONE:NONE:INORGANIC:IMPURE_WARPSTONE] takes any item of the right material
[PRODUCT:100:1:ROUGH:NONE:INORGANIC:CHUNK_WARPSTONE_PURE][PRODUCT_DIMENSION:150] and turns it into a rough gem of the other material
[FUEL] optional, makes the reaction require feul in non-magma smelters.
[SKILL:SMELT] you can change smelt with ALCHEMY to make it use the alchemby labour.

The reagent take any item of the impure stone material, to make it take just rough gems replace the first NONE with ROUGH, or with SMALLGEM for cut gems.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Mekboy

  • Bay Watcher
  • [MEGABEAST_EATER]
    • View Profile
Re: Help with a reaction.
« Reply #2 on: July 25, 2010, 06:10:30 pm »

Thanks for the help.

EDIT: Regenned a world to try this out, and it still doesn't seem to want to work.
« Last Edit: July 25, 2010, 06:19:34 pm by Mekboy »
Logged
Quote from: CatalystParadox
Aw, Mekboy! A song for meeeee?
You're so sweet.  Why don't you just come in here so I can give you a hug.
... bring my pants.
Quote from: Urist Imiknorris
You seem to be under the illusion that we give a shit about what happens to dwarves who are too dumb to live.

drayath

  • Bay Watcher
    • View Profile
Re: Help with a reaction.
« Reply #3 on: July 25, 2010, 10:19:18 pm »

Did you remember to add the reaction to the entity_default.txt file too (e.g. [PERMITTED_REACTION:PURGE_THE_IMPURE])? This is usually what i forget.
Logged
Drayath's Gem Splitting Workshop - Split large gems and gem trinkets into numbers of small gems.
Drayath's Seed Brewery - Convert bags of spare seeds into useful booze.