From f4ac91393b4c6c278250759488c5dcc8c7143215 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 7 Jan 2019 20:54:54 +0000 Subject: [PATCH] added sake from rice --- README.md | 2 +- init.lua | 23 +++++++++++++++++++++++ textures/wine_sake.png | Bin 0 -> 145 bytes 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 textures/wine_sake.png diff --git a/README.md b/README.md index 01b1231..f6bce53 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/init.lua b/init.lua index b1d7093..005b11a 100644 --- a/init.lua +++ b/init.lua @@ -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", diff --git a/textures/wine_sake.png b/textures/wine_sake.png new file mode 100644 index 0000000000000000000000000000000000000000..16fb52befd3bc1afd7463d09570bcaa19097a672 GIT binary patch literal 145 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9JOMr-uBp1|4w9Viib9!2($BSm zj{?OROM?7@862M7NCR?=JzX3_IIbrrDDcb(Tbq^efQQ#N;X?G*EOzGa|Nrw#%=q^| pKOrGvE0@OF|I8j4Ya3RuGUOHV-a4~3dmT_agQu&X%Q~loCIBhSEARjS literal 0 HcmV?d00001