1
0
Fork 0

Colorize music disc tooltips

This commit is contained in:
Wuzzy 2017-01-11 23:04:50 +01:00
parent 7372f5fc2b
commit f8ffe6e960
1 changed files with 2 additions and 3 deletions

View File

@ -16,9 +16,8 @@ local records = #recorddata
for r=1, records do
minetest.register_craftitem("mcl_jukebox:record_"..r, {
description =
"Music Disc" .. "\n" ..
recorddata[r][1] .. "\n" ..
recorddata[r][2],
core.colorize("#75FFEA", "Music Disc") .. "\n" ..
core.colorize("#909090", recorddata[r][2] .. "" .. recorddata[r][1]),
inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png",
stack_max = 1,
groups = { music_record = r },