DevTest: More node textures to tell them apart
@ -296,7 +296,7 @@ minetest.register_node("testnodes:mesh_degrotate", {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "degrotate",
|
paramtype2 = "degrotate",
|
||||||
mesh = "testnodes_ocorner.obj",
|
mesh = "testnodes_ocorner.obj",
|
||||||
tiles = { "testnodes_mesh_stripes2.png" },
|
tiles = { "testnodes_mesh_stripes7.png" },
|
||||||
|
|
||||||
on_rightclick = rotate_on_rightclick,
|
on_rightclick = rotate_on_rightclick,
|
||||||
place_param2 = 10, -- 15°
|
place_param2 = 10, -- 15°
|
||||||
@ -312,7 +312,7 @@ minetest.register_node("testnodes:mesh_colordegrotate", {
|
|||||||
paramtype2 = "colordegrotate",
|
paramtype2 = "colordegrotate",
|
||||||
palette = "testnodes_palette_facedir.png",
|
palette = "testnodes_palette_facedir.png",
|
||||||
mesh = "testnodes_ocorner.obj",
|
mesh = "testnodes_ocorner.obj",
|
||||||
tiles = { "testnodes_mesh_stripes3.png" },
|
tiles = { "testnodes_mesh_stripes8.png" },
|
||||||
|
|
||||||
on_rightclick = rotate_on_rightclick,
|
on_rightclick = rotate_on_rightclick,
|
||||||
-- color index 1, 1 step (=15°) rotated
|
-- color index 1, 1 step (=15°) rotated
|
||||||
|
@ -67,7 +67,7 @@ minetest.register_node("testnodes:mesh_4dir", {
|
|||||||
S("param2 = 4dir rotation (0..3)"),
|
S("param2 = 4dir rotation (0..3)"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "testnodes_ocorner.obj",
|
mesh = "testnodes_ocorner.obj",
|
||||||
tiles = {"testnodes_mesh_stripes.png"},
|
tiles = {"testnodes_mesh_stripes5.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "4dir",
|
paramtype2 = "4dir",
|
||||||
collision_box = ocorner_cbox,
|
collision_box = ocorner_cbox,
|
||||||
@ -80,7 +80,7 @@ minetest.register_node("testnodes:mesh_color4dir", {
|
|||||||
S("param2 = color + 4dir rotation (0..255)"),
|
S("param2 = color + 4dir rotation (0..255)"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "testnodes_ocorner.obj",
|
mesh = "testnodes_ocorner.obj",
|
||||||
tiles = {"testnodes_mesh_stripes3.png"},
|
tiles = {"testnodes_mesh_stripes6.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color4dir",
|
paramtype2 = "color4dir",
|
||||||
palette = "testnodes_palette_4dir.png",
|
palette = "testnodes_palette_4dir.png",
|
||||||
@ -95,7 +95,7 @@ minetest.register_node("testnodes:mesh_wallmounted", {
|
|||||||
S("param2 = wallmounted rotation (0..5)"),
|
S("param2 = wallmounted rotation (0..5)"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "testnodes_pyramid.obj",
|
mesh = "testnodes_pyramid.obj",
|
||||||
tiles = {"testnodes_mesh_stripes2.png"},
|
tiles = {"testnodes_mesh_stripes9.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
collision_box = tall_pyr_cbox,
|
collision_box = tall_pyr_cbox,
|
||||||
@ -108,7 +108,7 @@ minetest.register_node("testnodes:mesh_colorwallmounted", {
|
|||||||
S("param2 = color + wallmounted rotation (0..5, 8..13, ...)"),
|
S("param2 = color + wallmounted rotation (0..5, 8..13, ...)"),
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "testnodes_pyramid.obj",
|
mesh = "testnodes_pyramid.obj",
|
||||||
tiles = {"testnodes_mesh_stripes3.png"},
|
tiles = {"testnodes_mesh_stripes10.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "colorwallmounted",
|
paramtype2 = "colorwallmounted",
|
||||||
palette = "testnodes_palette_wallmounted.png",
|
palette = "testnodes_palette_wallmounted.png",
|
||||||
|
@ -120,12 +120,12 @@ minetest.register_node("testnodes:nodebox_connected_4dir", {
|
|||||||
S("Connects to neighbors").."\n"..
|
S("Connects to neighbors").."\n"..
|
||||||
S("param2 = 4dir rotation of textures (not of the nodebox!)"),
|
S("param2 = 4dir rotation of textures (not of the nodebox!)"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"testnodes_1.png^[colorize:#FFFF00:127",
|
"testnodes_1f.png",
|
||||||
"testnodes_2.png^[colorize:#FFFF00:127",
|
"testnodes_2f.png",
|
||||||
"testnodes_3.png^[colorize:#FFFF00:127",
|
"testnodes_3f.png",
|
||||||
"testnodes_4.png^[colorize:#FFFF00:127",
|
"testnodes_4f.png",
|
||||||
"testnodes_5.png^[colorize:#FFFF00:127",
|
"testnodes_5f.png",
|
||||||
"testnodes_6.png^[colorize:#FFFF00:127",
|
"testnodes_6f.png",
|
||||||
},
|
},
|
||||||
groups = {connected_nodebox=1, dig_immediate=3},
|
groups = {connected_nodebox=1, dig_immediate=3},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
|
@ -23,12 +23,12 @@ minetest.register_node("testnodes:4dir", {
|
|||||||
S("param2 = 4dir rotation (0..3)"),
|
S("param2 = 4dir rotation (0..3)"),
|
||||||
paramtype2 = "4dir",
|
paramtype2 = "4dir",
|
||||||
tiles = {
|
tiles = {
|
||||||
"testnodes_1.png^[colorize:#FFFF00:127",
|
"testnodes_1f.png",
|
||||||
"testnodes_2.png^[colorize:#FFFF00:127",
|
"testnodes_2f.png",
|
||||||
"testnodes_3.png^[colorize:#FFFF00:127",
|
"testnodes_3f.png",
|
||||||
"testnodes_4.png^[colorize:#FFFF00:127",
|
"testnodes_4f.png",
|
||||||
"testnodes_5.png^[colorize:#FFFF00:127",
|
"testnodes_5f.png",
|
||||||
"testnodes_6.png^[colorize:#FFFF00:127",
|
"testnodes_6f.png",
|
||||||
},
|
},
|
||||||
|
|
||||||
groups = { dig_immediate = 3 },
|
groups = { dig_immediate = 3 },
|
||||||
@ -60,12 +60,12 @@ minetest.register_node("testnodes:4dir_nodebox", {
|
|||||||
description = S("4dir Nodebox Test Node").."\n"..
|
description = S("4dir Nodebox Test Node").."\n"..
|
||||||
S("param2 = 4dir rotation (0..3)"),
|
S("param2 = 4dir rotation (0..3)"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"testnodes_1.png^[colorize:#ffff00:127",
|
"testnodes_1f.png",
|
||||||
"testnodes_2.png^[colorize:#ffff00:127",
|
"testnodes_2f.png",
|
||||||
"testnodes_3.png^[colorize:#ffff00:127",
|
"testnodes_3f.png",
|
||||||
"testnodes_4.png^[colorize:#ffff00:127",
|
"testnodes_4f.png",
|
||||||
"testnodes_5.png^[colorize:#ffff00:127",
|
"testnodes_5f.png",
|
||||||
"testnodes_6.png^[colorize:#ffff00:127",
|
"testnodes_6f.png",
|
||||||
},
|
},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
@ -176,12 +176,12 @@ minetest.register_node("testnodes:color4dir", {
|
|||||||
paramtype2 = "color4dir",
|
paramtype2 = "color4dir",
|
||||||
palette = "testnodes_palette_4dir.png",
|
palette = "testnodes_palette_4dir.png",
|
||||||
tiles = {
|
tiles = {
|
||||||
"testnodes_1g.png",
|
"testnodes_1fg.png",
|
||||||
"testnodes_2g.png",
|
"testnodes_2fg.png",
|
||||||
"testnodes_3g.png",
|
"testnodes_3fg.png",
|
||||||
"testnodes_4g.png",
|
"testnodes_4fg.png",
|
||||||
"testnodes_5g.png",
|
"testnodes_5fg.png",
|
||||||
"testnodes_6g.png",
|
"testnodes_6fg.png",
|
||||||
},
|
},
|
||||||
|
|
||||||
groups = { dig_immediate = 3 },
|
groups = { dig_immediate = 3 },
|
||||||
@ -191,12 +191,12 @@ minetest.register_node("testnodes:color4dir_nodebox", {
|
|||||||
description = S("Color 4dir Nodebox Test Node").."\n"..
|
description = S("Color 4dir Nodebox Test Node").."\n"..
|
||||||
S("param2 = color + 4dir rotation (0..255)"),
|
S("param2 = color + 4dir rotation (0..255)"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"testnodes_1g.png",
|
"testnodes_1fg.png",
|
||||||
"testnodes_2g.png",
|
"testnodes_2fg.png",
|
||||||
"testnodes_3g.png",
|
"testnodes_3fg.png",
|
||||||
"testnodes_4g.png",
|
"testnodes_4fg.png",
|
||||||
"testnodes_5g.png",
|
"testnodes_5fg.png",
|
||||||
"testnodes_6g.png",
|
"testnodes_6fg.png",
|
||||||
},
|
},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
@ -19,12 +19,12 @@ minetest.register_node("testnodes:falling_facedir", {
|
|||||||
S("Falls down if no node below").."\n"..
|
S("Falls down if no node below").."\n"..
|
||||||
S("param2 = facedir rotation"),
|
S("param2 = facedir rotation"),
|
||||||
tiles = {
|
tiles = {
|
||||||
"testnodes_1.png^[brighten",
|
"testnodes_node_falling_1.png",
|
||||||
"testnodes_2.png^[brighten",
|
"testnodes_node_falling_2.png",
|
||||||
"testnodes_3.png^[brighten",
|
"testnodes_node_falling_3.png",
|
||||||
"testnodes_4.png^[brighten",
|
"testnodes_node_falling_4.png",
|
||||||
"testnodes_5.png^[brighten",
|
"testnodes_node_falling_5.png",
|
||||||
"testnodes_6.png^[brighten",
|
"testnodes_node_falling_6.png",
|
||||||
},
|
},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
groups = { falling_node = 1, dig_immediate = 3 },
|
groups = { falling_node = 1, dig_immediate = 3 },
|
||||||
|
BIN
games/devtest/mods/testnodes/textures/testnodes_1f.png
Normal file
After Width: | Height: | Size: 153 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_1fg.png
Normal file
After Width: | Height: | Size: 108 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_2f.png
Normal file
After Width: | Height: | Size: 141 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_2fg.png
Normal file
After Width: | Height: | Size: 118 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_3f.png
Normal file
After Width: | Height: | Size: 158 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_3fg.png
Normal file
After Width: | Height: | Size: 114 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_4f.png
Normal file
After Width: | Height: | Size: 152 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_4fg.png
Normal file
After Width: | Height: | Size: 103 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_5f.png
Normal file
After Width: | Height: | Size: 156 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_5fg.png
Normal file
After Width: | Height: | Size: 109 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_6f.png
Normal file
After Width: | Height: | Size: 158 B |
BIN
games/devtest/mods/testnodes/textures/testnodes_6fg.png
Normal file
After Width: | Height: | Size: 111 B |
After Width: | Height: | Size: 84 B |
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 86 B |
After Width: | Height: | Size: 96 B |
After Width: | Height: | Size: 86 B |
After Width: | Height: | Size: 99 B |
After Width: | Height: | Size: 126 B |
After Width: | Height: | Size: 135 B |
After Width: | Height: | Size: 125 B |
After Width: | Height: | Size: 123 B |
After Width: | Height: | Size: 123 B |
After Width: | Height: | Size: 122 B |