mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-14 14:20:33 +01:00
Rename mod to mesecons_gamecompat
This commit is contained in:
parent
90ef9d2145
commit
d074dd1a18
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_blinkyplant
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -105,6 +105,6 @@ minetest.register_node("mesecons_button:button_on", {
|
|||
minetest.register_craft({
|
||||
output = "mesecons_button:button_off 2",
|
||||
recipe = {
|
||||
{"group:mesecon_conductor_craftable","mesecons_compat:stone"},
|
||||
{"group:mesecon_conductor_craftable","mesecons_gamecompat:stone"},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_button
|
||||
depends = mesecons, mesecons_compat, mesecons_receiver
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_receiver
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_commandblock
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
if minetest.get_modpath("default") then
|
||||
minetest.register_alias("mesecons_compat:chest", "default:chest")
|
||||
minetest.register_alias("mesecons_compat:chest_locked", "default:chest_locked")
|
||||
minetest.register_alias("mesecons_compat:coalblock", "default:coalblock")
|
||||
minetest.register_alias("mesecons_compat:cobble", "default:cobble")
|
||||
minetest.register_alias("mesecons_compat:glass", "default:glass")
|
||||
minetest.register_alias("mesecons_compat:lava_source", "default:lava_source")
|
||||
minetest.register_alias("mesecons_compat:mese", "default:mese")
|
||||
minetest.register_alias("mesecons_compat:mese_crystal", "default:mese_crystal")
|
||||
minetest.register_alias("mesecons_compat:mese_crystal_fragment", "default:mese_crystal_fragment")
|
||||
minetest.register_alias("mesecons_compat:obsidian_glass", "default:obsidian_glass")
|
||||
minetest.register_alias("mesecons_compat:stone", "default:stone")
|
||||
minetest.register_alias("mesecons_compat:steel_ingot", "default:steel_ingot")
|
||||
minetest.register_alias("mesecons_compat:steelblock", "default:steelblock")
|
||||
minetest.register_alias("mesecons_compat:torch", "default:torch")
|
||||
|
||||
mesecon.node_sound_defaults = default.node_sound_defaults()
|
||||
mesecon.node_sound_glass_defaults = default.node_sound_glass_defaults()
|
||||
mesecon.node_sound_leaves_defaults = default.node_sound_leaves_defaults()
|
||||
mesecon.node_sound_stone_defaults = default.node_sound_stone_defaults()
|
||||
mesecon.node_sound_wood_defaults = default.node_sound_wood_defaults()
|
||||
|
||||
mesecon.steel_block_texture = "default_steel_block.png"
|
||||
end
|
||||
|
||||
local dye_colors = {
|
||||
"red", "green", "blue", "grey", "dark_grey", "yellow",
|
||||
"orange", "white", "pink", "magenta", "cyan", "violet",
|
||||
}
|
||||
if minetest.get_modpath("dye") then
|
||||
for _, color in ipairs(dye_colors) do
|
||||
minetest.register_alias("mesecons_compat:dye_" .. color, "dye:" .. color)
|
||||
end
|
||||
end
|
||||
|
||||
if minetest.get_modpath("fire") then
|
||||
mesecon.sound_name_fire = "fire_fire"
|
||||
end
|
||||
|
||||
if minetest.get_modpath("tnt") then
|
||||
mesecon.sound_name_explode = "tnt_explode"
|
||||
end
|
|
@ -169,6 +169,6 @@ 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_compat:cobble","mesecons_compat:cobble", "mesecons_compat:cobble"},
|
||||
{"mesecons_gamecompat:cobble","mesecons_gamecompat:cobble", "mesecons_gamecompat:cobble"},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_delayer
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -104,18 +104,18 @@ minetest.register_node("mesecons_detector:object_detector_on", {
|
|||
minetest.register_craft({
|
||||
output = 'mesecons_detector:object_detector_off',
|
||||
recipe = {
|
||||
{"mesecons_compat:steel_ingot", "mesecons_compat:steel_ingot", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "mesecons_luacontroller:luacontroller0000", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_compat:steel_ingot"},
|
||||
{"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_compat:steel_ingot", "mesecons_compat:steel_ingot", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "mesecons_microcontroller:microcontroller0000", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_compat:steel_ingot"},
|
||||
{"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"},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -279,18 +279,18 @@ minetest.register_node("mesecons_detector:node_detector_on", {
|
|||
minetest.register_craft({
|
||||
output = 'mesecons_detector:node_detector_off',
|
||||
recipe = {
|
||||
{"mesecons_compat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "mesecons_luacontroller:luacontroller0000", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "mesecons_compat:steel_ingot", "mesecons_compat:steel_ingot"},
|
||||
{"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_compat:steel_ingot", "group:mesecon_conductor_craftable", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "mesecons_microcontroller:microcontroller0000", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:steel_ingot", "mesecons_compat:steel_ingot", "mesecons_compat:steel_ingot"},
|
||||
{"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"},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_detector
|
||||
depends = mesecons, mesecons_compat, mesecons_materials
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_materials
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local mese_nodename = minetest.registered_aliases["mesecons_compat:mese"]
|
||||
local mese_nodename = minetest.registered_aliases["mesecons_gamecompat:mese"]
|
||||
if not mese_nodename then
|
||||
return
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = mesecons_extrawires
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
optional_depends = screwdriver
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = mesecons_fpga
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
optional_depends = screwdriver
|
||||
|
|
42
mesecons_gamecompat/init.lua
Normal file
42
mesecons_gamecompat/init.lua
Normal file
|
@ -0,0 +1,42 @@
|
|||
if minetest.get_modpath("default") then
|
||||
minetest.register_alias("mesecons_gamecompat:chest", "default:chest")
|
||||
minetest.register_alias("mesecons_gamecompat:chest_locked", "default:chest_locked")
|
||||
minetest.register_alias("mesecons_gamecompat:coalblock", "default:coalblock")
|
||||
minetest.register_alias("mesecons_gamecompat:cobble", "default:cobble")
|
||||
minetest.register_alias("mesecons_gamecompat:glass", "default:glass")
|
||||
minetest.register_alias("mesecons_gamecompat:lava_source", "default:lava_source")
|
||||
minetest.register_alias("mesecons_gamecompat:mese", "default:mese")
|
||||
minetest.register_alias("mesecons_gamecompat:mese_crystal", "default:mese_crystal")
|
||||
minetest.register_alias("mesecons_gamecompat:mese_crystal_fragment", "default:mese_crystal_fragment")
|
||||
minetest.register_alias("mesecons_gamecompat:obsidian_glass", "default:obsidian_glass")
|
||||
minetest.register_alias("mesecons_gamecompat:stone", "default:stone")
|
||||
minetest.register_alias("mesecons_gamecompat:steel_ingot", "default:steel_ingot")
|
||||
minetest.register_alias("mesecons_gamecompat:steelblock", "default:steelblock")
|
||||
minetest.register_alias("mesecons_gamecompat:torch", "default:torch")
|
||||
|
||||
mesecon.node_sound_defaults = default.node_sound_defaults()
|
||||
mesecon.node_sound_glass_defaults = default.node_sound_glass_defaults()
|
||||
mesecon.node_sound_leaves_defaults = default.node_sound_leaves_defaults()
|
||||
mesecon.node_sound_stone_defaults = default.node_sound_stone_defaults()
|
||||
mesecon.node_sound_wood_defaults = default.node_sound_wood_defaults()
|
||||
|
||||
mesecon.steel_block_texture = "default_steel_block.png"
|
||||
end
|
||||
|
||||
local dye_colors = {
|
||||
"red", "green", "blue", "grey", "dark_grey", "yellow",
|
||||
"orange", "white", "pink", "magenta", "cyan", "violet",
|
||||
}
|
||||
if minetest.get_modpath("dye") then
|
||||
for _, color in ipairs(dye_colors) do
|
||||
minetest.register_alias("mesecons_gamecompat:dye_" .. color, "dye:" .. color)
|
||||
end
|
||||
end
|
||||
|
||||
if minetest.get_modpath("fire") then
|
||||
mesecon.sound_name_fire = "fire_fire"
|
||||
end
|
||||
|
||||
if minetest.get_modpath("tnt") then
|
||||
mesecon.sound_name_explode = "tnt_explode"
|
||||
end
|
|
@ -1,3 +1,3 @@
|
|||
name = mesecons_compat
|
||||
name = mesecons_gamecompat
|
||||
depends = mesecons
|
||||
optional_depends = fire, default, dye, tnt
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_gates
|
||||
depends = mesecons, mesecons_compat, mesecons_microcontroller, mesecons_delayer, mesecons_torch, mesecons_materials
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_microcontroller, mesecons_delayer, mesecons_torch, mesecons_materials
|
||||
|
|
|
@ -98,7 +98,7 @@ minetest.register_craft({
|
|||
output = "mesecons_hydroturbine:hydro_turbine_off 2",
|
||||
recipe = {
|
||||
{"","grup:stick", ""},
|
||||
{"group:stick", "mesecons_compat:steel_ingot", "group:stick"},
|
||||
{"group:stick", "mesecons_gamecompat:steel_ingot", "group:stick"},
|
||||
{"","group:stick", ""},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_hydroturbine
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = mesecons_insulated
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
optional_depends = screwdriver
|
||||
|
|
|
@ -64,8 +64,8 @@ minetest.register_node("mesecons_lamp:lamp_off", {
|
|||
minetest.register_craft({
|
||||
output = "mesecons_lamp:lamp_off 1",
|
||||
recipe = {
|
||||
{"", "mesecons_compat:glass", ""},
|
||||
{"group:mesecon_conductor_craftable", "mesecons_compat:steel_ingot", "group:mesecon_conductor_craftable"},
|
||||
{"", "mesecons_compat:glass", ""},
|
||||
{"", "mesecons_gamecompat:glass", ""},
|
||||
{"group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable"},
|
||||
{"", "mesecons_gamecompat:glass", ""},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_lamp
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -52,22 +52,22 @@ function mesecon.lightstone_add(name, base_item, texture_off, texture_on, desc)
|
|||
output = "mesecons_lightstone:lightstone_" .. name .. "_off",
|
||||
recipe = {
|
||||
{"",base_item,""},
|
||||
{base_item,"mesecons_compat:torch",base_item},
|
||||
{base_item,"mesecons_gamecompat:torch",base_item},
|
||||
{"","group:mesecon_conductor_craftable",""}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
mesecon.lightstone_add("red", "mesecons_compat:dye_red", "jeija_lightstone_red_off.png", "jeija_lightstone_red_on.png", "Red Lightstone")
|
||||
mesecon.lightstone_add("green", "mesecons_compat:dye_green", "jeija_lightstone_green_off.png", "jeija_lightstone_green_on.png", "Green Lightstone")
|
||||
mesecon.lightstone_add("blue", "mesecons_compat:dye_blue", "jeija_lightstone_blue_off.png", "jeija_lightstone_blue_on.png", "Blue Lightstone")
|
||||
mesecon.lightstone_add("gray", "mesecons_compat:dye_grey", "jeija_lightstone_gray_off.png", "jeija_lightstone_gray_on.png", "Grey Lightstone")
|
||||
mesecon.lightstone_add("darkgray", "mesecons_compat:dye_dark_grey", "jeija_lightstone_darkgray_off.png", "jeija_lightstone_darkgray_on.png", "Dark Grey Lightstone")
|
||||
mesecon.lightstone_add("yellow", "mesecons_compat:dye_yellow", "jeija_lightstone_yellow_off.png", "jeija_lightstone_yellow_on.png", "Yellow Lightstone")
|
||||
mesecon.lightstone_add("orange", "mesecons_compat:dye_orange", "jeija_lightstone_orange_off.png", "jeija_lightstone_orange_on.png", "Orange Lightstone")
|
||||
mesecon.lightstone_add("white", "mesecons_compat:dye_white", "jeija_lightstone_white_off.png", "jeija_lightstone_white_on.png", "White Lightstone")
|
||||
mesecon.lightstone_add("pink", "mesecons_compat:dye_pink", "jeija_lightstone_pink_off.png", "jeija_lightstone_pink_on.png", "Pink Lightstone")
|
||||
mesecon.lightstone_add("magenta", "mesecons_compat:dye_magenta", "jeija_lightstone_magenta_off.png", "jeija_lightstone_magenta_on.png", "Magenta Lightstone")
|
||||
mesecon.lightstone_add("cyan", "mesecons_compat:dye_cyan", "jeija_lightstone_cyan_off.png", "jeija_lightstone_cyan_on.png", "Cyan Lightstone")
|
||||
mesecon.lightstone_add("violet", "mesecons_compat:dye_violet", "jeija_lightstone_violet_off.png", "jeija_lightstone_violet_on.png", "Violet Lightstone")
|
||||
mesecon.lightstone_add("red", "mesecons_gamecompat:dye_red", "jeija_lightstone_red_off.png", "jeija_lightstone_red_on.png", "Red Lightstone")
|
||||
mesecon.lightstone_add("green", "mesecons_gamecompat:dye_green", "jeija_lightstone_green_off.png", "jeija_lightstone_green_on.png", "Green Lightstone")
|
||||
mesecon.lightstone_add("blue", "mesecons_gamecompat:dye_blue", "jeija_lightstone_blue_off.png", "jeija_lightstone_blue_on.png", "Blue Lightstone")
|
||||
mesecon.lightstone_add("gray", "mesecons_gamecompat:dye_grey", "jeija_lightstone_gray_off.png", "jeija_lightstone_gray_on.png", "Grey Lightstone")
|
||||
mesecon.lightstone_add("darkgray", "mesecons_gamecompat:dye_dark_grey", "jeija_lightstone_darkgray_off.png", "jeija_lightstone_darkgray_on.png", "Dark Grey Lightstone")
|
||||
mesecon.lightstone_add("yellow", "mesecons_gamecompat:dye_yellow", "jeija_lightstone_yellow_off.png", "jeija_lightstone_yellow_on.png", "Yellow Lightstone")
|
||||
mesecon.lightstone_add("orange", "mesecons_gamecompat:dye_orange", "jeija_lightstone_orange_off.png", "jeija_lightstone_orange_on.png", "Orange Lightstone")
|
||||
mesecon.lightstone_add("white", "mesecons_gamecompat:dye_white", "jeija_lightstone_white_off.png", "jeija_lightstone_white_on.png", "White Lightstone")
|
||||
mesecon.lightstone_add("pink", "mesecons_gamecompat:dye_pink", "jeija_lightstone_pink_off.png", "jeija_lightstone_pink_on.png", "Pink Lightstone")
|
||||
mesecon.lightstone_add("magenta", "mesecons_gamecompat:dye_magenta", "jeija_lightstone_magenta_off.png", "jeija_lightstone_magenta_on.png", "Magenta Lightstone")
|
||||
mesecon.lightstone_add("cyan", "mesecons_gamecompat:dye_cyan", "jeija_lightstone_cyan_off.png", "jeija_lightstone_cyan_on.png", "Cyan Lightstone")
|
||||
mesecon.lightstone_add("violet", "mesecons_gamecompat:dye_violet", "jeija_lightstone_violet_off.png", "jeija_lightstone_violet_on.png", "Violet Lightstone")
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = mesecons_lightstone
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
optional_depends = dye
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_luacontroller
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -36,6 +36,6 @@ minetest.register_craft({
|
|||
output = "mesecons_materials:silicon 4",
|
||||
recipe = {
|
||||
{"group:sand", "group:sand"},
|
||||
{"group:sand", "mesecons_compat:steel_ingot"},
|
||||
{"group:sand", "mesecons_gamecompat:steel_ingot"},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_materials
|
||||
depends = mesecons_compat
|
||||
depends = mesecons_gamecompat
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_microcontroller
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -180,9 +180,9 @@ mesecon.register_movestone("mesecons_movestones:sticky_movestone_vertical", {
|
|||
minetest.register_craft({
|
||||
output = "mesecons_movestones:movestone 2",
|
||||
recipe = {
|
||||
{"mesecons_compat:stone", "mesecons_compat:stone", "mesecons_compat:stone"},
|
||||
{"mesecons_gamecompat:stone", "mesecons_gamecompat:stone", "mesecons_gamecompat:stone"},
|
||||
{"group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable"},
|
||||
{"mesecons_compat:stone", "mesecons_compat:stone", "mesecons_compat:stone"},
|
||||
{"mesecons_gamecompat:stone", "mesecons_gamecompat:stone", "mesecons_gamecompat:stone"},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_movestones
|
||||
depends = mesecons, mesecons_compat, mesecons_materials, mesecons_mvps
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_materials, mesecons_mvps
|
||||
|
|
|
@ -25,7 +25,7 @@ minetest.register_craft({
|
|||
output = "mesecons_noteblock:noteblock 1",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"group:mesecon_conductor_craftable", "mesecons_compat:steel_ingot", "group:mesecon_conductor_craftable"},
|
||||
{"group:mesecon_conductor_craftable", "mesecons_gamecompat:steel_ingot", "group:mesecon_conductor_craftable"},
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
}
|
||||
})
|
||||
|
@ -48,12 +48,12 @@ local soundnames = {
|
|||
|
||||
local node_sounds = {}
|
||||
for alias, sound in pairs({
|
||||
["mesecons_compat:lava_source"] = mesecon.sound_name_fire,
|
||||
["mesecons_compat:chest"] = "mesecons_noteblock_snare",
|
||||
["mesecons_compat:chest_locked"] = "mesecons_noteblock_snare",
|
||||
["mesecons_compat:coalblock"] = mesecon.sound_name_explode,
|
||||
["mesecons_compat:glass"] = "mesecons_noteblock_hihat",
|
||||
["mesecons_compat:obsidian_glass"] = "mesecons_noteblock_hihat",
|
||||
["mesecons_gamecompat:lava_source"] = mesecon.sound_name_fire,
|
||||
["mesecons_gamecompat:chest"] = "mesecons_noteblock_snare",
|
||||
["mesecons_gamecompat:chest_locked"] = "mesecons_noteblock_snare",
|
||||
["mesecons_gamecompat:coalblock"] = mesecon.sound_name_explode,
|
||||
["mesecons_gamecompat:glass"] = "mesecons_noteblock_hihat",
|
||||
["mesecons_gamecompat:obsidian_glass"] = "mesecons_noteblock_hihat",
|
||||
}) do
|
||||
local nodename = minetest.registered_aliases[alias]
|
||||
if nodename then
|
||||
|
@ -67,7 +67,7 @@ local node_sounds_group = {
|
|||
["wood"] = "mesecons_noteblock_litecrash",
|
||||
}
|
||||
|
||||
local steelblock_nodename = minetest.registered_aliases["mesecons_compat:steelblock"]
|
||||
local steelblock_nodename = minetest.registered_aliases["mesecons_gamecompat:steelblock"]
|
||||
mesecon.noteblock_play = function(pos, param2)
|
||||
pos.y = pos.y-1
|
||||
local nodeunder = minetest.get_node(pos).name
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_noteblock
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -464,8 +464,8 @@ minetest.register_craft({
|
|||
output = "mesecons_pistons:piston_normal_off 2",
|
||||
recipe = {
|
||||
{"group:wood", "group:wood", "group:wood"},
|
||||
{"mesecons_compat:cobble", "mesecons_compat:steel_ingot", "mesecons_compat:cobble"},
|
||||
{"mesecons_compat:cobble", "group:mesecon_conductor_craftable", "mesecons_compat:cobble"},
|
||||
{"mesecons_gamecompat:cobble", "mesecons_gamecompat:steel_ingot", "mesecons_gamecompat:cobble"},
|
||||
{"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"},
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_pistons
|
||||
depends = mesecons, mesecons_compat, mesecons_mvps
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_mvps
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_powerplant
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -103,6 +103,6 @@ mesecon.register_pressure_plate(
|
|||
{"jeija_pressure_plate_stone_on.png","jeija_pressure_plate_stone_on.png","jeija_pressure_plate_stone_on_edges.png"},
|
||||
"jeija_pressure_plate_stone_wield.png",
|
||||
"jeija_pressure_plate_stone_inv.png",
|
||||
{{"mesecons_compat:cobble", "mesecons_compat:cobble"}},
|
||||
{{"mesecons_gamecompat:cobble", "mesecons_gamecompat:cobble"}},
|
||||
{ cracky = 3, oddly_breakable_by_hand = 3 },
|
||||
mesecon.node_sound_stone_defaults)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_pressureplates
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -20,9 +20,9 @@ minetest.register_node("mesecons_random:removestone", {
|
|||
minetest.register_craft({
|
||||
output = 'mesecons_random:removestone 4',
|
||||
recipe = {
|
||||
{"", "mesecons_compat:cobble", ""},
|
||||
{"mesecons_compat:cobble", "group:mesecon_conductor_craftable", "mesecons_compat:cobble"},
|
||||
{"", "mesecons_compat:cobble", ""},
|
||||
{"", "mesecons_gamecompat:cobble", ""},
|
||||
{"mesecons_gamecompat:cobble", "group:mesecon_conductor_craftable", "mesecons_gamecompat:cobble"},
|
||||
{"", "mesecons_gamecompat:cobble", ""},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -71,8 +71,8 @@ minetest.register_node("mesecons_random:ghoststone_active", {
|
|||
minetest.register_craft({
|
||||
output = 'mesecons_random:ghoststone 4',
|
||||
recipe = {
|
||||
{"mesecons_compat:steel_ingot", "mesecons_compat:cobble", "mesecons_compat:steel_ingot"},
|
||||
{"mesecons_compat:cobble", "group:mesecon_conductor_craftable", "mesecons_compat:cobble"},
|
||||
{"mesecons_compat:steel_ingot", "mesecons_compat:cobble", "mesecons_compat:steel_ingot"},
|
||||
{"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"},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_random
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_receiver
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_solarpanel
|
||||
depends = mesecons, mesecons_compat, mesecons_materials
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_materials
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_stickyblocks
|
||||
depends = mesecons, mesecons_compat, mesecons_mvps
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_mvps
|
||||
|
|
|
@ -30,7 +30,7 @@ mesecon.register_node("mesecons_switch:mesecon_switch", {
|
|||
minetest.register_craft({
|
||||
output = "mesecons_switch:mesecon_switch_off 2",
|
||||
recipe = {
|
||||
{"mesecons_compat:steel_ingot", "mesecons_compat:cobble", "mesecons_compat: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 = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_torch
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
|
@ -58,7 +58,7 @@ minetest.register_craft({
|
|||
output = "mesecons_walllever:wall_lever_off 2",
|
||||
recipe = {
|
||||
{"group:mesecon_conductor_craftable"},
|
||||
{"mesecons_compat:stone"},
|
||||
{"mesecons_gamecompat:stone"},
|
||||
{"group:stick"},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_walllever
|
||||
depends = mesecons, mesecons_compat, mesecons_receiver
|
||||
depends = mesecons, mesecons_gamecompat, mesecons_receiver
|
||||
|
|
|
@ -232,20 +232,20 @@ register_wires()
|
|||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 2",
|
||||
recipe = "mesecons_compat:mese_crystal_fragment",
|
||||
recipe = "mesecons_gamecompat:mese_crystal_fragment",
|
||||
cooktime = 3,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 18",
|
||||
recipe = "mesecons_compat:mese_crystal",
|
||||
recipe = "mesecons_gamecompat:mese_crystal",
|
||||
cooktime = 15,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mesecons:wire_00000000_off 162",
|
||||
recipe = "mesecons_compat:mese",
|
||||
recipe = "mesecons_gamecompat:mese",
|
||||
cooktime = 30,
|
||||
})
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = mesecons_wires
|
||||
depends = mesecons, mesecons_compat
|
||||
depends = mesecons, mesecons_gamecompat
|
||||
|
|
Loading…
Reference in New Issue
Block a user