mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
DevTest: Colorize 2 nodebox nodes
This commit is contained in:
parent
7a8ac00f9c
commit
0a82cb4072
@ -50,7 +50,7 @@ minetest.register_node("testnodes:nodebox_overhigh2", {
|
|||||||
minetest.register_node("testnodes:nodebox_leveled", {
|
minetest.register_node("testnodes:nodebox_leveled", {
|
||||||
description = S("Leveled Nodebox Test Node").."\n"..
|
description = S("Leveled Nodebox Test Node").."\n"..
|
||||||
S("param2 = height (0..127)"),
|
S("param2 = height (0..127)"),
|
||||||
tiles = {"testnodes_nodebox.png"},
|
tiles = {"testnodes_nodebox.png^[colorize:#0F0:32"},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "leveled",
|
paramtype2 = "leveled",
|
||||||
@ -85,7 +85,7 @@ local nodebox_wall_thick = {
|
|||||||
minetest.register_node("testnodes:nodebox_connected", {
|
minetest.register_node("testnodes:nodebox_connected", {
|
||||||
description = S("Connected Nodebox Test Node").."\n"..
|
description = S("Connected Nodebox Test Node").."\n"..
|
||||||
S("Connects to neighbors"),
|
S("Connects to neighbors"),
|
||||||
tiles = {"testnodes_nodebox.png"},
|
tiles = {"testnodes_nodebox.png^[colorize:#F00:32"},
|
||||||
groups = {connected_nodebox=1, dig_immediate=3},
|
groups = {connected_nodebox=1, dig_immediate=3},
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
Loading…
Reference in New Issue
Block a user