Skip to content

Commit

Permalink
DevTest: More node textures to tell them apart
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 authored and sfan5 committed Oct 23, 2022
1 parent 11d1a9c commit c73d798
Show file tree
Hide file tree
Showing 29 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions games/devtest/mods/testnodes/drawtypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ minetest.register_node("testnodes:mesh_degrotate", {
paramtype = "light",
paramtype2 = "degrotate",
mesh = "testnodes_ocorner.obj",
tiles = { "testnodes_mesh_stripes2.png" },
tiles = { "testnodes_mesh_stripes7.png" },

on_rightclick = rotate_on_rightclick,
place_param2 = 10, -- 15°
Expand All @@ -312,7 +312,7 @@ minetest.register_node("testnodes:mesh_colordegrotate", {
paramtype2 = "colordegrotate",
palette = "testnodes_palette_facedir.png",
mesh = "testnodes_ocorner.obj",
tiles = { "testnodes_mesh_stripes3.png" },
tiles = { "testnodes_mesh_stripes8.png" },

on_rightclick = rotate_on_rightclick,
-- color index 1, 1 step (=15°) rotated
Expand Down
8 changes: 4 additions & 4 deletions games/devtest/mods/testnodes/meshes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ minetest.register_node("testnodes:mesh_4dir", {
S("param2 = 4dir rotation (0..3)"),
drawtype = "mesh",
mesh = "testnodes_ocorner.obj",
tiles = {"testnodes_mesh_stripes.png"},
tiles = {"testnodes_mesh_stripes5.png"},
paramtype = "light",
paramtype2 = "4dir",
collision_box = ocorner_cbox,
Expand All @@ -80,7 +80,7 @@ minetest.register_node("testnodes:mesh_color4dir", {
S("param2 = color + 4dir rotation (0..255)"),
drawtype = "mesh",
mesh = "testnodes_ocorner.obj",
tiles = {"testnodes_mesh_stripes3.png"},
tiles = {"testnodes_mesh_stripes6.png"},
paramtype = "light",
paramtype2 = "color4dir",
palette = "testnodes_palette_4dir.png",
Expand All @@ -95,7 +95,7 @@ minetest.register_node("testnodes:mesh_wallmounted", {
S("param2 = wallmounted rotation (0..5)"),
drawtype = "mesh",
mesh = "testnodes_pyramid.obj",
tiles = {"testnodes_mesh_stripes2.png"},
tiles = {"testnodes_mesh_stripes9.png"},
paramtype = "light",
paramtype2 = "wallmounted",
collision_box = tall_pyr_cbox,
Expand All @@ -108,7 +108,7 @@ minetest.register_node("testnodes:mesh_colorwallmounted", {
S("param2 = color + wallmounted rotation (0..5, 8..13, ...)"),
drawtype = "mesh",
mesh = "testnodes_pyramid.obj",
tiles = {"testnodes_mesh_stripes3.png"},
tiles = {"testnodes_mesh_stripes10.png"},
paramtype = "light",
paramtype2 = "colorwallmounted",
palette = "testnodes_palette_wallmounted.png",
Expand Down
12 changes: 6 additions & 6 deletions games/devtest/mods/testnodes/nodeboxes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ minetest.register_node("testnodes:nodebox_connected_4dir", {
S("Connects to neighbors").."\n"..
S("param2 = 4dir rotation of textures (not of the nodebox!)"),
tiles = {
"testnodes_1.png^[colorize:#FFFF00:127",
"testnodes_2.png^[colorize:#FFFF00:127",
"testnodes_3.png^[colorize:#FFFF00:127",
"testnodes_4.png^[colorize:#FFFF00:127",
"testnodes_5.png^[colorize:#FFFF00:127",
"testnodes_6.png^[colorize:#FFFF00:127",
"testnodes_1f.png",
"testnodes_2f.png",
"testnodes_3f.png",
"testnodes_4f.png",
"testnodes_5f.png",
"testnodes_6f.png",
},
groups = {connected_nodebox=1, dig_immediate=3},
drawtype = "nodebox",
Expand Down
48 changes: 24 additions & 24 deletions games/devtest/mods/testnodes/param2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ minetest.register_node("testnodes:4dir", {
S("param2 = 4dir rotation (0..3)"),
paramtype2 = "4dir",
tiles = {
"testnodes_1.png^[colorize:#FFFF00:127",
"testnodes_2.png^[colorize:#FFFF00:127",
"testnodes_3.png^[colorize:#FFFF00:127",
"testnodes_4.png^[colorize:#FFFF00:127",
"testnodes_5.png^[colorize:#FFFF00:127",
"testnodes_6.png^[colorize:#FFFF00:127",
"testnodes_1f.png",
"testnodes_2f.png",
"testnodes_3f.png",
"testnodes_4f.png",
"testnodes_5f.png",
"testnodes_6f.png",
},

groups = { dig_immediate = 3 },
Expand Down Expand Up @@ -60,12 +60,12 @@ minetest.register_node("testnodes:4dir_nodebox", {
description = S("4dir Nodebox Test Node").."\n"..
S("param2 = 4dir rotation (0..3)"),
tiles = {
"testnodes_1.png^[colorize:#ffff00:127",
"testnodes_2.png^[colorize:#ffff00:127",
"testnodes_3.png^[colorize:#ffff00:127",
"testnodes_4.png^[colorize:#ffff00:127",
"testnodes_5.png^[colorize:#ffff00:127",
"testnodes_6.png^[colorize:#ffff00:127",
"testnodes_1f.png",
"testnodes_2f.png",
"testnodes_3f.png",
"testnodes_4f.png",
"testnodes_5f.png",
"testnodes_6f.png",
},
drawtype = "nodebox",
paramtype = "light",
Expand Down Expand Up @@ -176,12 +176,12 @@ minetest.register_node("testnodes:color4dir", {
paramtype2 = "color4dir",
palette = "testnodes_palette_4dir.png",
tiles = {
"testnodes_1g.png",
"testnodes_2g.png",
"testnodes_3g.png",
"testnodes_4g.png",
"testnodes_5g.png",
"testnodes_6g.png",
"testnodes_1fg.png",
"testnodes_2fg.png",
"testnodes_3fg.png",
"testnodes_4fg.png",
"testnodes_5fg.png",
"testnodes_6fg.png",
},

groups = { dig_immediate = 3 },
Expand All @@ -191,12 +191,12 @@ minetest.register_node("testnodes:color4dir_nodebox", {
description = S("Color 4dir Nodebox Test Node").."\n"..
S("param2 = color + 4dir rotation (0..255)"),
tiles = {
"testnodes_1g.png",
"testnodes_2g.png",
"testnodes_3g.png",
"testnodes_4g.png",
"testnodes_5g.png",
"testnodes_6g.png",
"testnodes_1fg.png",
"testnodes_2fg.png",
"testnodes_3fg.png",
"testnodes_4fg.png",
"testnodes_5fg.png",
"testnodes_6fg.png",
},
drawtype = "nodebox",
paramtype = "light",
Expand Down
12 changes: 6 additions & 6 deletions games/devtest/mods/testnodes/properties.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ minetest.register_node("testnodes:falling_facedir", {
S("Falls down if no node below").."\n"..
S("param2 = facedir rotation"),
tiles = {
"testnodes_1.png^[brighten",
"testnodes_2.png^[brighten",
"testnodes_3.png^[brighten",
"testnodes_4.png^[brighten",
"testnodes_5.png^[brighten",
"testnodes_6.png^[brighten",
"testnodes_node_falling_1.png",
"testnodes_node_falling_2.png",
"testnodes_node_falling_3.png",
"testnodes_node_falling_4.png",
"testnodes_node_falling_5.png",
"testnodes_node_falling_6.png",
},
paramtype2 = "facedir",
groups = { falling_node = 1, dig_immediate = 3 },
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c73d798

Please sign in to comment.