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:
hamusuke
2023-02-26 14:14:27 +09:00
committed by GitHub
parent 51479e2abd
commit 3ab3d5bc04
35 changed files with 7418 additions and 1 deletions

View File

@@ -124,6 +124,21 @@
"no_account": "Account not found.",
"description": "Modify user accounts"
},
"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": "Send an announcement successfully, you can revoke it by /a revoke %s.",
"refresh_success": "Refresh announcement config file successfully. [Total %s]",