Skip to content

Commit

Permalink
Default, vessels: Darken shelf empty slot icons
Browse files Browse the repository at this point in the history
Rename slot icons.
  • Loading branch information
Wuzzy authored and paramat committed Nov 7, 2016
1 parent 3109f38 commit 6e00dde
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mods/default/README.txt
Expand Up @@ -141,7 +141,7 @@ BlockMen (CC BY-SA 3.0):
gui_*.png

Wuzzy (CC BY-SA 3.0):
default_book_slot.png (based on default_book.png)
default_bookshelf_slot.png (based on default_book.png)

sofar (CC BY-SA 3.0):
default_book_written.png, based on default_book.png
Expand Down
2 changes: 1 addition & 1 deletion mods/default/nodes.lua
Expand Up @@ -1817,7 +1817,7 @@ for i = 1, 16 do
by = by + 1
end
bookshelf_formspec = bookshelf_formspec ..
"image["..bx..","..by..";1,1;default_book_slot.png]"
"image[" .. bx .. "," .. by .. ";1,1;default_bookshelf_slot.png]"
bx = bx + 1
end
Expand Down
Binary file removed mods/default/textures/default_book_slot.png
Binary file not shown.
Binary file added mods/default/textures/default_bookshelf_slot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion mods/vessels/README.txt
Expand Up @@ -19,4 +19,4 @@ The following textures were modified by Thomas-S (CC BY-SA 3.0):
vessels_steel_bottle.png

The following texture was created by Wuzzy (CC BY-SA 3.0):
vessels_glass_bottle_slot.png (based on vessels_glass_bottle.png)
vessels_shelf_slot.png (based on vessels_glass_bottle.png)
4 changes: 2 additions & 2 deletions mods/vessels/init.lua
Expand Up @@ -15,13 +15,13 @@ local vessels_shelf_formspec =

-- Inventory slots overlay
local vx, vy = 0, 0.3
for i = 1,16 do
for i = 1, 16 do
if i == 9 then
vx = 0
vy = vy + 1
end
vessels_shelf_formspec = vessels_shelf_formspec ..
"image["..vx..","..vy..";1,1;vessels_glass_bottle_slot.png]"
"image[" .. vx .. "," .. vy .. ";1,1;vessels_shelf_slot.png]"
vx = vx + 1
end

Expand Down
Binary file removed mods/vessels/textures/vessels_glass_bottle_slot.png
Binary file not shown.
Binary file added mods/vessels/textures/vessels_shelf_slot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6e00dde

Please sign in to comment.