Skip to content

Commit b57ecb9

Browse files
sofarsfan5
authored andcommittedDec 12, 2015
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.
1 parent c66a98b commit b57ecb9

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed
 

Diff for: ‎mods/default/README.txt

+3
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ BlockMen (CC BY-SA 3.0):
148148
heart.png
149149
gui_*.png
150150

151+
sofar (CC BY-SA 3.0):
152+
default_book_written.png, based on default_book.png
153+
151154
Neuromancer (CC BY-SA 2.0):
152155
default_cobble.png, based on texture by Brane praefect
153156
default_mossycobble.png, based on texture by Brane praefect

Diff for: ‎mods/default/craftitems.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ minetest.register_craftitem("default:book", {
8282

8383
minetest.register_craftitem("default:book_written", {
8484
description = "Book With Text",
85-
inventory_image = "default_book.png",
85+
inventory_image = "default_book_written.png",
8686
groups = {book=1, not_in_creative_inventory=1},
8787
stack_max = 1,
8888
on_use = book_on_use,

Diff for: ‎mods/default/textures/default_book_written.png

228 Bytes
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.