use basic_materials mod where possible.

This commit is contained in:
Vanessa Dannenberg 2018-10-30 20:29:28 -04:00 committed by Ekdohibs
parent f702a6597b
commit 44cb8df048
44 changed files with 139 additions and 153 deletions

View File

@ -1,3 +1,4 @@
default default
basic_materials
intllib? intllib?

View File

@ -23,24 +23,6 @@ else
steel_ingot = "default:steel_ingot" steel_ingot = "default:steel_ingot"
end end
minetest.register_craft({
output = 'technic:rebar 6',
recipe = {
{'','', steel_ingot},
{'',steel_ingot,''},
{steel_ingot, '', ''},
}
})
minetest.register_craft({
output = 'technic:concrete 5',
recipe = {
{'default:stone','technic:rebar','default:stone'},
{'technic:rebar','default:stone','technic:rebar'},
{'default:stone','technic:rebar','default:stone'},
}
})
minetest.register_craft({ minetest.register_craft({
output = 'technic:concrete_post_platform 6', output = 'technic:concrete_post_platform 6',
recipe = { recipe = {
@ -51,9 +33,9 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'technic:concrete_post 12', output = 'technic:concrete_post 12',
recipe = { recipe = {
{'default:stone','technic:rebar','default:stone'}, {'default:stone','basic_materials:steel_bar','default:stone'},
{'default:stone','technic:rebar','default:stone'}, {'default:stone','basic_materials:steel_bar','default:stone'},
{'default:stone','technic:rebar','default:stone'}, {'default:stone','basic_materials:steel_bar','default:stone'},
} }
}) })
@ -66,18 +48,6 @@ minetest.register_craft({
} }
}) })
minetest.register_craftitem(":technic:rebar", {
description = S("Rebar"),
inventory_image = "technic_rebar.png",
})
minetest.register_node(":technic:concrete", {
description = S("Concrete Block"),
tiles = {"technic_concrete_block.png",},
groups = {cracky=1, level=2, concrete=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node(":technic:blast_resistant_concrete", { minetest.register_node(":technic:blast_resistant_concrete", {
description = S("Blast-resistant Concrete Block"), description = S("Blast-resistant Concrete Block"),
tiles = {"technic_blast_resistant_concrete_block.png",}, tiles = {"technic_blast_resistant_concrete_block.png",},
@ -101,7 +71,7 @@ local box_right = {0, -0.3, -0.1, 0.5, 0.3, 0.1}
minetest.register_node(":technic:concrete_post_platform", { minetest.register_node(":technic:concrete_post_platform", {
description = S("Concrete Post Platform"), description = S("Concrete Post Platform"),
tiles = {"technic_concrete_block.png",}, tiles = {"basic_materials_concrete_block.png",},
groups={cracky=1, level=2}, groups={cracky=1, level=2},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
paramtype = "light", paramtype = "light",
@ -133,7 +103,7 @@ for platform = 0, 1 do
minetest.register_node(":technic:concrete_post"..(platform == 1 and "_with_platform" or ""), { minetest.register_node(":technic:concrete_post"..(platform == 1 and "_with_platform" or ""), {
description = S("Concrete Post"), description = S("Concrete Post"),
tiles = {"technic_concrete_block.png"}, tiles = {"basic_materials_concrete_block.png"},
groups = {cracky=1, level=2, concrete_post=1, not_in_creative_inventory=platform}, groups = {cracky=1, level=2, concrete_post=1, not_in_creative_inventory=platform},
sounds = default.node_sound_stone_defaults(), sounds = default.node_sound_stone_defaults(),
drop = (platform == 1 and "technic:concrete_post_platform" or drop = (platform == 1 and "technic:concrete_post_platform" or

Binary file not shown.

Before

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 813 B

View File

@ -1,5 +1,6 @@
default default
technic_worldgen technic_worldgen
basic_materials
concrete concrete
unifieddyes? unifieddyes?
intllib? intllib?

View File

@ -30,7 +30,7 @@ if minetest.get_modpath("moreblocks") then
stairsplus:register_all("technic", "concrete", "technic:concrete", { stairsplus:register_all("technic", "concrete", "technic:concrete", {
description=S("Concrete"), description=S("Concrete"),
groups={cracky=3, not_in_creative_inventory=1}, groups={cracky=3, not_in_creative_inventory=1},
tiles={"technic_concrete_block.png"}, tiles={"basic_materials_concrete_block.png"},
}) })
stairsplus:register_all("technic", "zinc_block", "technic:zinc_block", { stairsplus:register_all("technic", "zinc_block", "technic:zinc_block", {
@ -57,10 +57,10 @@ if minetest.get_modpath("moreblocks") then
tiles={"technic_stainless_steel_block.png"}, tiles={"technic_stainless_steel_block.png"},
}) })
stairsplus:register_all("technic", "brass_block", "technic:brass_block", { stairsplus:register_all("technic", "brass_block", "basic_materials:brass_block", {
description=S("Brass Block"), description=S("Brass Block"),
groups={cracky=1, not_in_creative_inventory=1}, groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_brass_block.png"}, tiles={"basic_materials_brass_block.png"},
}) })
function register_technic_stairs_alias(modname, origname, newmod, newname) function register_technic_stairs_alias(modname, origname, newmod, newname)

View File

@ -38,6 +38,12 @@ if pipeworks.enable_teleport_tube then
}) })
end end
-- basic materials' brass ingot
minetest.clear_craft({
output = "basic_materials:brass_ingot",
})
-- tubes crafting recipes -- tubes crafting recipes
minetest.register_craft({ minetest.register_craft({
@ -71,54 +77,24 @@ minetest.register_craft({
output = 'technic:red_energy_crystal', output = 'technic:red_energy_crystal',
recipe = { recipe = {
{'moreores:silver_ingot', 'technic:battery', 'dye:red'}, {'moreores:silver_ingot', 'technic:battery', 'dye:red'},
{'technic:battery', 'default:diamondblock', 'technic:battery'}, {'technic:battery', 'basic_materials:energy_crystal_simple', 'technic:battery'},
{'dye:red', 'technic:battery', 'moreores:silver_ingot'}, {'dye:red', 'technic:battery', 'moreores:silver_ingot'},
} }
}) })
minetest.register_craft({
output = 'technic:fine_copper_wire 2',
recipe = {
{'', 'default:copper_ingot', ''},
{'', 'default:copper_ingot', ''},
{'', 'default:copper_ingot', ''},
}
})
minetest.register_craft({
output = 'technic:fine_gold_wire 2',
recipe = {
{'', 'default:gold_ingot', ''},
{'', 'default:gold_ingot', ''},
{'', 'default:gold_ingot', ''},
}
})
minetest.register_craft({
output = 'technic:fine_silver_wire 2',
recipe = {
{'', 'moreores:silver_ingot', ''},
{'', 'moreores:silver_ingot', ''},
{'', 'moreores:silver_ingot', ''},
}
})
minetest.register_craft({ minetest.register_craft({
output = 'technic:copper_coil 1', output = 'technic:copper_coil 1',
recipe = { recipe = {
{'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire'}, {'basic_materials:copper_wire', 'technic:wrought_iron_ingot', 'basic_materials:copper_wire'},
{'technic:wrought_iron_ingot', '', 'technic:wrought_iron_ingot'}, {'technic:wrought_iron_ingot', '', 'technic:wrought_iron_ingot'},
{'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire'}, {'basic_materials:copper_wire', 'technic:wrought_iron_ingot', 'basic_materials:copper_wire'},
} },
}) replacements = {
{"basic_materials:copper_wire", "basic_materials:empty_spool"},
minetest.register_craft({ {"basic_materials:copper_wire", "basic_materials:empty_spool"},
output = 'technic:motor', {"basic_materials:copper_wire", "basic_materials:empty_spool"},
recipe = { {"basic_materials:copper_wire", "basic_materials:empty_spool"}
{'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot'}, },
{'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot'},
{'technic:carbon_steel_ingot', 'default:copper_ingot', 'technic:carbon_steel_ingot'},
}
}) })
local isolation = mesecons_materials and "mesecons_materials:fiber" or "technic:rubber" local isolation = mesecons_materials and "mesecons_materials:fiber" or "technic:rubber"
@ -153,10 +129,11 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'technic:control_logic_unit', output = 'technic:control_logic_unit',
recipe = { recipe = {
{'', 'technic:fine_gold_wire', ''}, {'', 'basic_materials:gold_wire', ''},
{'default:copper_ingot', 'technic:silicon_wafer', 'default:copper_ingot'}, {'default:copper_ingot', 'technic:silicon_wafer', 'default:copper_ingot'},
{'', 'technic:chromium_ingot', ''}, {'', 'technic:chromium_ingot', ''},
} },
replacements = { {"basic_materials:gold_wire", "basic_materials:empty_spool"}, },
}) })
minetest.register_craft({ minetest.register_craft({
@ -179,7 +156,7 @@ minetest.register_craft({
output = "technic:machine_casing", output = "technic:machine_casing",
recipe = { recipe = {
{ "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" }, { "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" },
{ "technic:cast_iron_ingot", "technic:brass_ingot", "technic:cast_iron_ingot" }, { "technic:cast_iron_ingot", "basic_materials:brass_ingot", "technic:cast_iron_ingot" },
{ "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" }, { "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" },
}, },
}) })

View File

@ -1,6 +1,7 @@
default default
pipeworks pipeworks
technic_worldgen technic_worldgen
basic_materials
bucket? bucket?
screwdriver? screwdriver?
mesecons? mesecons?

View File

@ -69,32 +69,11 @@ minetest.register_tool("technic:red_energy_crystal", {
} }
}) })
minetest.register_craftitem("technic:fine_copper_wire", {
description = S("Fine Copper Wire"),
inventory_image = "technic_fine_copper_wire.png",
})
minetest.register_craftitem("technic:fine_gold_wire", {
description = S("Fine Gold Wire"),
inventory_image = "technic_fine_gold_wire.png",
})
minetest.register_craftitem("technic:fine_silver_wire", {
description = S("Fine Silver Wire"),
inventory_image = "technic_fine_silver_wire.png",
})
minetest.register_craftitem("technic:copper_coil", { minetest.register_craftitem("technic:copper_coil", {
description = S("Copper Coil"), description = S("Copper Coil"),
inventory_image = "technic_copper_coil.png", inventory_image = "technic_copper_coil.png",
}) })
minetest.register_craftitem("technic:motor", {
description = S("Electric Motor"),
inventory_image = "technic_motor.png",
})
minetest.register_craftitem("technic:lv_transformer", { minetest.register_craftitem("technic:lv_transformer", {
description = S("Low Voltage Transformer"), description = S("Low Voltage Transformer"),
inventory_image = "technic_lv_transformer.png", inventory_image = "technic_lv_transformer.png",

View File

@ -17,7 +17,7 @@ local cable_entry = "^technic_cable_connection_overlay.png"
minetest.register_craft({ minetest.register_craft({
output = "technic:forcefield_emitter_off", output = "technic:forcefield_emitter_off",
recipe = { recipe = {
{"default:mese", "technic:motor", "default:mese" }, {"default:mese", "basic_materials:motor", "default:mese" },
{"technic:deployer_off", "technic:machine_casing", "technic:deployer_off"}, {"technic:deployer_off", "technic:machine_casing", "technic:deployer_off"},
{"default:mese", "technic:hv_cable", "default:mese" }, {"default:mese", "technic:hv_cable", "default:mese" },
} }

View File

@ -7,7 +7,7 @@ local cable_entry = "^technic_cable_connection_overlay.png"
minetest.register_craft({ minetest.register_craft({
recipe = { recipe = {
{"technic:carbon_plate", "pipeworks:filter", "technic:composite_plate"}, {"technic:carbon_plate", "pipeworks:filter", "technic:composite_plate"},
{"technic:motor", "technic:machine_casing", "technic:diamond_drill_head"}, {"basic_materials:motor", "technic:machine_casing", "technic:diamond_drill_head"},
{"technic:carbon_steel_block", "technic:hv_cable", "technic:carbon_steel_block"}}, {"technic:carbon_steel_block", "technic:hv_cable", "technic:carbon_steel_block"}},
output = "technic:quarry", output = "technic:quarry",
}) })

View File

@ -14,7 +14,7 @@ minetest.register_craft({
output = 'technic:cnc', output = 'technic:cnc',
recipe = { recipe = {
{'default:glass', 'technic:diamond_drill_head', 'default:glass'}, {'default:glass', 'technic:diamond_drill_head', 'default:glass'},
{'technic:control_logic_unit', 'technic:machine_casing', 'technic:motor'}, {'technic:control_logic_unit', 'technic:machine_casing', 'basic_materials:motor'},
{'technic:carbon_steel_ingot', 'technic:lv_cable', 'technic:carbon_steel_ingot'}, {'technic:carbon_steel_ingot', 'technic:lv_cable', 'technic:carbon_steel_ingot'},
}, },
}) })

View File

@ -4,10 +4,14 @@ minetest.register_alias("compressor", "technic:lv_compressor")
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_compressor', output = 'technic:lv_compressor',
recipe = { recipe = {
{'default:stone', 'technic:motor', 'default:stone'}, {'default:stone', 'basic_materials:motor', 'default:stone'},
{'mesecons:piston', 'technic:machine_casing', 'mesecons:piston'}, {'mesecons:piston', 'technic:machine_casing', 'mesecons:piston'},
{'technic:fine_silver_wire', 'technic:lv_cable', 'technic:fine_silver_wire'}, {'basic_materials:silver_wire', 'technic:lv_cable', 'basic_materials:silver_wire'},
} },
replacements = {
{"basic_materials:silver_wire", "basic_materials:empty_spool"},
{"basic_materials:silver_wire", "basic_materials:empty_spool"}
},
}) })
technic.register_compressor({tier = "LV", demand = {300}, speed = 1}) technic.register_compressor({tier = "LV", demand = {300}, speed = 1})

View File

@ -4,7 +4,7 @@ minetest.register_alias("extractor", "technic:lv_extractor")
minetest.register_craft({ minetest.register_craft({
output = 'technic:lv_extractor', output = 'technic:lv_extractor',
recipe = { recipe = {
{'technic:treetap', 'technic:motor', 'technic:treetap'}, {'technic:treetap', 'basic_materials:motor', 'technic:treetap'},
{'technic:treetap', 'technic:machine_casing', 'technic:treetap'}, {'technic:treetap', 'technic:machine_casing', 'technic:treetap'},
{'', 'technic:lv_cable', ''}, {'', 'technic:lv_cable', ''},
} }

View File

@ -11,9 +11,13 @@ minetest.register_craft({
output = 'technic:geothermal', output = 'technic:geothermal',
recipe = { recipe = {
{'technic:granite', 'default:diamond', 'technic:granite'}, {'technic:granite', 'default:diamond', 'technic:granite'},
{'technic:fine_copper_wire', 'technic:machine_casing', 'technic:fine_copper_wire'}, {'basic_materials:copper_wire', 'technic:machine_casing', 'basic_materials:copper_wire'},
{'technic:granite', 'technic:lv_cable', 'technic:granite'}, {'technic:granite', 'technic:lv_cable', 'technic:granite'},
} },
replacements = {
{"basic_materials:copper_wire", "basic_materials:empty_spool"},
{"basic_materials:copper_wire", "basic_materials:empty_spool"}
},
}) })
minetest.register_craftitem("technic:geothermal", { minetest.register_craftitem("technic:geothermal", {

View File

@ -9,9 +9,9 @@ minetest.register_craft({
output = 'technic:solar_panel', output = 'technic:solar_panel',
recipe = { recipe = {
{'technic:doped_silicon_wafer', 'technic:doped_silicon_wafer', 'technic:doped_silicon_wafer'}, {'technic:doped_silicon_wafer', 'technic:doped_silicon_wafer', 'technic:doped_silicon_wafer'},
{'technic:fine_silver_wire', 'technic:lv_cable', 'mesecons_materials:glue'}, {'basic_materials:silver_wire', 'technic:lv_cable', 'mesecons_materials:glue'},
},
} replacements = { {"basic_materials:silver_wire", "basic_materials:empty_spool"}, },
}) })

View File

@ -1,7 +1,7 @@
minetest.register_craft({ minetest.register_craft({
output = "technic:mv_centrifuge", output = "technic:mv_centrifuge",
recipe = { recipe = {
{"technic:motor", "technic:copper_plate", "technic:diamond_drill_head"}, {"basic_materials:motor", "technic:copper_plate", "technic:diamond_drill_head"},
{"technic:copper_plate", "technic:machine_casing", "technic:copper_plate" }, {"technic:copper_plate", "technic:machine_casing", "technic:copper_plate" },
{"pipeworks:one_way_tube", "technic:mv_cable", "pipeworks:mese_filter" }, {"pipeworks:one_way_tube", "technic:mv_cable", "pipeworks:mese_filter" },
} }

View File

@ -13,7 +13,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'technic:wind_mill', output = 'technic:wind_mill',
recipe = { recipe = {
{'', 'technic:motor', ''}, {'', 'basic_materials:motor', ''},
{'technic:carbon_steel_ingot', 'technic:carbon_steel_block', 'technic:carbon_steel_ingot'}, {'technic:carbon_steel_ingot', 'technic:carbon_steel_block', 'technic:carbon_steel_ingot'},
{'', 'technic:mv_cable', ''}, {'', 'technic:mv_cable', ''},
} }

View File

@ -979,7 +979,7 @@ minetest.register_craft({
output = 'technic:frame_111111', output = 'technic:frame_111111',
recipe = { recipe = {
{ '', 'default:stick', '' }, { '', 'default:stick', '' },
{ 'default:stick', 'technic:brass_ingot', 'default:stick' }, { 'default:stick', 'basic_materials:brass_ingot', 'default:stick' },
{ '', 'default:stick', '' }, { '', 'default:stick', '' },
} }
}) })
@ -988,7 +988,7 @@ minetest.register_craft({
output = 'technic:frame_motor', output = 'technic:frame_motor',
recipe = { recipe = {
{ '', 'technic:frame_111111', '' }, { '', 'technic:frame_111111', '' },
{ 'group:mesecon_conductor_craftable', 'technic:motor', 'group:mesecon_conductor_craftable' }, { 'group:mesecon_conductor_craftable', 'basic_materials:motor', 'group:mesecon_conductor_craftable' },
{ '', 'technic:frame_111111', '' }, { '', 'technic:frame_111111', '' },
} }
}) })
@ -996,9 +996,9 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'technic:template 10', output = 'technic:template 10',
recipe = { recipe = {
{ '', 'technic:brass_ingot', '' }, { '', 'basic_materials:brass_ingot', '' },
{ 'technic:brass_ingot', 'default:mese_crystal', 'technic:brass_ingot' }, { 'basic_materials:brass_ingot', 'default:mese_crystal', 'basic_materials:brass_ingot' },
{ '', 'technic:brass_ingot', '' }, { '', 'basic_materials:brass_ingot', '' },
} }
}) })
@ -1016,7 +1016,7 @@ minetest.register_craft({
output = 'technic:template_motor', output = 'technic:template_motor',
recipe = { recipe = {
{ '', 'technic:template', '' }, { '', 'technic:template', '' },
{ 'group:mesecon_conductor_craftable', 'technic:motor', 'group:mesecon_conductor_craftable' }, { 'group:mesecon_conductor_craftable', 'basic_materials:motor', 'group:mesecon_conductor_craftable' },
{ '', 'technic:template', '' }, { '', 'technic:template', '' },
} }
}) })

View File

@ -21,7 +21,7 @@ local recipes = {
{"technic:carbon_steel_dust 3", "technic:chromium_dust", "technic:stainless_steel_dust 4"}, {"technic:carbon_steel_dust 3", "technic:chromium_dust", "technic:stainless_steel_dust 4"},
{"technic:carbon_steel_ingot 3", "technic:chromium_ingot", "technic:stainless_steel_ingot 4"}, {"technic:carbon_steel_ingot 3", "technic:chromium_ingot", "technic:stainless_steel_ingot 4"},
{"technic:copper_dust 2", "technic:zinc_dust", "technic:brass_dust 3"}, {"technic:copper_dust 2", "technic:zinc_dust", "technic:brass_dust 3"},
{"default:copper_ingot 2", "technic:zinc_ingot", "technic:brass_ingot 3"}, {"default:copper_ingot 2", "technic:zinc_ingot", "basic_materials:brass_ingot 3"},
{"default:sand 2", "technic:coal_dust 2", "technic:silicon_wafer"}, {"default:sand 2", "technic:coal_dust 2", "technic:silicon_wafer"},
{"technic:silicon_wafer", "technic:gold_dust", "technic:doped_silicon_wafer"}, {"technic:silicon_wafer", "technic:gold_dust", "technic:doped_silicon_wafer"},
-- from https://en.wikipedia.org/wiki/Carbon_black -- from https://en.wikipedia.org/wiki/Carbon_black

View File

@ -93,7 +93,7 @@ local function register_dust(name, ingot)
end end
-- Sorted alphibeticaly -- Sorted alphibeticaly
register_dust("Brass", "technic:brass_ingot") register_dust("Brass", "basic_materials:brass_ingot")
register_dust("Bronze", "default:bronze_ingot") register_dust("Bronze", "default:bronze_ingot")
register_dust("Carbon Steel", "technic:carbon_steel_ingot") register_dust("Carbon Steel", "technic:carbon_steel_ingot")
register_dust("Cast Iron", "technic:cast_iron_ingot") register_dust("Cast Iron", "technic:cast_iron_ingot")

View File

@ -201,10 +201,11 @@ minetest.register_node("technic:supply_converter", {
minetest.register_craft({ minetest.register_craft({
output = 'technic:supply_converter 1', output = 'technic:supply_converter 1',
recipe = { recipe = {
{'technic:fine_gold_wire', 'technic:rubber', 'technic:doped_silicon_wafer'}, {'basic_materials:gold_wire', 'technic:rubber', 'technic:doped_silicon_wafer'},
{'technic:mv_transformer', 'technic:machine_casing', 'technic:lv_transformer'}, {'technic:mv_transformer', 'technic:machine_casing', 'technic:lv_transformer'},
{'technic:mv_cable', 'technic:rubber', 'technic:lv_cable'}, {'technic:mv_cable', 'technic:rubber', 'technic:lv_cable'},
} },
replacements = { {"basic_materials:gold_wire", "basic_materials:empty_spool"}, },
}) })
for tier, machines in pairs(technic.machines) do for tier, machines in pairs(technic.machines) do

View File

@ -146,7 +146,7 @@ local rad_resistance_node = {
["moreores:mithril_block"] = 26, ["moreores:mithril_block"] = 26,
["moreores:silver_block"] = 53, ["moreores:silver_block"] = 53,
["snow:snow_brick"] = 2.8, ["snow:snow_brick"] = 2.8,
["technic:brass_block"] = 43, ["basic_materials:brass_block"] = 43,
["technic:carbon_steel_block"] = 40, ["technic:carbon_steel_block"] = 40,
["technic:cast_iron_block"] = 40, ["technic:cast_iron_block"] = 40,
["technic:chernobylite_block"] = 40, ["technic:chernobylite_block"] = 40,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -363,8 +363,10 @@ minetest.register_craft({
output = "technic:chainsaw", output = "technic:chainsaw",
recipe = { recipe = {
{"technic:stainless_steel_ingot", trigger, "technic:battery"}, {"technic:stainless_steel_ingot", trigger, "technic:battery"},
{"technic:fine_copper_wire", "technic:motor", "technic:battery"}, {"basic_materials:copper_wire", "basic_materials:motor", "technic:battery"},
{"", "", "technic:stainless_steel_ingot"}, {"", "", "technic:stainless_steel_ingot"},
} },
replacements = { {"basic_materials:copper_wire", "basic_materials:empty_spool"}, },
}) })

View File

@ -7,7 +7,7 @@ minetest.register_craft({
output = 'technic:mining_drill', output = 'technic:mining_drill',
recipe = { recipe = {
{'default:tin_ingot', 'technic:diamond_drill_head', 'default:tin_ingot'}, {'default:tin_ingot', 'technic:diamond_drill_head', 'default:tin_ingot'},
{'technic:stainless_steel_ingot', 'technic:motor', 'technic:stainless_steel_ingot'}, {'technic:stainless_steel_ingot', 'basic_materials:motor', 'technic:stainless_steel_ingot'},
{'', 'technic:red_energy_crystal', 'default:copper_ingot'}, {'', 'technic:red_energy_crystal', 'default:copper_ingot'},
} }
}) })

View File

@ -11,8 +11,8 @@ local S = technic.getter
minetest.register_craft({ minetest.register_craft({
output = "technic:laser_mk1", output = "technic:laser_mk1",
recipe = { recipe = {
{"default:diamond", "technic:brass_ingot", "default:obsidian_glass"}, {"default:diamond", "basic_materials:brass_ingot", "default:obsidian_glass"},
{"", "technic:brass_ingot", "technic:red_energy_crystal"}, {"", "basic_materials:brass_ingot", "technic:red_energy_crystal"},
{"", "", "default:copper_ingot"}, {"", "", "default:copper_ingot"},
} }
}) })

View File

@ -122,7 +122,7 @@ minetest.register_craft({
output = "technic:prospector", output = "technic:prospector",
recipe = { recipe = {
{"moreores:pick_silver", "moreores:mithril_block", "pipeworks:teleport_tube_1"}, {"moreores:pick_silver", "moreores:mithril_block", "pipeworks:teleport_tube_1"},
{"technic:brass_ingot", "technic:control_logic_unit", "technic:brass_ingot"}, {"basic_materials:brass_ingot", "technic:control_logic_unit", "basic_materials:brass_ingot"},
{"", "technic:blue_energy_crystal", ""}, {"", "technic:blue_energy_crystal", ""},
} }
}) })

View File

@ -55,7 +55,7 @@ minetest.register_craft({
output = 'technic:vacuum', output = 'technic:vacuum',
recipe = { recipe = {
{'pipeworks:tube_1', 'pipeworks:filter', 'technic:battery'}, {'pipeworks:tube_1', 'pipeworks:filter', 'technic:battery'},
{'pipeworks:tube_1', 'technic:motor', 'technic:battery'}, {'pipeworks:tube_1', 'basic_materials:motor', 'technic:battery'},
{'technic:stainless_steel_ingot', '', ''}, {'technic:stainless_steel_ingot', '', ''},
} }
}) })

View File

@ -19,7 +19,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'technic:copper_locked_chest 1', output = 'technic:copper_locked_chest 1',
recipe = { recipe = {
{'default:steel_ingot'}, {'basic_materials:padlock'},
{'technic:copper_chest'}, {'technic:copper_chest'},
} }
}) })

View File

@ -1,4 +1,6 @@
default default
basic_materials
moreblocks?
moreores? moreores?
pipeworks? pipeworks?
intllib? intllib?

View File

@ -30,7 +30,7 @@ end
minetest.register_craft({ minetest.register_craft({
output = 'technic:gold_locked_chest', output = 'technic:gold_locked_chest',
recipe = { recipe = {
{'default:steel_ingot'}, {'basic_materials:padlock'},
{'technic:gold_chest'}, {'technic:gold_chest'},
} }
}) })

View File

@ -15,6 +15,63 @@ dofile(modpath.."/silver_chest.lua")
dofile(modpath.."/gold_chest.lua") dofile(modpath.."/gold_chest.lua")
dofile(modpath.."/mithril_chest.lua") dofile(modpath.."/mithril_chest.lua")
-- undo all of the locked wooden chest recipes created by default and
-- moreblocks, and just make them use a padlock.
if minetest.get_modpath("moreblocks") then
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:gold_ingot",
}
})
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:bronze_ingot",
}
})
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:copper_ingot",
}
})
end
minetest.clear_craft({
type = "shapeless",
recipe = {
"default:chest",
"default:steel_ingot",
}
})
minetest.clear_craft({output = "default:chest_locked"})
minetest.register_craft({
output = "default:chest_locked",
recipe = {
{ "group:wood", "group:wood", "group:wood" },
{ "group:wood", "basic_materials:padlock", "group:wood" },
{ "group:wood", "group:wood", "group:wood" }
}
})
minetest.register_craft({
output = "default:chest_locked",
type = "shapeless",
recipe = {
"default:chest",
"basic_materials:padlock"
}
})
minetest.register_lbm({ minetest.register_lbm({
name = "technic_chests:fix_wooden_chests", name = "technic_chests:fix_wooden_chests",
nodenames = {"default:chest"}, nodenames = {"default:chest"},

View File

@ -26,7 +26,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = 'technic:iron_locked_chest 1', output = 'technic:iron_locked_chest 1',
recipe = { recipe = {
{'default:steel_ingot'}, {'basic_materials:padlock'},
{'technic:iron_chest'}, {'technic:iron_chest'},
} }
}) })

