Replace deprecated 'tile_images' fields

master
LeMagnesium 2015-12-30 18:13:36 +01:00
parent 85d6b14791
commit 66fb8f7d5a
9 changed files with 31 additions and 31 deletions

View File

@ -1,6 +1,6 @@
minetest.register_node("advertising:minetest1", {
description = "Minetest Advertising",
tile_images = {"minetest1_side.png", "minetest1.png"},
tiles = {"minetest1_side.png", "minetest1.png"},
groups = {cracky=3, stone=2},
paramtype2 = "facedir",
paramtype = "light",
@ -10,7 +10,7 @@ minetest.register_node("advertising:minetest1", {
minetest.register_node("advertising:linux", {
description = "Linux Advertising",
tile_images = {"linux1_side.png", "linux1.png"},
tiles = {"linux1_side.png", "linux1.png"},
groups = {cracky=3, stone=2},
paramtype2 = "facedir",
paramtype = "light",
@ -20,7 +20,7 @@ minetest.register_node("advertising:linux", {
minetest.register_node("advertising:minetestforfun", {
description = "MinetestForFun Advertising",
tile_images = {"advertising_mff.png"},
tiles = {"advertising_mff.png"},
groups = {cracky=3, stone=2},
paramtype2 = "facedir",
paramtype = "light",
@ -30,7 +30,7 @@ minetest.register_node("advertising:minetestforfun", {
minetest.register_node("advertising:cyberpangolin", {
description = "Cyberpangolin Advertising",
tile_images = {"advertising_cyberpangolin.png"},
tiles = {"advertising_cyberpangolin.png"},
groups = {cracky=3, stone=2},
paramtype2 = "facedir",
paramtype = "light",
@ -40,7 +40,7 @@ minetest.register_node("advertising:cyberpangolin", {
minetest.register_node("advertising:prayforparis_text", {
description = "Pray For Paris Text Advertising",
tile_images = {"advertising_prayforparis_text.png"},
tiles = {"advertising_prayforparis_text.png"},
groups = {cracky=3, stone=2},
paramtype2 = "facedir",
paramtype = "light",
@ -50,7 +50,7 @@ minetest.register_node("advertising:prayforparis_text", {
minetest.register_node("advertising:prayforparis_logo", {
description = "Pray For Paris Logo Advertising",
tile_images = {"advertising_prayforparis_logo.png"},
tiles = {"advertising_prayforparis_logo.png"},
groups = {cracky=3, stone=2},
paramtype2 = "facedir",
paramtype = "light",

View File

@ -19,7 +19,7 @@ end
minetest.register_node("bobblocks:btm", {
description = "Bobs TransMorgifier v5",
tile_images = {"bobblocks_btm_sides.png", "bobblocks_btm_sides.png", "bobblocks_btm_sides.png",
tiles = {"bobblocks_btm_sides.png", "bobblocks_btm_sides.png", "bobblocks_btm_sides.png",
"bobblocks_btm_sides.png", "bobblocks_btm_sides.png", "bobblocks_btm.png"},
inventory_image = "bobblocks_btm.png",
paramtype2 = "facedir",
@ -39,7 +39,7 @@ for _, colour in ipairs(bobblock_colours) do
minetest.register_node("bobblocks:"..colour.."block", {
description = colour.." Block",
drawtype = "glasslike",
tile_images = {"bobblocks_"..colour.."block.png"},
tiles = {"bobblocks_"..colour.."block.png"},
inventory_image = minetest.inventorycube("bobblocks_"..colour.."block.png"),
paramtype = "light",
sunlight_propagates = true,
@ -60,7 +60,7 @@ minetest.register_node("bobblocks:"..colour.."block", {
minetest.register_node("bobblocks:"..colour.."block_off", {
description = colour.." Block",
tile_images = {"bobblocks_"..colour.."block.png"},
tiles = {"bobblocks_"..colour.."block.png"},
is_ground_content = true,
alpha = 160,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
@ -82,7 +82,7 @@ minetest.register_node("bobblocks:"..colour.."block_off", {
minetest.register_node("bobblocks:"..colour.."pole", {
description = colour.." Pole",
drawtype = "fencelike",
tile_images = {"bobblocks_"..colour.."block.png"},
tiles = {"bobblocks_"..colour.."block.png"},
inventory_image = ("bobblocks_inv"..colour.."pole.png"),
paramtype = "light",
sunlight_propagates = true,
@ -102,7 +102,7 @@ minetest.register_node("bobblocks:"..colour.."pole", {
minetest.register_node("bobblocks:"..colour.."pole_off", {
description = colour.." Pole",
drawtype = "fencelike",
tile_images = {"bobblocks_"..colour.."block.png"},
tiles = {"bobblocks_"..colour.."block.png"},
inventory_image = ("bobblocks_inv"..colour.."pole.png"),
paramtype = "light",
sunlight_propagates = true,
@ -136,7 +136,7 @@ end
minetest.register_node("bobblocks:greyblock", {
description = "Grey Block",
drawtype = "glasslike",
tile_images = {"bobblocks_greyblock.png"},
tiles = {"bobblocks_greyblock.png"},
inventory_image = minetest.inventorycube("bobblocks_greyblock.png"),
paramtype = "light",
sunlight_propagates = true,
@ -152,7 +152,7 @@ minetest.register_node("bobblocks:greyblock", {
minetest.register_node("bobblocks:greyblock_off", {
description = "Grey Block",
tile_images = {"bobblocks_greyblock.png"},
tiles = {"bobblocks_greyblock.png"},
is_ground_content = true,
alpha = 160,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1},
@ -167,7 +167,7 @@ minetest.register_node("bobblocks:greyblock_off", {
minetest.register_node("bobblocks:greypole", {
description = "Grey Pole",
drawtype = "fencelike",
tile_images = {"bobblocks_greyblock.png"},
tiles = {"bobblocks_greyblock.png"},
inventory_image = ("bobblocks_invgreypole.png"),
paramtype = "light",
sunlight_propagates = true,

View File

@ -32,7 +32,7 @@ end
minetest.register_node("bobblocks:health_off", {
description = "Health Pack 1 Off",
tile_images = {"bobblocks_health_off.png"},
tiles = {"bobblocks_health_off.png"},
inventory_image = "bobblocks_health_off.png",
paramtype2 = "facedir",
legacy_facedir_simple = true,
@ -48,7 +48,7 @@ minetest.register_node("bobblocks:health_off", {
minetest.register_node("bobblocks:health_on", {
description = "Health Pack 1 On",
tile_images = {"bobblocks_health_on.png"},
tiles = {"bobblocks_health_on.png"},
paramtype2 = "facedir",
legacy_facedir_simple = true,
light_source = default.LIGHT_MAX-1,

View File

@ -64,7 +64,7 @@ minetest.register_abm(
-- Nodes
minetest.register_node("bobblocks:trap_grass", {
description = "Trap Grass",
tile_images = {"default_grass.png"},
tiles = {"default_grass.png"},
paramtype2 = "facedir",
legacy_facedir_simple = true,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
@ -77,7 +77,7 @@ local function spikenode(name, desc, texture, drop, groups, drawtype)
minetest.register_node("bobblocks:trap_"..name, {
description = desc,
drawtype = drawtype,
tile_images = {"bobblocks_"..texture..".png"},
tiles = {"bobblocks_"..texture..".png"},
inventory_image = ("bobblocks_"..texture..".png"),
paramtype = "light",
walkable = false,
@ -104,7 +104,7 @@ minetest.register_node("bobblocks:spike_major_reverse", {
description = "Trap Spike Major Reverse",
drawtype = "plantlike",
visual_scale = 1,
tile_images = {"bobblocks_majorspike_reverse.png"},
tiles = {"bobblocks_majorspike_reverse.png"},
inventory_image = ("bobblocks_majorspike_reverse.png"),
paramtype = "light",
walkable = false,

View File

@ -5,7 +5,7 @@ LIGHT_MAX = 15
minetest.register_node("glow:stone", {
description = "Glowing stone",
tile_images = {"glow_stone.png"},
tiles = {"glow_stone.png"},
light_source = LIGHT_MAX,
groups = {cracky=3},
sounds = default.node_sound_glass_defaults(),
@ -13,7 +13,7 @@ minetest.register_node("glow:stone", {
minetest.register_node("glow:lamp", {
description = "Lamp",
tile_images = {"glow_stone.png^glow_lamp_frame.png"},
tiles = {"glow_stone.png^glow_lamp_frame.png"},
light_source = LIGHT_MAX,
groups = {cracky=3},
sounds = default.node_sound_glass_defaults(),

View File

@ -24,7 +24,7 @@ minetest.register_node('poisonivy:seedling', {
description = S("Poison ivy (seedling)"),
drawtype = 'plantlike',
waving = 1,
tile_images = { 'poisonivy_seedling.png' },
tiles = { 'poisonivy_seedling.png' },
inventory_image = 'poisonivy_seedling.png',
wield_image = 'poisonivy_seedling.png',
sunlight_propagates = true,
@ -39,7 +39,7 @@ minetest.register_node('poisonivy:sproutling', {
description = S("Poison ivy (sproutling)"),
drawtype = 'plantlike',
waving = 1,
tile_images = { 'poisonivy_sproutling.png' },
tiles = { 'poisonivy_sproutling.png' },
inventory_image = 'poisonivy_sproutling.png',
wield_image = 'poisonivy_sproutling.png',
sunlight_propagates = true,
@ -53,7 +53,7 @@ minetest.register_node('poisonivy:sproutling', {
minetest.register_node('poisonivy:climbing', {
description = S("Poison ivy (climbing plant)"),
drawtype = 'signlike',
tile_images = { 'poisonivy_climbing.png' },
tiles = { 'poisonivy_climbing.png' },
inventory_image = 'poisonivy_climbing.png',
wield_image = 'poisonivy_climbing.png',
sunlight_propagates = true,

View File

@ -33,7 +33,7 @@ vines.register_vine = function( name, defs, biome )
paramtype = "light",
paramtype2 = "wallmounted",
buildable_to = true,
tile_images = { vine_image_end },
tiles = { vine_image_end },
drawtype = drawtype,
inventory_image = vine_image_end,
groups = groups,
@ -71,7 +71,7 @@ vines.register_vine = function( name, defs, biome )
paramtype = "light",
paramtype2 = "wallmounted",
buildable_to = true,
tile_images = { vine_image_middle },
tiles = { vine_image_middle },
wield_image = vine_image_middle,
drawtype = drawtype,
inventory_image = vine_image_middle,

View File

@ -2,7 +2,7 @@ minetest.register_node("vines:rope_block", {
description = "Rope",
sunlight_propagates = true,
paramtype = "light",
tile_images = {
tiles = {
"default_wood.png^vines_rope.png",
"default_wood.png^vines_rope.png",
"default_wood.png",
@ -36,7 +36,7 @@ minetest.register_node("vines:rope", {
sunlight_propagates = true,
paramtype = "light",
drop = "",
tile_images = { "vines_rope.png" },
tiles = { "vines_rope.png" },
drawtype = "plantlike",
groups = {flammable=2, not_in_creative_inventory=1},
sounds = default.node_sound_leaves_defaults(),
@ -53,7 +53,7 @@ minetest.register_node("vines:rope_end", {
sunlight_propagates = true,
paramtype = "light",
drop = "",
tile_images = { "vines_rope_end.png" },
tiles = { "vines_rope_end.png" },
drawtype = "plantlike",
groups = {flammable=2, not_in_creative_inventory=1},
sounds = default.node_sound_leaves_defaults(),

View File

@ -75,7 +75,7 @@ function pane(node, desc, dropitem, recipeitem, color)
end
minetest.register_node(":xpanes:pane_"..node..""..color.."_"..i, {
drawtype = "nodebox",
tile_images = {"xpanes_top_"..node..""..color..".png", "xpanes_top_"..node..""..color..".png", texture},
tiles = {"xpanes_top_"..node..""..color..".png", "xpanes_top_"..node..""..color..".png", texture},
paramtype = "light",
use_texture_alpha = true,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
@ -93,7 +93,7 @@ function pane(node, desc, dropitem, recipeitem, color)
minetest.register_node(":xpanes:pane_"..node..""..color, {
description = desc,
tile_images = {"xpanes_pane_"..node..""..color..".png"},
tiles = {"xpanes_pane_"..node..""..color..".png"},
inventory_image = "xpanes_pane_"..node..""..color..".png",
paramtype = "light",
stack_max = 64,