From 3bd52754def3ed6c844bc6e1e89f84644a8602b7 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sat, 13 Mar 2021 02:22:06 -0700 Subject: [PATCH] update use_texture_alpha properties --- extendingladder.lua | 2 ++ ropeboxes.lua | 3 +++ ropeladder.lua | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/extendingladder.lua b/extendingladder.lua index beefcd3..80866f6 100644 --- a/extendingladder.lua +++ b/extendingladder.lua @@ -131,6 +131,7 @@ minetest.register_node("ropes:ladder_wood", { _doc_items_longdesc = ropes.doc.ladder_longdesc, _doc_items_usagehelp = ropes.doc.ladder_usagehelp, tiles = {"default_wood.png","default_wood.png","default_wood.png^[transformR270","default_wood.png^[transformR270","default_ladder_wood.png"}, + use_texture_alpha = "clip", inventory_image = "default_ladder_wood.png", wield_image = "default_ladder_wood.png", paramtype = "light", @@ -164,6 +165,7 @@ minetest.register_node("ropes:ladder_steel", { _doc_items_longdesc = ropes.doc.ladder_longdesc, _doc_items_usagehelp = ropes.doc.ladder_usagehelp, tiles = {"default_steel_block.png","default_steel_block.png","default_steel_block.png","default_steel_block.png","default_ladder_steel.png"}, + use_texture_alpha = "clip", inventory_image = "default_ladder_steel.png", wield_image = "default_ladder_steel.png", paramtype = "light", diff --git a/ropeboxes.lua b/ropeboxes.lua index 35be787..245aa2c 100644 --- a/ropeboxes.lua +++ b/ropeboxes.lua @@ -126,6 +126,7 @@ local function register_rope_block(multiple, max_multiple, name_prefix, node_pre walkable = false, climbable = true, tiles = rope_box_tiles(rope_box_data[multiple].tiles, tint), + use_texture_alpha = "clip", node_box = { type = "fixed", fixed = rope_box_data[multiple].node @@ -234,6 +235,7 @@ local rope_def = { paramtype = "light", drop = "", tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" }, + use_texture_alpha = "clip", groups = {choppy=2, flammable=2, not_in_creative_inventory=1}, sounds = { footstep = {name = "ropes_creak", gain = 0.8, max_hear_distance = 6}, @@ -268,6 +270,7 @@ local rope_bottom_def = { paramtype = "light", drop = "", tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" }, + use_texture_alpha = "clip", drawtype = "nodebox", groups = {choppy=2, flammable=2, not_in_creative_inventory=1}, sounds = { diff --git a/ropeladder.lua b/ropeladder.lua index 8320ebd..d805a16 100644 --- a/ropeladder.lua +++ b/ropeladder.lua @@ -27,6 +27,7 @@ local rope_ladder_top_def = { _doc_items_usagehelp = ropes.doc.ropeladder_usage, drawtype = "signlike", tiles = {"default_ladder_wood.png^ropes_ropeladder_top.png"}, + use_texture_alpha = "clip", is_ground_content = false, inventory_image = "default_ladder_wood.png^ropes_ropeladder_top.png", wield_image = "default_ladder_wood.png^ropes_ropeladder_top.png", @@ -89,6 +90,7 @@ minetest.register_node("ropes:ropeladder", { drop = "", drawtype = "signlike", tiles = {"default_ladder_wood.png^ropes_ropeladder.png"}, + use_texture_alpha = "clip", is_ground_content = false, inventory_image = "default_ladder_wood.png^ropes_ropeladder.png", wield_image = "default_ladder_wood.png^ropes_ropeladder.png", @@ -119,6 +121,7 @@ minetest.register_node("ropes:ropeladder_bottom", { drop = "", drawtype = "signlike", tiles = {"default_ladder_wood.png^ropes_ropeladder_bottom.png"}, + use_texture_alpha = "clip", is_ground_content = false, inventory_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png", wield_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png", @@ -153,6 +156,7 @@ minetest.register_node("ropes:ropeladder_falling", { drop = "", drawtype = "signlike", tiles = {"default_ladder_wood.png^ropes_ropeladder.png"}, + use_texture_alpha = "clip", is_ground_content = false, inventory_image = "default_ladder_wood.png^ropes_ropeladder.png", wield_image = "default_ladder_wood.png^ropes_ropeladder.png",