From 6e00ddee2ae21490efbe7723a946b68715ac7a07 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 6 Nov 2016 15:54:55 +0100 Subject: [PATCH] Default, vessels: Darken shelf empty slot icons Rename slot icons. --- mods/default/README.txt | 2 +- mods/default/nodes.lua | 2 +- mods/default/textures/default_book_slot.png | Bin 204 -> 0 bytes mods/default/textures/default_bookshelf_slot.png | Bin 0 -> 216 bytes mods/vessels/README.txt | 2 +- mods/vessels/init.lua | 4 ++-- .../textures/vessels_glass_bottle_slot.png | Bin 196 -> 0 bytes mods/vessels/textures/vessels_shelf_slot.png | Bin 0 -> 201 bytes 8 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 mods/default/textures/default_book_slot.png create mode 100644 mods/default/textures/default_bookshelf_slot.png delete mode 100644 mods/vessels/textures/vessels_glass_bottle_slot.png create mode 100644 mods/vessels/textures/vessels_shelf_slot.png diff --git a/mods/default/README.txt b/mods/default/README.txt index 6b26234c..d7fede08 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -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 diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 222df92c..9fbf30f3 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -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 diff --git a/mods/default/textures/default_book_slot.png b/mods/default/textures/default_book_slot.png deleted file mode 100644 index 20b4ef844b354736afec5779f60c57eb9724a889..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 204 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt$P6UkCGKknQjEnx?oJHr&dIz4a@YcVLR^7# zLqo%)%$+JA>5?G7UYh7ML)4Eal|aXmSqp@E&}3=@xy91oi&PoEnP`z;AE4?`c1qz^gC m0h1F1JQ5z{BqTIzu`(Q*$nN{BWt}xpH-o3EpUXO@geCyKmoeD@ diff --git a/mods/default/textures/default_bookshelf_slot.png b/mods/default/textures/default_bookshelf_slot.png new file mode 100644 index 0000000000000000000000000000000000000000..31c4eb5e6e25b208782e7ec11c8b527a125ebb02 GIT binary patch literal 216 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt!3-oH7vA{>q!^2X+?^QKos)S9~bp9zYIffk$L90|U1(2s1Lwnj--eWH0gb zb!C6R&BkZK>iPBST%eGhr;B5V#O34!1t|j~qeVrIENs&SJGmDg(9sarV>0d*T-YUe zQo~JU^8+!(*C{D3M*N8~o5Wf;Rvo^$^9Lh?f)a!IS@r3CK$93eUHx3vIVCg!0H38d ATmS$7 literal 0 HcmV?d00001 diff --git a/mods/vessels/README.txt b/mods/vessels/README.txt index e9f01b84..5bb798c8 100644 --- a/mods/vessels/README.txt +++ b/mods/vessels/README.txt @@ -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) diff --git a/mods/vessels/init.lua b/mods/vessels/init.lua index 64ad66eb..c243bc09 100644 --- a/mods/vessels/init.lua +++ b/mods/vessels/init.lua @@ -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 diff --git a/mods/vessels/textures/vessels_glass_bottle_slot.png b/mods/vessels/textures/vessels_glass_bottle_slot.png deleted file mode 100644 index 63cf7952f9b5d662ef92709481951b567d87c6a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 196 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;V{wqX6T`Z5GB1G~wg8_HS0LTc z&@d@;rwT~AB*-tA!Qt7BG!Q4r+uensgH_f8$l)yTh%9Dc;1&j9Muu5)B!GhKC7!;n z><_r41w|})3hqw?3Tb(|IEHXsPfl=P>fz;i!!I#|-@w4KL7;|0{k;OXk;vd$@?2>|sqD)0aR diff --git a/mods/vessels/textures/vessels_shelf_slot.png b/mods/vessels/textures/vessels_shelf_slot.png new file mode 100644 index 0000000000000000000000000000000000000000..ff29082a0371748e6eb0bd656141466790085dba GIT binary patch literal 201 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~wg8_HS0Eh_ z5Fo)l`#wmzB*-tA!Qt7BG!Q4r+uensgH_f8$l)yTh%9Dc;1&j9Muu5)B!GhKC7!;n z><_rv_>5J&?iRBEh4ejL977~7CnqeBOGt5f+{CbpW0jD>A>{)c>JOM!cu8EGYM|74 ji1or(g9XvdgTe~DWM4f4mvQ) literal 0 HcmV?d00001 -- 2.25.1