Replace all mentions of achievements with awards

This commit is contained in:
rubenwardy
2018-04-05 17:56:01 +01:00
parent a5768efbc0
commit 75c01a188a
4 changed files with 21 additions and 21 deletions

View File

@ -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",