forked from BlockySurvival/bls_custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold_mod_cleanup.lua
36 lines (34 loc) · 876 Bytes
/
old_mod_cleanup.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
minetest.register_lbm({
name="bls:remove_removed_1",
label="Remove removed nodes #1",
nodenames={
"realchess:chessboard",
},
run_at_every_load=false,
action = function(pos, node)
minetest.set_node(pos, {name = "air"})
end
})
minetest.register_lbm({
name="bls:remove_removed_2",
label="Remove removed nodes #2",
nodenames={
"compost:wood_barrel_empty",
},
run_at_every_load=false,
action = function(pos, node)
minetest.set_node(pos, {name = "xdecor:barrel"})
end
})
minetest.register_lbm({
name="bls:remove_removed_3",
label="Remove removed nodes #3",
nodenames={
"crafting_bench:workbench",
"xdecor:workbench",
},
run_at_every_load=false,
action = function(pos, node)
minetest.set_node(pos, {name = "moreblocks:circular_saw"})
end
})