mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 07:50:29 +01:00
Merged crafting recipes (all finished now)
This commit is contained in:
parent
12501fb1cd
commit
91c2ff1215
File diff suppressed because it is too large
Load Diff
|
@ -26,6 +26,7 @@ function doors.register_door(name, def)
|
||||||
def.sound_open_door = "doors_door_open"
|
def.sound_open_door = "doors_door_open"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craftitem(name, {
|
minetest.register_craftitem(name, {
|
||||||
description = def.description,
|
description = def.description,
|
||||||
inventory_image = def.inventory_image,
|
inventory_image = def.inventory_image,
|
||||||
|
|
|
@ -152,7 +152,7 @@ minetest.register_abm({
|
||||||
-- Remove flammable nodes and flame
|
-- Remove flammable nodes and flame
|
||||||
minetest.register_abm({
|
minetest.register_abm({
|
||||||
nodenames = {"fire:basic_flame"},
|
nodenames = {"fire:basic_flame"},
|
||||||
interval = 1,
|
interval = 3,
|
||||||
chance = 2,
|
chance = 2,
|
||||||
action = function(p0, node, _, _)
|
action = function(p0, node, _, _)
|
||||||
-- If there is water or stuff like that around flame, remove flame
|
-- If there is water or stuff like that around flame, remove flame
|
||||||
|
@ -186,3 +186,4 @@ minetest.register_abm({
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user