Dwarf Fortress > DF Modding

How would one go about making Milk Brew-able?

(1/1)

Foamybeard:
While fermented milk might sound disgusting, multiple European/Asian cultures made use of various Milk Alcohols. The Scottish had Blaand - Something they apparently learned from the Norse, people decended from Steppe-Peoples (Hungarians, Mongols, Turks, etc) had Kumis (Mare's Milk brew) and Chal (Camel Milk brew). I think it would be fun to be able to make it so I could put the milk I get to better use than just making cheese, although I'm unsure how I'd go about modding this. COuld I get some advice on how to do this?

FantasticDorf:
Nice research im impressed.

*EDITED* Using the alcohol_creature template you could add milk as a seperate reaction to the still or a custom workshop to produce the correct beverage by converting the milk into alcohol.


--- Code: ---[MATERIAL_TEMPLATE:CREATURE_ALCOHOL_TEMPLATE]
[STATE_COLOR:ALL_SOLID:BROWN]
[STATE_NAME:ALL_SOLID:frozen alcohol]
[STATE_ADJ:ALL_SOLID:frozen alcohol]
[STATE_COLOR:LIQUID:BROWN]
[STATE_NAME:LIQUID:alcohol]
[STATE_ADJ:LIQUID:alcohol]
[STATE_COLOR:GAS:BROWN]
[STATE_NAME:GAS:boiling alcohol]
[STATE_ADJ:GAS:boiling alcohol]
[DISPLAY_COLOR:6:0:0]
[MATERIAL_VALUE:1]
[SPEC_HEAT:2440]
[IGNITE_POINT:10800]
[MELTING_POINT:9850]
[BOILING_POINT:10150]
[HEATDAM_POINT:NONE]
[COLDDAM_POINT:NONE]
[MAT_FIXED_TEMP:NONE]
[SOLID_DENSITY:789]
[LIQUID_DENSITY:789]
[MOLAR_MASS:20000]
[IMPACT_YIELD:10000]
[IMPACT_FRACTURE:10000]
[IMPACT_STRAIN_AT_YIELD:100]
[COMPRESSIVE_YIELD:10000]
[COMPRESSIVE_FRACTURE:10000]
[COMPRESSIVE_STRAIN_AT_YIELD:100]
[TENSILE_YIELD:10000]
[TENSILE_FRACTURE:10000]
[TENSILE_STRAIN_AT_YIELD:100]
[TORSION_YIELD:10000]
[TORSION_FRACTURE:10000]
[TORSION_STRAIN_AT_YIELD:100]
[SHEAR_YIELD:6600] used high salinity ice
[SHEAR_FRACTURE:6600]
[SHEAR_STRAIN_AT_YIELD:100]
[BENDING_YIELD:10000]
[BENDING_FRACTURE:10000]
[BENDING_STRAIN_AT_YIELD:100]
[MAX_EDGE:500]
[ABSORPTION:100]
[ALCOHOL_CREATURE]
[SYNDROME]
[SYN_NAME:inebriation]
[SYN_IDENTIFIER:INEBRIATION]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_INGESTED]
[SYN_INJECTED]
[SYN_NO_HOSPITAL]
[SYN_CONCENTRATION_ADDED:100:1000]
[CE_NAUSEA:SEV:35:PROB:100:SIZE_DILUTES:START:120:PEAK:480:END:1200:DWF_STRETCH:4]
[CE_DIZZINESS:SEV:50:PROB:100:SIZE_DILUTES:START:20:PEAK:240:END:600:DWF_STRETCH:4] for ataxia
[CE_UNCONSCIOUSNESS:SEV:25:PROB:100:SIZE_DILUTES:START:120:PEAK:480:END:1200:DWF_STRETCH:4]
[CE_CHANGE_PERSONALITY:FACET:BASHFUL:-50:FACET:PRIVACY:-50:FACET:BRAVERY:25:FACET:CONFIDENCE:25:FACET:POLITENESS:-25:FACET:THOUGHTLESSNESS:25:PROB:100:SIZE_DILUTES:START:10:PEAK:120:END:480:DWF_STRETCH:4]
[CE_FEEL_EMOTION:EMOTION:EUPHORIA:SEV:75:PROB:100:SIZE_DILUTES:START:10:PEAK:120:END:480:DWF_STRETCH:4]
[CE_ERRATIC_BEHAVIOR:SEV:50:PROB:100:SIZE_DILUTES:START:10:PEAK:120:END:480:DWF_STRETCH:4]
[CE_IMPAIR_FUNCTION:SEV:20:BP:BY_TYPE:BREATHE:ALL:PROB:100:SIZE_DILUTES:START:120:PEAK:480:END:1200:DWF_STRETCH:4]
--- End code ---


(Might i also suggest that given you have historical justification for creature based alcohols, you might want to open up a suggestion thread so that Toady can see it and put in consideration to add milk alcohol or creature derived alcohol?)

IndigoFenix:
Actually, there already is a creature alcohol template in the raws.  It's only used for mead in vanilla.

However, I recall there are some issues with using milk in reactions; it seems that dwarves don't like using milk in buckets for reactions.  You can, however, convert it to cheese and then make alcohol from the cheese.

To do this, you would have to create an alcohol material in each creature you wanted to have brewable cheese, then add a MATERIAL_REACTION_PRODUCT to their cheese, and finally add a reaction to a workshop that takes cheese and an empty barrel and produces a DRINK item from the cheese's reaction product.

FantasticDorf:

--- Quote from: IndigoFenix on January 16, 2017, 02:02:21 pm ---Actually, there already is a creature alcohol template in the raws.  It's only used for mead in vanilla.

--- End quote ---

Mmm that is true, there's also mog hopper juice. I forgot about that.

Whoops, i went back over and found it, i just hadn't been thorough enough, i have made the relevant corrections.

Random_Dragon:
Oooorrr you could see my mod Kobold Kamp. Had that idea as well. :V


--- Code: ---[REACTION:MAKE_KUMIS] kumis, kefir, various other related products
[NAME:brew fermented milk drink]
[BUILDING:STILL:CUSTOM_SHIFT_M]
[REAGENT:milk:150:LIQUID_MISC:NONE:NONE:NONE]
[UNROTTEN][HAS_MATERIAL_REACTION_PRODUCT:FERMENT_MAT]
[REAGENT:milk container:1:NONE:NONE:NONE:NONE]
[CONTAINS:milk]
[PRESERVE_REAGENT]
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[REAGENT:barrel/pot:1:NONE:NONE:NONE:NONE]
[EMPTY]
[FOOD_STORAGE_CONTAINER] barrel or any non-absorbing tool with FOOD_STORAGE
[PRESERVE_REAGENT]
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[PRODUCT:100:5:DRINK:NONE:GET_MATERIAL_FROM_REAGENT:milk:FERMENT_MAT]
[PRODUCT_TO_CONTAINER:barrel/pot]
[PRODUCT_DIMENSION:150]
[PRODUCT_TOKEN:drink]
[SKILL:BREWING]

--- End code ---

This requires adding fermented drink materials to each milkable creature, and adding the required material reaction link to their milk.

Navigation

[0] Message Index

Go to full version