forked from Mirrorlandia_minetest/mesecons
remove crafts
This commit is contained in:
parent
4ee9564095
commit
a14680c71e
@ -48,11 +48,4 @@ mesecon.register_node("mesecons_blinkyplant:blinky_plant", {
|
||||
tiles = {"jeija_blinky_plant_on.png"},
|
||||
groups = {dig_immediate=3, not_in_creative_inventory=1},
|
||||
mesecons = {receptor = { state = mesecon.state.on }}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_blinkyplant:blinky_plant_off 1",
|
||||
recipe = { {"","group:mesecon_conductor_craftable",""},
|
||||
{"","group:mesecon_conductor_craftable",""},
|
||||
{"group:sapling","group:sapling","group:sapling"}}
|
||||
})
|
||||
})
|
@ -101,10 +101,3 @@ minetest.register_node("mesecons_button:button_on", {
|
||||
on_timer = mesecon.button_turnoff,
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_button:button_off 2",
|
||||
recipe = {
|
||||
{"group:mesecon_conductor_craftable","mesecons_gamecompat:stone"},
|
||||
}
|
||||
})
|
||||
|
@ -152,11 +152,3 @@ end
|
||||
minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), on_state)
|
||||
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_delayer:delayer_off_1",
|
||||
recipe = {
|
||||
{"mesecons_torch:mesecon_torch_on", "group:mesecon_conductor_craftable", "mesecons_torch:mesecon_torch_on"},
|
||||
{"mesecons_gamecompat:cobble","mesecons_gamecompat:cobble", "mesecons_gamecompat:cobble"},
|
||||
}
|
||||
})
|
||||
|
@ -101,24 +101,6 @@ minetest.register_node("mesecons_detector:object_detector_on", {
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'mesecons_detector:object_detector_off',
|
||||
recipe = {
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_luacontroller:luacontroller0000", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'mesecons_detector:object_detector_off',
|
||||
recipe = {
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_microcontroller:microcontroller0000", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"mesecons_detector:object_detector_off"},
|
||||
interval = 1,
|
||||
@ -275,25 +257,6 @@ minetest.register_node("mesecons_detector:node_detector_on", {
|
||||
digiline = node_detector_digiline,
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'mesecons_detector:node_detector_off',
|
||||
recipe = {
|
||||
{"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_luacontroller:luacontroller0000", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'mesecons_detector:node_detector_off',
|
||||
recipe = {
|
||||
{"mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_microcontroller:microcontroller0000", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"mesecons_detector:node_detector_off"},
|
||||
interval = 1,
|
||||
|
@ -59,11 +59,3 @@ minetest.register_node("mesecons_extrawires:corner_off", {
|
||||
on_blast = mesecon.on_blastnode,
|
||||
on_rotate = mesecon.on_rotate_horiz,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_extrawires:corner_off 3",
|
||||
recipe = {
|
||||
{"mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off"},
|
||||
{"", "mesecons_insulated:insulated_off"},
|
||||
}
|
||||
})
|
||||
|
@ -121,21 +121,4 @@ minetest.register_node("mesecons_extrawires:crossover_on", {
|
||||
}
|
||||
},
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_extrawires:crossover_off",
|
||||
recipe = {
|
||||
"mesecons_insulated:insulated_off",
|
||||
"mesecons_insulated:insulated_off",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_insulated:insulated_off 2",
|
||||
recipe = {
|
||||
"mesecons_extrawires:crossover_off",
|
||||
},
|
||||
})
|
||||
})
|
@ -57,20 +57,3 @@ for k, state in ipairs(doublecorner_states) do
|
||||
on_rotate = mesecon.on_rotate_horiz,
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_extrawires:doublecorner_00",
|
||||
recipe = {
|
||||
"mesecons_extrawires:corner_off",
|
||||
"mesecons_extrawires:corner_off",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_extrawires:corner_off 2",
|
||||
recipe = {
|
||||
"mesecons_extrawires:doublecorner_00",
|
||||
},
|
||||
})
|
||||
|
@ -75,11 +75,3 @@ minetest.register_node("mesecons_extrawires:tjunction_off", {
|
||||
on_blast = mesecon.on_blastnode,
|
||||
on_rotate = mesecon.on_rotate_horiz,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_extrawires:tjunction_off 3",
|
||||
recipe = {
|
||||
{"mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off"},
|
||||
{"", "mesecons_insulated:insulated_off", ""},
|
||||
}
|
||||
})
|
||||
|
@ -170,18 +170,4 @@ mesecon.register_node("mesecons_extrawires:vertical_bottom", {
|
||||
offstate = "mesecons_extrawires:vertical_bottom_off",
|
||||
rules = bottom_rules,
|
||||
}}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_extrawires:vertical_off 3",
|
||||
recipe = {
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons:wire_00000000_off",
|
||||
recipe = {{"mesecons_extrawires:vertical_off"}}
|
||||
})
|
||||
})
|
@ -451,12 +451,3 @@ end)
|
||||
minetest.register_on_leaveplayer(function(player)
|
||||
plg.open_formspecs[player:get_player_name()] = nil
|
||||
end)
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_fpga:fpga0000 2",
|
||||
recipe = {
|
||||
{'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable'},
|
||||
{'mesecons_materials:silicon', 'mesecons_materials:silicon'},
|
||||
{'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable'},
|
||||
}
|
||||
})
|
||||
|
@ -59,13 +59,4 @@ minetest.register_tool("mesecons_fpga:programmer", {
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_fpga:programmer",
|
||||
recipe = {
|
||||
{'group:mesecon_conductor_craftable'},
|
||||
{'mesecons_materials:silicon'},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
end
|
||||
|
@ -113,8 +113,6 @@ local function register_gate(name, inputnumber, assess, recipe, description)
|
||||
action_change = update_gate
|
||||
}}
|
||||
})
|
||||
|
||||
minetest.register_craft({output = basename.."_off", recipe = recipe})
|
||||
end
|
||||
|
||||
register_gate("diode", 1, function (input) return input end,
|
||||
|
@ -94,12 +94,3 @@ nodenames = {"mesecons_hydroturbine:hydro_turbine_on"},
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_hydroturbine:hydro_turbine_off 2",
|
||||
recipe = {
|
||||
{"","grup:stick", ""},
|
||||
{"group:stick", "mesecons_gamecompat:steel_ingot", "group:stick"},
|
||||
{"","group:stick", ""},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -76,11 +76,3 @@ minetest.register_node("mesecons_insulated:insulated_off", {
|
||||
on_rotate = mesecon.on_rotate_horiz,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_insulated:insulated_off 3",
|
||||
recipe = {
|
||||
{"mesecons_materials:fiber", "mesecons_materials:fiber", "mesecons_materials:fiber"},
|
||||
{"group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable"},
|
||||
{"mesecons_materials:fiber", "mesecons_materials:fiber", "mesecons_materials:fiber"},
|
||||
}
|
||||
})
|
||||
|
@ -60,12 +60,3 @@ minetest.register_node("mesecons_lamp:lamp_off", {
|
||||
}},
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_lamp:lamp_off 1",
|
||||
recipe = {
|
||||
{"", "mesecons_gamecompat:glass", ""},
|
||||
{"group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable"},
|
||||
{"", "mesecons_gamecompat:glass", ""},
|
||||
}
|
||||
})
|
||||
|
@ -48,14 +48,6 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_lightstone:lightstone_" .. name .. "_off",
|
||||
recipe = {
|
||||
{"",base_item,""},
|
||||
{base_item,"mesecons_gamecompat:torch",base_item},
|
||||
{"","group:mesecon_conductor_craftable",""}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
|
@ -931,17 +931,4 @@ minetest.register_node(BASENAME .. "_burnt", {
|
||||
},
|
||||
},
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
------------------------
|
||||
-- Craft Registration --
|
||||
------------------------
|
||||
|
||||
minetest.register_craft({
|
||||
output = BASENAME.."0000 2",
|
||||
recipe = {
|
||||
{'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'},
|
||||
{'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'},
|
||||
{'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable', ''},
|
||||
}
|
||||
})
|
||||
})
|
@ -10,32 +10,9 @@ minetest.register_craftitem("mesecons_materials:fiber", {
|
||||
on_place_on_ground = minetest.craftitem_place_item,
|
||||
description="Fiber",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_materials:glue 2",
|
||||
type = "cooking",
|
||||
recipe = "group:sapling",
|
||||
cooktime = 2
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_materials:fiber 6",
|
||||
type = "cooking",
|
||||
recipe = "mesecons_materials:glue",
|
||||
cooktime = 4
|
||||
})
|
||||
|
||||
-- Silicon
|
||||
minetest.register_craftitem("mesecons_materials:silicon", {
|
||||
image = "mesecons_silicon.png",
|
||||
on_place_on_ground = minetest.craftitem_place_item,
|
||||
description="Silicon",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_materials:silicon 4",
|
||||
recipe = {
|
||||
{"group:sand", "group:sand"},
|
||||
{"group:sand", "mesecons_gamecompat:steel_ingot"},
|
||||
}
|
||||
})
|
||||
})
|
@ -154,26 +154,6 @@ end
|
||||
end
|
||||
|
||||
if minetest.get_modpath("mesecons_luacontroller") then
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_microcontroller:microcontroller0000",
|
||||
recipe = {"mesecons_luacontroller:luacontroller0000"},
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_luacontroller:luacontroller0000",
|
||||
recipe = {"mesecons_microcontroller:microcontroller0000"},
|
||||
})
|
||||
else
|
||||
minetest.register_craft({
|
||||
output = 'craft "mesecons_microcontroller:microcontroller0000" 2',
|
||||
recipe = {
|
||||
{'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'},
|
||||
{'mesecons_materials:silicon', 'mesecons_materials:silicon', 'group:mesecon_conductor_craftable'},
|
||||
{'group:mesecon_conductor_craftable', 'group:mesecon_conductor_craftable', ''},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
yc.reset = function(pos)
|
||||
yc.action(pos, {a=false, b=false, c=false, d=false})
|
||||
|
@ -175,60 +175,6 @@ mesecon.register_movestone("mesecons_movestones:sticky_movestone_vertical", {
|
||||
}, true, true)
|
||||
|
||||
|
||||
-- crafting:
|
||||
-- base recipe:
|
||||
minetest.register_craft({
|
||||
output = "mesecons_movestones:movestone 2",
|
||||
recipe = {
|
||||
{"mesecons_gamecompat:stone", "mesecons_gamecompat:stone", "mesecons_gamecompat:stone"},
|
||||
{"group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable"},
|
||||
{"mesecons_gamecompat:stone", "mesecons_gamecompat:stone", "mesecons_gamecompat:stone"},
|
||||
}
|
||||
})
|
||||
|
||||
-- conversation:
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_movestones:movestone",
|
||||
recipe = {"mesecons_movestones:movestone_vertical"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_movestones:movestone_vertical",
|
||||
recipe = {"mesecons_movestones:movestone"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_movestones:sticky_movestone",
|
||||
recipe = {"mesecons_movestones:sticky_movestone_vertical"},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "mesecons_movestones:sticky_movestone_vertical",
|
||||
recipe = {"mesecons_movestones:sticky_movestone"},
|
||||
})
|
||||
|
||||
-- make sticky:
|
||||
minetest.register_craft({
|
||||
output = "mesecons_movestones:sticky_movestone",
|
||||
recipe = {
|
||||
{"mesecons_materials:glue", "mesecons_movestones:movestone", "mesecons_materials:glue"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_movestones:sticky_movestone_vertical",
|
||||
recipe = {
|
||||
{"mesecons_materials:glue"},
|
||||
{"mesecons_movestones:movestone_vertical"},
|
||||
{"mesecons_materials:glue"},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
-- legacy code:
|
||||
minetest.register_alias("mesecons_movestones:movestone_active",
|
||||
"mesecons_movestones:movestone")
|
||||
|
@ -21,15 +21,6 @@ minetest.register_node("mesecons_noteblock:noteblock", {
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_noteblock:noteblock 1",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
|
||||
local soundnames = {
|
||||
[0] = "mesecons_noteblock_csharp",
|
||||
"mesecons_noteblock_d",
|
||||
|
@ -459,24 +459,5 @@ mesecon.register_mvps_stopper("mesecons_pistons:piston_normal_on", piston_get_st
|
||||
mesecon.register_mvps_stopper("mesecons_pistons:piston_sticky_on", piston_get_stopper)
|
||||
|
||||
|
||||
--craft recipes
|
||||
minetest.register_craft({
|
||||
output = "mesecons_pistons:piston_normal_off 2",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble"},
|
||||
{"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_pistons:piston_sticky_off",
|
||||
recipe = {
|
||||
{"mesecons_materials:glue"},
|
||||
{"mesecons_pistons:piston_normal_off"},
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
-- load legacy code
|
||||
dofile(minetest.get_modpath("mesecons_pistons").."/legacy.lua")
|
||||
|
@ -22,12 +22,3 @@ minetest.register_node("mesecons_powerplant:power_plant", {
|
||||
}},
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_powerplant:power_plant 1",
|
||||
recipe = {
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
{"group:sapling"},
|
||||
}
|
||||
})
|
||||
|
@ -78,11 +78,6 @@ function mesecon.register_pressure_plate(basename, description, textures_off, te
|
||||
groups = groups_on,
|
||||
tiles = textures_on
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = basename .. "_off",
|
||||
recipe = recipe,
|
||||
})
|
||||
end
|
||||
|
||||
mesecon.register_pressure_plate(
|
||||
|
@ -17,14 +17,6 @@ minetest.register_node("mesecons_random:removestone", {
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'mesecons_random:removestone 4',
|
||||
recipe = {
|
||||
{"", "mesecons_gamecompat:cobble", ""},
|
||||
{"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"},
|
||||
{"", "mesecons_gamecompat:cobble", ""},
|
||||
}
|
||||
})
|
||||
|
||||
-- GHOSTSTONE
|
||||
|
||||
@ -67,12 +59,3 @@ minetest.register_node("mesecons_random:ghoststone_active", {
|
||||
on_blast = mesecon.on_blastnode,
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'mesecons_random:ghoststone 4',
|
||||
recipe = {
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot"},
|
||||
{"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
@ -31,14 +31,6 @@ mesecon.register_node("mesecons_solarpanel:solar_panel", {
|
||||
}},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_solarpanel:solar_panel_off",
|
||||
recipe = {
|
||||
{"mesecons_materials:silicon", "mesecons_materials:silicon"},
|
||||
{"mesecons_materials:silicon", "mesecons_materials:silicon"},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
label = "Solar Panel On/Off",
|
||||
nodenames = {
|
||||
|
@ -26,11 +26,3 @@ mesecon.register_node("mesecons_switch:mesecon_switch", {
|
||||
"mesecons_switch_side.png", "mesecons_switch_on.png"},
|
||||
mesecons = {receptor = { state = mesecon.state.on }}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_switch:mesecon_switch_off 2",
|
||||
recipe = {
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot"},
|
||||
{"group:mesecon_conductor_craftable","", "group:mesecon_conductor_craftable"},
|
||||
}
|
||||
})
|
||||
|
@ -38,13 +38,6 @@ local torch_get_input_rules = function(node)
|
||||
return rotate_torch_rules(rules, node.param2)
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_torch:mesecon_torch_on 4",
|
||||
recipe = {
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
{"group:stick"},}
|
||||
})
|
||||
|
||||
local torch_selectionbox =
|
||||
{
|
||||
type = "wallmounted",
|
||||
|
@ -53,12 +53,3 @@ mesecon.register_node("mesecons_walllever:wall_lever", {
|
||||
}},
|
||||
groups = {dig_immediate = 2, mesecon_needs_receiver = 1, not_in_creative_inventory = 1}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mesecons_walllever:wall_lever_off 2",
|
||||
recipe = {
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
{"mesecons_gamecompat:stone"},
|
||||
{"group:stick"},
|
||||
}
|
||||
})
|
||||
|
@ -223,36 +223,4 @@ local function register_wires()
|
||||
if (nid_inc(nid) == false) then return end
|
||||
end
|
||||
end
|
||||
register_wires()
|
||||
|
||||
-- ##############
|
||||
-- ## Crafting ##
|
||||
-- ##############
|
||||
-- (Resolve aliases to avoid bug with cooking/fuel recipes.)
|
||||
|
||||
if minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"] then
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 2",
|
||||
recipe = minetest.registered_aliases["mesecons_gamecompat:mese_crystal_fragment"],
|
||||
cooktime = 3,
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.registered_aliases["mesecons_gamecompat:mese_crystal"] then
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 18",
|
||||
recipe = minetest.registered_aliases["mesecons_gamecompat:mese_crystal"],
|
||||
cooktime = 15,
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.registered_aliases["mesecons_gamecompat:mese"] then
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 162",
|
||||
recipe = minetest.registered_aliases["mesecons_gamecompat:mese"],
|
||||
cooktime = 30,
|
||||
})
|
||||
end
|
||||
register_wires()
|
Loading…
Reference in New Issue
Block a user