From 3224ddad3851011cb6eae55e1bfdbbd855030ba6 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Tue, 31 Jan 2017 20:03:21 -0700 Subject: [PATCH] using masking to simplify texture editing --- ropeboxes.lua | 4 ++-- textures/ropes_1rope_frontback.png | Bin 142 -> 0 bytes textures/ropes_2rope_frontback.png | Bin 154 -> 0 bytes textures/ropes_3rope_frontback.png | Bin 162 -> 0 bytes textures/ropes_4rope_frontback.png | Bin 155 -> 0 bytes textures/ropes_5rope_frontback.png | Bin 149 -> 0 bytes textures/ropes_mask.png | Bin 0 -> 145 bytes 7 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 textures/ropes_1rope_frontback.png delete mode 100644 textures/ropes_2rope_frontback.png delete mode 100644 textures/ropes_3rope_frontback.png delete mode 100644 textures/ropes_4rope_frontback.png delete mode 100644 textures/ropes_5rope_frontback.png create mode 100644 textures/ropes_mask.png diff --git a/ropeboxes.lua b/ropeboxes.lua index fbe407a..b8a65c7 100644 --- a/ropeboxes.lua +++ b/ropeboxes.lua @@ -11,8 +11,8 @@ local function register_rope_block(multiple, pixels) string.format("default_wood.png^ropes_%irope.png", multiple), "default_wood.png^ropes_side.png", "default_wood.png^ropes_side.png", - string.format("default_wood.png^ropes_%irope_frontback.png", multiple), - string.format("default_wood.png^ropes_%irope_frontback.png", multiple), + string.format("default_wood.png^(ropes_%irope.png^[mask:ropes_mask.png)", multiple), + string.format("default_wood.png^(ropes_%irope.png^[mask:ropes_mask.png)", multiple), }, node_box = { type = "fixed", diff --git a/textures/ropes_1rope_frontback.png b/textures/ropes_1rope_frontback.png deleted file mode 100644 index 3fe1558ee39246e85aaea58cb75d0d36a0296a00..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPE^3h)VW1=0bYwhmSXKm=i{oKw^V zvY1PP{DOh>ud*ZefRu)(i(?2!baFyMLIGcD1B1A*#^I~1rwn)-jaIB{b7b@~KExuz b+Q7mPVZud*ZefRu@+i(?3fY;rud*ZefRv4=i(?2!^x9K~f(-^d3AnNk$XVO)YHW=gd;jRA%PPJ%o2d05C}>c41F3HjwFAnNk$XT&-_yl0q#|zZDMv;I0Re^$nF>sj84WC7&L1k>@I7K-Vq3GI l+PTfU|Fdg&FrEtD%&l=;%r@K6B-Q`` literal 0 HcmV?d00001