added cointreau and margarita (thanks Ethace10 for idea)

master
tenplus1 2022-08-29 15:52:04 +01:00
parent b681226162
commit 83e1557a34
6 changed files with 23 additions and 3 deletions

View File

@ -30,9 +30,9 @@ re-arranged code, tweaked lucky blocks, updated translations
- 1.9 - Added wine:add_drink() function to create drink glasses and bottles
- 1.95 - Tweaked code to accept 2 item recipes, fixed mineclone2 rum recipe and ui recipes
- 1.98 - New formspec textures and Kefir drink by Sirrobzeroone
- 1.99 - Barrel now has 4 slots for recipe items (and drinking glasses) and a water slot to fill up barrel with water buckets ready for fermenting, fix mineclone2 compatibility, added translations
- 1.99 - Barrel now has 4 slots for recipe items (and drinking glasses) and a water slot to fill up barrel with water buckets ready for fermenting, fix mineclone2 compatibility, added translations, added cointreau and margarita (thx Ethace10 for idea)
Lucky Blocks: 22
Lucky Blocks: 24
Wine Mod API

View File

@ -14,6 +14,8 @@ wine:add_drink("mint", "Mint Julep", true, 4, 3, 1)
wine:add_drink("brandy", "Brandy", true, 3, 4, 1)
wine:add_drink("coffee_liquor", "Coffee Liquor", true, 3, 4, 1)
wine:add_drink("champagne", "Champagne", true, 4, 5, 1)
wine:add_drink("cointreau", "Cointreau", true, 2, 3, 1)
wine:add_drink("margarita", "Margarita", false, 4, 5, 1)
wine:add_drink("kefir", "Kefir", true, 4, 4, 0)
wine:add_drink("sparkling_agave_juice", "Sparkling Agave Juice", 2, 4, 0)
wine:add_drink("sparkling_apple_juice", "Sparkling Apple Juice", 2, 5, 0)
@ -121,6 +123,20 @@ if minetest.get_modpath("farming") then
end
end
-- ethereal
if minetest.get_modpath("ethereal") then
wine:add_item({ {"ethereal:orange", "wine:glass_cointreau"} })
-- margarita recipe
minetest.register_craft({
output = "wine:glass_margarita 2",
recipe = {
{"wine:glass_cointreau", "wine:glass_tequila", "ethereal:lemon"}
}
})
end
-- mineclone2
if minetest.get_modpath("mcl_core") then

View File

@ -14,6 +14,8 @@ lucky_block:add_blocks({
{"dro", {"wine:glass_coffee_liquor"}, 5},
{"dro", {"wine:glass_brandy"}, 5},
{"dro", {"wine:glass_champagne"}, 5},
{"dro", {"wine:glass_cointreau"}, 5},
{"dro", {"wine:glass_margarita"}, 5},
{"dro", {"wine:glass_sparkling_agave_juice"}, 5},
{"dro", {"wine:glass_sparkling_apple_juice"}, 5},
{"dro", {"wine:glass_sparkling_carrot_juice"}, 5},
@ -36,9 +38,11 @@ lucky_block:add_blocks({
{name = "wine:bottle_coffee_liquor", max = 1},
{name = "wine:bottle_brandy", max = 1},
{name = "wine:bottle_champagne", max = 1},
{name = "wine:bottle_cointreau", max = 1},
{name = "wine:bottle_sparkling_agave_juice", max = 1},
{name = "wine:bottle_sparkling_apple_juice", max = 1},
{name = "wine:bottle_sparkling_carrot_juice", max = 1},
{name = "wine:bottle_sparkling_blackberry_juice", max = 1},
{name = "wine:blue_agave", max = 4}}},
{name = "wine:blue_agave", max = 4}
}}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B