From f2b0bed21891fe4c0ebd7dc40c06ee8754f3b9e1 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Sun, 3 Nov 2019 16:16:04 -0500 Subject: [PATCH] update cool_trees --- cool_trees/bamboo/init.lua | 2 +- cool_trees/birch/init.lua | 2 +- cool_trees/cherrytree/init.lua | 2 +- cool_trees/chestnuttree/init.lua | 2 +- cool_trees/clementinetree/init.lua | 2 +- cool_trees/ebony/init.lua | 27 +++++++++++++++++- cool_trees/ebony/locale/ebony.es.tr | 1 + cool_trees/ebony/schematics/ebony.lua | 10 +++---- cool_trees/ebony/schematics/ebony.mts | Bin 757 -> 785 bytes cool_trees/ebony/textures/ebony_persimmon.png | Bin 0 -> 1511 bytes cool_trees/jacaranda/init.lua | 2 +- cool_trees/larch/init.lua | 2 +- cool_trees/lemontree/init.lua | 2 +- cool_trees/mahogany/init.lua | 2 +- cool_trees/palm/init.lua | 1 + cool_trees/pineapple/init.lua | 2 +- 16 files changed, 43 insertions(+), 16 deletions(-) create mode 100644 cool_trees/ebony/textures/ebony_persimmon.png diff --git a/cool_trees/bamboo/init.lua b/cool_trees/bamboo/init.lua index d3608e09..9eb28dba 100644 --- a/cool_trees/bamboo/init.lua +++ b/cool_trees/bamboo/init.lua @@ -107,7 +107,7 @@ local function grow_new_bambootree_tree(pos) minetest.get_node_timer(pos):start(math.random(240, 600)) return end - + minetest.remove_node(pos) minetest.place_schematic({x = pos.x - 1, y = pos.y - 1, z = pos.z - 1}, bamboo.bambootree, "0", nil, false) end diff --git a/cool_trees/birch/init.lua b/cool_trees/birch/init.lua index c1878e5d..ca8247dd 100644 --- a/cool_trees/birch/init.lua +++ b/cool_trees/birch/init.lua @@ -79,7 +79,7 @@ local function grow_new_birch_tree(pos) minetest.get_node_timer(pos):start(math.random(240, 600)) return end - + minetest.remove_node(pos) minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2}, birch.birchtree, "0", nil, false) end diff --git a/cool_trees/cherrytree/init.lua b/cool_trees/cherrytree/init.lua index 198b6c36..3e7b7156 100644 --- a/cool_trees/cherrytree/init.lua +++ b/cool_trees/cherrytree/init.lua @@ -42,7 +42,7 @@ local function grow_new_cherrytree_tree(pos) minetest.get_node_timer(pos):start(math.random(240, 600)) return end - + minetest.remove_node(pos) minetest.place_schematic({x = pos.x-2, y = pos.y, z = pos.z-2}, modpath.."/schematics/cherrytree.mts", "0", nil, false) end diff --git a/cool_trees/chestnuttree/init.lua b/cool_trees/chestnuttree/init.lua index f4e76ec9..b5af0aa9 100644 --- a/cool_trees/chestnuttree/init.lua +++ b/cool_trees/chestnuttree/init.lua @@ -58,7 +58,7 @@ local function grow_new_chestnuttree_tree(pos) minetest.get_node_timer(pos):start(math.random(240, 600)) return end - + minetest.remove_node(pos) minetest.place_schematic({x = pos.x-6, y = pos.y, z = pos.z-6}, modpath.."/schematics/chestnuttree.mts", "0", nil, false) end diff --git a/cool_trees/clementinetree/init.lua b/cool_trees/clementinetree/init.lua index 1b5cff6f..ef681294 100644 --- a/cool_trees/clementinetree/init.lua +++ b/cool_trees/clementinetree/init.lua @@ -40,7 +40,7 @@ local function grow_new_clementinetree_tree(pos) minetest.get_node_timer(pos):start(math.random(240, 600)) return end - + minetest.remove_node(pos) minetest.place_schematic({x = pos.x-2, y = pos.y, z = pos.z-2}, modpath.."/schematics/clementinetree.mts", "0", nil, false) end diff --git a/cool_trees/ebony/init.lua b/cool_trees/ebony/init.lua index bdbc561b..3407d5de 100644 --- a/cool_trees/ebony/init.lua +++ b/cool_trees/ebony/init.lua @@ -17,7 +17,7 @@ local function grow_new_ebony_tree(pos) minetest.get_node_timer(pos):start(math.random(240, 600)) return end - + minetest.remove_node(pos) minetest.place_schematic({x = pos.x-5, y = pos.y, z = pos.z-5}, modpath.."/schematics/ebony.mts", "0", nil, false) end @@ -201,6 +201,31 @@ minetest.register_node("ebony:liana", { sounds = default.node_sound_leaves_defaults(), }) +--Persimmon Kaki + +minetest.register_node("ebony:persimmon", { + description = S("Persimmon"), + drawtype = "plantlike", + tiles = {"ebony_persimmon.png"}, + inventory_image = "ebony_persimmon.png", + paramtype = "light", + sunlight_propagates = true, + walkable = false, + is_ground_content = false, + selection_box = { + type = "fixed", + fixed = {-3 / 16, -7 / 16, -3 / 16, 3 / 16, 4 / 16, 3 / 16} + }, + groups = {fleshy = 3, dig_immediate = 3, flammable = 2, + leafdecay = 3, leafdecay_drop = 1}, + on_use = minetest.item_eat(4), + sounds = default.node_sound_leaves_defaults(), + + after_place_node = function(pos, placer, itemstack) + minetest.set_node(pos, {name = "ebony:persimmon", param2 = 1}) + end, +}) + -- -- Craftitems -- diff --git a/cool_trees/ebony/locale/ebony.es.tr b/cool_trees/ebony/locale/ebony.es.tr index 91e1f6fb..03d6b6b7 100644 --- a/cool_trees/ebony/locale/ebony.es.tr +++ b/cool_trees/ebony/locale/ebony.es.tr @@ -10,3 +10,4 @@ Ebony Stair=Escaleras de ébano Inner Ebony Stair=Escaleras de ébano interior Outer Ebony Stair=Escaleras de ébano exterior Ebony Slab=Losa de ébano +Persimmon=Kaki diff --git a/cool_trees/ebony/schematics/ebony.lua b/cool_trees/ebony/schematics/ebony.lua index 00e76d51..8b7e2cdf 100644 --- a/cool_trees/ebony/schematics/ebony.lua +++ b/cool_trees/ebony/schematics/ebony.lua @@ -125,7 +125,7 @@ schematic = { {name="air", prob=0, param2=0}, {name="ebony:leaves", prob=126, param2=1}, {name="ebony:leaves", prob=254, param2=1}, - {name="ebony:leaves", prob=126, param2=1}, + {name="ebony:persimmon", prob=126, param2=1}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, @@ -678,7 +678,7 @@ schematic = { {name="air", prob=0, param2=0}, {name="ebony:leaves", prob=254, param2=1}, {name="ebony:leaves", prob=254, param2=1}, - {name="ebony:leaves", prob=126, param2=1}, + {name="ebony:persimmon", prob=126, param2=1}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, @@ -876,7 +876,7 @@ schematic = { {name="air", prob=0, param2=0}, {name="ebony:leaves", prob=254, param2=1}, {name="ebony:leaves", prob=254, param2=1}, - {name="ebony:leaves", prob=126, param2=1}, + {name="ebony:persimmon", prob=126, param2=1}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, @@ -898,7 +898,7 @@ schematic = { {name="ebony:leaves", prob=254, param2=1}, {name="ebony:leaves", prob=254, param2=1}, {name="ebony:leaves", prob=254, param2=1}, - {name="ebony:leaves", prob=126, param2=1}, + {name="ebony:persimmon", prob=126, param2=1}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, @@ -1033,7 +1033,7 @@ schematic = { {name="air", prob=0, param2=0}, {name="air", prob=0, param2=0}, {name="ebony:leaves", prob=254, param2=1}, - {name="ebony:leaves", prob=126, param2=1}, + {name="ebony:persimmon", prob=126, param2=1}, {name="ebony:leaves", prob=254, param2=1}, {name="ebony:liana", prob=254, param2=3}, {name="ebony:creeper", prob=254, param2=1}, diff --git a/cool_trees/ebony/schematics/ebony.mts b/cool_trees/ebony/schematics/ebony.mts index c78504d11bfc1e369599734a98d1e836992106a7..8df2108de1ced530e940f3006afb30fadf779176 100644 GIT binary patch delta 688 zcmV;h0#E(*1(61j9sviDA0ZGAWnyn`c{*@qa&u{IZEtRoKQ@00cB3#1v;^c@98FhW z{FQ8v2_z{=(-nPXP*i&~9{Z&@_fbJG%P_|v?{m|OIel{+*E=gd4?lfw^lyoCilQ8M z&q#F!wPOaOb^GqM7)Ps-f3|9Rv}~H86Q$R8wB}fKI<)Suiy7o@TlNO?C>EG~td`8( z*K)a*q`_>muEKwIEf~(GyQN<@#P_H6#T>3WmXvLI_ zRiC>nE6rhqn^_5+Z80ux$FRHTR@S1|p+C`{UyG5~Q9S40x|U%rceUJHb8svKAMoJCF@X-43a zJi>^>|LEftXX;^#i0Ls#+uNzNFbgXc27?tS z8H$0cfN+0`Ty9L6r@z#hO*;p==#AR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