summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2016-08-01 21:34:23 +0200
committerrubenwardy <rubenwardy@gmail.com>2016-08-01 20:34:23 +0100
commit5dec2fd60b9b5a21bfb474f06d40a74c602c180d (patch)
tree616dc6b27c63ce50212010c87b6078b97d9c3f44 /api.lua
parent7eeebf0f403d78f734fb10fc82cc066df4553815 (diff)
Make textures follow naming conventions
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/api.lua b/api.lua
index 1fd8a29..a1ed306 100644
--- a/api.lua
+++ b/api.lua
@@ -220,8 +220,8 @@ function awards.unlock(name, award)
-- Get Notification Settings
local title = awdef.title or award
local desc = awdef.description or ""
- local background = awdef.background or "bg_default.png"
- local icon = awdef.icon or "unknown.png"
+ local background = awdef.background or "awards_bg_default.png"
+ local icon = awdef.icon or "awards_unknown.png"
local custom_announce = awdef.custom_announce or S("Achievement Unlocked:")
-- Do Notification
@@ -309,7 +309,7 @@ function awards.getFormspec(name, to, sid)
local def = awards.def[item.name]
if def and def.secret and not item.got then
formspec = formspec .. "label[1,2.75;Secret Award]"..
- "image[1,0;3,3;unknown.png]"
+ "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]"
end