Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom reaction Help  (Read 649 times)

ashton1993

  • Bay Watcher
    • View Profile
Custom reaction Help
« on: August 31, 2011, 03:57:40 pm »

Hey, I've been really bugged by the material definition tokens for reactions, could somebody please help me out?

I've got this at the moment:

Code: [Select]
[REACTION:PREPARE_RED]
[NAME:prepare red adamantine]
[BUILDING:ALCHEMIST:NONE]
[REAGENT:A:1:STONE:NO_SUBTYPE:INORGANIC:ADAMANTINE]
[REAGENT:B:1:PLANT:NO_SUBTYPE:PLANT_MAT:PLANT_ID:RED]
[PRODUCT:100:1:METAL_ORE:NO_SUBTYPE:INORGANIC:RED_ADAMANTINE]
[SKILL:ALCHEMY]

The bit which I think is broken is:

PLANT_MAT:PLANT_ID:RED]

I have a plant called red and want to use it's fruit, the problem is I don't know what I have to put in PLANT_MAT or PLANT_ID and the wiki does not explain this at all, cheers if you can hope  :) If you want to check out the mod I'm doing this for look here:

http://www.bay12forums.com/smf/index.php?topic=91971.0
Logged
Wow, that's actually really friggin' awesome looking.
That is brilliant.
That is hilarious, Ashton. I love it.
OMG yes!!!  Thank you!!!

Totally not a narcissist.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Custom reaction Help
« Reply #1 on: August 31, 2011, 03:59:56 pm »

For PLANT_MAT:PLANT_ID:NAME, PLANT_ID is the name of the plant object (e.g. MUSHROOM_HELMET_PLUMP), and NAME is the name of the specific plant material you want the object to be made out of (e.g. STRUCTURAL, WOOD, DRINK, MILL, etc.).
« Last Edit: August 31, 2011, 04:01:34 pm by Quietust »
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.

ashton1993

  • Bay Watcher
    • View Profile
Re: Custom reaction Help
« Reply #2 on: August 31, 2011, 04:03:13 pm »

For PLANT_MAT:PLANT_ID:NAME, PLANT_ID is the name of the plant object (e.g. MUSHROOM_HELMET_PLUMP), and NAME is the name of the specific plant material you want the object to be made out of (e.g. STRUCTURAL, WOOD, DRINK, MILL, etc.).

So would I be correct to say in this instance I would want:

STRUCTURAL:RED:RED]
Logged
Wow, that's actually really friggin' awesome looking.
That is brilliant.
That is hilarious, Ashton. I love it.
OMG yes!!!  Thank you!!!

Totally not a narcissist.

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Custom reaction Help
« Reply #3 on: August 31, 2011, 04:03:47 pm »

No,  you want PLANT_MAT:RED:STRUCTURAL.
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.

ashton1993

  • Bay Watcher
    • View Profile
Re: Custom reaction Help
« Reply #4 on: August 31, 2011, 04:08:59 pm »

Cheers thanks a lot, testing as soon as I've dug down and found that rare plant I need for the reaction
Logged
Wow, that's actually really friggin' awesome looking.
That is brilliant.
That is hilarious, Ashton. I love it.
OMG yes!!!  Thank you!!!

Totally not a narcissist.

Mechanixm

  • Bay Watcher
    • View Profile
Re: Custom reaction Help
« Reply #5 on: September 02, 2011, 02:15:06 pm »

I find it best to include the following reaction when I'm doing specific tests like this:

[REACTION:FREE_ADAMANTINE]
[NAME:Free Adamantine]
[BUILDING:KILN:NONE]
[REAGENT:A:1:BOULDER:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
[PRODUCT:100:20:BOUDLER:NO_SUBTYPE:INORGANICE:RAW_ADAMANTINE]
[SKILL:STONECRAFT]


Just for testing of course...

ashton1993

  • Bay Watcher
    • View Profile
Re: Custom reaction Help
« Reply #6 on: September 02, 2011, 02:35:41 pm »

I find it best to include the following reaction when I'm doing specific tests like this:

[REACTION:FREE_ADAMANTINE]
[NAME:Free Adamantine]
[BUILDING:KILN:NONE]
[REAGENT:A:1:BOULDER:NONE:NONE:NONE][WORTHLESS_STONE_ONLY]
[PRODUCT:100:20:BOUDLER:NO_SUBTYPE:INORGANICE:RAW_ADAMANTINE]
[SKILL:STONECRAFT]


Just for testing of course...

Ack don't worry I've sorted it out now, and don't worry it's definitely not free adamantine, it's actually harder to obtain (as a usable metal anyway) but way more versatile, you should try checking out the mod its in now though, got most the basic bits in now

http://www.bay12forums.com/smf/index.php?topic=91971.0
Logged
Wow, that's actually really friggin' awesome looking.
That is brilliant.
That is hilarious, Ashton. I love it.
OMG yes!!!  Thank you!!!

Totally not a narcissist.