mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 18:25:10 +00:00
Colorize music disc tooltips
This commit is contained in:
parent
7372f5fc2b
commit
f8ffe6e960
1 changed files with 2 additions and 3 deletions
|
@ -16,9 +16,8 @@ local records = #recorddata
|
||||||
for r=1, records do
|
for r=1, records do
|
||||||
minetest.register_craftitem("mcl_jukebox:record_"..r, {
|
minetest.register_craftitem("mcl_jukebox:record_"..r, {
|
||||||
description =
|
description =
|
||||||
"Music Disc" .. "\n" ..
|
core.colorize("#75FFEA", "Music Disc") .. "\n" ..
|
||||||
recorddata[r][1] .. "\n" ..
|
core.colorize("#909090", recorddata[r][2] .. "—" .. recorddata[r][1]),
|
||||||
recorddata[r][2],
|
|
||||||
inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png",
|
inventory_image = "mcl_jukebox_record_"..recorddata[r][3]..".png",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
groups = { music_record = r },
|
groups = { music_record = r },
|
||||||
|
|
Loading…
Reference in a new issue