From d074dd1a18f2d935a5cfb12ebfbe7f6cbe2438de Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Thu, 21 Apr 2022 08:42:54 -0400 Subject: [PATCH] Rename mod to mesecons_gamecompat --- mesecons_blinkyplant/mod.conf | 2 +- mesecons_button/init.lua | 2 +- mesecons_button/mod.conf | 2 +- mesecons_commandblock/mod.conf | 2 +- mesecons_compat/init.lua | 42 ------------------- mesecons_delayer/init.lua | 2 +- mesecons_delayer/mod.conf | 2 +- mesecons_detector/init.lua | 24 +++++------ mesecons_detector/mod.conf | 2 +- mesecons_extrawires/mesewire.lua | 2 +- mesecons_extrawires/mod.conf | 2 +- mesecons_fpga/mod.conf | 2 +- mesecons_gamecompat/init.lua | 42 +++++++++++++++++++ .../mod.conf | 2 +- mesecons_gates/mod.conf | 2 +- mesecons_hydroturbine/init.lua | 2 +- mesecons_hydroturbine/mod.conf | 2 +- mesecons_insulated/mod.conf | 2 +- mesecons_lamp/init.lua | 6 +-- mesecons_lamp/mod.conf | 2 +- mesecons_lightstone/init.lua | 26 ++++++------ mesecons_lightstone/mod.conf | 2 +- mesecons_luacontroller/mod.conf | 2 +- mesecons_materials/init.lua | 2 +- mesecons_materials/mod.conf | 2 +- mesecons_microcontroller/mod.conf | 2 +- mesecons_movestones/init.lua | 4 +- mesecons_movestones/mod.conf | 2 +- mesecons_noteblock/init.lua | 16 +++---- mesecons_noteblock/mod.conf | 2 +- mesecons_pistons/init.lua | 4 +- mesecons_pistons/mod.conf | 2 +- mesecons_powerplant/mod.conf | 2 +- mesecons_pressureplates/init.lua | 2 +- mesecons_pressureplates/mod.conf | 2 +- mesecons_random/init.lua | 12 +++--- mesecons_random/mod.conf | 2 +- mesecons_receiver/mod.conf | 2 +- mesecons_solarpanel/mod.conf | 2 +- mesecons_stickyblocks/mod.conf | 2 +- mesecons_switch/init.lua | 2 +- mesecons_switch/mod.conf | 2 +- mesecons_torch/mod.conf | 2 +- mesecons_walllever/init.lua | 2 +- mesecons_walllever/mod.conf | 2 +- mesecons_wires/init.lua | 6 +-- mesecons_wires/mod.conf | 2 +- 47 files changed, 128 insertions(+), 128 deletions(-) delete mode 100644 mesecons_compat/init.lua create mode 100644 mesecons_gamecompat/init.lua rename {mesecons_compat => mesecons_gamecompat}/mod.conf (69%) diff --git a/mesecons_blinkyplant/mod.conf b/mesecons_blinkyplant/mod.conf index d163842..3f23448 100644 --- a/mesecons_blinkyplant/mod.conf +++ b/mesecons_blinkyplant/mod.conf @@ -1,2 +1,2 @@ name = mesecons_blinkyplant -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index 7368303..49510b2 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -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"}, } }) diff --git a/mesecons_button/mod.conf b/mesecons_button/mod.conf index 85eeef2..cf67a2e 100644 --- a/mesecons_button/mod.conf +++ b/mesecons_button/mod.conf @@ -1,2 +1,2 @@ name = mesecons_button -depends = mesecons, mesecons_compat, mesecons_receiver +depends = mesecons, mesecons_gamecompat, mesecons_receiver diff --git a/mesecons_commandblock/mod.conf b/mesecons_commandblock/mod.conf index dada9ba..68cdc9e 100644 --- a/mesecons_commandblock/mod.conf +++ b/mesecons_commandblock/mod.conf @@ -1,2 +1,2 @@ name = mesecons_commandblock -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_compat/init.lua b/mesecons_compat/init.lua deleted file mode 100644 index 6602060..0000000 --- a/mesecons_compat/init.lua +++ /dev/null @@ -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 diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua index 7a93887..d275917 100644 --- a/mesecons_delayer/init.lua +++ b/mesecons_delayer/init.lua @@ -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"}, } }) diff --git a/mesecons_delayer/mod.conf b/mesecons_delayer/mod.conf index 5cf719e..33a2ef5 100644 --- a/mesecons_delayer/mod.conf +++ b/mesecons_delayer/mod.conf @@ -1,2 +1,2 @@ name = mesecons_delayer -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua index a9170d8..1d6c6de 100644 --- a/mesecons_detector/init.lua +++ b/mesecons_detector/init.lua @@ -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"}, } }) diff --git a/mesecons_detector/mod.conf b/mesecons_detector/mod.conf index 9ca8f16..6d5a0e6 100644 --- a/mesecons_detector/mod.conf +++ b/mesecons_detector/mod.conf @@ -1,2 +1,2 @@ name = mesecons_detector -depends = mesecons, mesecons_compat, mesecons_materials +depends = mesecons, mesecons_gamecompat, mesecons_materials diff --git a/mesecons_extrawires/mesewire.lua b/mesecons_extrawires/mesewire.lua index cbf84d3..1b9c5b1 100644 --- a/mesecons_extrawires/mesewire.lua +++ b/mesecons_extrawires/mesewire.lua @@ -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 diff --git a/mesecons_extrawires/mod.conf b/mesecons_extrawires/mod.conf index fb04dfb..b4b88c2 100644 --- a/mesecons_extrawires/mod.conf +++ b/mesecons_extrawires/mod.conf @@ -1,3 +1,3 @@ name = mesecons_extrawires -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat optional_depends = screwdriver diff --git a/mesecons_fpga/mod.conf b/mesecons_fpga/mod.conf index 3d0b61a..5cd52f5 100644 --- a/mesecons_fpga/mod.conf +++ b/mesecons_fpga/mod.conf @@ -1,3 +1,3 @@ name = mesecons_fpga -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat optional_depends = screwdriver diff --git a/mesecons_gamecompat/init.lua b/mesecons_gamecompat/init.lua new file mode 100644 index 0000000..9235b58 --- /dev/null +++ b/mesecons_gamecompat/init.lua @@ -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 diff --git a/mesecons_compat/mod.conf b/mesecons_gamecompat/mod.conf similarity index 69% rename from mesecons_compat/mod.conf rename to mesecons_gamecompat/mod.conf index c26a888..d504804 100644 --- a/mesecons_compat/mod.conf +++ b/mesecons_gamecompat/mod.conf @@ -1,3 +1,3 @@ -name = mesecons_compat +name = mesecons_gamecompat depends = mesecons optional_depends = fire, default, dye, tnt diff --git a/mesecons_gates/mod.conf b/mesecons_gates/mod.conf index 77780b9..f89c884 100644 --- a/mesecons_gates/mod.conf +++ b/mesecons_gates/mod.conf @@ -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 diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index 45a8824..f4d7475 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -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", ""}, } }) diff --git a/mesecons_hydroturbine/mod.conf b/mesecons_hydroturbine/mod.conf index 471f620..98a3090 100644 --- a/mesecons_hydroturbine/mod.conf +++ b/mesecons_hydroturbine/mod.conf @@ -1,2 +1,2 @@ name = mesecons_hydroturbine -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_insulated/mod.conf b/mesecons_insulated/mod.conf index 72356ee..1ff02e0 100644 --- a/mesecons_insulated/mod.conf +++ b/mesecons_insulated/mod.conf @@ -1,3 +1,3 @@ name = mesecons_insulated -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat optional_depends = screwdriver diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua index 56f3c0e..59205c1 100644 --- a/mesecons_lamp/init.lua +++ b/mesecons_lamp/init.lua @@ -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", ""}, } }) diff --git a/mesecons_lamp/mod.conf b/mesecons_lamp/mod.conf index 6d5c926..1536447 100644 --- a/mesecons_lamp/mod.conf +++ b/mesecons_lamp/mod.conf @@ -1,2 +1,2 @@ name = mesecons_lamp -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua index 8d30152..94f0f08 100644 --- a/mesecons_lightstone/init.lua +++ b/mesecons_lightstone/init.lua @@ -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") diff --git a/mesecons_lightstone/mod.conf b/mesecons_lightstone/mod.conf index 3a28b83..db407ea 100644 --- a/mesecons_lightstone/mod.conf +++ b/mesecons_lightstone/mod.conf @@ -1,3 +1,3 @@ name = mesecons_lightstone -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat optional_depends = dye diff --git a/mesecons_luacontroller/mod.conf b/mesecons_luacontroller/mod.conf index 4d066da..ca05fed 100644 --- a/mesecons_luacontroller/mod.conf +++ b/mesecons_luacontroller/mod.conf @@ -1,2 +1,2 @@ name = mesecons_luacontroller -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_materials/init.lua b/mesecons_materials/init.lua index 113cba6..c3ed73b 100644 --- a/mesecons_materials/init.lua +++ b/mesecons_materials/init.lua @@ -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"}, } }) diff --git a/mesecons_materials/mod.conf b/mesecons_materials/mod.conf index 715b67d..6e10949 100644 --- a/mesecons_materials/mod.conf +++ b/mesecons_materials/mod.conf @@ -1,2 +1,2 @@ name = mesecons_materials -depends = mesecons_compat +depends = mesecons_gamecompat diff --git a/mesecons_microcontroller/mod.conf b/mesecons_microcontroller/mod.conf index 5662e8d..a61475b 100644 --- a/mesecons_microcontroller/mod.conf +++ b/mesecons_microcontroller/mod.conf @@ -1,2 +1,2 @@ name = mesecons_microcontroller -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index e72fec6..32743a3 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -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"}, } }) diff --git a/mesecons_movestones/mod.conf b/mesecons_movestones/mod.conf index 071e984..6ece279 100644 --- a/mesecons_movestones/mod.conf +++ b/mesecons_movestones/mod.conf @@ -1,2 +1,2 @@ name = mesecons_movestones -depends = mesecons, mesecons_compat, mesecons_materials, mesecons_mvps +depends = mesecons, mesecons_gamecompat, mesecons_materials, mesecons_mvps diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua index b1331dc..9a19002 100644 --- a/mesecons_noteblock/init.lua +++ b/mesecons_noteblock/init.lua @@ -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 diff --git a/mesecons_noteblock/mod.conf b/mesecons_noteblock/mod.conf index 58986c2..261424b 100644 --- a/mesecons_noteblock/mod.conf +++ b/mesecons_noteblock/mod.conf @@ -1,2 +1,2 @@ name = mesecons_noteblock -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index c765244..5e32dbf 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -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"}, } }) diff --git a/mesecons_pistons/mod.conf b/mesecons_pistons/mod.conf index ea15b5a..30a73a3 100644 --- a/mesecons_pistons/mod.conf +++ b/mesecons_pistons/mod.conf @@ -1,2 +1,2 @@ name = mesecons_pistons -depends = mesecons, mesecons_compat, mesecons_mvps +depends = mesecons, mesecons_gamecompat, mesecons_mvps diff --git a/mesecons_powerplant/mod.conf b/mesecons_powerplant/mod.conf index 810cf31..26c580b 100644 --- a/mesecons_powerplant/mod.conf +++ b/mesecons_powerplant/mod.conf @@ -1,2 +1,2 @@ name = mesecons_powerplant -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua index ae17460..14feaf1 100644 --- a/mesecons_pressureplates/init.lua +++ b/mesecons_pressureplates/init.lua @@ -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) diff --git a/mesecons_pressureplates/mod.conf b/mesecons_pressureplates/mod.conf index ae1f553..cebd8a6 100644 --- a/mesecons_pressureplates/mod.conf +++ b/mesecons_pressureplates/mod.conf @@ -1,2 +1,2 @@ name = mesecons_pressureplates -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_random/init.lua b/mesecons_random/init.lua index 8bf5c7d..44d0637 100644 --- a/mesecons_random/init.lua +++ b/mesecons_random/init.lua @@ -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"}, } }) diff --git a/mesecons_random/mod.conf b/mesecons_random/mod.conf index c33e229..af40fbb 100644 --- a/mesecons_random/mod.conf +++ b/mesecons_random/mod.conf @@ -1,2 +1,2 @@ name = mesecons_random -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_receiver/mod.conf b/mesecons_receiver/mod.conf index ab0bec7..3e0fda0 100644 --- a/mesecons_receiver/mod.conf +++ b/mesecons_receiver/mod.conf @@ -1,2 +1,2 @@ name = mesecons_receiver -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_solarpanel/mod.conf b/mesecons_solarpanel/mod.conf index 8495b3b..ce3f7d7 100644 --- a/mesecons_solarpanel/mod.conf +++ b/mesecons_solarpanel/mod.conf @@ -1,2 +1,2 @@ name = mesecons_solarpanel -depends = mesecons, mesecons_compat, mesecons_materials +depends = mesecons, mesecons_gamecompat, mesecons_materials diff --git a/mesecons_stickyblocks/mod.conf b/mesecons_stickyblocks/mod.conf index 3678fd0..4aa2ee2 100644 --- a/mesecons_stickyblocks/mod.conf +++ b/mesecons_stickyblocks/mod.conf @@ -1,2 +1,2 @@ name = mesecons_stickyblocks -depends = mesecons, mesecons_compat, mesecons_mvps +depends = mesecons, mesecons_gamecompat, mesecons_mvps diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index 36c36e1..3151447 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -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"}, } }) diff --git a/mesecons_switch/mod.conf b/mesecons_switch/mod.conf index 3d8a934..f6b642c 100644 --- a/mesecons_switch/mod.conf +++ b/mesecons_switch/mod.conf @@ -1,2 +1,2 @@ name = mesecons_switch -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_torch/mod.conf b/mesecons_torch/mod.conf index db648aa..b631be7 100644 --- a/mesecons_torch/mod.conf +++ b/mesecons_torch/mod.conf @@ -1,2 +1,2 @@ name = mesecons_torch -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua index ee76e7d..1236f78 100644 --- a/mesecons_walllever/init.lua +++ b/mesecons_walllever/init.lua @@ -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"}, } }) diff --git a/mesecons_walllever/mod.conf b/mesecons_walllever/mod.conf index 6e51b46..16467d4 100644 --- a/mesecons_walllever/mod.conf +++ b/mesecons_walllever/mod.conf @@ -1,2 +1,2 @@ name = mesecons_walllever -depends = mesecons, mesecons_compat, mesecons_receiver +depends = mesecons, mesecons_gamecompat, mesecons_receiver diff --git a/mesecons_wires/init.lua b/mesecons_wires/init.lua index cec27d4..f6d12c3 100644 --- a/mesecons_wires/init.lua +++ b/mesecons_wires/init.lua @@ -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, }) diff --git a/mesecons_wires/mod.conf b/mesecons_wires/mod.conf index c77dcb7..abbdebe 100644 --- a/mesecons_wires/mod.conf +++ b/mesecons_wires/mod.conf @@ -1,2 +1,2 @@ name = mesecons_wires -depends = mesecons, mesecons_compat +depends = mesecons, mesecons_gamecompat