mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-06-28 05:50:17 +02:00
Make modpack mostly independent from MTG (#607)
This commit is contained in:
committed by
GitHub
parent
f4070d3e64
commit
dfa43d6c0c
@ -4,7 +4,7 @@ mesecon.register_node("mesecons_switch:mesecon_switch", {
|
||||
paramtype2="facedir",
|
||||
description="Switch",
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = mesecon.node_sound.stone,
|
||||
on_rightclick = function (pos, node)
|
||||
if(mesecon.flipstate(pos, node) == "on") then
|
||||
mesecon.receptor_on(pos)
|
||||
@ -30,7 +30,7 @@ mesecon.register_node("mesecons_switch:mesecon_switch", {
|
||||
minetest.register_craft({
|
||||
output = "mesecons_switch:mesecon_switch_off 2",
|
||||
recipe = {
|
||||
{"default:steel_ingot", "default:cobble", "default:steel_ingot"},
|
||||
{"mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot"},
|
||||
{"group:mesecon_conductor_craftable","", "group:mesecon_conductor_craftable"},
|
||||
}
|
||||
})
|
||||
|
@ -1,2 +1,2 @@
|
||||
name = mesecons_switch
|
||||
depends = default, mesecons
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
Reference in New Issue
Block a user