mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-30 19:33:54 +01:00
update use_texture_alpha properties
This commit is contained in:
parent
44d36cf2c1
commit
3bd52754de
@ -131,6 +131,7 @@ minetest.register_node("ropes:ladder_wood", {
|
|||||||
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
||||||
_doc_items_usagehelp = ropes.doc.ladder_usagehelp,
|
_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"},
|
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",
|
inventory_image = "default_ladder_wood.png",
|
||||||
wield_image = "default_ladder_wood.png",
|
wield_image = "default_ladder_wood.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
@ -164,6 +165,7 @@ minetest.register_node("ropes:ladder_steel", {
|
|||||||
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
_doc_items_longdesc = ropes.doc.ladder_longdesc,
|
||||||
_doc_items_usagehelp = ropes.doc.ladder_usagehelp,
|
_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"},
|
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",
|
inventory_image = "default_ladder_steel.png",
|
||||||
wield_image = "default_ladder_steel.png",
|
wield_image = "default_ladder_steel.png",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
@ -126,6 +126,7 @@ local function register_rope_block(multiple, max_multiple, name_prefix, node_pre
|
|||||||
walkable = false,
|
walkable = false,
|
||||||
climbable = true,
|
climbable = true,
|
||||||
tiles = rope_box_tiles(rope_box_data[multiple].tiles, tint),
|
tiles = rope_box_tiles(rope_box_data[multiple].tiles, tint),
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = rope_box_data[multiple].node
|
fixed = rope_box_data[multiple].node
|
||||||
@ -234,6 +235,7 @@ local rope_def = {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drop = "",
|
drop = "",
|
||||||
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
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},
|
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
||||||
sounds = {
|
sounds = {
|
||||||
footstep = {name = "ropes_creak", gain = 0.8, max_hear_distance = 6},
|
footstep = {name = "ropes_creak", gain = 0.8, max_hear_distance = 6},
|
||||||
@ -268,6 +270,7 @@ local rope_bottom_def = {
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drop = "",
|
drop = "",
|
||||||
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
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",
|
drawtype = "nodebox",
|
||||||
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
||||||
sounds = {
|
sounds = {
|
||||||
|
@ -27,6 +27,7 @@ local rope_ladder_top_def = {
|
|||||||
_doc_items_usagehelp = ropes.doc.ropeladder_usage,
|
_doc_items_usagehelp = ropes.doc.ropeladder_usage,
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder_top.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder_top.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder_top.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder_top.png",
|
||||||
wield_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 = "",
|
drop = "",
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
||||||
wield_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 = "",
|
drop = "",
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder_bottom.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder_bottom.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder_bottom.png",
|
||||||
wield_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 = "",
|
drop = "",
|
||||||
drawtype = "signlike",
|
drawtype = "signlike",
|
||||||
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
tiles = {"default_ladder_wood.png^ropes_ropeladder.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
inventory_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
||||||
wield_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
wield_image = "default_ladder_wood.png^ropes_ropeladder.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user