Cause damages on player when inside an active cauldron

This commit is contained in:
jp 2015-12-03 22:44:08 +01:00
parent 9ad06339a1
commit d08db7dda3
2 changed files with 3 additions and 1 deletions

View File

@ -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} },

View File

@ -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}