From 75c01a188a75e49ae79bdea05148dcfdb098c8ec Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 5 Apr 2018 17:56:01 +0100 Subject: Replace all mentions of achievements with awards --- api.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'api.lua') 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", -- cgit v1.2.3