Skip to content

Commit

Permalink
Add a separate image for a written book.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sofar authored and sfan5 committed Dec 12, 2015
1 parent c66a98b commit b57ecb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions mods/default/README.txt
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mods/default/craftitems.lua
Expand Up @@ -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,
Expand Down
Binary file added mods/default/textures/default_book_written.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 b57ecb9

Please sign in to comment.