1
0
mirror of https://github.com/minetest/minetest.git synced 2024-12-28 11:40:30 +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", {
description = S("Leveled Nodebox Test Node").."\n"..
S("param2 = height (0..127)"),
tiles = {"testnodes_nodebox.png"},
tiles = {"testnodes_nodebox.png^[colorize:#0F0:32"},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "leveled",
@ -85,7 +85,7 @@ local nodebox_wall_thick = {
minetest.register_node("testnodes:nodebox_connected", {
description = S("Connected Nodebox Test Node").."\n"..
S("Connects to neighbors"),
tiles = {"testnodes_nodebox.png"},
tiles = {"testnodes_nodebox.png^[colorize:#F00:32"},
groups = {connected_nodebox=1, dig_immediate=3},
drawtype = "nodebox",
paramtype = "light",