forked from minetest-mods/mesecons
Switch from tile_images to tiles = {...}
This commit is contained in:
parent
b2c5a672e7
commit
15fa38b848
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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},
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user