Add mods: technic, moreores, paintings, Nyancat (Pbj_pup). Small fix: sandwiches
This commit is contained in:
parent
15e8e696a2
commit
fb09deddc1
1404 changed files with 156555 additions and 211 deletions
17
mods/.cleaner/ores.lua
Normal file
17
mods/.cleaner/ores.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
if not cleaner.unsafe then return end
|
||||
|
||||
local aux = dofile(cleaner.modpath .. "/misc_functions.lua")
|
||||
|
||||
local ores_data = aux.get_world_data().ores
|
||||
|
||||
for _, ore in ipairs(ores_data.remove) do
|
||||
cleaner.register_ore_removal(ore)
|
||||
end
|
||||
|
||||
core.register_on_mods_loaded(function()
|
||||
for _, ore in ipairs(cleaner.get_remove_ores()) do
|
||||
cleaner.log("action", "unregistering ore: " .. ore)
|
||||
cleaner.remove_ore(ore)
|
||||
end
|
||||
end)
|
Loading…
Add table
Add a link
Reference in a new issue