added sake from rice

master
TenPlus1 2019-01-07 20:54:54 +00:00
parent 8c0b370920
commit f4ac91393b
3 changed files with 24 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Change log:
- 0.5 - Added apple cider
- 0.6 - Added API so drinks can easily be added, also added wheat beer thanks to h-v-smacker and support for pipeworks/tubelib
- 0.7 - Blue Agave now appears in desert areas and spreads very slowly, can me fermented into tequila
- 0.8 - Barrel and Agave both use node timers now thanks to h-v-smacker
- 0.8 - Barrel and Agave both use node timers now thanks to h-v-smacker, added sake
Lucky Blocks: 9

View File

@ -30,6 +30,7 @@ local ferment = {
{"default:apple", "wine:glass_cider"},
{"wine:blue_agave", "wine:glass_tequila"},
{"farming:wheat", "wine:glass_wheat_beer"},
{"farming:rice", "wine:glass_sake"},
}
function wine:add_item(list)
@ -238,6 +239,28 @@ minetest.register_craft({
})
-- glass of sake
minetest.register_node("wine:glass_sake", {
description = "Sake",
drawtype = "plantlike",
visual_scale = 0.8,
tiles = {"wine_sake.png"},
inventory_image = "wine_sake.png",
wield_image = "wine_sake.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_sake = 1, vessel = 1, dig_immediate = 3, attached_node = 1},
sounds = default.node_sound_glass_defaults(),
on_use = minetest.item_eat(2),
})
-- blue agave
minetest.register_node("wine:blue_agave", {
description = "Blue Agave",

BIN
textures/wine_sake.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B