View File

@ -21,7 +21,7 @@ end
minetest.register_craft({ minetest.register_craft({
output = 'technic:mithril_locked_chest 1', output = 'technic:mithril_locked_chest 1',
recipe = { recipe = {
{'default:steel_ingot'}, {'basic_materials:padlock'},
{'technic:mithril_chest'}, {'technic:mithril_chest'},
} }
}) })

View File

@ -21,7 +21,7 @@ end
minetest.register_craft({ minetest.register_craft({
output = 'technic:silver_locked_chest', output = 'technic:silver_locked_chest',
recipe = { recipe = {
{'default:steel_ingot'}, {'basic_materials:padlock'},
{'technic:silver_chest'}, {'technic:silver_chest'},
} }
}) })

View File

@ -48,11 +48,6 @@ minetest.register_craftitem(":technic:sulfur_lump", {
inventory_image = "technic_sulfur_lump.png", inventory_image = "technic_sulfur_lump.png",
}) })
minetest.register_craftitem(":technic:brass_ingot", {
description = S("Brass Ingot"),
inventory_image = "technic_brass_ingot.png",
})
minetest.register_alias("technic:wrought_iron_ingot", "default:steel_ingot") minetest.register_alias("technic:wrought_iron_ingot", "default:steel_ingot")
minetest.override_item("default:steel_ingot", { minetest.override_item("default:steel_ingot", {
@ -97,7 +92,6 @@ register_block("technic:uranium_block", "technic:uranium_ingot")
register_block("technic:chromium_block", "technic:chromium_ingot") register_block("technic:chromium_block", "technic:chromium_ingot")
register_block("technic:zinc_block", "technic:zinc_ingot") register_block("technic:zinc_block", "technic:zinc_ingot")
register_block("technic:lead_block", "technic:lead_ingot") register_block("technic:lead_block", "technic:lead_ingot")
register_block("technic:brass_block", "technic:brass_ingot")
register_block("technic:cast_iron_block", "technic:cast_iron_ingot") register_block("technic:cast_iron_block", "technic:cast_iron_ingot")
register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot") register_block("technic:carbon_steel_block", "technic:carbon_steel_ingot")
register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot") register_block("technic:stainless_steel_block", "technic:stainless_steel_ingot")

View File

@ -1,4 +1,5 @@
default default
basic_materials
intllib? intllib?
mg? mg?
doors? doors?

View File

@ -133,14 +133,6 @@ minetest.register_node(":technic:stainless_steel_block", {
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
minetest.register_node(":technic:brass_block", {
description = S("Brass Block"),
tiles = { "technic_brass_block.png" },
is_ground_content = true,
groups = {cracky=1, level=2},
sounds = default.node_sound_stone_defaults()
})
minetest.register_craft({ minetest.register_craft({
output = 'technic:marble_bricks 4', output = 'technic:marble_bricks 4',
recipe = { recipe = {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 649 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 B