Tweak book item name

This commit is contained in:
Wuzzy 2019-08-28 22:13:07 +02:00
parent f8ecf46736
commit 840df7d711
3 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,7 @@ minetest.register_on_player_receive_fields(
local meta = itemstack:get_meta() local meta = itemstack:get_meta()
meta:set_string("description", fields.title) -- Set the item description meta:set_string("description", S("Book: “@1”", minetest.colorize("#ffff00", fields.title))) -- Set the item description
meta:set_string("book:title", fields.title) meta:set_string("book:title", fields.title)
meta:set_string("book:text", fields.text) meta:set_string("book:text", fields.text)

View File

@ -5,3 +5,4 @@ Contents:=Inhalt:
Write=Schreiben Write=Schreiben
Scribe=Schreiber Scribe=Schreiber
Craft a book=Fertigen Sie ein Buch Craft a book=Fertigen Sie ein Buch
Book: “@1”=Buch: „@1“

View File

@ -5,3 +5,4 @@ Contents:=
Write= Write=
Scribe= Scribe=
Craft a book= Craft a book=
Book: “@1”=