Tweak book item name
This commit is contained in:
parent
f8ecf46736
commit
840df7d711
@ -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)
|
||||||
|
@ -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“
|
||||||
|
@ -5,3 +5,4 @@ Contents:=
|
|||||||
Write=
|
Write=
|
||||||
Scribe=
|
Scribe=
|
||||||
Craft a book=
|
Craft a book=
|
||||||
|
Book: “@1”=
|
||||||
|
Loading…
Reference in New Issue
Block a user