mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-13 15:34:40 +01:00
Simply implement achievement system and add achievement command (#2068)
* Implement achievement system * Update src/main/java/emu/grasscutter/command/commands/AchievementCommand.java Co-authored-by: Der Chien <b03902015@ntu.edu.tw> * fix: redundant codes * fix: redundant codes * Update language files --------- Co-authored-by: Der Chien <b03902015@ntu.edu.tw>
This commit is contained in:
@@ -124,6 +124,21 @@
|
||||
"no_account": "账号不存在。",
|
||||
"description": "创建或删除账号"
|
||||
},
|
||||
"achievement": {
|
||||
"success": {
|
||||
"grant": "🇺🇸Granted the achievement to %s.",
|
||||
"revoke": "🇺🇸Revoked the achievement from %s.",
|
||||
"progress": "🇺🇸Set progress of %s's achievement(id: %s) to %s.",
|
||||
"grantall": "🇺🇸Granted %s achievement(s) to %s.",
|
||||
"revokeall": "🇺🇸Revoked %s achievement(s) from %s."
|
||||
},
|
||||
"fail": {
|
||||
"achievement_not_found": "🇺🇸Achievement not found.",
|
||||
"already_achieved": "🇺🇸%s has already achieved the achievement.",
|
||||
"not_yet_achieved": "🇺🇸%s hasn't achieved the achievement yet."
|
||||
},
|
||||
"description": "🇺🇸Grant, Revoke or Progress achievements."
|
||||
},
|
||||
"announce": {
|
||||
"send_success": "成功发送了一则公告,你可以通过 /a revoke %s 撤销。",
|
||||
"refresh_success": "成功刷新了公告配置。[共 %s 个]",
|
||||
|
||||
Reference in New Issue
Block a user