Add different image for written books

master
BlockMen 2015-10-22 18:21:42 +02:00
parent 40ada9f1c2
commit 07092f84a7
3 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@ This mod is part of Minetest NeXt
License of source code:
-----------------------
Copyright (C) 2011-2012 celeron55, Perttu Ahola <celeron55@gmail.com>
Copyright (C) 2014-2015 BlockMen <blockmen2015@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -130,6 +131,7 @@ BlockMen (CC BY-SA 3.0):
default_diamond.png
default_diamond_block.png
default_book.png
default_book_written.png
default_tool_*.png
default_lava_source_animated.png
default_lava_flowing_animated.png

View File

@ -67,8 +67,8 @@ minetest.register_craftitem("default:book", {
})
minetest.register_craftitem("default:book_written", {
description = "Book With Text",
inventory_image = "default_book.png",
description = "Book with Text",
inventory_image = "default_book_written.png",
groups = {book=1, not_in_creative_inventory=1, fuel=2},
stack_max = 1,
on_use = book_on_use,

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B