2021-06-05 12:42:30 +03:00
|
|
|
-- Needed for the trowel
|
2021-06-29 20:55:23 +03:00
|
|
|
|
2021-07-18 17:25:03 +03:00
|
|
|
local fillings = {}
|
2021-06-29 20:55:23 +03:00
|
|
|
|
2021-07-18 17:25:03 +03:00
|
|
|
minetest.register_on_mods_loaded(function()
|
|
|
|
for name, ndef in pairs(minetest.registered_nodes) do
|
|
|
|
-- test if it is a simple node without logic
|
|
|
|
if ndef and not ndef.groups.soil and name ~= "default:cobble" and
|
|
|
|
not ndef.after_place_node and not ndef.on_construct then
|
|
|
|
table.insert(fillings, name)
|
|
|
|
end
|
2021-06-29 20:55:23 +03:00
|
|
|
end
|
2021-07-18 17:25:03 +03:00
|
|
|
networks.register_filling_items(fillings)
|
2022-01-04 21:40:27 +03:00
|
|
|
end)
|