use propers colors in mcl_jukebox

This commit is contained in:
AFCMS 2021-03-29 22:21:14 +02:00
parent 68d49a43b2
commit f51deb0737
2 changed files with 3 additions and 3 deletions

View file

@ -20,8 +20,8 @@ function mcl_jukebox.register_record(title, author, identifier, image, sound)
local usagehelp = S("Place a music disc into an empty jukebox to play the music. Use the jukebox again to retrieve the music disc. The music can only be heard by you, not by other players.")
minetest.register_craftitem(":mcl_jukebox:record_"..identifier, {
description =
core.colorize("#55FFFF", S("Music Disc")) .. "\n" ..
core.colorize("#989898", S("@1—@2", author, title)),
core.colorize(mcl_colors.AQUA, S("Music Disc")) .. "\n" ..
core.colorize(mcl_colors.GRAY, S("@1—@2", author, title)),
_doc_items_create_entry = true,
_doc_items_entry_name = entryname,
_doc_items_longdesc = longdesc,

View file

@ -1,3 +1,3 @@
name = mcl_jukebox
description = Jukebox and music discs are used to play background music on a per-player basis.
depends = mcl_core, mcl_sounds
depends = mcl_core, mcl_sounds, mcl_colors