From: Auke Kok Date: Tue, 8 Dec 2015 00:29:33 +0000 (-0800) Subject: Add a separate image for a written book. X-Git-Tag: 0.4.14~180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b57ecb94df2bfc1c6383a3d35465e22b683821ee;p=oweals%2Fminetest_game.git 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. --- diff --git a/mods/default/README.txt b/mods/default/README.txt index f0dea682..5b07a36c 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 c41129d3..bbe11f52 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 00000000..d843e5f6 Binary files /dev/null and b/mods/default/textures/default_book_written.png differ