mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-18 00:08:36 +01:00
Merge https://github.com/minetest-mods/technic into pandorabox
This commit is contained in:
commit
45d90a887b
@ -11,6 +11,8 @@ end
|
|||||||
local recipes = {
|
local recipes = {
|
||||||
{"default:snowblock", "default:ice"},
|
{"default:snowblock", "default:ice"},
|
||||||
{"default:sand 2", "default:sandstone"},
|
{"default:sand 2", "default:sandstone"},
|
||||||
|
{"default:desert_sand 2", "default:desert_sandstone"},
|
||||||
|
{"default:silver_sand 2", "default:silver_sandstone"},
|
||||||
{"default:desert_sand", "default:desert_stone"},
|
{"default:desert_sand", "default:desert_stone"},
|
||||||
{"technic:mixed_metal_ingot", "technic:composite_plate"},
|
{"technic:mixed_metal_ingot", "technic:composite_plate"},
|
||||||
{"default:copper_ingot 5", "technic:copper_plate"},
|
{"default:copper_ingot 5", "technic:copper_plate"},
|
||||||
@ -21,10 +23,21 @@ local recipes = {
|
|||||||
|
|
||||||
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
|
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
|
||||||
minetest.clear_craft({
|
minetest.clear_craft({
|
||||||
output = "default:sandstone",
|
|
||||||
recipe = {
|
recipe = {
|
||||||
{'group:sand', 'group:sand'},
|
{"default:sand", "default:sand"},
|
||||||
{'group:sand', 'group:sand'}
|
{"default:sand", "default:sand"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
minetest.clear_craft({
|
||||||
|
recipe = {
|
||||||
|
{"default:desert_sand", "default:desert_sand"},
|
||||||
|
{"default:desert_sand", "default:desert_sand"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
minetest.clear_craft({
|
||||||
|
recipe = {
|
||||||
|
{"default:silver_sand", "default:silver_sand"},
|
||||||
|
{"default:silver_sand", "default:silver_sand"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -36,13 +36,21 @@ if minetest.get_modpath("dye") then
|
|||||||
-- overwrite the existing crafting recipes
|
-- overwrite the existing crafting recipes
|
||||||
local dyes = {"white", "red", "yellow", "blue", "violet", "orange"}
|
local dyes = {"white", "red", "yellow", "blue", "violet", "orange"}
|
||||||
for _, color in ipairs(dyes) do
|
for _, color in ipairs(dyes) do
|
||||||
minetest.register_craft({
|
minetest.clear_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "dye:"..color.." 1",
|
recipe = {"group:flower,color_"..color},
|
||||||
recipe = {"group:flower,color_"..color},
|
})
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "dye:"..color.." 1",
|
||||||
|
recipe = {"group:flower,color_"..color},
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.clear_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"group:coal"},
|
||||||
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "dye:black 1",
|
output = "dye:black 1",
|
||||||
@ -50,6 +58,10 @@ if minetest.get_modpath("dye") then
|
|||||||
})
|
})
|
||||||
|
|
||||||
if unifieddyes then
|
if unifieddyes then
|
||||||
|
minetest.clear_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"default:cactus"},
|
||||||
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "dye:green 1",
|
output = "dye:green 1",
|
||||||
|
@ -25,15 +25,27 @@ local recipes = {
|
|||||||
{"default:sand", "technic:stone_dust"},
|
{"default:sand", "technic:stone_dust"},
|
||||||
|
|
||||||
-- Other
|
-- Other
|
||||||
{"default:cobble", "default:gravel"},
|
{"default:cobble", "default:gravel"},
|
||||||
{"default:gravel", "default:sand"},
|
{"default:gravel", "default:sand"},
|
||||||
{"default:sandstone", "default:sand 2"}, -- reverse recipe can be found in the compressor
|
{"default:sandstone", "default:sand 2"}, -- reverse recipe can be found in the compressor
|
||||||
|
{"default:desert_sandstone", "default:desert_sand 2"}, -- reverse recipe can be found in the compressor
|
||||||
|
{"default:silver_sandstone", "default:silver_sand 2"}, -- reverse recipe can be found in the compressor
|
||||||
}
|
}
|
||||||
|
|
||||||
-- defuse the sandstone -> 4 sand recipe to avoid infinite sand bugs (also consult the inverse compressor recipe)
|
-- defuse the sandstone -> 4 sand recipe to avoid infinite sand bugs (also consult the inverse compressor recipe)
|
||||||
minetest.clear_craft({
|
minetest.clear_craft({
|
||||||
recipe = {
|
recipe = {
|
||||||
{'default:sandstone'}
|
{"default:sandstone"}
|
||||||
|
},
|
||||||
|
})
|
||||||
|
minetest.clear_craft({
|
||||||
|
recipe = {
|
||||||
|
{"default:desert_sandstone"}
|
||||||
|
},
|
||||||
|
})
|
||||||
|
minetest.clear_craft({
|
||||||
|
recipe = {
|
||||||
|
{"default:silver_sandstone"}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user