Rum added.
parent
696cddbc45
commit
2768ac8b84
54
init.lua
54
init.lua
|
@ -28,6 +28,7 @@ local ferment = {
|
||||||
{"farming:barley", "wine:glass_beer"},
|
{"farming:barley", "wine:glass_beer"},
|
||||||
{"mobs:honey", "wine:glass_mead"},
|
{"mobs:honey", "wine:glass_mead"},
|
||||||
{"default:apple", "wine:glass_cider"},
|
{"default:apple", "wine:glass_cider"},
|
||||||
|
{"default:papyrus", "wine:glass_rum"},
|
||||||
{"wine:blue_agave", "wine:glass_tequila"},
|
{"wine:blue_agave", "wine:glass_tequila"},
|
||||||
{"farming:wheat", "wine:glass_wheat_beer"},
|
{"farming:wheat", "wine:glass_wheat_beer"},
|
||||||
{"farming:rice", "wine:glass_sake"},
|
{"farming:rice", "wine:glass_sake"},
|
||||||
|
@ -205,6 +206,44 @@ minetest.register_node("wine:glass_tequila", {
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- glass of rum
|
||||||
|
minetest.register_node("wine:glass_rum", {
|
||||||
|
description = "Rum",
|
||||||
|
drawtype = "plantlike",
|
||||||
|
visual_scale = 0.8,
|
||||||
|
tiles = {"wine_rum_glass.png"},
|
||||||
|
inventory_image = "wine_rum_glass.png",
|
||||||
|
wield_image = "wine_rum_glass.png",
|
||||||
|
paramtype = "light",
|
||||||
|
is_ground_content = false,
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = false,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.2, -0.5, -0.2, 0.2, 0.3, 0.2}
|
||||||
|
},
|
||||||
|
groups = {food_rum = 1, vessel = 1, dig_immediate = 3, attached_node = 1},
|
||||||
|
sounds = default.node_sound_glass_defaults(),
|
||||||
|
on_use = minetest.item_eat(2),
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- bottle of rum
|
||||||
|
minetest.register_node("wine:bottle_rum", {
|
||||||
|
description = "Bottle of Rum",
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"wine_rum_bottle.png"},
|
||||||
|
inventory_image = "wine_rum_bottle.png",
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = false,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = { -0.15, -0.5, -0.15, 0.15, 0.25, 0.15 }
|
||||||
|
},
|
||||||
|
groups = {dig_immediate = 3, attached_node = 1, vessel = 1},
|
||||||
|
sounds = default.node_sound_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
-- bottle of tequila
|
-- bottle of tequila
|
||||||
minetest.register_node("wine:bottle_tequila", {
|
minetest.register_node("wine:bottle_tequila", {
|
||||||
|
@ -223,6 +262,21 @@ minetest.register_node("wine:bottle_tequila", {
|
||||||
sounds = default.node_sound_defaults(),
|
sounds = default.node_sound_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "wine:bottle_rum",
|
||||||
|
recipe = {
|
||||||
|
{"wine:glass_rum", "wine:glass_rum", "wine:glass_rum"},
|
||||||
|
{"wine:glass_rum", "wine:glass_rum", "wine:glass_rum"},
|
||||||
|
{"wine:glass_rum", "wine:glass_rum", "wine:glass_rum"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "wine:glass_rum 9",
|
||||||
|
recipe = {"wine:bottle_rum"},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "wine:bottle_tequila",
|
output = "wine:bottle_tequila",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 379 B |
Binary file not shown.
After Width: | Height: | Size: 389 B |
Loading…
Reference in New Issue