From b57ecb94df2bfc1c6383a3d35465e22b683821ee Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 7 Dec 2015 16:29:33 -0800 Subject: [PATCH] Add a separate image for a written book. Since written books are quite different from empty books, the visual clue that they are different items is really needed in-game. I've added a "clasp" or "belt-with-buckle" like element to the png from default_book, keeping them very similar but also immediately recgnizably different. I added the new texture to blockmen's license list since it's obviously derivative of his work. The PNG was run through a minimizer/optimizer to save space. --- mods/default/README.txt | 3 +++ mods/default/craftitems.lua | 2 +- mods/default/textures/default_book_written.png | Bin 0 -> 228 bytes 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 mods/default/textures/default_book_written.png diff --git a/mods/default/README.txt b/mods/default/README.txt index f0dea68..5b07a36 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -148,6 +148,9 @@ BlockMen (CC BY-SA 3.0): heart.png gui_*.png +sofar (CC BY-SA 3.0): + default_book_written.png, based on default_book.png + Neuromancer (CC BY-SA 2.0): default_cobble.png, based on texture by Brane praefect default_mossycobble.png, based on texture by Brane praefect diff --git a/mods/default/craftitems.lua b/mods/default/craftitems.lua index c41129d..bbe11f5 100644 --- a/mods/default/craftitems.lua +++ b/mods/default/craftitems.lua @@ -82,7 +82,7 @@ minetest.register_craftitem("default:book", { minetest.register_craftitem("default:book_written", { description = "Book With Text", - inventory_image = "default_book.png", + inventory_image = "default_book_written.png", groups = {book=1, not_in_creative_inventory=1}, stack_max = 1, on_use = book_on_use, diff --git a/mods/default/textures/default_book_written.png b/mods/default/textures/default_book_written.png new file mode 100644 index 0000000000000000000000000000000000000000..d843e5f6d7c7cc0a7a0740aed086390f33713d7e GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt!VDzU8V$b#Dct~{5LX~=r@>Yh!0T_wQ4_>< z`TF_2ySHuGvSR9l+S@m-tXn&O?#%WGYtHv?Ud))(`Ssg7R-gvPk|4ie28U-i(tw;) zPZ!4!j_b(>_*hsMY?-9gk;HPzk4a(Q#tDl%lmZ+)E7o-_n8eV$VDhYwDypuGYzvjW z&hyB+N=vjP%@OH!JuEFD;q5BZdQ`gc))FSy)`MzBdc4AIGj#R_3M8>FX1GwIlAXxF Y@W+}@MPN@vC(uF$Pgg&ebxsLQ07*AZ#Q*>R literal 0 HcmV?d00001