diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-04-05 17:56:01 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-04-05 17:56:01 +0100 |
commit | 75c01a188a75e49ae79bdea05148dcfdb098c8ec (patch) | |
tree | 654e446fd2a095c29a441beab03be8f3c232fa07 /chat_commands.lua | |
parent | a5768efbc066d8040164825e72ec71b0a84b889b (diff) |
Replace all mentions of achievements with awards
Diffstat (limited to 'chat_commands.lua')
-rw-r--r-- | chat_commands.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chat_commands.lua b/chat_commands.lua index 7286354..9c1580e 100644 --- a/chat_commands.lua +++ b/chat_commands.lua @@ -4,7 +4,7 @@ local S = awards.gettext minetest.register_chatcommand("awards", { params = S("[c|clear|disable|enable]"), - description = S("Show, clear, disable or enable your achievements"), + description = S("Show, clear, disable or enable your awards"), func = function(name, param) if param == "clear" then awards.clear_player(name) @@ -12,10 +12,10 @@ minetest.register_chatcommand("awards", { S("All your awards and statistics have been cleared. You can now start again.")) elseif param == "disable" then awards.disable(name) - minetest.chat_send_player(name, S("You have disabled achievements.")) + minetest.chat_send_player(name, S("You have disabled awards.")) elseif param == "enable" then awards.enable(name) - minetest.chat_send_player(name, S("You have enabled achievements.")) + minetest.chat_send_player(name, S("You have enabled awards.")) elseif param == "c" then awards.show_to(name, name, nil, true) else @@ -32,14 +32,14 @@ minetest.register_chatcommand("awards", { }) minetest.register_chatcommand("awd", { - params = S("<achievement ID>"), - description = S("Show details of an achievement"), + params = S("<award ID>"), + description = S("Show details of an award"), func = function(name, param) local def = awards.registered_awards[param] if def then minetest.chat_send_player(name, string.format(S("%s: %s"), def.title, def.description)) else - minetest.chat_send_player(name, S("Achievement not found.")) + minetest.chat_send_player(name, S("Award not found.")) end end }) @@ -49,7 +49,7 @@ minetest.register_chatcommand("awpl", { server = true }, params = S("<name>"), - description = S("Get the achievements statistics for the given player or yourself"), + description = S("Get the awards statistics for the given player or yourself"), func = function(name, param) if not param or param == "" then param = name |