Cause damages on player when inside an active cauldron
This commit is contained in:
parent
9ad06339a1
commit
d08db7dda3
@ -29,6 +29,7 @@ xdecor.register("cauldron_boiling_water", {
|
|||||||
on_rotate = screwdriver.rotate_simple,
|
on_rotate = screwdriver.rotate_simple,
|
||||||
drop = "xdecor:cauldron_empty",
|
drop = "xdecor:cauldron_empty",
|
||||||
infotext = "Drop foods inside to make a soup",
|
infotext = "Drop foods inside to make a soup",
|
||||||
|
damage_per_second = 2,
|
||||||
tiles = {
|
tiles = {
|
||||||
{ name = "xdecor_cauldron_top_anim_boiling_water.png",
|
{ name = "xdecor_cauldron_top_anim_boiling_water.png",
|
||||||
animation = {type="vertical_frames", length=3.0} },
|
animation = {type="vertical_frames", length=3.0} },
|
||||||
@ -51,6 +52,7 @@ xdecor.register("cauldron_soup", {
|
|||||||
on_rotate = screwdriver.rotate_simple,
|
on_rotate = screwdriver.rotate_simple,
|
||||||
drop = "xdecor:cauldron_empty",
|
drop = "xdecor:cauldron_empty",
|
||||||
infotext = "The soup is ready, use a bowl to eat it",
|
infotext = "The soup is ready, use a bowl to eat it",
|
||||||
|
damage_per_second = 2,
|
||||||
tiles = {
|
tiles = {
|
||||||
{ name = "xdecor_cauldron_top_anim_soup.png",
|
{ name = "xdecor_cauldron_top_anim_soup.png",
|
||||||
animation = {type="vertical_frames", length=3.0} },
|
animation = {type="vertical_frames", length=3.0} },
|
||||||
|
@ -339,7 +339,7 @@ xdecor.register("fire", {
|
|||||||
{ name = "xdecor_fire_anim.png",
|
{ name = "xdecor_fire_anim.png",
|
||||||
animation = {type="vertical_frames", length=1.5} }
|
animation = {type="vertical_frames", length=1.5} }
|
||||||
},
|
},
|
||||||
damage_per_second = 2,
|
damage_per_second = 4,
|
||||||
drop = "",
|
drop = "",
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, -0.3, 0.3}
|
type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, -0.3, 0.3}
|
||||||
|
Loading…
Reference in New Issue
Block a user