example:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.override_item("default:lava_source", {
groups = {lava = 3, liquid = 2, igniter = nil, hot = 3},--remove igniter from lava source
})
expected behaviour: Lava will not longer burn nodes.
real behaviour: Lava still sets nodes on fire
if you check
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.registered_nodes["default:lava_source"].groups
it shows what you expect:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
{
liquid = 2,
lava = 3,
hot = 3
}
but the fire ABM
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_abm({
nodenames = {"group:flammable"},
neighbors = {"group:igniter"},
still gets executed
To reproduce this behaviour install test mod in attachment and place a burnable node near lava_source