From be43481c5cdd2cc394ad74267e998aa6c9d06e4a Mon Sep 17 00:00:00 2001 From: TechDudie Date: Fri, 26 Mar 2021 14:45:34 +0000 Subject: [PATCH] Add damage for Sweet Berry Bush nodes --- nodes.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/nodes.lua b/nodes.lua index 05045ac..bd7cee3 100644 --- a/nodes.lua +++ b/nodes.lua @@ -4,17 +4,21 @@ minetest.register_node("mc:warped_fungus", { }) minetest.register_node("mc:sweet_berry_bush_0", { drawtype = "plantlike", - tiles = {"sweet_berry_bush_0.png"} + tiles = {"sweet_berry_bush_0.png"}, + damage_per_second = 1 }) minetest.register_node("mc:sweet_berry_bush_1", { drawtype = "plantlike", - tiles = {"sweet_berry_bush_1.png"} + tiles = {"sweet_berry_bush_1.png"}, + damage_per_second = 1 }) minetest.register_node("mc:sweet_berry_bush_2", { drawtype = "plantlike", - tiles = {"sweet_berry_bush_2.png"} + tiles = {"sweet_berry_bush_2.png"}, + damage_per_second = 2 }) minetest.register_node("mc:sweet_berry_bush_3", { drawtype = "plantlike", - tiles = {"sweet_berry_bush_3.png"} + tiles = {"sweet_berry_bush_3.png"}, + damage_per_second = 2 }) \ No newline at end of file