1
0
mirror of https://github.com/minetest/minetest.git synced 2024-12-28 19:50:28 +01:00

DevTest: Colorize 2 nodebox nodes

This commit is contained in:
Wuzzy 2022-10-09 16:50:35 +02:00 committed by sfan5
parent 7a8ac00f9c
commit 0a82cb4072

View File

@ -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",