Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Designating seeds to brew or not brew  (Read 601 times)

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Designating seeds to brew or not brew
« on: July 29, 2014, 09:55:11 am »

Hey,

I've got a plant overhaul minor mod that I'm going to be releasing shortly. Among the changes I've made is making grain alcohols brew from seeds, not to seeds. That's all working just fine, ready to go.

However, I can't seem to find a way to make these seeds show up as brewable in the Kitchen menu. I'm sure everyone would like to be able to designate different kinds of seeds as brewable or not-brewable, since if you use up all of your cave wheat on dwarven beer, you're not going to be able to plant any more.

It seems like for other plant materials, adding [MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK] to the material is enough to make the plant available for toggling on the kitchen menu; but that hasn't been the case for seeds. Are brewable seeds just not supported in the kitchen menu, or am I missing something?

My overhauled cave wheat, for reference:

Code: [Select]
[PLANT:GRASS_WHEAT_CAVE]
[NAME:cave wheat][NAME_PLURAL:cave wheat][ADJ:cave wheat]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
[MATERIAL_VALUE:2]
[EDIBLE_VERMIN]
[MATERIAL_REACTION_PRODUCT:GRAIN:LOCAL_PLANT_MAT:SEED] ties in to the threshing reaction
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[PICKED_TILE:'%'][PICKED_COLOR:6:6:1][DEAD_PICKED_TILE:182]
[GROWDUR:500][VALUE:2]
[USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:frozen dwarven beer]
[STATE_NAME_ADJ:LIQUID:dwarven beer]
[STATE_NAME_ADJ:GAS:boiling dwarven beer]
[MATERIAL_VALUE:2]
[DISPLAY_COLOR:6:0:0]
[EDIBLE_RAW]
[EDIBLE_COOKED]
[PREFIX:NONE]
[DRINK:LOCAL_PLANT_MAT:DRINK]
[USE_MATERIAL_TEMPLATE:MILL:PLANT_POWDER_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:dwarven wheat flour]
[STATE_COLOR:ALL_SOLID:WHITE]
[DISPLAY_COLOR:7:0:1]
[MATERIAL_VALUE:20]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[PREFIX:NONE]
[MILL:LOCAL_PLANT_MAT:MILL]
[USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
[MATERIAL_VALUE:1]
[EDIBLE_VERMIN]
[EDIBLE_COOKED]
[MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK] moved this down to the seed material
[SEED:cave wheat seed:cave wheat seeds:6:0:0:LOCAL_PLANT_MAT:SEED]
[SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:stalks]
[WET][DRY]
[BIOME:SUBTERRANEAN_WATER]
[UNDERGROUND_DEPTH:1:3]
[SHRUB_TILE:252]
[DEAD_SHRUB_TILE:252]
[SHRUB_COLOR:6:0:1]
[DEAD_SHRUB_COLOR:6:0:0]
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Designating seeds to brew or not brew
« Reply #1 on: July 30, 2014, 05:30:52 am »

It's very possible that the "brewable" menu option is available for plant objects only.
Otherwise Toady would make the DRINK adjustment to the mead and would not have to worry about a custom reaction.

You can easily work around that by adding a custom reaction to the still (along with mead brewing) which brews seeds, or specific seeds if you are afraid of running out of specific type of seed.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Designating seeds to brew or not brew
« Reply #2 on: July 30, 2014, 09:41:41 am »

Yeah, I've got the custom reaction already, I was just hoping there was a way to make the kitchen menu respect that. Oh well  :-\

EDIT: mod is up here, if anyone's interested.
« Last Edit: July 30, 2014, 10:20:29 am by Button »
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back