mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-18 16:20:38 +01:00
Removed rests of useless fire mod
- Removed ABMs that were still enabled, causing a bit of lag - Removed spreading risk, and links between fire:basic_flame and the ABMs mentionned above
This commit is contained in:
parent
ebf37569d5
commit
3f51e31c0d
@ -16,15 +16,16 @@ minetest.register_node("fire:basic_flame", {
|
|||||||
buildable_to = true,
|
buildable_to = true,
|
||||||
damage_per_second = 4,
|
damage_per_second = 4,
|
||||||
|
|
||||||
on_construct = function(pos, placer)
|
--[[ on_construct = function(pos, placer)
|
||||||
fire.on_flame_add_at(pos)
|
fire.on_flame_add_at(pos)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
on_destruct = function(pos, oldnode, oldmetadata, digger)
|
on_destruct = function(pos, oldnode, oldmetadata, digger)
|
||||||
fire.on_flame_remove_at(pos)
|
fire.on_flame_remove_at(pos)
|
||||||
end,
|
end,]]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
--[[
|
||||||
fire.D = 6
|
fire.D = 6
|
||||||
-- key: position hash of low corner of area
|
-- key: position hash of low corner of area
|
||||||
-- value: {handle=sound handle, name=sound name}
|
-- value: {handle=sound handle, name=sound name}
|
||||||
@ -183,3 +184,4 @@ minetest.register_abm({
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
]]--
|
||||||
|
Loading…
Reference in New Issue
Block a user