diff --git a/3d_armor/api.lua b/3d_armor/api.lua index fa160ed8..49af8081 100644 --- a/3d_armor/api.lua +++ b/3d_armor/api.lua @@ -373,7 +373,7 @@ armor.set_player_armor = function(self, player) local state = 0 local count = 0 local preview = armor:get_preview(name) - local texture = "3d_armor_trans.png" + local texture = "blank.png" local physics = {} local attributes = {} local levels = {} diff --git a/3d_armor/init.lua b/3d_armor/init.lua index 1d67c632..e12bc88c 100644 --- a/3d_armor/init.lua +++ b/3d_armor/init.lua @@ -268,8 +268,8 @@ local function init_player_armor(initplayer) local skin = armor:get_player_skin(name) armor.textures[name] = { skin = skin, - armor = "3d_armor_trans.png", - wielditem = "3d_armor_trans.png", + armor = "blank.png", + wielditem = "blank.png", preview = armor.default_skin.."_preview.png", } local texture_path = minetest.get_modpath("player_textures") @@ -291,8 +291,8 @@ player_api.register_model("3d_armor_character.b3d", { animation_speed = 30, textures = { armor.default_skin..".png", - "3d_armor_trans.png", - "3d_armor_trans.png", + "blank.png", + "blank.png", }, animations = { stand = {x=0, y=79}, diff --git a/3d_armor/textures/3d_armor_trans.png b/3d_armor/textures/3d_armor_trans.png deleted file mode 100644 index 4a31242b..00000000 Binary files a/3d_armor/textures/3d_armor_trans.png and /dev/null differ diff --git a/3d_armor_stand/init.lua b/3d_armor_stand/init.lua index 107c0409..83c29d03 100644 --- a/3d_armor_stand/init.lua +++ b/3d_armor_stand/init.lua @@ -62,7 +62,7 @@ local function update_entity(pos) object = minetest.add_entity(pos, "3d_armor_stand:armor_entity") end if object then - local texture = "3d_armor_trans.png" + local texture = "blank.png" local textures = {} local meta = minetest.get_meta(pos) local inv = meta:get_inventory() @@ -146,7 +146,7 @@ minetest.register_node("3d_armor_stand:top", { groups = {not_in_creative_inventory = 1}, is_ground_content = false, on_blast = function() end, - tiles = {"3d_armor_trans.png"}, + tiles = {"blank.png"}, }) minetest.register_node("3d_armor_stand:armor_stand", { @@ -388,7 +388,7 @@ minetest.register_entity("3d_armor_stand:armor_entity", { mesh = "3d_armor_entity.obj", visual_size = {x=1, y=1}, collisionbox = {0,0,0,0,0,0}, - textures = {"3d_armor_trans.png"}, + textures = {"blank.png"}, }, _pos = nil, on_activate = function(self) diff --git a/wieldview/get_texture.lua b/wieldview/get_texture.lua index ccbd149a..1c84f16b 100644 --- a/wieldview/get_texture.lua +++ b/wieldview/get_texture.lua @@ -92,7 +92,7 @@ local get_image_from_tile = memoize(function(tile) end end - return "3d_armor_trans.png" + return "blank.png" end) local function get_image_cube(tiles) @@ -139,7 +139,7 @@ local function get_image_cube(tiles) ) end - return "3d_armor_trans.png" + return "blank.png" end local function is_normal_node(drawtype) @@ -158,7 +158,7 @@ armor.get_wield_image = memoize(function(item) item = ItemStack(item) if item:is_empty() then - return "3d_armor_trans.png" + return "blank.png" end local def = item:get_definition() @@ -169,7 +169,7 @@ armor.get_wield_image = memoize(function(item) local meta = item:get_meta() local color = meta:get("color") or def.color - local image = "3d_armor_trans.png" + local image = "blank.png" if def.wield_image and def.wield_image ~= "" then local parts = {def.wield_image} @@ -193,7 +193,7 @@ armor.get_wield_image = memoize(function(item) elseif def.type == "node" then if def.drawtype == "nodebox" or def.drawtype == "mesh" then - image = "3d_armor_trans.png" + image = "blank.png" else local tiles = def.tiles diff --git a/wieldview/init.lua b/wieldview/init.lua index ecdece9f..80bb9cff 100644 --- a/wieldview/init.lua +++ b/wieldview/init.lua @@ -14,7 +14,7 @@ dofile(minetest.get_modpath(minetest.get_current_modname()).."/get_texture.lua") dofile(minetest.get_modpath(minetest.get_current_modname()).."/transform.lua") wieldview.get_item_texture = function(self, item) - local texture = "3d_armor_trans.png" + local texture = "blank.png" if item ~= "" then texture = armor.get_wield_image(item)