Make secret awards darker in list + other tweaks

This commit is contained in:
Wuzzy 2016-08-01 20:13:49 +02:00 committed by rubenwardy
parent 9308b95163
commit 49f251136e
1 changed files with 3 additions and 3 deletions

View File

@ -308,10 +308,10 @@ function awards.getFormspec(name, to, sid)
local item = listofawards[sid+0]
local def = awards.def[item.name]
if def and def.secret and not item.got then
formspec = formspec .. "label[1,2.75;Secret Award]"..
formspec = formspec .. "label[1,2.75;(Secret Award)]"..
"image[1,0;3,3;awards_unknown.png]"
if def and def.description then
formspec = formspec .. "label[0,3.25;Unlock this award to find out what it is]"
formspec = formspec .. "label[0,3.25;Unlock this award to find out what it is.]"
end
else
local title = item.name
@ -362,7 +362,7 @@ function awards.getFormspec(name, to, sid)
first = false
if def.secret and not award.got then
formspec = formspec .. "#ACACACSecret Award"
formspec = formspec .. "#707070(Secret Award)"
else
local title = award.name
if def and def.title then