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
26
mods/technic_plus_beta/technic_cnc/materials/init.lua
Normal file
26
mods/technic_plus_beta/technic_cnc/materials/init.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
local path = technic_cnc.modpath .. "/materials/"
|
||||
|
||||
dofile(path .. "default.lua")
|
||||
dofile(path .. "basic_materials.lua")
|
||||
|
||||
local optional_mods = {
|
||||
"bakedclay",
|
||||
"ethereal",
|
||||
"moreblocks",
|
||||
"technic_worldgen",
|
||||
}
|
||||
|
||||
for _, mod in pairs(optional_mods) do
|
||||
if minetest.get_modpath(mod) then
|
||||
dofile(path .. mod .. ".lua")
|
||||
end
|
||||
end
|
||||
|
||||
local function alias(old, new)
|
||||
for _,shape in pairs(technic_cnc.programs) do
|
||||
minetest.register_alias(old .. "_" .. shape.suffix, new .. "_" .. shape.suffix)
|
||||
end
|
||||
end
|
||||
|
||||
alias("technic:brass_block", "basic_materials:brass_block")
|
Loading…
Add table
Add a link
Reference in a new issue