From 39db9cf01c9c681a5fbbd582aa917317c85de6de Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 10 Aug 2012 17:35:54 -0400 Subject: [PATCH 1/3] Added "mesecon = 1" to the groups setting for most objects, so that they'll visibly connect to neighboring wires. --- mesecons_battery/init.lua | 4 ++-- mesecons_blinkyplant/init.lua | 4 ++-- mesecons_delayer/init.lua | 6 +++--- mesecons_detector/init.lua | 4 ++-- mesecons_door/init.lua | 2 +- mesecons_hydroturbine/init.lua | 4 ++-- mesecons_lamp/init.lua | 4 ++-- mesecons_lightstone/init.lua | 4 ++-- mesecons_microcontroller/init.lua | 4 ++-- mesecons_noteblock/init.lua | 2 +- mesecons_pistons/init.lua | 4 ++-- mesecons_powerplant/init.lua | 2 +- mesecons_pressureplates/init.lua | 8 ++++---- mesecons_random/init.lua | 2 +- mesecons_solarpanel/init.lua | 2 +- mesecons_switch/init.lua | 4 ++-- mesecons_temperest/init.lua | 10 +++++----- mesecons_walllever/init.lua | 4 ++-- 18 files changed, 37 insertions(+), 37 deletions(-) diff --git a/mesecons_battery/init.lua b/mesecons_battery/init.lua index beddb4c..7e0bdc6 100644 --- a/mesecons_battery/init.lua +++ b/mesecons_battery/init.lua @@ -19,7 +19,7 @@ for i = 1, 5 do type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, }, - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1}, description="Battery", }) mesecon:add_receptor_node_off("mesecons_battery:battery_charging_"..i) @@ -46,7 +46,7 @@ for i = 1, 5 do type = "fixed", fixed = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, }, - groups = {dig_immediate=2,not_in_creative_inventory=1}, + groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1}, description="Battery", }) mesecon:add_receptor_node("mesecons_battery:battery_discharging_"..i) diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua index 105a4db..c199289 100644 --- a/mesecons_blinkyplant/init.lua +++ b/mesecons_blinkyplant/init.lua @@ -7,7 +7,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_off", { inventory_image = "jeija_blinky_plant_off.png", paramtype = "light", walkable = false, - groups = {dig_immediate=3}, + groups = {dig_immediate=3, mesecon = 1}, description="Blinky Plant", selection_box = { type = "fixed", @@ -22,7 +22,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_on", { inventory_image = "jeija_blinky_plant_off.png", paramtype = "light", walkable = false, - groups = {dig_immediate=3, not_in_creative_inventory=1}, + groups = {dig_immediate=3, not_in_creative_inventory=1, mesecon = 1}, drop='"mesecons_blinkyplant:blinky_plant_off" 1', light_source = LIGHT_MAX-7, description = "Blinky Plant", diff --git a/mesecons_delayer/init.lua b/mesecons_delayer/init.lua index b390465..ed44dc1 100644 --- a/mesecons_delayer/init.lua +++ b/mesecons_delayer/init.lua @@ -1,9 +1,9 @@ for i = 1, 4 do local groups = {} if i == 1 then - groups = {bendy=2,snappy=1,dig_immediate=2} + groups = {bendy=2,snappy=1,dig_immediate=2, mesecon = 1} else - groups = {bendy=2,snappy=1,dig_immediate=2, not_in_creative_inventory=1} + groups = {bendy=2,snappy=1,dig_immediate=2, not_in_creative_inventory=1, mesecon = 1} end minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), { @@ -49,7 +49,7 @@ minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), { type = "fixed", fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, }, - groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1}, + groups = {bendy=2,snappy=1,dig_immediate=2,not_in_creative_inventory=1, mesecon = 1}, paramtype = "light", paramtype2 = "facedir", sunlight_propagates = true, diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua index 5f4d212..8f734aa 100644 --- a/mesecons_detector/init.lua +++ b/mesecons_detector/init.lua @@ -3,7 +3,7 @@ minetest.register_node("mesecons_detector:object_detector_off", { tile_images = {"default_steel_block.png", "default_steel_block.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png", "jeija_object_detector_off.png"}, paramtype = "light", walkable = true, - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, description="Player Detector", }) @@ -11,7 +11,7 @@ minetest.register_node("mesecons_detector:object_detector_on", { tile_images = {"default_steel_block.png", "default_steel_block.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png", "jeija_object_detector_on.png"}, paramtype = "light", walkable = true, - groups = {cracky=3,not_in_creative_inventory=1}, + groups = {cracky=3,not_in_creative_inventory=1, mesecon = 1}, drop = 'mesecons_detector:object_detector_off', description="Player Detector", after_dig_node = function(pos) diff --git a/mesecons_door/init.lua b/mesecons_door/init.lua index b2703c0..76330c2 100644 --- a/mesecons_door/init.lua +++ b/mesecons_door/init.lua @@ -86,7 +86,7 @@ for i = 1, 4 do tile_images = {"default_wood.png"}, paramtype = "light", is_ground_content = true, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 1}, drop = "mesecons_door:door", node_box = { type = "fixed", diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index 6be3007..c91cfa1 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -3,7 +3,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", { drawtype = "nodebox", tile_images = {"jeija_hydro_turbine_off.png"}, - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1}, description="Water Turbine", paramtype = "light", selection_box = { @@ -26,7 +26,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", { drawtype = "nodebox", tile_images = {"jeija_hydro_turbine_on.png"}, drop = '"mesecons_hydroturbine:hydro_turbine_off" 1', - groups = {dig_immediate=2,not_in_creative_inventory=1}, + groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1}, description="Water Turbine", paramtype = "light", selection_box = { diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua index cad6870..399a3fa 100644 --- a/mesecons_lamp/init.lua +++ b/mesecons_lamp/init.lua @@ -20,7 +20,7 @@ minetest.register_node("mesecons_lamp:lamp_on", { wall_bottom = {-0.3125,-0.5,-0.3125,0.3125,-0.375,0.3125}, wall_side = {-0.375,-0.3125,-0.3125,-0.5,0.3125,0.3125}, }, - groups = {dig_immediate=3,not_in_creative_inventory=1}, + groups = {dig_immediate=3,not_in_creative_inventory=1, mesecon = 1}, drop='"mesecons_lamp:lamp_off" 1', }) @@ -45,7 +45,7 @@ minetest.register_node("mesecons_lamp:lamp_off", { wall_bottom = {-0.3125,-0.5,-0.3125,0.3125,-0.375,0.3125}, wall_side = {-0.375,-0.3125,-0.3125,-0.5,0.3125,0.3125}, }, - groups = {dig_immediate=3}, + groups = {dig_immediate=3, mesecon = 1}, description="Meselamp", }) diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua index de1a9d0..ae7cb9d 100644 --- a/mesecons_lightstone/init.lua +++ b/mesecons_lightstone/init.lua @@ -2,13 +2,13 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on) minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", { tile_images = {texture_off}, inventory_image = minetest.inventorycube(texture_off), - groups = {cracky=2}, + groups = {cracky=2, mesecon = 1}, description=name.." Lightstone", }) minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", { tile_images = {texture_on}, inventory_image = minetest.inventorycube(texture_on), - groups = {cracky=2,not_in_creative_inventory=1}, + groups = {cracky=2,not_in_creative_inventory=1, mesecon = 1}, drop = "node mesecons_lightstone:lightstone_" .. name .. "_off 1", light_source = LIGHT_MAX-2, description=name.." Lightstone", diff --git a/mesecons_microcontroller/init.lua b/mesecons_microcontroller/init.lua index a50d372..ea72bdd 100644 --- a/mesecons_microcontroller/init.lua +++ b/mesecons_microcontroller/init.lua @@ -6,9 +6,9 @@ for c = 0, 1 do for d = 0, 1 do local nodename = "mesecons_microcontroller:microcontroller"..tostring(d)..tostring(c)..tostring(b)..tostring(a) if tostring(d)..tostring(c)..tostring(b)..tostring(a) ~= "0000" then - groups = {dig_immediate=2, not_in_creative_inventory=1} + groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon = 1} else - groups = {dig_immediate=2} + groups = {dig_immediate=2, mesecon = 1} end minetest.register_node(nodename, { description = "Microcontroller", diff --git a/mesecons_noteblock/init.lua b/mesecons_noteblock/init.lua index 13666eb..63f094c 100644 --- a/mesecons_noteblock/init.lua +++ b/mesecons_noteblock/init.lua @@ -1,7 +1,7 @@ minetest.register_node("mesecons_noteblock:noteblock", { description = "Noteblock", tile_images = {"mesecons_noteblock.png"}, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 1}, drawtype = "allfaces_optional", visual_scale = 1.3, paramtype="light", diff --git a/mesecons_pistons/init.lua b/mesecons_pistons/init.lua index f96830f..14f42e7 100644 --- a/mesecons_pistons/init.lua +++ b/mesecons_pistons/init.lua @@ -3,7 +3,7 @@ minetest.register_node("mesecons_pistons:piston_normal", { description = "Piston", tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_side.png"}, - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, paramtype2 = "facedir", after_dig_node = function(pos, oldnode) local dir = mesecon:piston_get_direction(oldnode) @@ -23,7 +23,7 @@ minetest.register_node("mesecons_pistons:piston_normal", { minetest.register_node("mesecons_pistons:piston_sticky", { description = "Sticky Piston", tiles = {"jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_sticky_side.png"}, - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, paramtype2 = "facedir", after_dig_node = function(pos, oldnode) local dir = mesecon:piston_get_direction(oldnode) diff --git a/mesecons_powerplant/init.lua b/mesecons_powerplant/init.lua index 6e3f263..dafb61c 100644 --- a/mesecons_powerplant/init.lua +++ b/mesecons_powerplant/init.lua @@ -7,7 +7,7 @@ minetest.register_node("mesecons_powerplant:power_plant", { inventory_image = "jeija_power_plant.png", paramtype = "light", walkable = false, - groups = {dig_immediate=3}, + groups = {dig_immediate=3, mesecon = 1}, light_source = LIGHT_MAX-9, description="Power Plant", after_place_node = function(pos) diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua index 18128ec..7bd78a2 100644 --- a/mesecons_pressureplates/init.lua +++ b/mesecons_pressureplates/init.lua @@ -16,7 +16,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", { type = "fixed", fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 }, }, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3, mesecon = 1}, description="Wood Pressure Plate", }) @@ -34,7 +34,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", { type = "fixed", fixed = { -7/16, -8/16, -7/16, 7/16, -31/64, 7/16 }, }, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1, mesecon = 1}, drop='"mesecons_pressureplates:pressure_plate_wood_off" 1', after_dig_node = function(pos) mesecon:receptor_off(pos, mesecon:get_rules("pressureplate")) @@ -98,7 +98,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_off", { type = "fixed", fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 }, }, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3, mesecon = 1}, description="Stone Pressure Plate", }) @@ -116,7 +116,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", { type = "fixed", fixed = { -7/16, -8/16, -7/16, 7/16, -31/64, 7/16 }, }, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,not_in_creative_inventory=1, mesecon = 1}, drop='"mesecons_pressureplates:pressure_plate_stone_off" 1', after_dig_node = function(pos) mesecon:receptor_off(pos, mesecon:get_rules("pressureplate")) diff --git a/mesecons_random/init.lua b/mesecons_random/init.lua index ef4b419..3b9e492 100644 --- a/mesecons_random/init.lua +++ b/mesecons_random/init.lua @@ -4,7 +4,7 @@ minetest.register_node("mesecons_random:removestone", { tile_images = {"jeija_removestone.png"}, inventory_image = minetest.inventorycube("jeija_removestone_inv.png"), material = minetest.digprop_stonelike(1.0), - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, description="Removestone", }) diff --git a/mesecons_solarpanel/init.lua b/mesecons_solarpanel/init.lua index 842fc54..9802d75 100644 --- a/mesecons_solarpanel/init.lua +++ b/mesecons_solarpanel/init.lua @@ -21,7 +21,7 @@ minetest.register_node("mesecons_solarpanel:solar_panel", { wall_side = { -8/16, -7/16, -7/16, -7/16, 7/16, 7/16 }, }, furnace_burntime = 5, - groups = {dig_immediate=3}, + groups = {dig_immediate=3, mesecon = 1}, description="Solar Panel", after_dig_node = function(pos, node, digger) mesecon:receptor_off(pos) diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua index a531459..65717be 100644 --- a/mesecons_switch/init.lua +++ b/mesecons_switch/init.lua @@ -3,14 +3,14 @@ minetest.register_node("mesecons_switch:mesecon_switch_off", { tile_images = {"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_off.png"}, paramtype2="facedir", - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1, mesecon = 1}, description="Switch", }) minetest.register_node("mesecons_switch:mesecon_switch_on", { tile_images = {"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}, + groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1, mesecon = 1}, drop='"mesecons_switch:mesecon_switch_off" 1', description="Switch", after_dig_node = function(pos) diff --git a/mesecons_temperest/init.lua b/mesecons_temperest/init.lua index a0ec5c0..6ae73af 100644 --- a/mesecons_temperest/init.lua +++ b/mesecons_temperest/init.lua @@ -105,7 +105,7 @@ minetest.register_node("mesecons_temperest:mesecon_plug", { tile_images = {"jeija_mesecon_plug.png"}, inventory_image = "jeija_mesecon_plug.png", wield_image = "jeija_mesecon_plug.png", - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1}, walkable = false, selection_box = { type = "fixed", @@ -139,7 +139,7 @@ minetest.register_node("mesecons_temperest:mesecon_socket_off", { tile_images = {"jeija_mesecon_socket_off.png"}, inventory_image = "jeija_mesecon_socket_off.png", wield_image = "jeija_mesecon_socket_off.png", - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1}, walkable = false, selection_box = { type = "fixed", @@ -156,7 +156,7 @@ minetest.register_node("mesecons_temperest:mesecon_socket_on", { paramtype = "light", is_ground_content = true, tile_images = {"jeija_mesecon_socket_on.png"}, - groups = {dig_immediate=2,not_in_creative_inventory=1}, + groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1}, walkable = false, selection_box = { type = "fixed", @@ -191,7 +191,7 @@ if ENABLE_TEMPEREST then paramtype = "light", is_ground_content = true, tile_images = {"jeija_mesecon_inverter_off.png"}, - groups = {dig_immediate=2,not_in_creative_inventory=1}, + groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1}, walkable = false, selection_box = { type = "fixed", @@ -212,7 +212,7 @@ if ENABLE_TEMPEREST then tile_images = {"jeija_mesecon_inverter_on.png"}, inventory_image = "jeija_mesecon_inverter_on.png", wield_image = "jeija_mesecon_inverter_on.png", - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1}, walkable = false, selection_box = { type = "fixed", diff --git a/mesecons_walllever/init.lua b/mesecons_walllever/init.lua index 19720d0..a4ed254 100644 --- a/mesecons_walllever/init.lua +++ b/mesecons_walllever/init.lua @@ -26,7 +26,7 @@ minetest.register_node("mesecons_walllever:wall_lever_off", { { -2/16, -1/16, 3/16, 2/16, 1/16, 4/16 }, -- the lever "hinge" { -1/16, -8/16, 4/16, 1/16, 0, 6/16 }} -- the lever itself. }, - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1}, description="Lever", }) minetest.register_node("mesecons_walllever:wall_lever_on", { @@ -56,7 +56,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", { { -2/16, -1/16, 3/16, 2/16, 1/16, 4/16 }, -- the lever "hinge" { -1/16, 0, 4/16, 1/16, 8/16, 6/16 }} -- the lever itself. }, - groups = {dig_immediate=2,not_in_creative_inventory=1}, + groups = {dig_immediate=2,not_in_creative_inventory=1, mesecon = 1}, drop = '"mesecons_walllever:wall_lever_off" 1', description="Lever", after_dig_node = function(pos, oldnode) From fa1213134ac9ab5a1eb3c0ba681674127d200d33 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 10 Aug 2012 17:59:52 -0400 Subject: [PATCH 2/3] did the same for buttons and up/down pistons --- mesecons_button/init.lua | 4 ++-- mesecons_pistons/pistons_down.lua | 4 ++-- mesecons_pistons/pistons_up.lua | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index 291ff1a..70a634d 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -24,7 +24,7 @@ minetest.register_node("mesecons_button:button_off", { { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself } }, - groups = {dig_immediate=2}, + groups = {dig_immediate=2, mesecon = 1}, description = "Button", }) minetest.register_node("mesecons_button:button_on", { @@ -53,7 +53,7 @@ minetest.register_node("mesecons_button:button_on", { { -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 } } }, - groups = {dig_immediate=2, not_in_creative_inventory=1}, + groups = {dig_immediate=2, not_in_creative_inventory=1, mesecon = 1}, drop = 'mesecons_button:button_off', description = "Button", after_dig_node = function(pos, oldnode) diff --git a/mesecons_pistons/pistons_down.lua b/mesecons_pistons/pistons_down.lua index 62ef986..c38bd6f 100644 --- a/mesecons_pistons/pistons_down.lua +++ b/mesecons_pistons/pistons_down.lua @@ -3,7 +3,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal", { description = "Piston DOWN", tiles = {"jeija_piston_tb.png", "jeija_piston_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, after_dig_node = function(pos, oldnode) local dir = {x=0, y=-1, z=0} pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check @@ -22,7 +22,7 @@ minetest.register_node("mesecons_pistons:piston_down_normal", { minetest.register_node("mesecons_pistons:piston_down_sticky", { description = "Sticky Piston DOWN", tiles = {"jeija_piston_tb.png", "jeija_piston_sticky_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, after_dig_node = function(pos, oldnode) local dir = {x=0, y=-1, z=0} pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check diff --git a/mesecons_pistons/pistons_up.lua b/mesecons_pistons/pistons_up.lua index cccfeb9..ae506db 100644 --- a/mesecons_pistons/pistons_up.lua +++ b/mesecons_pistons/pistons_up.lua @@ -3,7 +3,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal", { description = "Piston UP", tiles = {"jeija_piston_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, after_dig_node = function(pos, oldnode) local dir = {x=0, y=1, z=0} pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check @@ -22,7 +22,7 @@ minetest.register_node("mesecons_pistons:piston_up_normal", { minetest.register_node("mesecons_pistons:piston_up_sticky", { description = "Sticky Piston UP", tiles = {"jeija_piston_sticky_side.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png", "jeija_piston_tb.png"}, - groups = {cracky=3}, + groups = {cracky=3, mesecon = 1}, after_dig_node = function(pos, oldnode) local dir = {x=0, y=1, z=0} pos.x, pos.y, pos.z = pos.x + dir.x, pos.y + dir.y, pos.z + dir.z --move to first node to check From 0891b9e5af6e964dc949c2d6543f9dc704ccfeb2 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 10 Aug 2012 18:35:27 -0400 Subject: [PATCH 3/3] reworked the mesecons object detector textures. Much better now. --- .../textures/jeija_object_detector_off.png | Bin 750 -> 712 bytes .../textures/jeija_object_detector_on.png | Bin 764 -> 735 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/mesecons_textures/textures/jeija_object_detector_off.png b/mesecons_textures/textures/jeija_object_detector_off.png index ac364a02f81198055e02b01b5caa348c2cacd645..825d78f610ff62b20f92754aa29cc27ae60aa8f2 100644 GIT binary patch delta 663 zcmV;I0%-m21;_=EB#|*3e+UW|BNNnFG%NrB0%u7?K~yNuRguj~>rfPh_sQAkq)8L5 zq?TGrZ&3t)K}7CcoH}yg3pf$q$EWZabZ8x15v?G$aJ9u+HEFa-TFg(+Id>2dT+{t6 zSZgnGa&lstrssLJT5T{GD5a{^>izw_<2XvG;c!^1)t;W7D5ceEf3?%;;AArC_xk{l zBuN;CjIl5bKR!O}N=hkR*W2wjE-o%UJUkFWbX}KHN+}UhN=Yfr>D&nbob%=7WprIPNfN^_f*|NN zoB6H0u_2}OZ*PCufA*i<-NA4;9*+T_*XyBann{u%Vz=2`zr4&1|Dp&0*4u3Wn5602 z!NK2~n_{u3>pITQ&r2y8V*pUBRDRj^^!1h8-2p(kT-H}sG{*q|!!Q6~ZFLoUyrE2ZEtV)US8g>uS-#+ z!Iy|_zrMdGNy0fd45MDJqh(p+@z^kougCd*;qA?aAJTPwI-N=>9mhf6_k|FI5Tz6% z22oW1N$2%6P2-&R`+aOQ8lLBI&ZU&!kiE490JKs8fI^`lr4&LG3Wd$hP4ql(G#WXM zLkIx?)@ZC8e;$JN-2xC10H)I^06acEqEgB*48~X(0*33L%tIjIk`sax{)(P16V=lgUKa_0P}GAPDHr&JLyY>gvig%~q?`?RG88 xIz2rN!*Dbjou8jmN-r)hI-L&Z{Os)PKe)L}aY8bf4PF2M002ovPDHLkV1o9)IV1o8 delta 699 zcmV;s0!01D1?~lqBnkm@Qb$4nuFf3kks%*{1P=i*DE8q69RL6VfJsC_R4C6S(92HS zSQr4{^Z)jESPiS{p@?9|Yw4$z)=P-bYaw z$Cj}uil)E zlr=^f!vL7?`@a8aJ|DDp9LI4SoXuvV(MWTCad#()l$6F=%b1qZT5GM9#+*Jp3`A|y zoSmKV^?Kd3Ej~OPHO=6%d)KNT1v@XHy#F0Yhw%&5uz~$wWhl6Jx@xhwSIYd z;Yuk)wAQ`}F~spdS6A{v h@Av!hczk<%`wQ{gbohmTTS))_002ovPDHLkV1k4ISReoZ diff --git a/mesecons_textures/textures/jeija_object_detector_on.png b/mesecons_textures/textures/jeija_object_detector_on.png index 2571cc3aa9464de128cd3ed2e38ced77f573331b..96f8ba3260da4c3d303e91e1c175591d420ccebf 100644 GIT binary patch delta 686 zcmV;f0#W_^1>XgbB#|*3e+UW|BNR$Kp^pFn0)9zEK~yNuJ(4|d(@+$K-+S-5cI*bF zxI_?@s0uCOBNI!J7%Mh*{ss#Y;tw(O2QVO@6G8|nhyqeuL`i9Y5GSqUG}w-P&tU-Z z&d;M~dDZszcDNMAC-Lg#)gR*@qNR1Qwb$Q^8j*;MC*#%T>ha*%e~4+Vv<~(TX#RUX z7!6=i42v{RZOx`X)6?=apXH8S;fiunPKzlqfdeGnoe*m&Xn%?(!sd>KX6`mz~ zXZ=op-0x9u+ML1y3IG~t3}?eE%RKS|8?-OBsUFnN%Co=*V#N3T_%zQ~Zb#O|l zdpGWJ#wE(X*U->fG&5__p%)r9Y7~z~C!-517o0eOSZhmH0?=CLWv-zW)I6K}#?P{B znoP~s-7RBG?_)0v!`;uj{b9cz)}QyDr}H$KC9gibBr-6s-@QKga^Pw2#mg6e09KAu U?bDcD0{{R307*qoM6N<$f@+OQi2wiq delta 713 zcmV;)0yh2M1^fk&Bnkm@Qb$4nuFf3kks%*{1P=i*DS_rSivR!uj!8s8R4C5{!A(!w zNEiU%dEc3_9eWukP8>HNkaCDhR;!g-acR}x(Zl|N{wEGS?Qw5a?>%s0Lb(F=H{l`?RxK}l*8e0KA$tj27|$DHe<_w zV z{?{MButim?$z;Oj^Lef6Tf9|c6*eJS)IPMDdO1zDiBKZWwjPGKkSQ87-PEKE=nnzrm3oma%wx42!aHWA|V6;ZDg&mK!E@Wf?%;&usqMp zvNXmZU`ZjHU*^0@v%(CqG_?T@ro9%Y1wGLQN_iG(#swpBOp!HUB zT?JL###(D@?bFi}GsYmI_g=2$upNH-=MxI_)N{&-CVHc*mul_SQ4}RfvRbX!Xf&$p zI?FPxH2~!O+&T*cD5E>OGryVb!M5o)lu{wYbULLcCnrG=JU%`aMIog$Ts|$cEW5b8 vsGHh(cYS?57!2<2?p|JA_V)J9&d&Y^knD2!ttlQ;00000NkvXXu0mjfu2)=0