Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Custom brewing reaction  (Read 674 times)

Pancho Cachondo

  • Bay Watcher
    • View Profile
Custom brewing reaction
« on: January 23, 2012, 03:02:54 am »

How can I add a reaction for the still?
Logged

Veylon

  • Bay Watcher
    • View Profile
Re: Custom brewing reaction
« Reply #1 on: January 23, 2012, 03:29:51 am »

You use the [BUILDING:STILL:NONE] tag in the reaction. As shown in the wiki.
Logged
At what point did the suggestion of child sacrifice become the more ethical option?

Pancho Cachondo

  • Bay Watcher
    • View Profile
Re: Custom brewing reaction
« Reply #2 on: January 23, 2012, 03:45:28 am »

OK I made this reaction but it is not listed in the still's menu.

[REACTION:BREW_ALCOHOLIC_BEVERAGE]
   [NAME:Make an alcoholic beverage]
   [BUILDING:STILL:CUSTOM_B]
   [REAGENT:A:150:WATER:NONE:NONE:NONE]
   [REAGENT:B:1:BUCKET:NONE:NONE:NONE][CONTAINS:A][PRESERVE_REAGENT]
   [REAGENT:C:1:PLANT:NONE:NONE:NONE][UNROTTEN]
   [REAGENT:D:1:BARREL:NONE:NONE:NONE][EMPTY][PRESERVE_REAGENT]
   [PRODUCT:100:150:DRINK:NONE:GET_MATERIAL_FROM_REAGENT:C:NONE][PRODUCT_TO_CONTAINER:D]
   [SKILL:BREWING]
Logged

Abregado

  • Bay Watcher
    • View Profile
Re: Custom brewing reaction
« Reply #3 on: January 23, 2012, 04:33:22 am »

gotta add the reaction in the entity_default.txt under allowed reactions

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: Custom brewing reaction
« Reply #4 on: January 23, 2012, 09:53:20 am »

Wait, does this reaction work?  If so, I might have to steal borrow it.  With permission.
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Custom brewing reaction
« Reply #5 on: January 23, 2012, 10:10:04 am »

Wait, does this reaction work?  If so, I might have to steal borrow it.  With permission.
Somewhat you would get a weird drink... I am not at my PC so I cannot give the direct raws I cooked up for ADVANCED brewing. But you need a
   [MATERIAL_REACTION_PRODUCT:BOOZE_MAT:LOCAL_PLANT_MAT:DRINK]
on the plant (right under [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTUAL])
then the reagent for plants needs to look like this
[REAGENT:C:1:PLANT:NONE:NONE:NONE][HAS_MATERIAL_REACTION_PRODUCT:BOOZE_MAT][UNROTTEN]

and the product line would look like

[PRODUCT:100:150:DRINK:NONE:GET_MATERIAL_FROM_REAGENT:C:BOOZE_MAT][PRODUCT_TO_CONTAINER:D]

now I usally make use of the [PRODUCT_DIMENSION:xxx] so I have no need to do math

EDIT:
My explaination was kinda short

You need to not only modify this reaction
but you need to modify all booze producing plants (or certain ones up to you) to have a material reaction that targets the plants DRINK material.

EDIT2:
just got my hands on the raws, just remembered I PM'ed them as a BDay Gift

Code: [Select]
[REACTION:BREW]
[NAME:brew drink]
[BUILDING:(workshop):NONE]
[REAGENT:plants:1:PLANT:NONE:NONE:NONE][HAS_MATERIAL_REACTION_PRODUCT:BOOZE_MAT]
[REAGENT:barrel:1:BARREL:NONE:NONE:NONE][PRESERVE_REAGENT][EMPTY]
[PRODUCT:100:1:DRINK:NONE:GET_MATERIAL_FROM_REAGENT:plants:BOOZE_MAT][PRODUCT_TO_CONTAINER:barrel]
[SKILL:BREWING]

It is modified from it's orignal state, but this is how mine looks without all the advanced stuff

Also Plant

Code: [Select]
[PLANT:MUSHROOM_HELMET_PLUMP]
[NAME:plump helmet][NAME_PLURAL:plump helmets][ADJ:plump helmet]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[MATERIAL_VALUE:2]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
  [MATERIAL_REACTION_PRODUCT:BOOZE_MAT:LOCAL_PLANT_MAT:DRINK]
[GROWDUR:600][VALUE:2]
[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven wine]
[STATE_NAME_ADJ:LIQUID:dwarven wine]
[STATE_NAME_ADJ:GAS:boiling dwarven wine]
[MATERIAL_VALUE:5]
[DISPLAY_COLOR:5:0:0]
[EDIBLE_RAW]
[PREFIX:NONE]
[DRINK:LOCAL_PLANT_MAT:DRINK]
[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
[MATERIAL_VALUE:1]
[EDIBLE_VERMIN]
[SEED:plump helmet spawn:plump helmet spawn:4:0:1:LOCAL_PLANT_MAT:SEED]
[SPRING][SUMMER][AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:rounded tops]
[WET][DRY]
[BIOME:SUBTERRANEAN_WATER]
[UNDERGROUND_DEPTH:1:2]
[PICKED_TILE:3][DEAD_PICKED_TILE:182]
[SHRUB_TILE:28][DEAD_SHRUB_TILE:28]
[PICKED_COLOR:5:0:0]
[SHRUB_COLOR:5:0:0][DEAD_SHRUB_COLOR:6:0:0]
This is also modified so just look at how the material reaction tags are set up
« Last Edit: January 23, 2012, 10:23:04 am by Hugo_The_Dwarf »
Logged