Fix items unplaceable due to stack/touch-hurt

This commit is contained in:
Aaron Suen 2020-09-26 15:03:22 -04:00
parent 723d30897d
commit d4fdf8c6e8
4 changed files with 7 additions and 1 deletions

View File

@ -33,6 +33,7 @@ minetest.register_node(modname .. ":fire", {
damage_radiant = 1, damage_radiant = 1,
flame_ambiance = 1 flame_ambiance = 1
}, },
stack_max = 1,
damage_per_second = 1, damage_per_second = 1,
sunlight_propagates = true, sunlight_propagates = true,
floodable = true, floodable = true,
@ -109,6 +110,7 @@ for num = 1, nodecore.fire_max do
damage_touch = 1, damage_touch = 1,
damage_radiant = 3 damage_radiant = 3
}, },
stack_max = 1,
drop = "", drop = "",
crush_damage = 1, crush_damage = 1,
sounds = nodecore.sounds("nc_terrain_crunchy") sounds = nodecore.sounds("nc_terrain_crunchy")

View File

@ -106,9 +106,11 @@ reg("cobble_hot", {
cracky = 0, cracky = 0,
lodey = 1, lodey = 1,
cobbley = 1, cobbley = 1,
stack_as_node = 1,
damage_touch = 1, damage_touch = 1,
damage_radiant = 1 damage_radiant = 1
} },
stack_max = 1
}) })
local oreid = 0 local oreid = 0

View File

@ -112,6 +112,7 @@ local moltdef = {
damage_touch = 1, damage_touch = 1,
damage_radiant = 3 damage_radiant = 3
}, },
stack_max = 1,
post_effect_color = {a = 191, r = 255, g = 64, b = 0}, post_effect_color = {a = 191, r = 255, g = 64, b = 0},
liquid_alternative_flowing = modname .. ":glass_hot_flowing", liquid_alternative_flowing = modname .. ":glass_hot_flowing",
liquid_alternative_source = modname .. ":glass_hot_source", liquid_alternative_source = modname .. ":glass_hot_source",

View File

@ -310,6 +310,7 @@ regliquid({
damage_touch = 1, damage_touch = 1,
damage_radiant = 8 damage_radiant = 8
}, },
stack_max = 1,
post_effect_color = {a = 240, r = 255, g = 64, b = 0}, post_effect_color = {a = 240, r = 255, g = 64, b = 0},
sounds = nodecore.sounds("nc_terrain_bubbly") sounds = nodecore.sounds("nc_terrain_bubbly")
}) })