diff --git a/mesecons/oldwires.lua b/mesecons/oldwires.lua index e9960d3..9e54b1b 100644 --- a/mesecons/oldwires.lua +++ b/mesecons/oldwires.lua @@ -29,7 +29,7 @@ minetest.register_node("mesecons:mesecon_on", { fixed = {-0.5, -0.5, -0.5, 0.5, -0.45, 0.5}, }, groups = {dig_immediate=3, not_in_creaive_inventory=1, mesecon=1}, - drop = '"mesecons:mesecon_off" 1', + drop = "mesecons:mesecon_off 1", light_source = LIGHT_MAX-11, mesecons = {conductor={ state = mesecon.state.on, diff --git a/mesecons/wires.lua b/mesecons/wires.lua index 9d6429f..50052b5 100644 --- a/mesecons/wires.lua +++ b/mesecons/wires.lua @@ -276,6 +276,6 @@ end minetest.register_craft({ type = "cooking", - output = '"mesecons:wire_00000000_off" 16', + output = "mesecons:wire_00000000_off 16", recipe = "default:mese_crystal", }) diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua index 429a220..8908d33 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -27,7 +27,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_on", { paramtype = "light", walkable = false, groups = {dig_immediate=3, not_in_creative_inventory=1, mesecon = 2}, - drop='"mesecons_blinkyplant:blinky_plant_off" 1', + drop="mesecons_blinkyplant:blinky_plant_off 1", light_source = LIGHT_MAX-7, description = "Blinky Plant", sounds = default.node_sound_leaves_defaults(), @@ -41,11 +41,11 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_on", { }) minetest.register_craft({ - output = '"mesecons_blinkyplant:blinky_plant_off" 1', + output = "mesecons_blinkyplant:blinky_plant_off 1", recipe = { - {'','"group:mesecon_conductor_craftable"',''}, - {'','"group:mesecon_conductor_craftable"',''}, - {'"default:sapling"','"default:sapling"','"default:sapling"'}, + {"","group:mesecon_conductor_craftable",""}, + {"","group:mesecon_conductor_craftable",""}, + {"default:sapling","default:sapling","default:sapling"}, } }) diff --git a/mesecons_extrawires/corner.lua b/mesecons_extrawires/corner.lua index 320745e..d7f7a02 100644 --- a/mesecons_extrawires/corner.lua +++ b/mesecons_extrawires/corner.lua @@ -74,7 +74,7 @@ minetest.register_node("mesecons_extrawires:corner_off", { }) minetest.register_craft({ - output = '"mesecons_extrawires:corner_off" 3', + output = "mesecons_extrawires:corner_off 3", recipe = { {"", "", ""}, {"mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off", ""}, diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua index 5146b0c..4a569a0 100644 --- a/mesecons_extrawires/tjunction.lua +++ b/mesecons_extrawires/tjunction.lua @@ -75,7 +75,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { }) minetest.register_craft({ - output = '"mesecons_extrawires:tjunction_off" 3', + output = "mesecons_extrawires:tjunction_off 3", recipe = { {"", "", ""}, {"mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off", "mesecons_insulated:insulated_off"}, diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index a2836f2..6a4f86d 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -32,7 +32,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", { minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", { drawtype = "nodebox", tiles = {"jeija_hydro_turbine_on.png"}, - drop = '"mesecons_hydroturbine:hydro_turbine_off" 1', + drop = "mesecons_hydroturbine:hydro_turbine_off 1", groups = {dig_immediate=2,not_in_creative_inventory=1}, description="Water Turbine", paramtype = "light", @@ -86,11 +86,11 @@ nodenames = {"mesecons_hydroturbine:hydro_turbine_on"}, }) minetest.register_craft({ - output = '"mesecons_hydroturbine:hydro_turbine_off" 2', + output = "mesecons_hydroturbine:hydro_turbine_off 2", recipe = { - {'','"default:stick"', ''}, - {'"default:stick"', '"default:steel_ingot"', '"default:stick"'}, - {'','"default:stick"', ''}, + {"","default:stick", ""}, + {"default:stick", "default:steel_ingot", "default:stick"}, + {"","default:stick", ""}, } }) diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua index 77bfd24..9fdf494 100644 --- a/mesecons_insulated/init.lua +++ b/mesecons_insulated/init.lua @@ -71,7 +71,7 @@ minetest.register_node("mesecons_insulated:insulated_off", { }) minetest.register_craft({ - output = '"mesecons_insulated:insulated_off" 3', + output = "mesecons_insulated:insulated_off 3", recipe = { {"mesecons_materials:fiber", "mesecons_materials:fiber", "mesecons_materials:fiber"}, {"mesecons:wire_00000000_off", "mesecons:wire_00000000_off", "mesecons:wire_00000000_off"}, diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua index 8b5a4ab..938fa32 100644 --- a/mesecons_lamp/init.lua +++ b/mesecons_lamp/init.lua @@ -21,7 +21,7 @@ minetest.register_node("mesecons_lamp:lamp_on", { node_box = mesecon_lamp_box, selection_box = mesecon_lamp_box, groups = {dig_immediate=3,not_in_creative_inventory=1, mesecon_effector_on = 1}, - drop='"mesecons_lamp:lamp_off" 1', + drop="mesecons_lamp:lamp_off 1", sounds = default.node_sound_glass_defaults(), mesecons = {effector = { action_off = function (pos, node) @@ -52,10 +52,10 @@ minetest.register_node("mesecons_lamp:lamp_off", { }) minetest.register_craft({ - output = '"mesecons_lamp:lamp_off" 1', + output = "mesecons_lamp:lamp_off 1", recipe = { - {'', '"default:glass"', ''}, - {'"group:mesecon_conductor_craftable"', '"default:steel_ingot"', '"group:mesecon_conductor_craftable"'}, - {'', '"default:glass"', ''}, + {"", "default:glass", ""}, + {"group:mesecon_conductor_craftable", "default:steel_ingot", "group:mesecon_conductor_craftable"}, + {"", "default:glass", ""}, } }) diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua index 937c65f..f21f21c 100644 --- a/mesecons_lightstone/init.lua +++ b/mesecons_lightstone/init.lua @@ -13,7 +13,7 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on) minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", { tiles = {texture_on}, groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2}, - drop = "node mesecons_lightstone:lightstone_" .. name .. "_off 1", + drop = "mesecons_lightstone:lightstone_" .. name .. "_off", light_source = LIGHT_MAX-2, sounds = default.node_sound_stone_defaults(), mesecons = {effector = { @@ -21,21 +21,21 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on) mesecon:swap_node(pos, "mesecons_lightstone:lightstone_" .. name .. "_off") end }} - }) + }) - minetest.register_craft({ - output = "node mesecons_lightstone:lightstone_" .. name .. "_off 1", - recipe = { - {'',base_item,''}, - {base_item,'default:torch',base_item}, - {'','group:mesecon_conductor_craftable',''}, - } - }) + minetest.register_craft({ + output = "mesecons_lightstone:lightstone_" .. name .. "_off", + recipe = { + {"",base_item,""}, + {base_item,"default:torch",base_item}, + {"","group:mesecon_conductor_craftable",""} + } + }) end -mesecon:lightstone_add("red", "craft default:clay_brick 1", "jeija_lightstone_red_off.png", "jeija_lightstone_red_on.png") -mesecon:lightstone_add("green", "node default:cactus 1", "jeija_lightstone_green_off.png", "jeija_lightstone_green_on.png") -mesecon:lightstone_add("blue", "node mesecons_materials:fiber 1", "jeija_lightstone_blue_off.png", "jeija_lightstone_blue_on.png") -mesecon:lightstone_add("gray", "node default:cobble 1", "jeija_lightstone_gray_off.png", "jeija_lightstone_gray_on.png") -mesecon:lightstone_add("darkgray", "node default:gravel 1", "jeija_lightstone_darkgray_off.png", "jeija_lightstone_darkgray_on.png") +mesecon:lightstone_add("red", "default:clay_brick", "jeija_lightstone_red_off.png", "jeija_lightstone_red_on.png") +mesecon:lightstone_add("green", "default:cactus", "jeija_lightstone_green_off.png", "jeija_lightstone_green_on.png") +mesecon:lightstone_add("blue", "mesecons_materials:fiber", "jeija_lightstone_blue_off.png", "jeija_lightstone_blue_on.png") +mesecon:lightstone_add("gray", "default:cobble", "jeija_lightstone_gray_off.png", "jeija_lightstone_gray_on.png") +mesecon:lightstone_add("darkgray", "default:gravel", "jeija_lightstone_darkgray_off.png", "jeija_lightstone_darkgray_on.png") diff --git a/mesecons_materials/init.lua b/mesecons_materials/init.lua index bebc994..f95373c 100644 --- a/mesecons_materials/init.lua +++ b/mesecons_materials/init.lua @@ -12,14 +12,14 @@ minetest.register_craftitem("mesecons_materials:fiber", { }) minetest.register_craft({ - output = '"mesecons_materials:glue" 2', + output = "mesecons_materials:glue 2", type = "cooking", recipe = "default:sapling", cooktime = 2 }) minetest.register_craft({ - output = '"mesecons_materials:fiber" 6', + output = "mesecons_materials:fiber 6", type = "cooking", recipe = "mesecons_materials:glue", cooktime = 4 @@ -33,9 +33,9 @@ minetest.register_craftitem("mesecons_materials:silicon", { }) minetest.register_craft({ - output = '"mesecons_materials:silicon" 4', + output = "mesecons_materials:silicon 4", recipe = { - {'"default:sand"', '"default:sand"'}, - {'"default:sand"', '"default:steel_ingot"'}, + {"default:sand", "default:sand"}, + {"default:sand", "default:steel_ingot"}, } }) diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua index 4bdf14c..0f6a7cd 100644 --- a/mesecons_microcontroller/init.lua +++ b/mesecons_microcontroller/init.lua @@ -66,7 +66,7 @@ minetest.register_node(nodename, { paramtype = "light", walkable = true, groups = groups, - drop = '"mesecons_microcontroller:microcontroller0000" 1', + drop = "mesecons_microcontroller:microcontroller0000 1", selection_box = { type = "fixed", fixed = { -8/16, -8/16, -8/16, 8/16, -5/16, 8/16 }, diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua index 1255c67..14d828b 100644 --- a/mesecons_movestones/init.lua +++ b/mesecons_movestones/init.lua @@ -119,11 +119,11 @@ minetest.register_entity("mesecons_movestones:movestone_entity", { }) minetest.register_craft({ - output = '"mesecons_movestones:movestone" 2', + output = "mesecons_movestones:movestone 2", recipe = { - {'"default:stone"', '"default:stone"', '"default:stone"'}, - {'"group:mesecon_conductor_craftable"', '"group:mesecon_conductor_craftable"', '"group:mesecon_conductor_craftable"'}, - {'"default:stone"', '"default:stone"', '"default:stone"'}, + {"default:stone", "default:stone", "default:stone"}, + {"group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable", "group:mesecon_conductor_craftable"}, + {"default:stone", "default:stone", "default:stone"}, } }) @@ -151,9 +151,9 @@ minetest.register_node("mesecons_movestones:sticky_movestone", { }) minetest.register_craft({ - output = '"mesecons_movestones:sticky_movestone" 2', + output = "mesecons_movestones:sticky_movestone 2", recipe = { - {'"mesecons_materials:glue"', '"mesecons_movestones:movestone"', '"mesecons_materials:glue"'}, + {"mesecons_materials:glue", "mesecons_movestones:movestone", "mesecons_materials:glue"}, } }) diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua index 12788d3..97a8bf2 100644 --- a/mesecons_noteblock/init.lua +++ b/mesecons_noteblock/init.lua @@ -23,7 +23,7 @@ minetest.register_node("mesecons_noteblock:noteblock", { }) minetest.register_craft({ - output = '"mesecons_noteblock:noteblock" 1', + output = "mesecons_noteblock:noteblock 1", recipe = { {"default:wood", "default:wood", "default:wood"}, {"group:mesecon_conductor_craftable", "default:steel_ingot", "group:mesecon_conductor_craftable"}, diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index caadddf..26f2040 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -730,7 +730,7 @@ mesecon:register_mvps_stopper("mesecons_pistons:piston_down_sticky_on", piston_u --craft recipes minetest.register_craft({ - output = 'mesecons_pistons:piston_normal_off 2', + output = "mesecons_pistons:piston_normal_off 2", recipe = { {"default:wood", "default:wood", "default:wood"}, {"default:cobble", "default:steel_ingot", "default:cobble"}, diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua index bfc1102..9429487 100644 --- a/mesecons_powerplant/init.lua +++ b/mesecons_powerplant/init.lua @@ -22,10 +22,10 @@ minetest.register_node("mesecons_powerplant:power_plant", { }) minetest.register_craft({ - output = '"mesecons_powerplant:power_plant" 1', + output = "mesecons_powerplant:power_plant 1", recipe = { - {'"group:mesecon_conductor_craftable"'}, - {'"group:mesecon_conductor_craftable"'}, - {'"default:sapling"'}, + {"group:mesecon_conductor_craftable"}, + {"group:mesecon_conductor_craftable"}, + {"default:sapling"}, } }) diff --git a/mesecons_solarpanel/init.lua b/mesecons_solarpanel/init.lua index 5a5d6f3..680b568 100644 --- a/mesecons_solarpanel/init.lua +++ b/mesecons_solarpanel/init.lua @@ -59,10 +59,10 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", { }) minetest.register_craft({ - output = '"mesecons_solarpanel:solar_panel_off" 1', + output = "mesecons_solarpanel:solar_panel_off 1", recipe = { - {'"mesecons_materials:silicon"', '"mesecons_materials:silicon"'}, - {'"mesecons_materials:silicon"', '"mesecons_materials:silicon"'}, + {"mesecons_materials:silicon", "mesecons_materials:silicon"}, + {"mesecons_materials:silicon", "mesecons_materials:silicon"}, } }) diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index 0ec5a27..ec04f0a 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -20,7 +20,7 @@ minetest.register_node("mesecons_switch:mesecon_switch_on", { tiles = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_on.png"}, paramtype2="facedir", groups = {dig_immediate=2,not_in_creative_inventory=1}, - drop='"mesecons_switch:mesecon_switch_off" 1', + drop="mesecons_switch:mesecon_switch_off 1", sounds = default.node_sound_stone_defaults(), mesecons = {receptor = { state = mesecon.state.on @@ -33,9 +33,9 @@ minetest.register_node("mesecons_switch:mesecon_switch_on", { }) minetest.register_craft({ - output = '"mesecons_switch:mesecon_switch_off" 2', + output = "mesecons_switch:mesecon_switch_off 2", recipe = { - {'"default:steel_ingot"', '"default:cobble"', '"default:steel_ingot"'}, - {'"group:mesecon_conductor_craftable"','', '"group:mesecon_conductor_craftable"'}, + {"default:steel_ingot", "default:cobble", "default:steel_ingot"}, + {"group:mesecon_conductor_craftable","", "group:mesecon_conductor_craftable"}, } }) diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua index 801220e..77777db 100644 --- a/mesecons_torch/init.lua +++ b/mesecons_torch/init.lua @@ -35,7 +35,7 @@ local torch_get_input_rules = function(node) end minetest.register_craft({ - output = '"mesecons_torch:mesecon_torch_on" 4', + output = "mesecons_torch:mesecon_torch_on 4", recipe = { {"group:mesecon_conductor_craftable"}, {"default:stick"},} diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua index df79f33..63fc1c4 100644 --- a/mesecons_walllever/init.lua +++ b/mesecons_walllever/init.lua @@ -71,7 +71,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", { { -1/16, 0, 4/16, 1/16, 8/16, 6/16 }} -- the lever itself. }, groups = {dig_immediate = 2, not_in_creative_inventory = 1, mesecon_needs_receiver = 1}, - drop = '"mesecons_walllever:wall_lever_off" 1', + drop = "mesecons_walllever:wall_lever_off 1", description="Lever", on_punch = function (pos, node) mesecon:swap_node(pos, "mesecons_walllever:wall_lever_off") @@ -86,10 +86,10 @@ minetest.register_node("mesecons_walllever:wall_lever_on", { }) minetest.register_craft({ - output = '"mesecons_walllever:wall_lever_off" 2', + output = "mesecons_walllever:wall_lever_off 2", recipe = { - {'"group:mesecon_conductor_craftable"'}, - {'"default:stone"'}, - {'"default:stick"'}, + {"group:mesecon_conductor_craftable"}, + {"default:stone"}, + {"default:stick"}, } })