From d08db7dda39679e4e737b030a8423ef1c84eab01 Mon Sep 17 00:00:00 2001 From: jp Date: Thu, 3 Dec 2015 22:44:08 +0100 Subject: [PATCH] Cause damages on player when inside an active cauldron --- cooking.lua | 2 ++ nodes.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cooking.lua b/cooking.lua index 9a2218e..55a24a1 100644 --- a/cooking.lua +++ b/cooking.lua @@ -29,6 +29,7 @@ xdecor.register("cauldron_boiling_water", { on_rotate = screwdriver.rotate_simple, drop = "xdecor:cauldron_empty", infotext = "Drop foods inside to make a soup", + damage_per_second = 2, tiles = { { name = "xdecor_cauldron_top_anim_boiling_water.png", animation = {type="vertical_frames", length=3.0} }, @@ -51,6 +52,7 @@ xdecor.register("cauldron_soup", { on_rotate = screwdriver.rotate_simple, drop = "xdecor:cauldron_empty", infotext = "The soup is ready, use a bowl to eat it", + damage_per_second = 2, tiles = { { name = "xdecor_cauldron_top_anim_soup.png", animation = {type="vertical_frames", length=3.0} }, diff --git a/nodes.lua b/nodes.lua index 43251f6..799f4ea 100644 --- a/nodes.lua +++ b/nodes.lua @@ -339,7 +339,7 @@ xdecor.register("fire", { { name = "xdecor_fire_anim.png", animation = {type="vertical_frames", length=1.5} } }, - damage_per_second = 2, + damage_per_second = 4, drop = "", selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, -0.3, 0.3}