summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-05 17:56:01 +0100
committerrubenwardy <rw@rubenwardy.com>2018-04-05 17:56:01 +0100
commit75c01a188a75e49ae79bdea05148dcfdb098c8ec (patch)
tree654e446fd2a095c29a441beab03be8f3c232fa07 /api.lua
parenta5768efbc066d8040164825e72ec71b0a84b889b (diff)
Replace all mentions of achievements with awards
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/api.lua b/api.lua
index 970163a..9cf60d1 100644
--- a/api.lua
+++ b/api.lua
@@ -412,9 +412,9 @@ function awards.unlock(name, award)
if awards.show_mode == "chat" then
local chat_announce
if awdef.secret then
- chat_announce = S("Secret Achievement Unlocked: %s")
+ chat_announce = S("Secret Award Unlocked: %s")
else
- chat_announce = S("Achievement Unlocked: %s")
+ chat_announce = S("Award Unlocked: %s")
end
-- use the chat console to send it
minetest.chat_send_player(name, string.format(chat_announce, title))
@@ -434,9 +434,9 @@ function awards.unlock(name, award)
})
local hud_announce
if awdef.secret then
- hud_announce = S("Secret Achievement Unlocked!")
+ hud_announce = S("Secret Award Unlocked!")
else
- hud_announce = S("Achievement Unlocked!")
+ hud_announce = S("Award Unlocked!")
end
local two = player:hud_add({
hud_elem_type = "text",