initial_properties update

This commit is contained in:
tenplus1 2023-09-23 13:43:04 +01:00
parent 945d0f268c
commit 3e56a40355

View File

@ -4,10 +4,16 @@ function dmobs.register_fire(fname, texture, dmg, replace_node, explode,
ice, variance, size)
minetest.register_entity(fname, {
textures = {texture},
initial_properties = {
textures = {texture},
collisionbox = {0, 0, 0, 0, 0, 0}
},
velocity = 0.1,
damage = dmg,
collisionbox = {0, 0, 0, 0, 0, 0},
on_step = function(self, obj, pos)
local remove = minetest.after(2, function()