Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Quick question about plant extracts  (Read 1018 times)

Dante

  • Bay Watcher
  • Dante likes cats for their corrupt intentions.
    • View Profile
Quick question about plant extracts
« on: June 16, 2010, 04:44:42 pm »

Quick question about plant extracts, for a 'bad-ass dwarves' mod I'm working on. I want to turn a boulder into a plant extract called 'magma'. The plant grows nowhere and I know it's done correctly because I basically copypasted its raws from the sweet pod. So, this reaction must be wrong:

[REACTION:TURN_MINED_STONE_INTO_MAGMA_FOOD]
   [NAME:boil stone]
   [BUILDING:BOILER:CUSTOM_B]
   [REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:NONE:NONE]
   [REAGENT:B:1:BARREL:NONE:NONE:NONE][NOT_CONTAIN_BARREL_ITEM][PRESERVE_REAGENT]
   [PRODUCT:100:5:LIQUID_MISC:PLANT:NONE:MAGMA_PLANT:EXTRACT][PRODUCT_TO_CONTAINER:B]
   [SKILL:COOK]

Because I get unnamed liquids as a result. Perfectly edible, but no names. Same thing happens if I replace 'LIQUID_MISC' with 'GLOB', and I get unnamed plants if I replace it with 'PLANT'. Any ideas?

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: Quick question about plant extracts
« Reply #1 on: June 16, 2010, 05:12:01 pm »

[REACTION:TURN_MINED_STONE_INTO_MAGMA_FOOD]
   [NAME:boil stone]
   [BUILDING:BOILER:CUSTOM_B]
   [REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:NONE:NONE]
   [REAGENT:B:1:BARREL:NONE:NONE:NONE][NOT_CONTAIN_BARREL_ITEM][PRESERVE_REAGENT]
   [PRODUCT:100:5:LIQUID_MISC:PLANT:NONE:MAGMA_PLANT:EXTRACT][PRODUCT_TO_CONTAINER:B]
   [SKILL:COOK]

For starters do you have...

[PERMITTED_REACTION:TURN_MINED_STONE_INTO_MAGMA_FOOD]

Next... you could try...
[REAGENT:B:1:BARREL:NONE:NONE:NONE][EMPTY][PRESERVE_REAGENT]

Also the fact that it's...
[PRODUCT:100:5:LIQUID_MISC
Might be the problem... try 100:1 just in case.

I think you can get rid of the last NONE in this...
[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:NONE:NONE]

This entry is in my guide...
[PRODUCT:100:1:DRINK:NONE:PLANT_MAT:POD_SWEET:DRINK][PRODUCT_TO_CONTAINER:A]

You would change it to...
[PRODUCT:100:1:DRINK:NONE:PLANT_MAT:MAGMA_PLANT:DRINK][PRODUCT_TO_CONTAINER:B]

Uhm... try all that and lemme know.
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

Dante

  • Bay Watcher
  • Dante likes cats for their corrupt intentions.
    • View Profile
Re: Quick question about plant extracts
« Reply #2 on: June 16, 2010, 05:47:44 pm »

Thanks for the answer. [EMPTY] helped, I don't know where I got the other thing. I'm still getting barrels of plain old 'liquid' though.

When I change it to 'DRINK' as you suggest, I get barrels of 'drinks'.

Dante

  • Bay Watcher
  • Dante likes cats for their corrupt intentions.
    • View Profile
Re: Quick question about plant extracts
« Reply #3 on: June 16, 2010, 06:55:31 pm »

Ah, got it.

[REACTION:TURN_MINED_STONE_INTO_MAGMA_FOOD]
   [NAME:boil stone]
   [BUILDING:BOILER:CUSTOM_B]
   [REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:NONE]
   [REAGENT:B:1:BARREL:NONE:NONE:NONE][EMPTY][PRESERVE_REAGENT]
   [PRODUCT:100:5:DRINK:NONE:PLANT_MAT:MAGMA_PLANT:EXTRACT][PRODUCT_TO_CONTAINER:B]
   [SKILL:COOK]

...is the answer.
So you need a combination of 'DRINK' and 'EXTRACT'.

I just need to check that that 'DRINK' tag didn't accidentally make it into an alcohol (I need it as a cookable plant extract).

Thanks for your help. Shaostoul.

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: Quick question about plant extracts
« Reply #4 on: June 16, 2010, 07:02:48 pm »

Anytime dude. Have fun.
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!