255 lines
6.5 KiB
Lua
255 lines
6.5 KiB
Lua
-- IndustrialTest
|
|
-- Copyright (C) 2024 mrkubax10
|
|
|
|
-- This program is free software: you can redistribute it and/or modify
|
|
-- it under the terms of the GNU General Public License as published by
|
|
-- the Free Software Foundation, either version 3 of the License, or
|
|
-- (at your option) any later version.
|
|
|
|
-- This program is distributed in the hope that it will be useful,
|
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
-- GNU General Public License for more details.
|
|
|
|
-- You should have received a copy of the GNU General Public License
|
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.wood.." 48",
|
|
recipe={
|
|
{"","industrialtest:uu_matter",""},
|
|
{"","",""},
|
|
{"","",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.stone.." 48",
|
|
recipe={
|
|
{"","",""},
|
|
{"","industrialtest:uu_matter",""},
|
|
{"","",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.snowBlock.." 48",
|
|
recipe={
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"","",""},
|
|
{"","",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.grassBlock.." 48",
|
|
recipe={
|
|
{"industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.obsidian.." 16",
|
|
recipe={
|
|
{"industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.glass.." 32",
|
|
recipe={
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"","industrialtest:uu_matter",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.mossCobble.." 16",
|
|
recipe={
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.cactus.." 48",
|
|
recipe={
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.flint.." 32",
|
|
recipe={
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.whiteWool.." 12",
|
|
recipe={
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"","",""},
|
|
{"","industrialtest:uu_matter",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.sugarCane.." 48",
|
|
recipe={
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.coal,
|
|
recipe={
|
|
{"industrialtest:uu_matter","",""},
|
|
{"","","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.stoneWithIron,
|
|
recipe={
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.diamond,
|
|
recipe={
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.stickyResin.." 32",
|
|
recipe={
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"","",""},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output="industrialtest:tin_dust 4",
|
|
recipe={
|
|
{"","",""},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"","","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output="industrialtest:copper_dust 4",
|
|
recipe={
|
|
{"","","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","","industrialtest:uu_matter"},
|
|
{"","",""}
|
|
}
|
|
})
|
|
|
|
if industrialtest.mtgAvailable then
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output="industrialtest:iridium_lump",
|
|
recipe={
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
elseif industrialtest.mclAvailable then
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output="industrialtest:raw_iridium",
|
|
recipe={
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output="mcl_core:vine 24",
|
|
recipe={
|
|
{"industrialtest:uu_matter","",""},
|
|
{"industrialtest:uu_matter","",""},
|
|
{"industrialtest:uu_matter","",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output="mcl_core:stonebrickcarved 48",
|
|
recipe={
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter",""}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.powerCarrier.." 10",
|
|
recipe={
|
|
{"","",""},
|
|
{"","industrialtest:uu_matter",""},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output=industrialtest.elementKeys.blueDye,
|
|
recipe={
|
|
{"","industrialtest:uu_matter",""},
|
|
{"","industrialtest:uu_matter",""},
|
|
{"","industrialtest:uu_matter","industrialtest:uu_matter"}
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
type="shaped",
|
|
output="mcl_core:emerald 8",
|
|
recipe={
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"industrialtest:uu_matter","industrialtest:uu_matter","industrialtest:uu_matter"},
|
|
{"","industrialtest:uu_matter",""}
|
|
}
|
|
})
|
|
end
|