Skip to content

Commit 0c87696

Browse files
authored
Merge pull request #54799 from moxian/alcohol
Make most of the weaker alcohols mixable.
2 parents 944263d + a8273cf commit 0c87696

File tree

4 files changed

+48
-56
lines changed

4 files changed

+48
-56
lines changed

data/json/items/comestibles/alcohol.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
"volume": "250 ml",
475475
"phase": "liquid",
476476
"charges": 7,
477-
"flags": [ "EATEN_COLD" ],
477+
"flags": [ "EATEN_COLD", "NUTRIENT_OVERRIDE" ],
478478
"freezing_point": -30,
479479
"fun": 5
480480
},

data/json/recipes/chem/fuel.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,7 @@
1212
"book_learn": [ [ "textbook_chemistry" ], [ "distilling_cookbook", 4 ] ],
1313
"qualities": [ { "id": "BOIL", "level": 2 }, { "id": "DISTILL", "level": 2 } ],
1414
"tools": [ [ [ "surface_heat", 30, "LIST" ] ], [ [ "thermometer", -1 ] ] ],
15-
"components": [
16-
[
17-
[ "hard_liquor", 14, "LIST" ],
18-
[ "weak_liquor", 10, "LIST" ],
19-
[ "wash_liquor", 42, "LIST" ],
20-
[ "cheap_wine", 56, "LIST" ],
21-
[ "worthy_wine", 40, "LIST" ]
22-
]
23-
]
15+
"components": [ [ [ "mixed_alcohol_strong", 14 ], [ "mixed_alcohol_weak", 10 ], [ "wash_liquor", 42, "LIST" ] ] ]
2416
},
2517
{
2618
"result": "methed_alcohol",

data/json/recipes/recipe_food.json

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5095,17 +5095,19 @@
50955095
"flags": [ "BLIND_EASY" ],
50965096
"components": [
50975097
[
5098+
[ "hard_liquor_unmixed", 1, "LIST" ],
5099+
[ "brandy", 1 ],
5100+
[ "canadian_whiskey", 1 ],
5101+
[ "cheap_whiskey", 1 ],
50985102
[ "gin", 1 ],
5103+
[ "moonshine", 1 ],
50995104
[ "rum", 1 ],
51005105
[ "single_malt_whiskey", 1 ],
5101-
[ "cheap_whiskey", 1 ],
5102-
[ "canadian_whiskey", 1 ],
51035106
[ "single_pot_whiskey", 1 ],
51045107
[ "tequila", 1 ],
51055108
[ "triple_sec", 1 ],
51065109
[ "vodka", 1 ],
5107-
[ "whiskey", 1 ],
5108-
[ "brandy", 1 ]
5110+
[ "whiskey", 1 ]
51095111
]
51105112
]
51115113
},
@@ -5120,21 +5122,7 @@
51205122
"charges": 1,
51215123
"autolearn": true,
51225124
"flags": [ "BLIND_EASY" ],
5123-
"components": [
5124-
[
5125-
[ "beer", 1 ],
5126-
[ "belgian_ale", 1 ],
5127-
[ "drink_beeknees", 1 ],
5128-
[ "drink_hard_seltzer", 1 ],
5129-
[ "european_pilsner", 1 ],
5130-
[ "hb_beer", 1 ],
5131-
[ "hb_seltzer", 1 ],
5132-
[ "india_pale_ale", 1 ],
5133-
[ "wine_barley", 1 ],
5134-
[ "pale_ale", 1 ],
5135-
[ "stout", 1 ]
5136-
]
5137-
]
5125+
"components": [ [ [ "weak_liquor_unmixed", 1, "LIST" ] ] ]
51385126
},
51395127
{
51405128
"type": "recipe",

data/json/requirements/cooking_components.json

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -172,38 +172,43 @@
172172
]
173173
},
174174
{
175-
"id": "hard_liquor",
175+
"id": "hard_liquor_unmixed",
176176
"type": "requirement",
177-
"//": "Hard liquor - necessarily comestible and high proof, not necessarily high quality.",
177+
"//": "Technical artifact to support mixed alcohol recipe. See comment on `hard_liquor` below for semantics.",
178178
"components": [
179179
[
180+
[ "brandy", 1 ],
181+
[ "canadian_whiskey", 1 ],
182+
[ "cheap_whiskey", 1 ],
183+
[ "gin", 1 ],
180184
[ "moonshine", 1 ],
181-
[ "vodka", 1 ],
182-
[ "whiskey", 1 ],
185+
[ "rum", 1 ],
183186
[ "single_malt_whiskey", 1 ],
184-
[ "cheap_whiskey", 1 ],
185-
[ "canadian_whiskey", 1 ],
186187
[ "single_pot_whiskey", 1 ],
187-
[ "brandy", 1 ],
188-
[ "rum", 1 ],
189-
[ "gin", 1 ],
190188
[ "tequila", 1 ],
191-
[ "mixed_alcohol_strong", 1 ]
189+
[ "vodka", 1 ],
190+
[ "whiskey", 1 ]
192191
]
193192
]
194193
},
194+
{
195+
"id": "hard_liquor",
196+
"type": "requirement",
197+
"//": "Hard liquor - necessarily comestible and high proof, not necessarily high quality. 7 portions per 250ml",
198+
"components": [ [ [ "hard_liquor_unmixed", 1, "LIST" ], [ "mixed_alcohol_strong", 1 ] ] ]
199+
},
195200
{
196201
"id": "cheap_wine",
197202
"type": "requirement",
198203
"//": "Cheap and improvised wines.",
199204
"components": [
200205
[
201-
[ "fruit_wine", 1 ],
202206
[ "bum_wine", 1 ],
203-
[ "dandelion_wine", 1 ],
204207
[ "burdock_wine", 1 ],
208+
[ "dandelion_wine", 1 ],
209+
[ "fruit_wine", 1 ],
205210
[ "pine_wine", 1 ],
206-
[ "bum_wine", 1 ]
211+
[ "wine_barley", 1 ]
207212
]
208213
]
209214
},
@@ -213,15 +218,15 @@
213218
"//": "More expensive wines.",
214219
"components": [
215220
[
216-
[ "wine_riesling", 1 ],
217-
[ "wine_chardonnay", 1 ],
221+
[ "bristol_sherry", 1 ],
222+
[ "madeira", 1 ],
223+
[ "sherry", 1 ],
218224
[ "wine_cabernet", 1 ],
219-
[ "wine_noir", 1 ],
220-
[ "wine_vermouth", 1 ],
225+
[ "wine_chardonnay", 1 ],
221226
[ "wine_marsala", 1 ],
222-
[ "sherry", 1 ],
223-
[ "bristol_sherry", 1 ],
224-
[ "madeira", 1 ]
227+
[ "wine_noir", 1 ],
228+
[ "wine_riesling", 1 ],
229+
[ "wine_vermouth", 1 ]
225230
]
226231
]
227232
},
@@ -961,27 +966,34 @@
961966
"components": [ [ [ "wash_vodka", 1 ], [ "wash_whiskey", 1 ], [ "wash_rum", 1 ], [ "wash_moonshine", 1 ] ] ]
962967
},
963968
{
964-
"id": "weak_liquor",
969+
"id": "weak_liquor_unmixed",
965970
"type": "requirement",
966-
"//": "Weak liquor - necessarily comestible and low proof, not necessarily high quality",
971+
"//": "Technical artifact to support mixed alcohol recipe. See `weak_liquor` comment below for semantics.",
967972
"components": [
968973
[
974+
[ "cheap_wine", 5, "LIST" ],
975+
[ "worthy_wine", 5, "LIST" ],
969976
[ "beer", 1 ],
970977
[ "belgian_ale", 1 ],
971-
[ "drink_beeknees", 1 ],
978+
[ "bristol_sherry", 1 ],
972979
[ "drink_hard_seltzer", 1 ],
973980
[ "european_pilsner", 1 ],
974981
[ "hb_beer", 1 ],
975982
[ "hb_seltzer", 1 ],
983+
[ "imperial_stout", 1 ],
976984
[ "india_pale_ale", 1 ],
977-
[ "wine_barley", 1 ],
985+
[ "mead", 1 ],
978986
[ "pale_ale", 1 ],
979-
[ "stout", 1 ],
980-
[ "imperial_stout", 1 ],
981-
[ "mixed_alcohol_weak", 1 ]
987+
[ "stout", 1 ]
982988
]
983989
]
984990
},
991+
{
992+
"id": "weak_liquor",
993+
"type": "requirement",
994+
"//": "Weak liquor - necessarily comestible and low proof, not necessarily high quality. 250ml",
995+
"components": [ [ [ "weak_liquor_unmixed", 1, "LIST" ], [ "mixed_alcohol_weak", 1 ] ] ]
996+
},
985997
{
986998
"id": "soda_pop",
987999
"type": "requirement",

0 commit comments

Comments
 (0)