summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlua/helpers.lua2
-rwxr-xr-xlua/visual.lua6
-rw-r--r--textures/drawers_empty.pngbin74 -> 0 bytes
3 files changed, 4 insertions, 4 deletions
diff --git a/lua/helpers.lua b/lua/helpers.lua
index 51103d9..12997d1 100755
--- a/lua/helpers.lua
+++ b/lua/helpers.lua
@@ -40,7 +40,7 @@ function drawers.gen_info_text(basename, count, factor, stack_max)
end
function drawers.get_inv_image(name)
- local texture = "drawers_empty.png"
+ local texture = "blank.png"
local def = core.registered_items[name]
if name ~= "air" and def then
if def.inventory_image and #def.inventory_image > 0 then
diff --git a/lua/visual.lua b/lua/visual.lua
index aee4a3b..178b15f 100755
--- a/lua/visual.lua
+++ b/lua/visual.lua
@@ -32,7 +32,7 @@ core.register_entity("drawers:visual", {
collisionbox = {-0.4374, -0.4374, 0, 0.4374, 0.4374, 0}, -- for param2 0, 2
visual = "upright_sprite", -- "wielditem" for items without inv img?
visual_size = {x = 0.6, y = 0.6},
- textures = {"drawers_empty.png"},
+ textures = {"blank.png"},
spritediv = {x = 1, y = 1},
initial_sprite_basepos = {x = 0, y = 0},
is_visible = true,
@@ -63,7 +63,7 @@ core.register_entity("drawers:visual", {
self.visualId = data.visualId or ""
else
self.drawer_pos = drawers.last_drawer_pos
- self.texture = drawers.last_texture or "drawers_empty.png"
+ self.texture = drawers.last_texture or "blank.png"
self.visualId = drawers.last_visual_id
self.drawerType = drawers.last_drawer_type
end
@@ -178,7 +178,7 @@ core.register_entity("drawers:visual", {
if self.count <= 0 then
self.itemName = ""
meta:set_string("name"..self.visualId, self.itemName)
- self.texture = "drawers_empty.png"
+ self.texture = "blank.png"
itemDescription = "Empty"
end
diff --git a/textures/drawers_empty.png b/textures/drawers_empty.png
deleted file mode 100644
index fa95114..0000000
--- a/textures/drawers_empty.png
+++ /dev/null
Binary files differ