summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-20 10:12:10 +0200
committerJeija <norrepli@gmail.com>2012-08-20 10:12:10 +0200
commit15fa38b848c016f6b3404cd8428b2517a3e00984 (patch)
treea1287eda107529b40efd80ee2df9fcf98e66663f
parentb2c5a672e7a6f134d49fe7136750fbe639680f81 (diff)
downloadmesecons-15fa38b848c016f6b3404cd8428b2517a3e00984.tar
mesecons-15fa38b848c016f6b3404cd8428b2517a3e00984.tar.gz
mesecons-15fa38b848c016f6b3404cd8428b2517a3e00984.tar.bz2
mesecons-15fa38b848c016f6b3404cd8428b2517a3e00984.tar.xz
mesecons-15fa38b848c016f6b3404cd8428b2517a3e00984.zip
Switch from tile_images to tiles = {...}
-rw-r--r--mesecons/wires.lua4
-rw-r--r--mesecons_blinkyplant/init.lua4
-rw-r--r--mesecons_detector/init.lua4
-rw-r--r--mesecons_door/init.lua2
-rw-r--r--mesecons_lamp/init.lua4
-rw-r--r--mesecons_lightstone/init.lua4
-rw-r--r--mesecons_movestones/init.lua4
-rw-r--r--mesecons_pressureplates/init.lua8
-rw-r--r--mesecons_random/init.lua2
-rw-r--r--mesecons_switch/init.lua4
-rw-r--r--mesecons_torch/init.lua4
11 files changed, 22 insertions, 22 deletions
diff --git a/mesecons/wires.lua b/mesecons/wires.lua
index bad1929..bca5e88 100644
--- a/mesecons/wires.lua
+++ b/mesecons/wires.lua
@@ -3,7 +3,7 @@
if NEW_STYLE_WIRES == false then --old wires
minetest.register_node("mesecons:mesecon_off", {
drawtype = "raillike",
- tile_images = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"},
+ tiles = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"},
inventory_image = "jeija_mesecon_off.png",
wield_image = "jeija_mesecon_off.png",
paramtype = "light",
@@ -19,7 +19,7 @@ minetest.register_node("mesecons:mesecon_off", {
minetest.register_node("mesecons:mesecon_on", {
drawtype = "raillike",
- tile_images = {"jeija_mesecon_on.png", "jeija_mesecon_curved_on.png", "jeija_mesecon_t_junction_on.png", "jeija_mesecon_crossing_on.png"},
+ tiles = {"jeija_mesecon_on.png", "jeija_mesecon_curved_on.png", "jeija_mesecon_t_junction_on.png", "jeija_mesecon_crossing_on.png"},
paramtype = "light",
is_ground_content = true,
walkable = false,
diff --git a/mesecons_blinkyplant/init.lua b/mesecons_blinkyplant/init.lua
index 9b44e21..145467e 100644
--- a/mesecons_blinkyplant/init.lua
+++ b/mesecons_blinkyplant/init.lua
@@ -3,7 +3,7 @@
minetest.register_node("mesecons_blinkyplant:blinky_plant_off", {
drawtype = "plantlike",
visual_scale = 1,
- tile_images = {"jeija_blinky_plant_off.png"},
+ tiles = {"jeija_blinky_plant_off.png"},
inventory_image = "jeija_blinky_plant_off.png",
paramtype = "light",
walkable = false,
@@ -18,7 +18,7 @@ minetest.register_node("mesecons_blinkyplant:blinky_plant_off", {
minetest.register_node("mesecons_blinkyplant:blinky_plant_on", {
drawtype = "plantlike",
visual_scale = 1,
- tile_images = {"jeija_blinky_plant_on.png"},
+ tiles = {"jeija_blinky_plant_on.png"},
inventory_image = "jeija_blinky_plant_off.png",
paramtype = "light",
walkable = false,
diff --git a/mesecons_detector/init.lua b/mesecons_detector/init.lua
index 145b1b7..cbee787 100644
--- a/mesecons_detector/init.lua
+++ b/mesecons_detector/init.lua
@@ -1,6 +1,6 @@
--SHORT RANGE DETECTORS
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"},
+ tiles = {"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, mesecon = 2},
@@ -8,7 +8,7 @@ minetest.register_node("mesecons_detector:object_detector_off", {
})
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"},
+ tiles = {"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, mesecon = 2},
diff --git a/mesecons_door/init.lua b/mesecons_door/init.lua
index a53852b..bf6a58f 100644
--- a/mesecons_door/init.lua
+++ b/mesecons_door/init.lua
@@ -83,7 +83,7 @@ for i = 1, 4 do
for j = 1, 2 do
minetest.register_node("mesecons_door:door_"..i.."_"..j, {
drawtype = "nodebox",
- tile_images = {"default_wood.png"},
+ tiles = {"default_wood.png"},
paramtype = "light",
is_ground_content = true,
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2, mesecon = 2},
diff --git a/mesecons_lamp/init.lua b/mesecons_lamp/init.lua
index 8c1b613..553941c 100644
--- a/mesecons_lamp/init.lua
+++ b/mesecons_lamp/init.lua
@@ -1,7 +1,7 @@
-- MESELAMPS
minetest.register_node("mesecons_lamp:lamp_on", {
drawtype = "nodebox",
- tile_images = {"jeija_meselamp_on.png"},
+ tiles = {"jeija_meselamp_on.png"},
paramtype = "light",
paramtype2 = "wallmounted",
legacy_wallmounted = true,
@@ -26,7 +26,7 @@ minetest.register_node("mesecons_lamp:lamp_on", {
minetest.register_node("mesecons_lamp:lamp_off", {
drawtype = "nodebox",
- tile_images = {"jeija_meselamp_off.png"},
+ tiles = {"jeija_meselamp_off.png"},
inventory_image = "jeija_meselamp.png",
wield_image = "jeija_meselamp.png",
paramtype = "light",
diff --git a/mesecons_lightstone/init.lua b/mesecons_lightstone/init.lua
index 33e308e..ac822fc 100644
--- a/mesecons_lightstone/init.lua
+++ b/mesecons_lightstone/init.lua
@@ -1,12 +1,12 @@
function mesecon:lightstone_add(name, base_item, texture_off, texture_on)
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_off", {
- tile_images = {texture_off},
+ tiles = {texture_off},
inventory_image = minetest.inventorycube(texture_off),
groups = {cracky=2, mesecon_effector_off = 1, mesecon = 2},
description=name.." Lightstone",
})
minetest.register_node("mesecons_lightstone:lightstone_" .. name .. "_on", {
- tile_images = {texture_on},
+ tiles = {texture_on},
inventory_image = minetest.inventorycube(texture_on),
groups = {cracky=2,not_in_creative_inventory=1, mesecon = 2},
drop = "node mesecons_lightstone:lightstone_" .. name .. "_off 1",
diff --git a/mesecons_movestones/init.lua b/mesecons_movestones/init.lua
index 6441e61..857ddd4 100644
--- a/mesecons_movestones/init.lua
+++ b/mesecons_movestones/init.lua
@@ -36,7 +36,7 @@ function mesecon:get_movestone_direction(pos)
end
minetest.register_node("mesecons_movestones:movestone", {
- tile_images = {"jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_arrows.png", "jeija_movestone_arrows.png"},
+ tiles = {"jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_arrows.png", "jeija_movestone_arrows.png"},
paramtype2 = "facedir",
legacy_facedir_simple = true,
groups = {cracky=3},
@@ -113,7 +113,7 @@ end)
-- STICKY_MOVESTONE
minetest.register_node("mesecons_movestones:sticky_movestone", {
- tile_images = {"jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_sticky_movestone.png", "jeija_sticky_movestone.png"},
+ tiles = {"jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_movestone_side.png", "jeija_sticky_movestone.png", "jeija_sticky_movestone.png"},
inventory_image = minetest.inventorycube("jeija_sticky_movestone.png", "jeija_movestone_side.png", "jeija_movestone_side.png"),
paramtype2 = "facedir",
legacy_facedir_simple = true,
diff --git a/mesecons_pressureplates/init.lua b/mesecons_pressureplates/init.lua
index cf16081..cd96be3 100644
--- a/mesecons_pressureplates/init.lua
+++ b/mesecons_pressureplates/init.lua
@@ -2,7 +2,7 @@
minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", {
drawtype = "nodebox",
- tile_images = {"jeija_pressure_plate_wood_off.png"},
+ tiles = {"jeija_pressure_plate_wood_off.png"},
inventory_image = "jeija_pressure_plate_wood_off.png",
wield_image = "jeija_pressure_plate_wood_off.png",
paramtype = "light",
@@ -22,7 +22,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_wood_off", {
minetest.register_node("mesecons_pressureplates:pressure_plate_wood_on", {
drawtype = "nodebox",
- tile_images = {"jeija_pressure_plate_wood_on.png"},
+ tiles = {"jeija_pressure_plate_wood_on.png"},
paramtype = "light",
is_ground_content = true,
walkable = true,
@@ -78,7 +78,7 @@ minetest.register_abm(
minetest.register_node("mesecons_pressureplates:pressure_plate_stone_off", {
drawtype = "nodebox",
- tile_images = {"jeija_pressure_plate_stone_off.png"},
+ tiles = {"jeija_pressure_plate_stone_off.png"},
inventory_image = "jeija_pressure_plate_stone_off.png",
wield_image = "jeija_pressure_plate_stone_off.png",
paramtype = "light",
@@ -98,7 +98,7 @@ minetest.register_node("mesecons_pressureplates:pressure_plate_stone_off", {
minetest.register_node("mesecons_pressureplates:pressure_plate_stone_on", {
drawtype = "nodebox",
- tile_images = {"jeija_pressure_plate_stone_on.png"},
+ tiles = {"jeija_pressure_plate_stone_on.png"},
paramtype = "light",
is_ground_content = true,
walkable = true,
diff --git a/mesecons_random/init.lua b/mesecons_random/init.lua
index fe29bea..97be973 100644
--- a/mesecons_random/init.lua
+++ b/mesecons_random/init.lua
@@ -1,7 +1,7 @@
-- REMOVE_STONE
minetest.register_node("mesecons_random:removestone", {
- tile_images = {"jeija_removestone.png"},
+ tiles = {"jeija_removestone.png"},
inventory_image = minetest.inventorycube("jeija_removestone_inv.png"),
material = minetest.digprop_stonelike(1.0),
groups = {cracky=3, mesecon = 2},
diff --git a/mesecons_switch/init.lua b/mesecons_switch/init.lua
index bca2e50..1213f6e 100644
--- a/mesecons_switch/init.lua
+++ b/mesecons_switch/init.lua
@@ -1,14 +1,14 @@
-- MESECON_SWITCH
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"},
+ 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_off.png"},
paramtype2="facedir",
groups = {dig_immediate=2, mesecon = 2},
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"},
+ 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, mesecon = 2},
drop='"mesecons_switch:mesecon_switch_off" 1',
diff --git a/mesecons_torch/init.lua b/mesecons_torch/init.lua
index 1db8f2a..d7a9596 100644
--- a/mesecons_torch/init.lua
+++ b/mesecons_torch/init.lua
@@ -10,7 +10,7 @@ minetest.register_craft({
minetest.register_node("mesecons_torch:mesecon_torch_off", {
drawtype = "torchlike",
- tile_images = {"jeija_torches_off.png", "jeija_torches_off_ceiling.png", "jeija_torches_off_side.png"},
+ tiles = {"jeija_torches_off.png", "jeija_torches_off_ceiling.png", "jeija_torches_off_side.png"},
inventory_image = "jeija_torches_off.png",
paramtype = "light",
walkable = false,
@@ -29,7 +29,7 @@ minetest.register_node("mesecons_torch:mesecon_torch_off", {
minetest.register_node("mesecons_torch:mesecon_torch_on", {
drawtype = "torchlike",
- tile_images = {"jeija_torches_on.png", "jeija_torches_on_ceiling.png", "jeija_torches_on_side.png"},
+ tiles = {"jeija_torches_on.png", "jeija_torches_on_ceiling.png", "jeija_torches_on_side.png"},
inventory_image = "jeija_torches_on.png",
wield_image = "jeija_torches_on.png",
paramtype = "light",