From cb16b39611ba39e56ad8deecce329e49f478601c Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Mon, 1 Jan 2018 22:33:03 -0500 Subject: [PATCH] add new texture and alpha colorization --- grinder.lua | 2 +- textures/basic_machines_dust.png | Bin 119 -> 239 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/grinder.lua b/grinder.lua index 4693677..a794e66 100644 --- a/grinder.lua +++ b/grinder.lua @@ -247,7 +247,7 @@ local function register_dust(name,input_node_name,ingot,grindcost,cooktime,R,G,B local purity = purity_table[i]; minetest.register_craftitem("basic_machines:"..name.."_dust_".. purity, { description = name.. " dust purity " .. purity .. "%" , - inventory_image = "basic_machines_dust.png^[colorize:#"..R..G..B..":180", + inventory_image = "basic_machines_dust.png^[colorize:#"..R..G..B..":"..purity * 2, }) end diff --git a/textures/basic_machines_dust.png b/textures/basic_machines_dust.png index efa2dbedca39aacb27c3a27c8144b7b7fe968ff7..59fa24bfcee98855b12324d19be03494b91d12ef 100644 GIT binary patch delta 222 zcmXSa&p1J%o`so#f#L1lM?pYJG{7gsHNPk~J3G6su5Qw#Nz0Zk+p}lS#fujmw(tH5 zRKQpgi)Y2h&sQPIW09W#e({YU1f}5EB+)KYYgQP?{pc(l4B~);!N7 QfaWuJy85}Sb4q9e02ZZ6m;e9( delta 101 zcmaFQSUy1_o{5=(fgx$G_$MI68Q>G*>R#Y;=FFM@|Nkd6F4Y1GGL{7S1v5B2yO9Ru z$auOqhHzX@PFTQFz{b#dMu3g&*aj1Jwu@6|3NuJqGoN-Bd>8~&$KdJe=d#Wzp$Pz+ C86a)|