Stainless steel wire moved to basic_materials mod.
This commit is contained in:
parent
6f2d053166
commit
d5111e2e57
33
crafting.lua
33
crafting.lua
@ -2,6 +2,7 @@
|
||||
local items = {
|
||||
empty_spool = "basic_materials:empty_spool",
|
||||
steel_gear = "basic_materials:gear_steel",
|
||||
steel_wire = "basic_materials:steel_wire",
|
||||
steel_block = "default:steelblock",
|
||||
wheel_ingot = "default:steel_ingot",
|
||||
seat_block = "default:steelblock",
|
||||
@ -22,6 +23,8 @@ if minetest.get_modpath("technic") then
|
||||
items.wheel_ingot = "technic:stainless_steel_ingot"
|
||||
items.seat_block = "technic:carbon_steel_block"
|
||||
items.seat_ingot = "technic:carbon_steel_ingot"
|
||||
|
||||
items.steel_wire = "basic_materials:stainless_steel_wire"
|
||||
end
|
||||
|
||||
if minetest.get_modpath("hades_technic") then
|
||||
@ -29,32 +32,24 @@ if minetest.get_modpath("hades_technic") then
|
||||
items.wheel_ingot = "hades_technic:stainless_steel_ingot"
|
||||
items.seat_block = "hades_technic:carbon_steel_block"
|
||||
items.seat_ingot = "hades_technic:carbon_steel_ingot"
|
||||
end
|
||||
|
||||
if minetest.get_modpath("technic") or minetest.get_modpath("hades_technic") then
|
||||
minetest.register_craft({
|
||||
output = "chair_lift:stainless_steel_wire 2",
|
||||
recipe = {
|
||||
{items.wheel_ingot,items.empty_spool},
|
||||
{items.empty_spool,""},
|
||||
},
|
||||
})
|
||||
|
||||
items.steel_wire = "basic_materials:stainless_steel_wire"
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "chair_lift:steel_rope 2",
|
||||
recipe = {
|
||||
{"chair_lift:stainless_steel_wire","chair_lift:stainless_steel_wire"},
|
||||
{"chair_lift:stainless_steel_wire","chair_lift:stainless_steel_wire"},
|
||||
{"chair_lift:stainless_steel_wire","chair_lift:stainless_steel_wire"},
|
||||
{items.steel_wire,items.steel_wire},
|
||||
{items.steel_wire,items.steel_wire},
|
||||
{items.steel_wire,items.steel_wire},
|
||||
},
|
||||
replacements = {
|
||||
{"chair_lift:stainless_steel_wire",items.empty_spool},
|
||||
{"chair_lift:stainless_steel_wire",items.empty_spool},
|
||||
{"chair_lift:stainless_steel_wire",items.empty_spool},
|
||||
{"chair_lift:stainless_steel_wire",items.empty_spool},
|
||||
{"chair_lift:stainless_steel_wire",items.empty_spool},
|
||||
{"chair_lift:stainless_steel_wire",items.empty_spool},
|
||||
{items.steel_wire,items.empty_spool},
|
||||
{items.steel_wire,items.empty_spool},
|
||||
{items.steel_wire,items.empty_spool},
|
||||
{items.steel_wire,items.empty_spool},
|
||||
{items.steel_wire,items.empty_spool},
|
||||
{items.steel_wire,items.empty_spool},
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -11,17 +11,3 @@ minetest.register_craftitem("chair_lift:rope_wheel", {
|
||||
inventory_image = "chair_lift_rope_wheel.png",
|
||||
})
|
||||
|
||||
if minetest.get_modpath("technic") or minetest.get_modpath("hades_technic") then
|
||||
minetest.register_craftitem("chair_lift:stainless_steel_wire", {
|
||||
description = S("Spool of Stainless Steel Wire"),
|
||||
inventory_image = "chair_lift_stainless_steel_wire.png",
|
||||
})
|
||||
else
|
||||
if minetest.get_modpath("basic_materials") then
|
||||
minetest.register_alias("chair_lift:stainless_steel_wire", "basic_materials:steel_wire")
|
||||
end
|
||||
if minetest.get_modpath("hades_extramaterials") then
|
||||
minetest.register_alias("chair_lift:stainless_steel_wire", "basic_materials:hades_steel_wire")
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user