From 5dec2fd60b9b5a21bfb474f06d40a74c602c180d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 1 Aug 2016 21:34:23 +0200 Subject: Make textures follow naming conventions --- api.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api.lua') 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 -- cgit v1.2.3