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 3fe1558..0000000 Binary files a/textures/ropes_1rope_frontback.png and /dev/null differ diff --git a/textures/ropes_2rope_frontback.png b/textures/ropes_2rope_frontback.png deleted file mode 100644 index 68441cd..0000000 Binary files a/textures/ropes_2rope_frontback.png and /dev/null differ diff --git a/textures/ropes_3rope_frontback.png b/textures/ropes_3rope_frontback.png deleted file mode 100644 index 6f22d71..0000000 Binary files a/textures/ropes_3rope_frontback.png and /dev/null differ diff --git a/textures/ropes_4rope_frontback.png b/textures/ropes_4rope_frontback.png deleted file mode 100644 index e6f7630..0000000 Binary files a/textures/ropes_4rope_frontback.png and /dev/null differ diff --git a/textures/ropes_5rope_frontback.png b/textures/ropes_5rope_frontback.png deleted file mode 100644 index be9e70f..0000000 Binary files a/textures/ropes_5rope_frontback.png and /dev/null differ diff --git a/textures/ropes_mask.png b/textures/ropes_mask.png new file mode 100644 index 0000000..41626f6 Binary files /dev/null and b/textures/ropes_mask.png differ