From 526ac7b14aa293e457ddd923043ba52ff1046b62 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 31 Mar 2020 22:33:07 +0200 Subject: [PATCH] We get awards, we don't unlock them --- mods/awards/src/api_awards.lua | 8 ++++---- mods/awards/src/gui.lua | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mods/awards/src/api_awards.lua b/mods/awards/src/api_awards.lua index c0502a4..b26e18d 100644 --- a/mods/awards/src/api_awards.lua +++ b/mods/awards/src/api_awards.lua @@ -96,9 +96,9 @@ function awards.unlock(name, award) if awards.show_mode == "chat" then local chat_announce if awdef.secret then - chat_announce = S("Secret award unlocked: %s") + chat_announce = S("Secret award gotten: %s") else - chat_announce = S("Award unlocked: %s") + chat_announce = S("Award gotten: %s") end -- use the chat console to send it minetest.chat_send_player(name, string.format(chat_announce, title)) @@ -118,9 +118,9 @@ function awards.unlock(name, award) }) local hud_announce if awdef.secret then - hud_announce = S("Secret award unlocked!") + hud_announce = S("Secret award gotten!") else - hud_announce = S("Award unlocked!") + hud_announce = S("Award gotten!") end local two = player:hud_add({ hud_elem_type = "text", diff --git a/mods/awards/src/gui.lua b/mods/awards/src/gui.lua index 91900a5..0b1f0bb 100644 --- a/mods/awards/src/gui.lua +++ b/mods/awards/src/gui.lua @@ -179,7 +179,7 @@ function awards.show_to(name, to, sid, text) minetest.chat_send_player(to, S("Error: No award available.")) return elseif not data or not data.unlocked then - minetest.chat_send_player(to, S("You have not unlocked any awards.")) + minetest.chat_send_player(to, S("You have not gotten any awards.")) return end minetest.chat_send_player(to, string.format(S("%s’s awards:"), name))