From 49f251136e4de615f6d5cefe4a37a0dbb349c25a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 1 Aug 2016 20:13:49 +0200 Subject: [PATCH] Make secret awards darker in list + other tweaks --- api.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.lua b/api.lua index 5c25da9..74f2d8e 100644 --- a/api.lua +++ b/api.lua @@ -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