Make modpack mostly independent from MTG (#607)

This commit is contained in:
Jude Melton-Houghton
2022-05-05 10:57:53 -04:00
committed by GitHub
parent f4070d3e64
commit dfa43d6c0c
67 changed files with 285 additions and 187 deletions

View File

@ -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"},
}
})

View File

@ -1,2 +1,2 @@
name = mesecons_switch
depends = default, mesecons
depends = mesecons, mesecons_gamecompat