diff --git a/Core/resources/events/1.json b/Core/resources/events/1.json index ac9b9b700..3f02f3b7c 100644 --- a/Core/resources/events/1.json +++ b/Core/resources/events/1.json @@ -3,7 +3,7 @@ "cutTree": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 } } @@ -11,7 +11,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 100 } } @@ -20,7 +20,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -5, "lostTime": 30 } diff --git a/Core/resources/events/10.json b/Core/resources/events/10.json index e16d7219a..f13625ae5 100644 --- a/Core/resources/events/10.json +++ b/Core/resources/events/10.json @@ -9,17 +9,17 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "randomItem": {} }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "money": 234 }, "3": { - "effect": ":confounded:", + "effect": "confounded", "health": -10 } } diff --git a/Core/resources/events/11.json b/Core/resources/events/11.json index 49e08b619..5af60bb04 100644 --- a/Core/resources/events/11.json +++ b/Core/resources/events/11.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45 } } @@ -12,7 +12,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -40, "money": -200 } @@ -21,15 +21,15 @@ "forest": { "outcomes": { "0": { - "effect": ":face_with_monocle:" + "effect": "lost" }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 130, "randomItem": {} }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20 } } @@ -37,7 +37,7 @@ "oppositeSide": { "outcomes": { "0": { - "effect": ":face_with_monocle:" + "effect": "lost" } } } diff --git a/Core/resources/events/12.json b/Core/resources/events/12.json index f66f8aa45..63aae66bf 100644 --- a/Core/resources/events/12.json +++ b/Core/resources/events/12.json @@ -3,16 +3,16 @@ "craftBoat": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": -5, "lostTime": 30 }, "1": { - "effect": ":cold_face:", + "effect": "freezing", "health": -30 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 140, "randomItem": {} } @@ -21,7 +21,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 165 } } @@ -29,7 +29,7 @@ "otherWay": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 55 } } @@ -37,18 +37,18 @@ "searchBridge": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "2": { "money": 30 }, "3": { - "effect": ":confounded:", + "effect": "confounded", "health": -25 } } @@ -56,7 +56,7 @@ "swim": { "outcomes": { "0": { - "effect": ":cold_face:", + "effect": "freezing", "health": -30 }, "1": { diff --git a/Core/resources/events/13.json b/Core/resources/events/13.json index 3d57f556a..04f91baf8 100644 --- a/Core/resources/events/13.json +++ b/Core/resources/events/13.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 200 } } @@ -11,11 +11,11 @@ "goAway": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 25 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 70 } } @@ -24,7 +24,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 40, "money": -300 }, @@ -33,7 +33,7 @@ }, "3": {}, "4": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 } } @@ -41,11 +41,11 @@ "goInn": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "1": { - "effect": ":sleeping:", + "effect": "sleeping", "health": 15, "money": -70, "tags": [ @@ -58,16 +58,16 @@ "goMarket": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "2": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -60 } } diff --git a/Core/resources/events/14.json b/Core/resources/events/14.json index 759d2f107..4ce48e601 100644 --- a/Core/resources/events/14.json +++ b/Core/resources/events/14.json @@ -3,16 +3,16 @@ "chatWorker": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -70 } } @@ -20,7 +20,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 } } @@ -29,11 +29,11 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "2": { - "effect": ":sleeping:", + "effect": "sleeping", "health": -20 } } @@ -41,16 +41,16 @@ "stayNight": { "outcomes": { "0": { - "effect": ":sleeping:", + "effect": "sleeping", "health": 10 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 5 }, "2": {}, "3": { - "effect": ":clock2:", + "effect": "occupied", "health": 5, "lostTime": 100 } diff --git a/Core/resources/events/15.json b/Core/resources/events/15.json index a74048ea1..1f306a323 100644 --- a/Core/resources/events/15.json +++ b/Core/resources/events/15.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 35 } } @@ -14,7 +14,7 @@ "1": {}, "2": {}, "3": { - "effect": ":confounded:", + "effect": "confounded", "health": -5 } } @@ -25,12 +25,12 @@ "money": 100 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "money": -200 }, "2": { - "effect": ":confounded:", + "effect": "confounded", "health": -20 } } @@ -38,7 +38,7 @@ "trade": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45, "money": -200, "randomItem": {}, @@ -47,14 +47,14 @@ ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": { "money": -70 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45, "money": -200, "tags": [ diff --git a/Core/resources/events/16.json b/Core/resources/events/16.json index cb199f83d..2fb819879 100644 --- a/Core/resources/events/16.json +++ b/Core/resources/events/16.json @@ -3,11 +3,11 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 } } @@ -15,16 +15,16 @@ "enterCastle": { "outcomes": { "0": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -35 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 25, "randomItem": {} }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 } } @@ -37,16 +37,16 @@ "walkAround": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 80 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 80, "money": 450 }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20 } } diff --git a/Core/resources/events/17.json b/Core/resources/events/17.json index 07a39f828..5266964db 100644 --- a/Core/resources/events/17.json +++ b/Core/resources/events/17.json @@ -3,11 +3,11 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 260 } } @@ -18,11 +18,11 @@ "health": 15 }, "1": { - "effect": ":confounded:", + "effect": "confounded", "health": -10 }, "2": { - "effect": ":sick:", + "effect": "sick", "health": -15 } } @@ -31,7 +31,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -60 }, "2": { @@ -45,11 +45,11 @@ "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 55 }, "2": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -40 } } @@ -60,7 +60,7 @@ "health": 5 }, "1": { - "effect": ":drooling_face:" + "effect": "starving" }, "2": {} } @@ -69,7 +69,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":sleeping:" + "effect": "sleeping" } } } diff --git a/Core/resources/events/18.json b/Core/resources/events/18.json index 1ab391719..3c02430f5 100644 --- a/Core/resources/events/18.json +++ b/Core/resources/events/18.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 } } @@ -11,16 +11,16 @@ "searchScaffolding": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "randomItem": {} }, "2": { - "effect": ":confounded:", + "effect": "confounded", "health": -30 } } @@ -28,16 +28,16 @@ "searchSite": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 40, "randomItem": {} }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20 } } @@ -46,7 +46,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":confounded:", + "effect": "confounded", "health": -15 } } diff --git a/Core/resources/events/19.json b/Core/resources/events/19.json index a10c3b22f..4512db62c 100644 --- a/Core/resources/events/19.json +++ b/Core/resources/events/19.json @@ -3,34 +3,34 @@ "butch": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 90, "money": 500 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "randomItem": {} }, "2": { - "effect": ":sick:" + "effect": "sick" } } }, "cook": { "outcomes": { "0": { - "effect": ":sick:" + "effect": "sick" }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 40 }, "2": { "health": -20 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "health": 20, "lostTime": 40 } @@ -39,7 +39,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 } } diff --git a/Core/resources/events/2.json b/Core/resources/events/2.json index 5f54e3365..906438496 100644 --- a/Core/resources/events/2.json +++ b/Core/resources/events/2.json @@ -10,7 +10,7 @@ "followDog": { "outcomes": { "0": { - "effect": ":face_with_monocle:" + "effect": "lost" }, "1": { "money": 176 @@ -20,12 +20,12 @@ "skip": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 }, "1": {}, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -15 } } diff --git a/Core/resources/events/20.json b/Core/resources/events/20.json index 37a2cc9fd..ab3e16911 100644 --- a/Core/resources/events/20.json +++ b/Core/resources/events/20.json @@ -6,7 +6,7 @@ "randomItem": {} }, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -35 } } @@ -15,7 +15,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 5 } } @@ -34,11 +34,11 @@ "randomItem": {} }, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -55 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "money": 25 } diff --git a/Core/resources/events/21.json b/Core/resources/events/21.json index b8129bb60..b232e7053 100644 --- a/Core/resources/events/21.json +++ b/Core/resources/events/21.json @@ -3,20 +3,20 @@ "crossBridge": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 5 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "money": 50 }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -60 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } @@ -24,11 +24,11 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 5 } } @@ -36,16 +36,16 @@ "otherWay": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45, "randomItem": {} }, "2": { - "effect": ":confounded:" + "effect": "confounded" } } } diff --git a/Core/resources/events/22.json b/Core/resources/events/22.json index 18acc6aec..ad7845337 100644 --- a/Core/resources/events/22.json +++ b/Core/resources/events/22.json @@ -3,7 +3,7 @@ "buy": { "outcomes": { "0": { - "effect": ":sick:", + "effect": "sick", "health": -30, "money": -50, "tags": [ @@ -11,7 +11,7 @@ ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 5, "lostTime": 10, "money": -50, @@ -25,7 +25,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "1": { @@ -41,23 +41,23 @@ "steal": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "money": 50 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -25, "lostTime": 15, "money": -50 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 15 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "money": -50 } diff --git a/Core/resources/events/23.json b/Core/resources/events/23.json index f7d9aa4e5..e34cc5f13 100644 --- a/Core/resources/events/23.json +++ b/Core/resources/events/23.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } @@ -11,18 +11,18 @@ "help": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45, "money": 75 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -20, "lostTime": 55, "money": -50 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "randomItem": {} } @@ -32,7 +32,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -35 } } diff --git a/Core/resources/events/24.json b/Core/resources/events/24.json index 561614716..58c00dcd8 100644 --- a/Core/resources/events/24.json +++ b/Core/resources/events/24.json @@ -4,7 +4,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 5, "lostTime": 40 } @@ -13,7 +13,7 @@ "foodStand": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 75, "lostTime": 30, "money": -20, @@ -22,7 +22,7 @@ ] }, "1": { - "effect": ":sick:", + "effect": "sick", "health": -100, "money": -20, "tags": [ @@ -46,7 +46,7 @@ ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "2": { @@ -57,7 +57,7 @@ "itemStand": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 240 }, "1": { diff --git a/Core/resources/events/25.json b/Core/resources/events/25.json index 1cc6a93c5..121f6b7c0 100644 --- a/Core/resources/events/25.json +++ b/Core/resources/events/25.json @@ -3,12 +3,12 @@ "dontHelp": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "1": {}, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -15 } } @@ -17,7 +17,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":sleeping:", + "effect": "sleeping", "health": -25 } } @@ -25,12 +25,12 @@ "help": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45, "money": 100 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 15, "money": -30 @@ -40,12 +40,12 @@ "steal": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "money": 50 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 25, "money": -100 } diff --git a/Core/resources/events/26.json b/Core/resources/events/26.json index b797b98b4..fdcdbbba2 100644 --- a/Core/resources/events/26.json +++ b/Core/resources/events/26.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } @@ -12,7 +12,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "money": 75 } @@ -21,12 +21,12 @@ "steal": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -15, "lostTime": 25 } @@ -35,17 +35,17 @@ "trySave": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 15 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -15, "lostTime": 20, "money": -200 diff --git a/Core/resources/events/27.json b/Core/resources/events/27.json index e70c60783..3b31e0997 100644 --- a/Core/resources/events/27.json +++ b/Core/resources/events/27.json @@ -3,11 +3,11 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -45 } } @@ -15,7 +15,7 @@ "goDown": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": -30, "lostTime": 150 }, @@ -32,7 +32,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": -75 } @@ -41,11 +41,11 @@ "useBucket": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "1": { - "effect": ":confounded:", + "effect": "confounded", "health": -40 }, "2": { diff --git a/Core/resources/events/28.json b/Core/resources/events/28.json index 90f82e83a..3930f9a0e 100644 --- a/Core/resources/events/28.json +++ b/Core/resources/events/28.json @@ -3,20 +3,20 @@ "accept": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -25, "lostTime": 15 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20, "randomItem": {} } @@ -26,7 +26,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 120 } @@ -35,7 +35,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } diff --git a/Core/resources/events/29.json b/Core/resources/events/29.json index 53924b908..2d2ee5f76 100644 --- a/Core/resources/events/29.json +++ b/Core/resources/events/29.json @@ -11,11 +11,11 @@ "restHere": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 1, "lostTime": 90 } @@ -24,12 +24,12 @@ "restTree": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 55 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": -100 } @@ -38,18 +38,18 @@ "searchWater": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 50 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 30, "randomItem": {} }, "2": { - "effect": ":sleeping:", + "effect": "sleeping", "health": -10 } } diff --git a/Core/resources/events/3.json b/Core/resources/events/3.json index 87fbceb4f..f74060408 100644 --- a/Core/resources/events/3.json +++ b/Core/resources/events/3.json @@ -14,15 +14,15 @@ "mineIt": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "money": 68 } @@ -31,25 +31,25 @@ "searchKey": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 50, "money": 576 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": 139 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 40 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "4": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 } } diff --git a/Core/resources/events/30.json b/Core/resources/events/30.json index 59ac41cb9..484afc858 100644 --- a/Core/resources/events/30.json +++ b/Core/resources/events/30.json @@ -3,7 +3,7 @@ "duke": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 50, "tags": [ @@ -11,7 +11,7 @@ ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "money": 150, "tags": [ @@ -19,7 +19,7 @@ ] }, "2": { - "effect": ":lock:" + "effect": "jailed" } } }, @@ -41,14 +41,14 @@ ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 35, "tags": [ "bigFeast" ] }, "2": { - "effect": ":clock2:", + "effect": "occupied", "randomItem": {}, "tags": [ "bigFeast" @@ -59,14 +59,14 @@ "party": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 155, "tags": [ "bigFeast" ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 85, "money": -100, "tags": [ @@ -75,7 +75,7 @@ ] }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": 50, "lostTime": 60, "tags": [ @@ -87,13 +87,13 @@ "steal": { "outcomes": { "0": { - "effect": ":lock:" + "effect": "jailed" }, "1": { "health": 20 }, "2": { - "effect": ":sick:" + "effect": "sick" } } } diff --git a/Core/resources/events/31.json b/Core/resources/events/31.json index b064cb823..9459d6b0e 100644 --- a/Core/resources/events/31.json +++ b/Core/resources/events/31.json @@ -30,7 +30,7 @@ "wave": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 50 }, "1": { diff --git a/Core/resources/events/32.json b/Core/resources/events/32.json index 013ddaedd..8852621e6 100644 --- a/Core/resources/events/32.json +++ b/Core/resources/events/32.json @@ -6,7 +6,7 @@ "money": 200 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": {}, @@ -53,7 +53,7 @@ }, "2": {}, "3": { - "effect": ":clock2:", + "effect": "occupied", "health": 20, "lostTime": 60 } diff --git a/Core/resources/events/33.json b/Core/resources/events/33.json index 8c7e10818..f7f11ffad 100644 --- a/Core/resources/events/33.json +++ b/Core/resources/events/33.json @@ -3,7 +3,7 @@ "chat": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120, "tags": [ "bigFeast" @@ -43,20 +43,20 @@ ] }, "1": { - "effect": ":sick:", + "effect": "sick", "tags": [ "bigFeast" ] }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 75, "tags": [ "bigFeast" ] }, "3": { - "effect": ":zany_face:", + "effect": "drunk", "tags": [ "drinkAlcohol", "bigFeast" @@ -67,11 +67,11 @@ "end": { "outcomes": { "0": { - "effect": ":confounded:", + "effect": "confounded", "health": -20 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 40, "lostTime": 180, "tags": [ @@ -100,7 +100,7 @@ "money": 250 }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20 } } diff --git a/Core/resources/events/34.json b/Core/resources/events/34.json index 5698d0b04..856854f6c 100644 --- a/Core/resources/events/34.json +++ b/Core/resources/events/34.json @@ -15,7 +15,7 @@ "food": { "outcomes": { "0": { - "effect": ":sick:", + "effect": "sick", "money": -300 }, "1": { @@ -40,7 +40,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":confounded:", + "effect": "confounded", "health": -10 }, "2": { @@ -54,12 +54,12 @@ "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 85, "money": 350 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 190 } } diff --git a/Core/resources/events/35.json b/Core/resources/events/35.json index 7ed343cf6..324825b6e 100644 --- a/Core/resources/events/35.json +++ b/Core/resources/events/35.json @@ -3,7 +3,7 @@ "deny": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "money": -50, "tags": [ @@ -25,7 +25,7 @@ "money": 1000 }, "1": { - "effect": ":lock:", + "effect": "jailed", "money": -200 } } @@ -36,7 +36,7 @@ "health": 30 }, "1": { - "effect": ":sick:", + "effect": "sick", "money": 250 }, "2": {} diff --git a/Core/resources/events/36.json b/Core/resources/events/36.json index af60596cf..9346d4d73 100644 --- a/Core/resources/events/36.json +++ b/Core/resources/events/36.json @@ -3,12 +3,12 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 20, "lostTime": 60 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } @@ -23,12 +23,12 @@ "goInn": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 20, "lostTime": 60 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 30 }, @@ -43,7 +43,7 @@ "money": 500 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 } } @@ -51,12 +51,12 @@ "talkJeweler": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 50, "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 75 } } diff --git a/Core/resources/events/37.json b/Core/resources/events/37.json index 988bd42fa..bf6e8ab21 100644 --- a/Core/resources/events/37.json +++ b/Core/resources/events/37.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 5, "lostTime": 15 }, diff --git a/Core/resources/events/38.json b/Core/resources/events/38.json index d6b655089..47045dc93 100644 --- a/Core/resources/events/38.json +++ b/Core/resources/events/38.json @@ -49,16 +49,16 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180, "randomItem": {} }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 } } @@ -70,7 +70,7 @@ }, "1": {}, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20 } } diff --git a/Core/resources/events/39.json b/Core/resources/events/39.json index 04d98c261..a20dfce5a 100644 --- a/Core/resources/events/39.json +++ b/Core/resources/events/39.json @@ -16,7 +16,7 @@ ] }, "3": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20, "money": -300, "tags": [ @@ -28,7 +28,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "1": { @@ -39,7 +39,7 @@ "meal": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "1": {} @@ -48,7 +48,7 @@ "steal": { "outcomes": { "0": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20 }, "1": {} diff --git a/Core/resources/events/4.json b/Core/resources/events/4.json index 2f877fbfe..e2ad0e36e 100644 --- a/Core/resources/events/4.json +++ b/Core/resources/events/4.json @@ -17,24 +17,24 @@ "wish": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "money": 1040 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "4": { - "effect": ":clock2:", + "effect": "occupied", "health": -5, "lostTime": 10 } diff --git a/Core/resources/events/40.json b/Core/resources/events/40.json index e545c408e..23101c6ed 100644 --- a/Core/resources/events/40.json +++ b/Core/resources/events/40.json @@ -3,16 +3,16 @@ "askAdvices": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 300 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 25, "lostTime": 30 }, "2": { - "effect": ":zany_face:", + "effect": "drunk", "tags": [ "drinkAlcohol." ] @@ -25,11 +25,11 @@ "money": 350 }, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -30 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": 40, "lostTime": 40 } @@ -38,11 +38,11 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "1": { - "effect": ":sick:" + "effect": "sick" } } }, diff --git a/Core/resources/events/41.json b/Core/resources/events/41.json index 219fb1384..5404e1d65 100644 --- a/Core/resources/events/41.json +++ b/Core/resources/events/41.json @@ -9,7 +9,7 @@ ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 20, "lostTime": 45, "money": -250, @@ -18,43 +18,43 @@ ] }, "2": { - "effect": ":lock:", + "effect": "jailed", "health": -5 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "4": { - "effect": ":sleeping:" + "effect": "sleeping" } } }, "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "2": { - "effect": ":sleeping:" + "effect": "sleeping" } } }, "escape": { "outcomes": { "0": { - "effect": ":lock:" + "effect": "jailed" }, "1": { "health": 5 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 15 } @@ -63,17 +63,17 @@ "explain": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180, "money": 75 }, "2": {}, "3": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 15 } @@ -83,7 +83,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 240 }, "2": {} @@ -92,10 +92,10 @@ "wait": { "outcomes": { "0": { - "effect": ":lock:" + "effect": "jailed" }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "2": { diff --git a/Core/resources/events/42.json b/Core/resources/events/42.json index fa569a1e1..c21ef4939 100644 --- a/Core/resources/events/42.json +++ b/Core/resources/events/42.json @@ -3,12 +3,12 @@ "ask": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 240, "money": -300 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 15, "lostTime": 60, "money": -100, @@ -25,29 +25,29 @@ "randomItem": {} }, "1": { - "effect": ":sick:" + "effect": "sick" } } }, "feign": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 60, "money": -200 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 30 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "health": 30, "lostTime": 60, "money": 600 @@ -57,22 +57,22 @@ "help": { "outcomes": { "0": { - "effect": ":sick:", + "effect": "sick", "health": -70 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 90, "money": -300 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": 3000, "randomItem": {} }, "3": { - "effect": ":clock2:", + "effect": "occupied", "health": -35, "lostTime": 10 } diff --git a/Core/resources/events/43.json b/Core/resources/events/43.json index c0ea525e8..5b517ab0b 100644 --- a/Core/resources/events/43.json +++ b/Core/resources/events/43.json @@ -4,7 +4,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 30, "lostTime": 210, "money": -200, @@ -20,11 +20,11 @@ "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -5, "lostTime": 10 } @@ -34,7 +34,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "2": {} @@ -51,14 +51,14 @@ "shelter": { "outcomes": { "0": { - "effect": ":sleeping:" + "effect": "sleeping" }, "1": { - "effect": ":sleeping:" + "effect": "sleeping" }, "2": {}, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 90 } } diff --git a/Core/resources/events/44.json b/Core/resources/events/44.json index a7bca4f19..bfb478f13 100644 --- a/Core/resources/events/44.json +++ b/Core/resources/events/44.json @@ -10,17 +10,17 @@ "help": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 60 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 15, "lostTime": 180 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "randomItem": {} }, @@ -43,12 +43,12 @@ "watch": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "money": 300 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 360, "money": -200 } diff --git a/Core/resources/events/45.json b/Core/resources/events/45.json index 0694031ed..fda9ee7ae 100644 --- a/Core/resources/events/45.json +++ b/Core/resources/events/45.json @@ -3,7 +3,7 @@ "askJoin": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 210 }, "1": {}, @@ -15,11 +15,11 @@ "end": { "outcomes": { "0": { - "effect": ":confounded:", + "effect": "confounded", "health": -25 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } @@ -27,20 +27,20 @@ "goAlone": { "outcomes": { "0": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -40 }, "1": { - "effect": ":sick:", + "effect": "sick", "health": -10 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 75, "randomItem": {} }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 90 }, "4": {} @@ -50,7 +50,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "money": -300 } @@ -59,7 +59,7 @@ "talk": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "1": {} diff --git a/Core/resources/events/46.json b/Core/resources/events/46.json index 88a378cad..8bbc9b2c3 100644 --- a/Core/resources/events/46.json +++ b/Core/resources/events/46.json @@ -4,24 +4,24 @@ "outcomes": { "0": {}, "1": { - "effect": ":confounded:", + "effect": "confounded", "randomItem": {} }, "2": { - "effect": ":lock:" + "effect": "jailed" } } }, "singCrazyLove": { "outcomes": { "0": { - "effect": ":scream:" + "effect": "scared" }, "1": { "randomItem": {} }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 } } @@ -29,15 +29,15 @@ "singHero": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 5 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 480 }, "2": { - "effect": ":sick:", + "effect": "sick", "money": 200, "randomItem": {} } @@ -46,7 +46,7 @@ "singLove": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 360 }, "1": { @@ -63,7 +63,7 @@ "money": 600 }, "1": { - "effect": ":lock:" + "effect": "jailed" }, "2": {} } @@ -71,7 +71,7 @@ "singWork": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 480 }, "1": { diff --git a/Core/resources/events/47.json b/Core/resources/events/47.json index 0a7ea4abf..c8c47126c 100644 --- a/Core/resources/events/47.json +++ b/Core/resources/events/47.json @@ -5,7 +5,7 @@ "0": {}, "1": {}, "2": { - "effect": ":lock:" + "effect": "jailed" } } }, @@ -31,14 +31,14 @@ "outcomes": { "0": {}, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "money": -160 }, "2": { "health": -15 }, "3": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -120 }, "4": { @@ -64,7 +64,7 @@ }, "3": {}, "4": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -60 } } diff --git a/Core/resources/events/48.json b/Core/resources/events/48.json index 68419e422..a90e3581f 100644 --- a/Core/resources/events/48.json +++ b/Core/resources/events/48.json @@ -11,7 +11,7 @@ "health": 30 }, "3": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -10 }, "4": {} @@ -22,7 +22,7 @@ "0": {}, "1": {}, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": 500 }, @@ -30,14 +30,14 @@ "randomItem": {} }, "4": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -35 }, "5": { "randomItem": {} }, "6": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -120 } } @@ -49,11 +49,11 @@ "2": {}, "3": {}, "4": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -75 }, "5": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -30 }, "6": { diff --git a/Core/resources/events/49.json b/Core/resources/events/49.json index d949415c6..88d947690 100644 --- a/Core/resources/events/49.json +++ b/Core/resources/events/49.json @@ -3,7 +3,7 @@ "eatIt": { "outcomes": { "0": { - "effect": ":sick:" + "effect": "sick" }, "1": { "health": 10 @@ -13,12 +13,12 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "1": {}, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 60 } @@ -41,11 +41,11 @@ "health": -5 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 } } diff --git a/Core/resources/events/5.json b/Core/resources/events/5.json index 418242b53..65c84ffbc 100644 --- a/Core/resources/events/5.json +++ b/Core/resources/events/5.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": 65 } @@ -16,7 +16,7 @@ "2": {}, "3": {}, "4": { - "effect": ":sleeping:", + "effect": "sleeping", "health": -30 } } @@ -24,17 +24,17 @@ "rest": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 5, "lostTime": 30 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 15, "lostTime": 60 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 } } diff --git a/Core/resources/events/50.json b/Core/resources/events/50.json index 6874a730d..7253e046e 100644 --- a/Core/resources/events/50.json +++ b/Core/resources/events/50.json @@ -19,7 +19,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "1": {} @@ -39,16 +39,16 @@ "nap": { "outcomes": { "0": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -30 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 60 }, "2": { - "effect": ":sleeping:", + "effect": "sleeping", "money": -50 } } diff --git a/Core/resources/events/51.json b/Core/resources/events/51.json index 9e142c72e..14acc0c90 100644 --- a/Core/resources/events/51.json +++ b/Core/resources/events/51.json @@ -3,11 +3,11 @@ "end": { "outcomes": { "0": { - "effect": ":sleeping:", + "effect": "sleeping", "health": 5 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 10 }, @@ -17,7 +17,7 @@ "goBack": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "1": { @@ -25,7 +25,7 @@ "money": -120 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 60 } @@ -38,7 +38,7 @@ }, "1": {}, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20 } } @@ -46,16 +46,16 @@ "stairs": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180, "randomItem": {} }, "1": { - "effect": ":sleeping:", + "effect": "sleeping", "health": 15 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -35, "lostTime": 10 } diff --git a/Core/resources/events/52.json b/Core/resources/events/52.json index 241cb373f..3031ce530 100644 --- a/Core/resources/events/52.json +++ b/Core/resources/events/52.json @@ -4,7 +4,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":head_bandage:" + "effect": "hurt" }, "2": {} } @@ -16,7 +16,7 @@ "health": -5 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120, "money": -100 } @@ -26,11 +26,11 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 5 }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -15 } } @@ -38,7 +38,7 @@ "playFight": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "1": { @@ -48,7 +48,7 @@ "money": -250 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 } } @@ -56,11 +56,11 @@ "teach": { "outcomes": { "0": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -25 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 190, "randomItem": {} }, diff --git a/Core/resources/events/53.json b/Core/resources/events/53.json index b73535026..f0ce63cbc 100644 --- a/Core/resources/events/53.json +++ b/Core/resources/events/53.json @@ -3,17 +3,17 @@ "accept": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "money": 500 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20, "money": -200 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 75, "randomItem": {} } @@ -22,11 +22,11 @@ "deny": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 30 }, @@ -39,7 +39,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 5 }, "1": {}, @@ -55,7 +55,7 @@ "money": 300 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "3": { diff --git a/Core/resources/events/54.json b/Core/resources/events/54.json index b75941b22..e12f18b35 100644 --- a/Core/resources/events/54.json +++ b/Core/resources/events/54.json @@ -10,14 +10,14 @@ "money": -200 }, "3": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -30 }, "4": { "money": 400 }, "5": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -60 }, "6": { @@ -29,7 +29,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":sleeping:" + "effect": "sleeping" }, "2": {}, "3": { @@ -44,7 +44,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -105 }, "2": { @@ -55,7 +55,7 @@ }, "4": {}, "5": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 300 } } @@ -69,11 +69,11 @@ "money": 500 }, "4": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -60 }, "5": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -50 }, "6": { @@ -86,7 +86,7 @@ "0": {}, "1": {}, "2": { - "effect": ":head_bandage:" + "effect": "hurt" }, "3": { "randomItem": {} diff --git a/Core/resources/events/55.json b/Core/resources/events/55.json index 6afda8d09..c404d1a52 100644 --- a/Core/resources/events/55.json +++ b/Core/resources/events/55.json @@ -4,7 +4,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -15 }, "2": { @@ -15,11 +15,11 @@ "cut": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 90, "money": -125, "tags": [ @@ -34,7 +34,7 @@ "0": {}, "1": {}, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -20, "money": -150 } @@ -47,7 +47,7 @@ "randomItem": {} }, "2": { - "effect": ":face_with_monocle:" + "effect": "lost" } } } diff --git a/Core/resources/events/56.json b/Core/resources/events/56.json index c77fb1a39..4dfc2aa9c 100644 --- a/Core/resources/events/56.json +++ b/Core/resources/events/56.json @@ -14,13 +14,13 @@ "end": { "outcomes": { "0": { - "effect": ":confounded:" + "effect": "confounded" }, "1": { "money": -225 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": 5, "lostTime": 20 } diff --git a/Core/resources/events/57.json b/Core/resources/events/57.json index 8fcf64466..b5cc0d364 100644 --- a/Core/resources/events/57.json +++ b/Core/resources/events/57.json @@ -6,7 +6,7 @@ "health": 5 }, "1": { - "effect": ":confounded:", + "effect": "confounded", "health": -10 }, "2": {} @@ -18,18 +18,18 @@ "health": 15 }, "1": { - "effect": ":sick:", + "effect": "sick", "health": -5 }, "2": { - "effect": ":confounded:" + "effect": "confounded" } } }, "findMeal": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 20, "lostTime": 10 }, @@ -42,15 +42,15 @@ "settle": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "2": { - "effect": ":sleeping:", + "effect": "sleeping", "health": 5 } } diff --git a/Core/resources/events/58.json b/Core/resources/events/58.json index ac8d31009..c1bb0e8d5 100644 --- a/Core/resources/events/58.json +++ b/Core/resources/events/58.json @@ -4,7 +4,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":sleeping:" + "effect": "sleeping" } } }, @@ -36,7 +36,7 @@ ] }, "3": { - "effect": ":confounded:", + "effect": "confounded", "tags": [ "meetGruffo" ] @@ -46,11 +46,11 @@ "shortcut": { "outcomes": { "0": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -50 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": { diff --git a/Core/resources/events/6.json b/Core/resources/events/6.json index 99eb120ad..cb7ad4da3 100644 --- a/Core/resources/events/6.json +++ b/Core/resources/events/6.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 270 } } @@ -16,15 +16,15 @@ "goDeeper": { "outcomes": { "0": { - "effect": ":face_with_monocle:" + "effect": "lost" }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20, "randomItem": {} }, "2": { - "effect": ":confounded:", + "effect": "confounded", "health": -1 } } @@ -32,19 +32,19 @@ "search": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "randomItem": {} }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "2": { "money": -190 }, "3": { - "effect": ":confounded:", + "effect": "confounded", "health": -25 } } diff --git a/Core/resources/events/62.json b/Core/resources/events/62.json index c82bd3a3a..54ef2ee93 100644 --- a/Core/resources/events/62.json +++ b/Core/resources/events/62.json @@ -25,17 +25,17 @@ "searchPatures": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20, "money": 500 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 30, "lostTime": 120 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -10, "lostTime": 20 } @@ -45,11 +45,11 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": { - "effect": ":zany_face:", + "effect": "drunk", "health": 3 } } @@ -57,12 +57,12 @@ "searchWheat": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "money": 400 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180, "randomItem": {} }, diff --git a/Core/resources/events/63.json b/Core/resources/events/63.json index 6f8aff6a9..066727a58 100644 --- a/Core/resources/events/63.json +++ b/Core/resources/events/63.json @@ -3,11 +3,11 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "1": { - "effect": ":zany_face:", + "effect": "drunk", "health": -5, "money": -75, "tags": [ @@ -23,7 +23,7 @@ ] }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10, "money": -50, "randomItem": {}, @@ -36,19 +36,19 @@ "faceThem": { "outcomes": { "0": { - "effect": ":confounded:", + "effect": "confounded", "health": -20 }, "1": { - "effect": ":sick:" + "effect": "sick" }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "money": 600 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 45, "randomItem": {} } @@ -58,15 +58,15 @@ "outcomes": { "0": {}, "1": { - "effect": ":confounded:", + "effect": "confounded", "health": -20 }, "2": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -45 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "health": 50, "lostTime": 60 } @@ -75,7 +75,7 @@ "helpThem": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "money": -165, "tags": [ @@ -83,17 +83,17 @@ ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 15, "lostTime": 30, "money": 165 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 }, "3": { - "effect": ":lock:" + "effect": "jailed" } } }, @@ -104,17 +104,17 @@ "money": -250 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180, "money": 300 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": 450 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 } } diff --git a/Core/resources/events/68.json b/Core/resources/events/68.json index 52a41adab..67e2121d6 100644 --- a/Core/resources/events/68.json +++ b/Core/resources/events/68.json @@ -3,21 +3,21 @@ "checkDate": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 190, "money": 700 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 7, "lostTime": 10 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120 }, "3": { - "effect": ":zany_face:", + "effect": "drunk", "money": 200, "tags": [ "drinkAlcohol" @@ -28,12 +28,12 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "1": {}, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 } } @@ -41,19 +41,19 @@ "read": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "health": 27, "lostTime": 60 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 }, "2": { - "effect": ":sick:" + "effect": "sick" }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 } } @@ -61,7 +61,7 @@ "steal": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20 }, "1": { diff --git a/Core/resources/events/69.json b/Core/resources/events/69.json index dcf8f3b77..5ff43a299 100644 --- a/Core/resources/events/69.json +++ b/Core/resources/events/69.json @@ -5,7 +5,7 @@ "0": {}, "1": {}, "2": { - "effect": ":sleeping:", + "effect": "sleeping", "health": 35 } } @@ -14,7 +14,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":sleeping:", + "effect": "sleeping", "tags": [ "drinkAlcohol" ] @@ -24,11 +24,11 @@ "deny": { "outcomes": { "0": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -25 }, "1": { - "effect": ":sick:", + "effect": "sick", "health": -10 } } @@ -36,7 +36,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 135 } } diff --git a/Core/resources/events/7.json b/Core/resources/events/7.json index b11acea34..03b0a4aab 100644 --- a/Core/resources/events/7.json +++ b/Core/resources/events/7.json @@ -3,24 +3,24 @@ "check": { "outcomes": { "0": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -25 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 55, "randomItem": {} }, "2": { - "effect": ":sleeping:" + "effect": "sleeping" }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "randomItem": {} }, "4": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } @@ -28,7 +28,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } diff --git a/Core/resources/events/70.json b/Core/resources/events/70.json index 8d13f9f26..93871bafd 100644 --- a/Core/resources/events/70.json +++ b/Core/resources/events/70.json @@ -3,14 +3,14 @@ "end": { "outcomes": { "0": { - "effect": ":sleeping:" + "effect": "sleeping" }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 }, "2": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -45 } } @@ -19,22 +19,22 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 20, "money": 785, "randomItem": {} }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": -20, "lostTime": 25, "money": 165 }, "3": { - "effect": ":face_with_monocle:" + "effect": "lost" }, "4": { - "effect": ":face_with_monocle:" + "effect": "lost" }, "5": { "health": -15 @@ -45,10 +45,10 @@ "outcomes": { "0": {}, "1": { - "effect": ":sleeping:" + "effect": "sleeping" }, "2": { - "effect": ":clock2:", + "effect": "occupied", "health": 5, "lostTime": 30 }, diff --git a/Core/resources/events/71.json b/Core/resources/events/71.json index e8554ff9f..4aa5077d8 100644 --- a/Core/resources/events/71.json +++ b/Core/resources/events/71.json @@ -3,7 +3,7 @@ "accept": { "outcomes": { "0": { - "effect": ":sick:", + "effect": "sick", "health": -30 }, "1": { @@ -22,7 +22,7 @@ "randomItem": {} }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 10 } } @@ -40,11 +40,11 @@ "randomItem": {} }, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -60 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 40, "money": -250 }, diff --git a/Core/resources/events/72.json b/Core/resources/events/72.json index bc68ff69b..592d14999 100644 --- a/Core/resources/events/72.json +++ b/Core/resources/events/72.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 180 }, "1": {} @@ -12,12 +12,12 @@ "joinArchery": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60, "money": 235 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 60 }, "2": {} @@ -26,7 +26,7 @@ "joinJoust": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 115, "money": 425 }, @@ -34,7 +34,7 @@ "health": -45 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 160, "money": 565, "randomItem": {} @@ -46,13 +46,13 @@ "outcomes": { "0": {}, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 120, "money": 320, "randomItem": {} }, "2": { - "effect": ":sleeping:", + "effect": "sleeping", "health": 10 }, "3": { @@ -69,7 +69,7 @@ "money": -350 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "randomItem": {} } diff --git a/Core/resources/events/73.json b/Core/resources/events/73.json index 6da7cc657..6257ff390 100644 --- a/Core/resources/events/73.json +++ b/Core/resources/events/73.json @@ -7,7 +7,7 @@ }, "1": {}, "2": { - "effect": ":confounded:" + "effect": "confounded" } } }, @@ -15,7 +15,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":face_with_monocle:" + "effect": "lost" }, "2": { "health": -5, @@ -28,7 +28,7 @@ "look": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 25, "money": -70 }, @@ -42,11 +42,11 @@ "money": 195 }, "1": { - "effect": ":dizzy_face:", + "effect": "injured", "health": -25 }, "2": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30 } } diff --git a/Core/resources/events/8.json b/Core/resources/events/8.json index 11463277e..a02795329 100644 --- a/Core/resources/events/8.json +++ b/Core/resources/events/8.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":sleeping:" + "effect": "sleeping" } } }, @@ -21,7 +21,7 @@ "randomItem": {} }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -25, "mapTypesDestination": [ "fo" @@ -32,14 +32,14 @@ "plains": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 150, "mapTypesDestination": [ "pl" ] }, "1": { - "effect": ":clock2:", + "effect": "occupied", "health": 10, "lostTime": 150, "mapTypesDestination": [ diff --git a/Core/resources/events/9.json b/Core/resources/events/9.json index de869e0bf..1c921432c 100644 --- a/Core/resources/events/9.json +++ b/Core/resources/events/9.json @@ -3,7 +3,7 @@ "end": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15 } } @@ -11,21 +11,21 @@ "help": { "outcomes": { "0": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 15, "money": 25 }, "1": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 30, "randomItem": {} }, "2": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -15 }, "3": { - "effect": ":clock2:", + "effect": "occupied", "lostTime": 50 } } @@ -34,7 +34,7 @@ "outcomes": { "0": {}, "1": { - "effect": ":head_bandage:", + "effect": "hurt", "health": -15 } } diff --git a/Core/resources/smallEvents/bigBad.json b/Core/resources/smallEvents/bigBad.json index ffdb98cf7..62af07573 100644 --- a/Core/resources/smallEvents/bigBad.json +++ b/Core/resources/smallEvents/bigBad.json @@ -2,50 +2,50 @@ "properties": { "alterationStories": { "badBerries": { - "alte": ":sick:" + "alte": "sick" }, "gentleBreeze": { - "alte": ":sleeping:" + "alte": "sleeping" }, "mysteriousBottle": { - "alte": ":zany_face:", + "alte": "drunk", "tags": ["drinkAlcohol"] }, "strangeLiquid": { - "alte": ":sick:" + "alte": "sick" }, "expiredProvisions": { - "alte": ":confounded:" + "alte": "confounded" }, "unexpectedRider": { - "alte": ":dizzy_face:" + "alte": "injured" }, "fallingBranch": { - "alte": ":head_bandage:" + "alte": "hurt" }, "precipiceFall": { - "alte": ":dizzy_face:" + "alte": "injured" }, "ambushedByGroup": { - "alte": ":head_bandage:" + "alte": "hurt" }, "cowStampede": { - "alte": ":scream:" + "alte": "scared" }, "trippedOverRoot": { - "alte": ":head_bandage:" + "alte": "hurt" }, "encounterWithBearCub": { - "alte": ":scream:" + "alte": "scared" }, "wrongDirection": { - "alte": ":face_with_monocle:" + "alte": "lost" }, "chilledByColdNights": { - "alte": ":cold_face:" + "alte": "freezing" }, "mistakenIdentity": { - "alte": ":lock:" + "alte": "jailed" } } }, diff --git a/Core/src/commands/admin/testCommands/Time/JailPlayerTestCommand.ts b/Core/src/commands/admin/testCommands/Time/JailPlayerTestCommand.ts index 60756c275..600c992a9 100644 --- a/Core/src/commands/admin/testCommands/Time/JailPlayerTestCommand.ts +++ b/Core/src/commands/admin/testCommands/Time/JailPlayerTestCommand.ts @@ -1,8 +1,8 @@ import {NumberChangeReason} from "../../../../../../Lib/src/constants/LogsConstants"; import {ExecuteTestCommandLike, ITestCommand, TypeKey} from "../../../../core/CommandsTest"; -import {EffectsConstants} from "../../../../../../Lib/src/constants/EffectsConstants"; import {TravelTime} from "../../../../core/maps/TravelTime"; import {Players} from "../../../../core/database/game/models/Player"; +import {Effect} from "../../../../../../Lib/src/enums/Effect"; export const commandInfo: ITestCommand = { name: "jailplayer", @@ -19,7 +19,7 @@ export const commandInfo: ITestCommand = { */ const jailPlayerTestCommand: ExecuteTestCommandLike = async (player, args) => { const jailPlayer = await Players.getByKeycloakId(player.keycloakId); - await TravelTime.applyEffect(jailPlayer, EffectsConstants.EMOJI_TEXT.LOCKED, 0, new Date(), NumberChangeReason.TEST); + await TravelTime.applyEffect(jailPlayer, Effect.JAILED, 0, new Date(), NumberChangeReason.TEST); await jailPlayer.save(); return `Vous avez enfermé ${args[0]} !`; }; diff --git a/Core/src/commands/admin/testCommands/Time/PlayerEffectTestCommand.ts b/Core/src/commands/admin/testCommands/Time/PlayerEffectTestCommand.ts index cefe592ae..3b9d71185 100644 --- a/Core/src/commands/admin/testCommands/Time/PlayerEffectTestCommand.ts +++ b/Core/src/commands/admin/testCommands/Time/PlayerEffectTestCommand.ts @@ -1,12 +1,12 @@ import {NumberChangeReason} from "../../../../../../Lib/src/constants/LogsConstants"; import {ExecuteTestCommandLike, ITestCommand, TypeKey} from "../../../../core/CommandsTest"; -import {EffectsConstants} from "../../../../../../Lib/src/constants/EffectsConstants"; import {TravelTime} from "../../../../core/maps/TravelTime"; +import {Effect} from "../../../../../../Lib/src/enums/Effect"; -const effects = Object.keys(EffectsConstants.ERROR_TEXT).filter(value => [":baby:", ":smiley:", ":skull:", ":clock2:"].indexOf(value) === -1); +const effects = Array.from(Effect.getAll()).filter(value => [Effect.NOT_STARTED, Effect.NO_EFFECT, Effect.DEAD, Effect.OCCUPIED].indexOf(value) === -1); let printableEffects = ""; effects.forEach(e => { - printableEffects = printableEffects.concat(`- ${e.slice(1, -1)}\n`); + printableEffects = printableEffects.concat(`- ${e.id}\n`); }); export const commandInfo: ITestCommand = { @@ -23,14 +23,13 @@ export const commandInfo: ITestCommand = { * Set the effect of the player */ const playerEffectTestCommand: ExecuteTestCommandLike = async (player, args) => { - const effectMalus = `:${args[0]}:`; - if (!Object.keys(EffectsConstants.DURATION) - .includes(effectMalus)) { - throw new Error("Effet inconnu ! (Il ne faut pas mettre les ::)"); + const effect = Effect.getById(args[0]); + if (!effect) { + throw new Error("Effet inconnu !"); } - await TravelTime.applyEffect(player, effectMalus, 0, new Date(), NumberChangeReason.TEST); + await TravelTime.applyEffect(player, effect, 0, new Date(), NumberChangeReason.TEST); await player.save(); - return `Vous avez maintenant l'effet ${effectMalus} !`; + return `Vous avez maintenant l'effet ${effect.id} !`; }; commandInfo.execute = playerEffectTestCommand; \ No newline at end of file diff --git a/Core/src/commands/player/ProfileCommand.ts b/Core/src/commands/player/ProfileCommand.ts index 2664737c6..769c9cbe0 100644 --- a/Core/src/commands/player/ProfileCommand.ts +++ b/Core/src/commands/player/ProfileCommand.ts @@ -68,7 +68,7 @@ export default class ProfileCommand { } : null, destination: destinationId, effect: player.checkEffect() ? { - effect: player.effect, + effect: player.effectId, timeLeft: player.effectEndDate.valueOf() - Date.now(), healed: new Date() >= player.effectEndDate } : null, diff --git a/Core/src/commands/player/ReportCommand.ts b/Core/src/commands/player/ReportCommand.ts index 696b3b984..847a10f0f 100644 --- a/Core/src/commands/player/ReportCommand.ts +++ b/Core/src/commands/player/ReportCommand.ts @@ -11,7 +11,6 @@ import { CommandReportTravelSummaryRes } from "../../../../Lib/src/packets/commands/CommandReportPacket"; import {Player, Players} from "../../core/database/game/models/Player"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; import {Maps} from "../../core/maps/Maps"; import {MapLink, MapLinkDataController} from "../../data/MapLink"; import {Constants} from "../../../../Lib/src/constants/Constants"; @@ -53,6 +52,7 @@ import { import {Possibility} from "../../data/events/Possibility"; import {applyPossibilityOutcome} from "../../data/events/PossibilityOutcome"; import {ErrorPacket} from "../../../../Lib/src/packets/commands/ErrorPacket"; +import {Effect} from "../../../../Lib/src/enums/Effect"; export default class ReportCommand { @packetHandler(CommandReportPacketReq) @@ -65,7 +65,7 @@ export default class ReportCommand { forceSmallEvent: string = null ): Promise { const player = await Players.getByKeycloakId(packet.keycloakId); - if (player.score === 0 && player.effect === EffectsConstants.EMOJI_TEXT.BABY) { + if (player.score === 0 && player.effectId === Effect.NOT_STARTED.id) { await initiateNewPlayerOnTheAdventure(player); } @@ -79,7 +79,7 @@ export default class ReportCommand { const currentDate = new Date(); - if (player.effect !== EffectsConstants.EMOJI_TEXT.SMILEY && player.currentEffectFinished(currentDate)) { + if (player.effectId !== Effect.NO_EFFECT.id && player.currentEffectFinished(currentDate)) { await MissionsController.update(player, response, {missionId: "recoverAlteration"}); } @@ -101,7 +101,7 @@ export default class ReportCommand { } if (!player.currentEffectFinished(currentDate)) { - await sendTravelPath(player, response, currentDate, player.effect); + await sendTravelPath(player, response, currentDate, player.effectId); BlockingUtils.unblockPlayer(player.id, BlockingConstants.REASONS.REPORT_COMMAND); return; } @@ -409,16 +409,16 @@ async function needSmallEvent(player: Player, date: Date): Promise { * @param player * @param response * @param date - * @param effect + * @param effectId */ -async function sendTravelPath(player: Player, response: DraftBotPacket[], date: Date, effect: string = null): Promise { +async function sendTravelPath(player: Player, response: DraftBotPacket[], date: Date, effectId: string = null): Promise { const timeData = await TravelTime.getTravelData(player, date); const showEnergy = Maps.isOnPveIsland(player) || Maps.isOnBoat(player); const lastMiniEvent = await PlayerSmallEvents.getLastOfPlayer(player.id); response.push(makePacket(CommandReportTravelSummaryRes, { - effect, + effect: effectId, arriveTime: timeData.travelEndTime, - effectEndTime: effect ? timeData.effectEndTime : null, + effectEndTime: effectId ? timeData.effectEndTime : null, points: { show: !showEnergy, cumulated: !showEnergy ? await PlayerSmallEvents.calculateCurrentScore(player) : 0 @@ -497,7 +497,7 @@ async function doPVEBoss( await Maps.stopTravel(player); await player.setLastReportWithEffect( 0, - EffectsConstants.EMOJI_TEXT.SMILEY, + Effect.NO_EFFECT, NumberChangeReason.BIG_EVENT ); await chooseDestination(context, player, null, response); diff --git a/Core/src/core/database/game/migrations/019-v5.ts b/Core/src/core/database/game/migrations/019-v5.ts index a9a874ee5..6ac8b59b4 100644 --- a/Core/src/core/database/game/migrations/019-v5.ts +++ b/Core/src/core/database/game/migrations/019-v5.ts @@ -9,6 +9,7 @@ import {KeycloakUtils} from "../../../../../../Lib/src/keycloak/KeycloakUtils"; import {KeycloakConfig} from "../../../../../../Lib/src/keycloak/KeycloakConfig"; import {logsV5NewIds} from "../../logs/migrations/006-v5"; import {LANGUAGE} from "../../../../../../Lib/src/Language"; +import {Effect} from "../../../../../../Lib/src/enums/Effect"; export async function up({context}: { context: QueryInterface }): Promise { const configPath = `${process.cwd()}/config/keycloak.toml`; @@ -36,6 +37,13 @@ clientSecret = "secret" await context.renameColumn("players", "discordUserId", "keycloakId"); + // Migrate to new effect names + for (const effect of Effect.getAll()) { + await context.sequelize.query(`UPDATE players SET effect = "${effect.id}" WHERE effect = "${effect.v4Id}"`); + } + + await context.renameColumn("players", "effect", "effectId"); + await context.dropTable("armors"); await context.dropTable("classes"); await context.dropTable("leagues"); diff --git a/Core/src/core/database/game/models/Player.ts b/Core/src/core/database/game/models/Player.ts index fa9b28c5e..df582e03a 100644 --- a/Core/src/core/database/game/models/Player.ts +++ b/Core/src/core/database/game/models/Player.ts @@ -5,7 +5,6 @@ import MissionSlot from "./MissionSlot"; import {InventoryInfos} from "./InventoryInfo"; import {MissionsController} from "../../../missions/MissionsController"; import {PlayerActiveObjects} from "./PlayerActiveObjects"; -import {EffectsConstants} from "../../../../../../Lib/src/constants/EffectsConstants"; import {getOneDayAgo, millisecondsToSeconds, minutesToHours} from "../../../../../../Lib/src/utils/TimeUtils"; import {TravelTime} from "../../../maps/TravelTime"; import {ItemCategory} from "../../../../../../Lib/src/constants/ItemConstants"; @@ -14,7 +13,7 @@ import {RandomUtils} from "../../../utils/RandomUtils"; import {LogsReadRequests} from "../../logs/LogsReadRequests"; import {PlayerSmallEvents} from "./PlayerSmallEvent"; import {Guilds} from "./Guild"; -import {DraftBotPacket} from "../../../../../../Lib/src/packets/DraftBotPacket"; +import {DraftBotPacket, makePacket} from "../../../../../../Lib/src/packets/DraftBotPacket"; import {PlayerDeathPacket} from "../../../../../../Lib/src/packets/notifications/PlayerDeathPacket"; import {PlayerLeavePveIslandPacket} from "../../../../../../Lib/src/packets/notifications/PlayerLeavePveIslandPacket"; import {PlayerLevelUpPacket} from "../../../../../../Lib/src/packets/notifications/PlayerLevelUpPacket"; @@ -39,6 +38,7 @@ import {ClassInfoConstants} from "../../../../../../Lib/src/constants/ClassInfoC import {GuildConstants} from "../../../../../../Lib/src/constants/GuildConstants"; import {MapConstants} from "../../../../../../Lib/src/constants/MapConstants"; import {BlockingConstants} from "../../../../../../Lib/src/constants/BlockingConstants"; +import {Effect} from "../../../../../../Lib/src/enums/Effect"; export type PlayerEditValueParameters = { player: Player, @@ -96,7 +96,7 @@ export class Player extends Model { declare lastPetFree: Date; - declare effect: string; + declare effectId: string; declare effectEndDate: Date; @@ -276,7 +276,8 @@ export class Player extends Model { public async addLevelUpPacket(response: DraftBotPacket[]): Promise { const healthRestored = this.level % 10 === 0; - const packet: PlayerLevelUpPacket = { + const packet = makePacket(PlayerLevelUpPacket, { + level: this.level, fightUnlocked: this.level === FightConstants.REQUIRED_LEVEL, guildUnlocked: this.level === GuildConstants.REQUIRED_LEVEL, healthRestored, @@ -287,7 +288,7 @@ export class Player extends Model { classesTier5Unlocked: this.level === Constants.CLASS.GROUP4LEVEL, missionSlotUnlocked: this.level === Constants.MISSIONS.SLOT_2_LEVEL || this.level === Constants.MISSIONS.SLOT_3_LEVEL, pveUnlocked: this.level === PVEConstants.MIN_LEVEL - }; + }); if (healthRestored) { await this.addHealth(this.getMaxHealth() - this.health, response, NumberChangeReason.LEVEL_UP, { @@ -329,11 +330,11 @@ export class Player extends Model { /** * This function is called when a player receives an effect after a report * @param timeMalus - * @param effectMalus + * @param effect * @param reason */ - public async setLastReportWithEffect(timeMalus: number, effectMalus: string, reason: NumberChangeReason): Promise { - await TravelTime.applyEffect(this, effectMalus, timeMalus, new Date(), reason); + public async setLastReportWithEffect(timeMalus: number, effect: Effect, reason: NumberChangeReason): Promise { + await TravelTime.applyEffect(this, effect, timeMalus, new Date(), reason); await this.save(); } @@ -346,8 +347,8 @@ export class Player extends Model { if (this.health > 0) { return false; } - await TravelTime.applyEffect(this, EffectsConstants.EMOJI_TEXT.DEAD, 0, new Date(), reason); - const packet: PlayerDeathPacket = {}; + await TravelTime.applyEffect(this, Effect.DEAD, 0, new Date(), reason); + const packet = makePacket(PlayerDeathPacket, {}); response.push(packet); return true; } @@ -378,10 +379,10 @@ export class Player extends Model { * @param date */ public currentEffectFinished(date: Date): boolean { - if (this.effect === EffectsConstants.EMOJI_TEXT.DEAD || this.effect === EffectsConstants.EMOJI_TEXT.BABY) { + if (this.effectId === Effect.DEAD.id || this.effectId === Effect.NOT_STARTED.id) { return false; } - if (this.effect === EffectsConstants.EMOJI_TEXT.SMILEY) { + if (this.effectId === Effect.NO_EFFECT.id) { return true; } if (!this.effectEndDate) { @@ -395,8 +396,7 @@ export class Player extends Model { */ public effectRemainingTime(): number { let remainingTime = 0; - if (Object.values(EffectsConstants.EMOJI_TEXT) - .includes(this.effect) || this.effect === EffectsConstants.EMOJI_TEXT.OCCUPIED) { + if (Effect.getById(this.effectId)) { if (!this.effectEndDate || this.effectEndDate.valueOf() === 0) { return 0; } @@ -412,14 +412,14 @@ export class Player extends Model { * Check if the player is under some effect (except dead or baby) */ public checkEffect(): boolean { - return [EffectsConstants.EMOJI_TEXT.BABY, EffectsConstants.EMOJI_TEXT.SMILEY, EffectsConstants.EMOJI_TEXT.DEAD].indexOf(this.effect) !== -1; + return [Effect.NOT_STARTED.id, Effect.NO_EFFECT.id, Effect.DEAD.id].indexOf(this.effectId) !== -1; } /** * Check if the player is dead and needs to respawn */ public isDead(): boolean { - return this.effect === EffectsConstants.EMOJI_TEXT.DEAD; + return this.effectId === Effect.DEAD.id; } /** @@ -749,7 +749,7 @@ export class Player extends Model { MapLinkDataController.instance.getById(MapConstants.WATER_MAP_LINKS[RandomUtils.randInt(0, MapConstants.WATER_MAP_LINKS.length)]), Date.now() ); - await TravelTime.applyEffect(this, EffectsConstants.EMOJI_TEXT.CONFOUNDED, 0, new Date(), NumberChangeReason.PVE_ISLAND); + await TravelTime.applyEffect(this, Effect.CONFOUNDED, 0, new Date(), NumberChangeReason.PVE_ISLAND); await PlayerSmallEvents.removeSmallEventsOfPlayer(this.id); return true; } diff --git a/Core/src/core/database/logs/LogsDatabase.ts b/Core/src/core/database/logs/LogsDatabase.ts index d4bc7efdb..cbc16d8e9 100644 --- a/Core/src/core/database/logs/LogsDatabase.ts +++ b/Core/src/core/database/logs/LogsDatabase.ts @@ -76,7 +76,6 @@ import {LogsPetsLovesChanges} from "./models/LogsPetsLovesChanges"; import {LogsGuildsFoodsChanges} from "./models/LogsGuildsFoodsChanges"; import {LogsGuildsNewPets} from "./models/LogsGuildsNewPets"; import {LogsPlayersNewPets} from "./models/LogsPlayersNewPets"; -import {EffectsConstants} from "../../../../../Lib/src/constants/EffectsConstants"; import {LogsPlayersDailies} from "./models/LogsPlayersDailies"; import {NumberChangeReason, ShopItemType} from "../../../../../Lib/src/constants/LogsConstants"; import {getDateLogs} from "../../../../../Lib/src/utils/TimeUtils"; @@ -95,6 +94,7 @@ import {FightController} from "../../fights/FightController"; import {PlayerFighter} from "../../fights/fighter/PlayerFighter"; import {MonsterFighter} from "../../fights/fighter/MonsterFighter"; import {LogsServers} from "./models/LogsServers"; +import {Effect} from "../../../../../Lib/src/enums/Effect"; /** * This class is used to log all the changes in the game database @@ -461,14 +461,14 @@ export class LogsDatabase extends Database { /** * Log a new alteration of a player * @param keycloakId - * @param alteration + * @param alterationId * @param reason * @param duration */ - public async logAlteration(keycloakId: string, alteration: string, reason: NumberChangeReason, duration: number): Promise { + public async logAlteration(keycloakId: string, alterationId: string, reason: NumberChangeReason, duration: number): Promise { const player = await LogsDatabase.findOrCreatePlayer(keycloakId); - switch (alteration) { - case EffectsConstants.EMOJI_TEXT.OCCUPIED: + switch (alterationId) { + case Effect.OCCUPIED.id: await LogsPlayersOccupiedAlterations.create({ playerId: player.id, duration, @@ -481,7 +481,7 @@ export class LogsDatabase extends Database { playerId: player.id, alterationId: (await LogsAlterations.findOrCreate({ where: { - alteration: alteration + alteration: alterationId } }))[0].id, reason, diff --git a/Core/src/core/database/logs/migrations/006-v5.ts b/Core/src/core/database/logs/migrations/006-v5.ts index 49ad5ea95..af332f039 100644 --- a/Core/src/core/database/logs/migrations/006-v5.ts +++ b/Core/src/core/database/logs/migrations/006-v5.ts @@ -1,4 +1,5 @@ import {QueryInterface} from "sequelize"; +import {Effect} from "../../../../../../Lib/src/enums/Effect"; // Populated by v5 migration of game // Map discordId => new ID @@ -12,6 +13,11 @@ export async function up({context}: { context: QueryInterface }): Promise } await context.renameColumn("players", "discordId", "keycloakId"); + + // Change alterations name in logs + for (const effect of Effect.getAll()) { + await context.sequelize.query(`UPDATE alterations SET alteration = "${effect.id}" WHERE alteration = "${effect.v4Id}"`); + } } export async function down({context}: { context: QueryInterface }): Promise { diff --git a/Core/src/core/maps/TravelTime.ts b/Core/src/core/maps/TravelTime.ts index e77e8ee6a..e5904a74b 100644 --- a/Core/src/core/maps/TravelTime.ts +++ b/Core/src/core/maps/TravelTime.ts @@ -1,14 +1,14 @@ import Player from "../database/game/models/Player"; import {millisecondsToMinutes, minutesToMilliseconds} from "../../../../Lib/src/utils/TimeUtils"; import {PlayerSmallEvents} from "../database/game/models/PlayerSmallEvent"; -import {Constants} from "../../../../Lib/src/constants/Constants"; -import {NumberChangeReason} from "../../../../Lib/src/constants/LogsConstants"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; import {Maps} from "./Maps"; import {PVEConstants} from "../../../../Lib/src/constants/PVEConstants"; import {MapLinkDataController} from "../../data/MapLink"; import {draftBotInstance} from "../../index"; import {TravelEndPushPacket} from "../../../../Lib/src/packets/push/TravelEndPushPacket"; +import {Effect} from "../../../../Lib/src/enums/Effect"; +import { Constants } from "../../../../Lib/src/constants/Constants"; +import {NumberChangeReason} from "../../../../Lib/src/constants/LogsConstants"; /** * Travel time functions class @@ -196,7 +196,7 @@ export class TravelTime { player.startTravelDate = new Date(player.startTravelDate.valueOf() + minutesToMilliseconds(player.effectDuration)); // Now we can safely remove the effect, as the player is after the effect - player.effect = EffectsConstants.EMOJI_TEXT.SMILEY; + player.effectId = Effect.NO_EFFECT.id; player.effectDuration = 0; player.effectEndDate = new Date(); @@ -212,26 +212,26 @@ export class TravelTime { * @param date The date of the beginning of the effect * @param reason */ - static async applyEffect(player: Player, effect: string, time: number, date: Date, reason: NumberChangeReason): Promise { + static async applyEffect(player: Player, effect: Effect, time: number, date: Date, reason: NumberChangeReason): Promise { // Reason is IGNORE here because you don't want to log a time warp when you get an alteration // First remove the effect (if the effect is time related) - if (![EffectsConstants.EMOJI_TEXT.SMILEY, EffectsConstants.EMOJI_TEXT.BABY, EffectsConstants.EMOJI_TEXT.DEAD].includes(player.effect)) { + if (player.effectId in [Effect.NO_EFFECT.id, Effect.NOT_STARTED.id, Effect.DEAD.id]) { await this.removeEffect(player, NumberChangeReason.IGNORE); } // Apply the new effect - player.effect = effect; - if (effect === EffectsConstants.EMOJI_TEXT.OCCUPIED) { + player.effectId = effect.id; + if (effect === Effect.OCCUPIED) { player.effectDuration = time; } else { - player.effectDuration = EffectsConstants.DURATION[effect as keyof typeof EffectsConstants.DURATION]; + player.effectDuration = effect.timeMinutes; } player.effectEndDate = new Date(date.valueOf() + minutesToMilliseconds(player.effectDuration)); // Save and log await player.save(); - draftBotInstance.logsDatabase.logAlteration(player.keycloakId, effect, reason, time) + draftBotInstance.logsDatabase.logAlteration(player.keycloakId, effect.id, reason, time) .then(); } } \ No newline at end of file diff --git a/Core/src/core/smallEvents/bigBad.ts b/Core/src/core/smallEvents/bigBad.ts index 1f04a760b..76f29c955 100644 --- a/Core/src/core/smallEvents/bigBad.ts +++ b/Core/src/core/smallEvents/bigBad.ts @@ -7,6 +7,7 @@ import {MissionsController} from "../missions/MissionsController"; import {makePacket} from "../../../../Lib/src/packets/DraftBotPacket"; import {SmallEventBigBadPacket} from "../../../../Lib/src/packets/smallEvents/SmallEventBigBadPacket"; import {Maps} from "../maps/Maps"; +import {Effect} from "../../../../Lib/src/enums/Effect"; type BigBadProperties = { "alterationStories": { @@ -30,7 +31,7 @@ export const smallEventFuncs: SmallEventFuncs = { break; case 1: seFallen = RandomUtils.draftbotRandom.pick(Object.keys(bigBadProperties.alterationStories)); - await TravelTime.applyEffect(player, bigBadProperties.alterationStories[seFallen].alte, 0, new Date(), NumberChangeReason.SMALL_EVENT); + await TravelTime.applyEffect(player, Effect.getById(bigBadProperties.alterationStories[seFallen].alte), 0, new Date(), NumberChangeReason.SMALL_EVENT); if (bigBadProperties.alterationStories[seFallen].tags) { for (const tag of bigBadProperties.alterationStories[seFallen].tags) { await MissionsController.update(player, response, { diff --git a/Core/src/core/smallEvents/gobletsGame.ts b/Core/src/core/smallEvents/gobletsGame.ts index 885dbe664..178cb5d4a 100644 --- a/Core/src/core/smallEvents/gobletsGame.ts +++ b/Core/src/core/smallEvents/gobletsGame.ts @@ -9,11 +9,11 @@ import {BlockingUtils} from "../utils/BlockingUtils"; import {DraftBotPacket, makePacket} from "../../../../Lib/src/packets/DraftBotPacket"; import {NumberChangeReason} from "../../../../Lib/src/constants/LogsConstants"; import {TravelTime} from "../maps/TravelTime"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; import {SmallEventGobletsGamePacket} from "../../../../Lib/src/packets/smallEvents/SmallEventGobletsGamePacket"; import {EndCallback, ReactionCollectorInstance} from "../utils/ReactionsCollector"; import {ReactionCollectorGobletsGame} from "../../../../Lib/src/packets/interaction/ReactionCollectorGobletsGame"; import {ReactionCollectorReaction} from "../../../../Lib/src/packets/interaction/ReactionCollectorPacket"; +import {Effect} from "../../../../Lib/src/enums/Effect"; type GobletsGameProperties = { "malusTypes": string[] @@ -36,7 +36,7 @@ async function applyMalus(response: DraftBotPacket[], player: Player, reaction: case "time": packet.value = Math.round(player.level * SmallEventConstants.GOBLETS_GAME.TIME_LOST.LEVEL_MULTIPLIER) + SmallEventConstants.GOBLETS_GAME.TIME_LOST.BASE + RandomUtils.variationInt(SmallEventConstants.GOBLETS_GAME.TIME_LOST.VARIATION); - await TravelTime.applyEffect(player, EffectsConstants.EMOJI_TEXT.OCCUPIED, packet.value, new Date(), NumberChangeReason.SMALL_EVENT); + await TravelTime.applyEffect(player, Effect.OCCUPIED, packet.value, new Date(), NumberChangeReason.SMALL_EVENT); break; case "nothing": break; diff --git a/Core/src/data/WitchAction.ts b/Core/src/data/WitchAction.ts index 0efb71e9e..3c2c7170e 100644 --- a/Core/src/data/WitchAction.ts +++ b/Core/src/data/WitchAction.ts @@ -8,7 +8,7 @@ import {ItemNature, ItemRarity} from "../../../Lib/src/constants/ItemConstants"; import {DraftBotPacket} from "../../../Lib/src/packets/DraftBotPacket"; import {TravelTime} from "../core/maps/TravelTime"; import {NumberChangeReason} from "../../../Lib/src/constants/LogsConstants"; -import {EffectsConstants} from "../../../Lib/src/constants/EffectsConstants"; +import {Effect} from "../../../Lib/src/enums/Effect"; export enum WitchActionOutcomeType { @@ -66,8 +66,8 @@ export class WitchAction extends Data { } } - private getEffectType(): string { - return this.effectType ?? EffectsConstants.EMOJI_TEXT.OCCUPIED; + private getEffectType(): Effect { + return Effect.getById(this.effectType) ?? Effect.OCCUPIED; } } diff --git a/Core/src/data/events/PossibilityOutcome.ts b/Core/src/data/events/PossibilityOutcome.ts index bdcdeba4e..fd803e774 100644 --- a/Core/src/data/events/PossibilityOutcome.ts +++ b/Core/src/data/events/PossibilityOutcome.ts @@ -10,9 +10,9 @@ import {InventorySlots} from "../../core/database/game/models/InventorySlot"; import {PetEntities} from "../../core/database/game/models/PetEntity"; import {CommandReportBigEventResultRes} from "../../../../Lib/src/packets/commands/CommandReportPacket"; import {DraftBotPacket, makePacket, PacketContext} from "../../../../Lib/src/packets/DraftBotPacket"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; import {ItemConstants} from "../../../../Lib/src/constants/ItemConstants"; import {MapLink, MapLinkDataController} from "../MapLink"; +import {Effect} from "../../../../Lib/src/enums/Effect"; async function applyOutcomeScore(outcome: PossibilityOutcome, time: number, player: Player, response: DraftBotPacket[]): Promise { const scoreChange = time + @@ -32,18 +32,18 @@ async function applyOutcomeExperience(outcome: PossibilityOutcome, player: Playe (outcome.health > 0 ? 200 : 0) + (outcome.randomItem ? 300 : 0) + (outcome.money > 0 ? 100 : 0); - switch (outcome.effect ?? EffectsConstants.EMOJI_TEXT.SMILEY) { - case EffectsConstants.EMOJI_TEXT.OCCUPIED: + switch (outcome.effect ?? Effect.NO_EFFECT.id) { + case Effect.OCCUPIED.id: experienceChange -= 125; break; - case EffectsConstants.EMOJI_TEXT.SLEEPING: - case EffectsConstants.EMOJI_TEXT.STARVING: + case Effect.SLEEPING.id: + case Effect.STARVING.id: experienceChange -= 130; break; - case EffectsConstants.EMOJI_TEXT.CONFOUNDED: + case Effect.CONFOUNDED.id: experienceChange -= 140; break; - case EffectsConstants.EMOJI_TEXT.SMILEY: + case Effect.NO_EFFECT.id: break; default: experienceChange = 0; @@ -69,14 +69,14 @@ async function applyOutcomeEffect(outcome: PossibilityOutcome, player: Player): } | undefined> { await player.setLastReportWithEffect( outcome.lostTime ?? 0, - outcome.effect ?? EffectsConstants.EMOJI_TEXT.SMILEY, + Effect.getById(outcome.effect) ?? Effect.NO_EFFECT, NumberChangeReason.BIG_EVENT ); if (outcome.effect) { return { time: player.effectDuration, - name: player.effect + name: player.effectId }; } diff --git a/Discord/src/bot/DiscordCache.ts b/Discord/src/bot/DiscordCache.ts index 2b9e329ce..f4becc83d 100644 --- a/Discord/src/bot/DiscordCache.ts +++ b/Discord/src/bot/DiscordCache.ts @@ -1,11 +1,14 @@ import {DraftbotInteraction} from "../messages/DraftbotInteraction"; import {Constants} from "../../../Lib/src/constants/Constants"; +import {ButtonInteraction} from "discord.js"; export class DiscordCache { private static initialized = false; private static interactionsCache: Map = new Map(); + private static buttonInteractionsCache: Map = new Map(); + private static init(): void { if (!DiscordCache.initialized) { setInterval(DiscordCache.purge, 60000); @@ -27,8 +30,18 @@ export class DiscordCache { DiscordCache.interactionsCache.set(interaction.id, { interaction, time: Date.now() + Constants.CACHE_TIME.INTERACTIONS }); } + public static cacheButtonInteraction(interaction: ButtonInteraction): void { + DiscordCache.init(); + DiscordCache.buttonInteractionsCache.set(interaction.id, { interaction, time: Date.now() + Constants.CACHE_TIME.INTERACTIONS }); + } + public static getInteraction(id: string): DraftbotInteraction | null { const entry = DiscordCache.interactionsCache.get(id); return entry?.interaction ?? null; } + + public static getButtonInteraction(id: string): ButtonInteraction | null { + const entry = DiscordCache.buttonInteractionsCache.get(id); + return entry?.interaction ?? null; + } } \ No newline at end of file diff --git a/Discord/src/commands/ICommand.ts b/Discord/src/commands/ICommand.ts index 2118f7369..8ba55085b 100644 --- a/Discord/src/commands/ICommand.ts +++ b/Discord/src/commands/ICommand.ts @@ -3,6 +3,7 @@ import {ApplicationCommandPermissions} from "discord.js"; import {KeycloakUser} from "../../../Lib/src/keycloak/KeycloakUser"; import {DraftBotPacket} from "../../../Lib/src/packets/DraftBotPacket"; import {DraftbotInteraction} from "../messages/DraftbotInteraction"; +import {Effect} from "../../../Lib/src/enums/Effect"; /** * The interface a classical command MUST take to be able to be executed @@ -14,7 +15,7 @@ export interface ICommand { requirements: { requiredLevel?: number, - disallowEffects?: string[], + disallowEffects?: Effect[], allowEffects?: string[], userPermission?: string, guildRequired?: boolean, diff --git a/Discord/src/commands/guild/GuildCommand.ts b/Discord/src/commands/guild/GuildCommand.ts index c74ecfe43..1fd4df936 100644 --- a/Discord/src/commands/guild/GuildCommand.ts +++ b/Discord/src/commands/guild/GuildCommand.ts @@ -9,7 +9,6 @@ import { GuildMemberPacket } from "../../../../Lib/src/packets/commands/CommandGuildPacket"; import {SlashCommandBuilder} from "@discordjs/builders"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; import {DraftBotEmbed} from "../../messages/DraftBotEmbed"; import {DiscordCache} from "../../bot/DiscordCache"; import {DraftBotErrorEmbed} from "../../messages/DraftBotErrorEmbed"; @@ -18,6 +17,7 @@ import {ColorConstants} from "../../../../Lib/src/constants/ColorConstants"; import {KeycloakUser} from "../../../../Lib/src/keycloak/KeycloakUser"; import {KeycloakUtils} from "../../../../Lib/src/keycloak/KeycloakUtils"; import {keycloakConfig} from "../../bot/DraftBotShard"; +import {Effect} from "../../../../Lib/src/enums/Effect"; /** * Display all the information about a guild @@ -162,7 +162,7 @@ export const commandInfo: ICommand = { .setRequired(false)) as SlashCommandBuilder, getPacket, requirements: { - disallowEffects: [EffectsConstants.EMOJI_TEXT.BABY] + disallowEffects: [Effect.NOT_STARTED] }, mainGuildCommand: false }; \ No newline at end of file diff --git a/Discord/src/commands/player/InventoryCommand.ts b/Discord/src/commands/player/InventoryCommand.ts index 7147fd509..0ee6e8808 100644 --- a/Discord/src/commands/player/InventoryCommand.ts +++ b/Discord/src/commands/player/InventoryCommand.ts @@ -4,7 +4,6 @@ import {DraftbotInteraction} from "../../messages/DraftbotInteraction"; import i18n from "../../translations/i18n"; import {SlashCommandBuilderGenerator} from "../SlashCommandBuilderGenerator"; import {SlashCommandBuilder} from "@discordjs/builders"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; import {DraftBotEmbed} from "../../messages/DraftBotEmbed"; import {ActionRowBuilder, ButtonBuilder, ButtonInteraction, ButtonStyle, EmbedField} from "discord.js"; import {Constants} from "../../../../Lib/src/constants/Constants"; @@ -17,6 +16,7 @@ import {keycloakConfig} from "../../bot/DraftBotShard"; import {CommandInventoryPacketReq, CommandInventoryPacketRes, MainItemDisplayPacket, SupportItemDisplayPacket} from "../../../../Lib/src/packets/commands/CommandInventoryPacket"; import {DiscordItemUtils} from "../../utils/DiscordItemUtils"; import {sendInteractionNotForYou} from "../../utils/ErrorUtils"; +import {Effect} from "../../../../Lib/src/enums/Effect"; async function getPacket(interaction: DraftbotInteraction, keycloakUser: KeycloakUser): Promise { let askedPlayer: { keycloakId?: string, rank?: number } = {keycloakId: keycloakUser.id}; @@ -177,7 +177,7 @@ export const commandInfo: ICommand = { .setRequired(false)) as SlashCommandBuilder, getPacket, requirements: { - disallowEffects: [EffectsConstants.EMOJI_TEXT.BABY, EffectsConstants.EMOJI_TEXT.DEAD] + disallowEffects: [Effect.NOT_STARTED, Effect.DEAD] }, mainGuildCommand: false }; \ No newline at end of file diff --git a/Discord/src/commands/player/ProfileCommand.ts b/Discord/src/commands/player/ProfileCommand.ts index 8b50a77df..cf9ca401d 100644 --- a/Discord/src/commands/player/ProfileCommand.ts +++ b/Discord/src/commands/player/ProfileCommand.ts @@ -5,7 +5,6 @@ import i18n from "../../translations/i18n"; import {SlashCommandBuilderGenerator} from "../SlashCommandBuilderGenerator"; import {CommandProfilePacketReq, CommandProfilePacketRes} from "../../../../Lib/src/packets/commands/CommandProfilePacket"; import {SlashCommandBuilder} from "@discordjs/builders"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; import {DraftBotEmbed} from "../../messages/DraftBotEmbed"; import {ColorResolvable, EmbedField, Message, MessageReaction} from "discord.js"; import {Constants} from "../../../../Lib/src/constants/Constants"; @@ -16,6 +15,8 @@ import {Language} from "../../../../Lib/src/Language"; import {KeycloakUser} from "../../../../Lib/src/keycloak/KeycloakUser"; import {KeycloakUtils} from "../../../../Lib/src/keycloak/KeycloakUtils"; import {keycloakConfig} from "../../bot/DraftBotShard"; +import {DraftBotIcons} from "../../../../Lib/src/DraftBotIcons"; +import {Effect} from "../../../../Lib/src/enums/Effect"; /** * Display the profile of a player @@ -143,7 +144,7 @@ function generateFields(packet: CommandProfilePacketRes, language: Language): Em name: i18n.t("commands:profile.timeLeft.fieldName", {lng: language}), value: i18n.t("commands:profile.timeLeft.fieldValue", { lng: language, - effect: packet.data.effect, + effect: DraftBotIcons.effects[packet.data.effect.effect], timeLeft: packet.data.effect.timeLeft }), inline: false @@ -282,7 +283,7 @@ export const commandInfo: ICommand = { .setRequired(false)) as SlashCommandBuilder, getPacket, requirements: { - disallowEffects: [EffectsConstants.EMOJI_TEXT.BABY] + disallowEffects: [Effect.NOT_STARTED] }, mainGuildCommand: false }; \ No newline at end of file diff --git a/Discord/src/commands/player/ReportCommand.ts b/Discord/src/commands/player/ReportCommand.ts index a67b1c11e..99f8495fd 100644 --- a/Discord/src/commands/player/ReportCommand.ts +++ b/Discord/src/commands/player/ReportCommand.ts @@ -2,8 +2,10 @@ import {ICommand} from "../ICommand"; import {makePacket, PacketContext} from "../../../../Lib/src/packets/DraftBotPacket"; import {DraftbotInteraction} from "../../messages/DraftbotInteraction"; import {SlashCommandBuilderGenerator} from "../SlashCommandBuilderGenerator"; -import {EffectsConstants} from "../../../../Lib/src/constants/EffectsConstants"; -import {CommandReportPacketReq} from "../../../../Lib/src/packets/commands/CommandReportPacket"; +import { + CommandReportBigEventResultRes, + CommandReportPacketReq +} from "../../../../Lib/src/packets/commands/CommandReportPacket"; import {KeycloakUser} from "../../../../Lib/src/keycloak/KeycloakUser"; import { ReactionCollectorCreationPacket, @@ -26,6 +28,8 @@ import {DraftBotIcons} from "../../../../Lib/src/DraftBotIcons"; import {sendInteractionNotForYou} from "../../utils/ErrorUtils"; import {DiscordWebSocket} from "../../bot/Websocket"; import {Constants} from "../../../../Lib/src/constants/Constants"; +import {Effect} from "../../../../Lib/src/enums/Effect"; +import {minutesDisplay} from "../../../../Lib/src/utils/TimeUtils"; async function getPacket(interaction: DraftbotInteraction, user: KeycloakUser): Promise { await interaction.deferReply(); @@ -64,7 +68,7 @@ export async function createBigEventCollector(packet: ReactionCollectorCreationP }) as Message; let responded = false; // To avoid concurrence between buttons controller and reactions controller - const respondToEvent = (possibilityName: string): void => { + const respondToEvent = (possibilityName: string, buttonInteraction: ButtonInteraction | null): void => { if (!responded) { responded = true; @@ -77,12 +81,24 @@ export async function createBigEventCollector(packet: ReactionCollectorCreationP } ); + if (buttonInteraction) { + DiscordCache.cacheButtonInteraction(buttonInteraction); + } DiscordWebSocket.socket!.send(JSON.stringify({ packet: { name: responsePacket.constructor.name, data: responsePacket }, - context + context: { + keycloakId: user.id, + discord: { + user: interaction.user.id, + channel: interaction.channel.id, + interaction: interaction.id, + buttonInteraction: buttonInteraction?.id, + language: interaction.userLanguage + } + } })); } }; @@ -104,30 +120,84 @@ export async function createBigEventCollector(packet: ReactionCollectorCreationP buttonCollector.stop(); endCollector.stop(); }); - buttonCollector.on("end", (collected) => { + buttonCollector.on("end", async (collected) => { const firstReaction = collected.first() as ButtonInteraction; if (!firstReaction) { - respondToEvent("end"); + respondToEvent("end", null); } else { - respondToEvent(firstReaction.customId); + await firstReaction.deferReply(); + respondToEvent(firstReaction.customId, firstReaction); } }); endCollector.on("collect", () => { - respondToEvent("end"); + respondToEvent("end", null); - // ButtonCollector.stop(); - // EndCollector.stop(); + buttonCollector.stop(); + endCollector.stop(); }); } +export async function reportResult(packet: CommandReportBigEventResultRes, context: PacketContext): Promise { + const user = (await KeycloakUtils.getUserByKeycloakId(keycloakConfig, context.keycloakId!))!; + const interaction = DiscordCache.getInteraction(context.discord!.interaction)!; + + let result = ""; + if (packet.score) { + result += i18n.t("commands:report.points", { lng: interaction.channel.language, score: packet.score }); + } + if (packet.money < 0) { + result += i18n.t("commands:report.moneyLoose", { lng: interaction.channel.language, money: -packet.money }); + } + else if (packet.money > 0) { + result += i18n.t("commands:report.money", { lng: interaction.channel.language, money: packet.money }); + } + if (packet.health < 0) { + result += i18n.t("commands:report.healthLoose", { lng: interaction.channel.language, health: -packet.health }); + } + else if (packet.health > 0) { + result += i18n.t("commands:report.health", { lng: interaction.channel.language, health: packet.health }); + } + if (packet.energy) { + result += i18n.t("commands:report.energy", { lng: interaction.channel.language, energy: packet.energy }); + } + if (packet.gems) { + result += i18n.t("commands:report.gems", { lng: interaction.channel.language, gems: packet.gems }); + } + if (packet.experience) { + result += i18n.t("commands:report.experience", { lng: interaction.channel.language, experience: packet.experience }); + } + if (packet.effect && packet.effect.name === Effect.OCCUPIED.id) { + result += i18n.t("commands:report.timeLost", { lng: interaction.channel.language, timeLost: minutesDisplay(packet.effect.time) }); + } + + const content = i18n.t("commands:report.doPossibility", { + lng: interaction.channel.language, + interpolation: { escapeValue: false }, + pseudo: user.attributes.gameUsername, + result, + event: i18n.t(`events:${packet.eventId}.possibilities.${packet.possibilityId}.outcomes.${packet.outcomeId}`), + emoji: packet.possibilityId === "end" ? (DraftBotIcons.events[packet.eventId].end as { [outcomeId: string]: string })[packet.outcomeId] : DraftBotIcons.events[packet.possibilityId], + alte: packet.effect ? DraftBotIcons.effects[packet.effect.name] : "" + }); + + const buttonInteraction = context.discord?.buttonInteraction ? DiscordCache.getButtonInteraction(context.discord?.buttonInteraction) : null; + + if (buttonInteraction) { + await buttonInteraction.editReply({ content }); + } + else { + await interaction.channel.send({ content }); + } +} + export const commandInfo: ICommand = { slashCommandBuilder: SlashCommandBuilderGenerator.generateBaseCommand("report"), getPacket, requirements: { - disallowEffects: [EffectsConstants.EMOJI_TEXT.DEAD] + disallowEffects: [Effect.DEAD] }, mainGuildCommand: false }; \ No newline at end of file diff --git a/Discord/src/packetHandlers/handlers/CommandHandlers.ts b/Discord/src/packetHandlers/handlers/CommandHandlers.ts index a49e5b2b7..e6026454f 100644 --- a/Discord/src/packetHandlers/handlers/CommandHandlers.ts +++ b/Discord/src/packetHandlers/handlers/CommandHandlers.ts @@ -16,7 +16,9 @@ import {CommandRarityPacketRes} from "../../../../Lib/src/packets/commands/Comma import {handleCommandRarityPacketRes} from "../../commands/player/RarityCommand"; import {handleCommandTestPacketRes} from "../../commands/admin/TestCommand"; import {handleCommandGuildPacketRes} from "../../commands/guild/GuildCommand"; -import { CommandGuildPacketRes } from "../../../../Lib/src/packets/commands/CommandGuildPacket"; +import {CommandGuildPacketRes} from "../../../../Lib/src/packets/commands/CommandGuildPacket"; +import {reportResult} from "../../commands/player/ReportCommand"; +import {CommandReportBigEventResultRes} from "../../../../Lib/src/packets/commands/CommandReportPacket"; export default class CommandHandlers { @packetHandler(CommandPingPacketRes) @@ -62,4 +64,9 @@ export default class CommandHandlers { async rarityRes(socket: WebSocket, packet: CommandRarityPacketRes, context: PacketContext): Promise { await handleCommandRarityPacketRes(packet, context); } + + @packetHandler(CommandReportBigEventResultRes) + async reportResultRes(socket: WebSocket, packet: CommandReportBigEventResultRes, context: PacketContext): Promise { + await reportResult(packet, context); + } } \ No newline at end of file diff --git a/Lang/de/commands.json b/Lang/de/commands.json index b8bf8bb29..82cc7fb8d 100644 --- a/Lang/de/commands.json +++ b/Lang/de/commands.json @@ -26,6 +26,178 @@ "ranking": "{{rank} / {{rankTotal}}", "notRanked": "Non classée" }, + "help": { + "aliasFieldTitle": "Alias", + "aliasesFieldTitle": "Alias", + "commandEmbedTitle": "{{emote}} Detaillierte Informationen:", + "commands": { + "BADGES": { + "description": "Bei den Auszeichnungen handelt es sich um komplizierte Unterscheidungen, die geschaffen wurden, um diejenigen zu belohnen, die die Entwicklung des Bots am stärksten unterstützt haben. Die Liste der Badges ist auf dem Bot Guide erhältlich.\n(über diesen Link: https://guide.draftbot.com/notions-avancees/badges)" + }, + "CLASSES": { + "description": "Ermöglicht die Änderung der Klasse. Mehr Informationen zu den Klassen finden Sie auf der Spielerführung: https://guide.draftbot.com" + }, + "CLASSES_INFO": { + "description": "Lendet einen schnellen Vergleich der Statistikdaten und der Klasseninformationen an, die für den Benutzer, der den Befehl ausführt, zugänglich sind." + }, + "DAILY_BONUS": { + "description": "Einige dieser Elemente geben Ihnen einen täglichen Bonus. Verwenden Sie diesen Befehl, um diese Boni zu erhalten. Um festzustellen, ob ein Tem Sie einen täglichen Bonus gibt, führen Sie den Befehl {command:inventory} aus." + }, + "DRINK": { + "description": "Dieser Befehl wird verwendet, um den von Ihnen zu transmitenden Trank zu konsumieren. Einige Potionen können nicht bucht werden und werden automatisch in einem Kampf verbraucht." + }, + "FIGHT": { + "description": "Verwenden Sie diesen Befehl, um andere Spieler, die sich auf demselben Server wie Sie befinden, zu detrieren.\nDie Kämpfe werden um die Reihe umgeleitet. In jeder Runde können Sie eine Aktion auswählen, die ausgeführt werden soll.\n\nFür weitere Informationen können Sie die Seite \"Guide\" auf der Seite \"https://guide.draftbot.com/notions-principale/combats\" anzeigen.", + "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" + }, + "GLORY_TOP": { + "description": "Zeigt die ruhmige Rangfolge des Spiels pro Schicht von 15 Spielern an. Die Liga der Spieler wird ebenfalls angezeigt. Spieler auf dem gleichen Server, die Sie mit einem blauen Pellet markiert haben." + }, + "GUILD": { + "description": "Zeigt Informationen zu einer Gilde an." + }, + "GUILD_CREATE": { + "description": "Erzeugt eine Gilde. Eine Gilde zu erstellen kostet 5000 :moneybag:." + }, + "GUILD_DAILY_BONUS": { + "description": "Gewinnen Sie die täglichen Gilde-Belohnungen." + }, + "GUILD_DESCRIPTION": { + "description": "Um die Beschreibung der Gilde zu ändern, ist es notwendig, die Gilde zu sein." + }, + "GUILD_ELDER": { + "description": "Um der Gilde einen älteren Menschen hinzuzufügen, muss man der Name der Gilde sein." + }, + "GUILD_ELDER_REMOVE": { + "description": "Um die Älteste der Gilde zu entfernen, ist es notwendig, die Gilde zu sein." + }, + "GUILD_INVITE": { + "description": "Wenn Sie einen Benutzer zu einer Gilde hinzufügen, müssen Sie Chief oder Anführer von Gilde sein." + }, + "GUILD_KICK": { + "description": "Um ein Mitglied aus einer Gilde auszuweisen, ist es erforderlich, ein Gilde-Führer zu sein." + }, + "GUILD_LEAVE": { + "description": "Verlassen Sie Ihre Gilde." + }, + "GUILD_SHELTER": { + "description": "Zeigt den Zufluchtsort von Gilde an." + }, + "GUILD_SHOP": { + "description": "Zeigt den Speicher für Ihre Gilde an." + }, + "GUILD_STORAGE": { + "description": "Zeigt den Inhalt des Inhaltslagers der Gilde an." + }, + "GUILD_TOP": { + "description": "Zeigt die Rangfolge der Gilder pro Schicht von 15 Gilder an. Die Guilder werden als Funktionen der auf den mysteriösen Inseln geernteten Punkte eingestuft." + }, + "HELP": { + "description": ":expressionless:" + }, + "IDEA": { + "description": "Sie können einen Link erhalten, um eine Idee vorzuschlagen oder für bereits vorhandene Ideen zu stimmen." + }, + "INVENTORY": { + "description": "Zeigt den Inhalt des Inventars an, der vier Arten von Objekten enthalten kann:\n` ` `\n-waffen\n-armide\n-potions\n-items\n` ` `\n. Der Befehl zeigt auch den Inhalt der Reserve an, die über zusätzliche Speicher verfügt." + }, + "INVITE_DRAFTBOT": { + "description": "Mit diesem Befehl erhalten Sie einen Link zum Hilf-und Hilf-Server!" + }, + "JOIN_BOAT": { + "description": "Erlaubt Ihnen, einem Mitglied der Gilde in einem Schiff auf einer mysteriösen Insel beizutreten." + }, + "LANGUAGE": { + "description": "Ändern Sie die Sprache, die der Bot für die englische Sprache verwendet. Sie können diese verwenden, wenn Sie ein Administrator auf einem Server sind." + }, + "LEAGUE_BONUS": { + "description": "Erhalten Sie jeden Sonntag eine Liga-Belohnung." + }, + "MAP": { + "description": "Zeigt Informationen zu Ihrem Ziel an und zeigt die Karte an." + }, + "MISSIONS": { + "description": "Zeigt eine Liste der Ihnen angebotenen Aufgaben an." + }, + "MISSIONS_SHOP": { + "description": "Zeigt den Lagerort für die Missionen an." + }, + "NOTIFICATIONS": { + "description": "Stellt die Möglichkeit zum Aktivieren oder Inaktivieren von Bots-Benachrichtigungen bereit." + }, + "PET": { + "description": "Zeigt Informationen zu Ihrem Begleiter an." + }, + "PET_FEED": { + "description": "Essen Sie zu Ihrem Begleiter." + }, + "PET_FREE": { + "description": "Gibt Ihnen Ihr Vertrautes. Bitte beachten Sie, dass es nach seiner Freigabe für immer wieder gelöscht wird und dass es unmöglich ist, es zurückzubekommen. Dieser Befehl kann nur einmal pro Stunde ausgeführt werden." + }, + "PET_NICKNAME": { + "description": "Ändern Sie den Spitznamen Ihres Vertrauten. Wenn kein Name angegeben wird, wird der aktuelle Name gelöscht." + }, + "PET_SELL": { + "description": "Verkauft einen Begleiter. Die folgenden Bedingungen gelten: \n -Der Verkaufspreis muss höher sein als `{{petSellMinPrice}}💰` und kleiner als '{{petSellMaxPrice}}💰`. \n-Der Verkäufer wird bei der Transaktion kein Geld verdienen, sondern von der Gilde-Erfahrung. \n-Der Verkäufer und der Käufer können nicht zu derselben Gilde gehören." + }, + "PET_TRADE": { + "description": "Stellt einen Austausch Ihrer Tiere mit der genannten Person bereit." + }, + "PET_TRANSFER": { + "description": "Ermöglicht das Übertragen von Begleiter aus oder in die Gilden-Gilde. Wenn keine Nummer angegeben wird, wird der Begleiter Ihrer Bestandsaufnahme in die Gilde verdrängt. Ansonsten wird es mit dem der Gilde ausgetauscht werden, deren Position mit der gegebenen Nummer übereinstimmt." + }, + "PING": { + "description": "Gibt an, ob der Bot online ist.\n\n(Hinweis: Die angezeigte Zeit ist die Antwortzeit des Bots und nicht das Pingsignal: Eine gültige Antwortzeit beträgt weniger als 500ms. :clock1:" + }, + "PREFIX": { + "description": "Diese Funktion wurde aus dem Spiel entfernt, als eine Aktualisierung der von Discord angebotenen Funktionen." + }, + "PROFILE": { + "description": "Affiche des informations sur votre personnage :\n\n😃 État de santé | Pseudo | Level\n\n឵឵឵Informations :\n❤️ Vie | ⭐ XP | 💰 Argent\n\nStatistiques :\n⚡ Énergie | 🗡️ Attaque | 🛡️ Défense | 🚀 Vitesse | 🌬️ Souffle | 🫁 Récupération\n\nMissions :\n💎 Gemmes | 📖 Avancé de la campagne %\n\nClassement et score :\n🏆 Classement | 🏅 Score\n\nClasse :\nVoir {{classesCommandMention}}\n\nGloire et Ligue :\n✨ Gloire | Voir {{topGloryCommandMention}}\n\nGuilde :\n🏟️ Guilde\n\nDestination :\nVoir {{mapCommandMention}}\n\nFamilier :\nVoir {{petCommandMention}}\n\n💡-Les badges sont affichés sur votre profil sous forme de réaction." + }, + "RARITY": { + "description": "Wählen Sie diese Option aus, um die Wahrscheinlichkeit eines item nach der Knappheit zu erkennen." + }, + "REPORT": { + "description": "Wählen Sie diese Option aus, um die von Ihrem Charakter erfassten Informationen und Ressourcen während der Abwesenheit zu erfassen. Von Zeit zu Zeit lösen sich Ereignisse aus und fordern konkrete Maßnahmen." + }, + "RESPAWN": { + "description": "Wählen Sie diese Option aus, wenn Sie nach der K.O." + }, + "SELL": { + "description": "Wählen Sie aus, dass das Objekt in Ihrer Reserve verkauft wird. Der Wert des Objekts richtet sich nach der Leistung. Potionen haben keinen Wiederverkaufungswert, können aber mit diesem Befehl grace verworfen werden." + }, + "SHOP": { + "description": "Mit diesem Befehl können Sie Ihr Geld ausgeben, um Ihr Abenteuer zu erleichtern. Zusätzlich zu den 4 Basisoptionen, die dauerhaft verfügbar sein werden, können Sie jeden Tag eine exklusive Portion genießen, die nur für 24 Stunden zum Verkauf verfügbar ist." + }, + "SWITCH": { + "description": "Das Element befindet sich in Ihrer Reserve mit dem item, das im Feld \"item\" Ihres Bestands liegt." + }, + "TOP": { + "description": "Zeigt die allgemeine Rangfolge des Spiels pro Schicht von 15 Spielern an. Spieler auf dem gleichen Server, die Sie mit einem blauen Pellet markiert haben." + }, + "UNLOCK": { + "description": "Sie können eine Kaution bezahlen, um jemanden aus dem Gefängnis zu befreien." + }, + "UPDATE": { + "description": "Ermöglicht das Betragen von Changelog." + }, + "VOTE": { + "description": "Ruft die Verbindung ab, um für den Bot zu stimmen." + } + }, + "forMoreHelp": ":arrow_forward: Für weitere Hilfe: ", + "forMoreHelpValue": "Sie können sich auf den [ wiki](https: //guide.draftbot.com/) des Bots stellen.", + "guildCommands": ":stadium: Gilde:", + "helpEmbedDescription": ":arrow_forward: Wenn Sie weitere Informationen zu einem bestimmten Befehl wünschen, klicken Sie hier: {{helpCommandMention}}, und geben Sie den Befehl an, mit dem Sie ein Problem mit dem Parameter haben. :wink:", + "helpEmbedTitle": "{{pseudo}}, hier ist die Liste der verfügbaren Befehle:", + "missionCommands": ":scroll: Mission :", + "petCommands": ":dog: Tiere:", + "playerCommands": ":bust_in_silhouette: Joucher:", + "serverCommands": ":gear: Server:", + "usageFieldTitle": "Verwendung", + "utilCommands": ":question: Utilien:" + }, "idea": { "description": "Sie können Vorschläge unterbreiten und für Ihre Lieblingsideen über diesen Link wählen:\nhttps://feedback.draftbot.com/", "title": ":bulb: Ideen" @@ -39,12 +211,12 @@ "objects_other": "Objekte ({{count}}/{{max}}):", "potions_one": "Potion ({{count}}/{{max}}):", "potions_other": "Potionen ({{count}}/{{max}}):", + "seeBackupItems": "🔄 Siehe Reserve", + "seeEquippedItems": "🔄 Vgl. Bestand anzeigen", "stockTitle": ":package: ** Reserven für Objekte von {{pseudo}}**", "title": ":briefcase: ** Inventar von {{pseudo}}**", "weapons_one": "Waffe ({{count}}/{{max}}):", - "weapons_other": "Waffen ({{count}}/{{max}}):", - "seeBackupItems": "🔄 Siehe Reserve", - "seeEquippedItems": "🔄 Vgl. Bestand anzeigen" + "weapons_other": "Waffen ({{count}}/{{max}}):" }, "invite": { "discord": { @@ -140,8 +312,52 @@ "title": "{{effect}} | {{pseudo}} | Stufe {{level}}" }, "rarity": { - "title": ":slot_machine: Schlechtigkeit der Ausrüstung", - "rarities": ":small_orange_diamond: Basique | Possédé en début de jeu\n:large_orange_diamond: Commun | {{common}}%\n:fire: Peu commun | {{uncommon}}%\n:trident: Exotique | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Spécial | {{special}}%\n:star: Épique | {{epic}}%\n:star2: Légendaire | {{legendary}}%\n:gem: Mythique | {{unique}}%" + "rarities": ":small_orange_diamond: Basique | Possédé en début de jeu\n:large_orange_diamond: Commun | {{common}}%\n:fire: Peu commun | {{uncommon}}%\n:trident: Exotique | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Spécial | {{special}}%\n:star: Épique | {{epic}}%\n:star2: Légendaire | {{legendary}}%\n:gem: Mythique | {{unique}}%", + "title": ":slot_machine: Schlechtigkeit der Ausrüstung" + }, + "report": { + "adviceTitle": "Tipp:", + "chooseDestinationIndications": "Wählen Sie ein Ziel für Ihre Reise:", + "choseMapMinutes_one": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Minuten * * dauern.", + "choseMapMinutes_other": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Minuten * * dauern.", + "choseMap_one": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Std. * * dauern.", + "choseMap_other": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Stunden * * dauern.", + "collectedPointsTitle": "geerntete Punkte:", + "commandDescription": "Holen Sie sich einen Bericht über die Situation Ihres Charakters.", + "commandName": "Bericht", + "destinationTitle": "{{pseudo}}, Reiseziel", + "doChoice": "{{emoji}} {{choiceText}}\n", + "doEvent": ":newspaper: ** Protokoll von {{pseudo}} : ** {{event}}\n*-Verwenden Sie die Reaktionen, um eine Aktion ⚠️ Nicht beantworten zu verwenden, gilt als eine Auswahl von part.*", + "doPossibility": ":newspaper: ** Protokoll von {{pseudo}} {{result}}** | {{emoji}}{{event}} {{alte}}", + "encounterMonster": [ + "Sie kommen zu Ihrem Ziel, wenn Sie plötzlich hören, dass Sie ein Geräusch hinter Ihnen hören. Ein Monster greift Sie an!" + ], + "encounterMonsterStats": "> **{{emoji}} {{monsterName}} ** | ** Stufe {{level}}**\n> {{description}}\n\n⚡ {{fightPoints}} | 🗡 {{attack}} | 🛡 {{defense}} | 🚀 {{speed}}", + "endPoint": "Einreise:", + "energy": "** | :zap: Energie-Gewinner: **{{energy}}", + "experience": "** | :star: XP gewonnen: **{{experience}}", + "gems": "** | :gem: Geme-Gewinner: **{{gems}}", + "health": "** | :heart: Verlorene Vie: **{{health}}", + "healthLoose": "** | :broken_heart: Verlorene Vie: **{{health}}", + "journal": "Protokoll von {{pseudo}}", + "money": "** | :moneybag: Der gespart wurde: **{{money}}", + "moneyLoose": "** | :money_with_wings: Argent verloren: **{{money}}", + "monsterRewardGuildXp": "\n:star: XP Gilde gewonnen: **{{guildXp}}**", + "monsterRewardsDescription": ":moneybag: Silber gewonnen: **{{money}}**\n:star: XP gewonnen: **{{experience}}**", + "monsterRewardsGuildPoints": "\n:mirror_ball: Gilde-Gewinner: **{{guildPoints}}**", + "monsterRewardsTitle": "{{pseudo}}, Kampfbelohnungen", + "newBigEvent": ":flag_fr: Sie kamen zu **{{destination}}**!", + "noFight": ":newspaper: ** Journal von {{pseudo}} : ** {{waitABitReaction}} | Sie verlassen sich schnell und finden Sie ein kleines Versteck! Das Monster wartet geduldig auf Sie.", + "points": ": ** :medal: Gewinner: **{{score}}", + "pveEvent": ":newspaper: ** Journal von {{pseudo}} : ** {{event}}\n\n{{monsterDisplay}}\n\n{{startTheFightReaction}} Beginnt mit dem Kampf\n{{waitABitReaction}} Warten Sie kurz vor Beginn des Kampfes\n\n*-Verwenden Sie die Reaktionen, um eine Aktion durchzuführen *", + "remainingEnergyTitle": "Verbleibende Energie:", + "startPoint": "Startpunkt:", + "timeLost": "** | :clock10: Verlorene Zeit: **{{timeLost}}", + "travelPathTitle": "Aktuelle Reise:", + "travellingDescription": "Es läuft alles gut, seit Ihr letztes Abenteuer {{smallEventEmoji}}. Nächster Halt nach Plan {{time}}.", + "travellingDescriptionEndTravel": "Es läuft alles gut in Ihrem Abenteuer, Sie werden bald am Ziel ankommen.", + "travellingDescriptionWithoutSmallEvent": "Es läuft alles gut in Ihrem Abenteuer. Nächster Haltungsstopp {{time}}.", + "travellingTitle": "Sie sind gerade dabei, Fortschritte zu machen!" }, "update": { "description": "Die aktuelle Version des Bot-Kernels lautet **{{coreVersion}}**. Das Paket für das Discord-Modul lautet **{{discordModuleVersion}}**.\n\nAlle Informationen zu den Aktualisierungen sind hier verfügbar:\nhttps://guide.draftbot.com/lore/historique-des-mises-a-jour", @@ -180,222 +396,6 @@ } } }, - "help": { - "aliasFieldTitle": "Alias", - "helpEmbedDescription": ":arrow_forward: Wenn Sie weitere Informationen zu einem bestimmten Befehl wünschen, klicken Sie hier: {{helpCommandMention}}, und geben Sie den Befehl an, mit dem Sie ein Problem mit dem Parameter haben. :wink:", - "serverCommands": ":gear: Server:", - "utilCommands": ":question: Utilien:", - "playerCommands": ":bust_in_silhouette: Joucher:", - "missionCommands": ":scroll: Mission :", - "guildCommands": ":stadium: Gilde:", - "forMoreHelp": ":arrow_forward: Für weitere Hilfe: ", - "petCommands": ":dog: Tiere:", - "commandEmbedTitle": "{{emote}} Detaillierte Informationen:", - "forMoreHelpValue": "Sie können sich auf den [ wiki](https: //guide.draftbot.com/) des Bots stellen.", - "usageFieldTitle": "Verwendung", - "aliasesFieldTitle": "Alias", - "commands": { - "PREFIX": { - "description": "Diese Funktion wurde aus dem Spiel entfernt, als eine Aktualisierung der von Discord angebotenen Funktionen." - }, - "PING": { - "description": "Gibt an, ob der Bot online ist.\n\n(Hinweis: Die angezeigte Zeit ist die Antwortzeit des Bots und nicht das Pingsignal: Eine gültige Antwortzeit beträgt weniger als 500ms. :clock1:" - }, - "RESPAWN": { - "description": "Wählen Sie diese Option aus, wenn Sie nach der K.O." - }, - "PROFILE": { - "description": "Affiche des informations sur votre personnage :\n\n😃 État de santé | Pseudo | Level\n\n឵឵឵Informations :\n❤️ Vie | ⭐ XP | 💰 Argent\n\nStatistiques :\n⚡ Énergie | 🗡️ Attaque | 🛡️ Défense | 🚀 Vitesse | 🌬️ Souffle | 🫁 Récupération\n\nMissions :\n💎 Gemmes | 📖 Avancé de la campagne %\n\nClassement et score :\n🏆 Classement | 🏅 Score\n\nClasse :\nVoir {{classesCommandMention}}\n\nGloire et Ligue :\n✨ Gloire | Voir {{topGloryCommandMention}}\n\nGuilde :\n🏟️ Guilde\n\nDestination :\nVoir {{mapCommandMention}}\n\nFamilier :\nVoir {{petCommandMention}}\n\n💡-Les badges sont affichés sur votre profil sous forme de réaction." - }, - "SWITCH": { - "description": "Das Element befindet sich in Ihrer Reserve mit dem item, das im Feld \"item\" Ihres Bestands liegt." - }, - "FIGHT": { - "description": "Verwenden Sie diesen Befehl, um andere Spieler, die sich auf demselben Server wie Sie befinden, zu detrieren.\nDie Kämpfe werden um die Reihe umgeleitet. In jeder Runde können Sie eine Aktion auswählen, die ausgeführt werden soll.\n\nFür weitere Informationen können Sie die Seite \"Guide\" auf der Seite \"https://guide.draftbot.com/notions-principale/combats\" anzeigen.", - "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" - }, - "HELP": { - "description": ":expressionless:" - }, - "LANGUAGE": { - "description": "Ändern Sie die Sprache, die der Bot für die englische Sprache verwendet. Sie können diese verwenden, wenn Sie ein Administrator auf einem Server sind." - }, - "TOP": { - "description": "Zeigt die allgemeine Rangfolge des Spiels pro Schicht von 15 Spielern an. Spieler auf dem gleichen Server, die Sie mit einem blauen Pellet markiert haben." - }, - "GLORY_TOP": { - "description": "Zeigt die ruhmige Rangfolge des Spiels pro Schicht von 15 Spielern an. Die Liga der Spieler wird ebenfalls angezeigt. Spieler auf dem gleichen Server, die Sie mit einem blauen Pellet markiert haben." - }, - "GUILD_TOP": { - "description": "Zeigt die Rangfolge der Gilder pro Schicht von 15 Gilder an. Die Guilder werden als Funktionen der auf den mysteriösen Inseln geernteten Punkte eingestuft." - }, - "INVENTORY": { - "description": "Zeigt den Inhalt des Inventars an, der vier Arten von Objekten enthalten kann:\n` ` `\n-waffen\n-armide\n-potions\n-items\n` ` `\n. Der Befehl zeigt auch den Inhalt der Reserve an, die über zusätzliche Speicher verfügt." - }, - "REPORT": { - "description": "Wählen Sie diese Option aus, um die von Ihrem Charakter erfassten Informationen und Ressourcen während der Abwesenheit zu erfassen. Von Zeit zu Zeit lösen sich Ereignisse aus und fordern konkrete Maßnahmen." - }, - "SELL": { - "description": "Wählen Sie aus, dass das Objekt in Ihrer Reserve verkauft wird. Der Wert des Objekts richtet sich nach der Leistung. Potionen haben keinen Wiederverkaufungswert, können aber mit diesem Befehl grace verworfen werden." - }, - "DAILY_BONUS": { - "description": "Einige dieser Elemente geben Ihnen einen täglichen Bonus. Verwenden Sie diesen Befehl, um diese Boni zu erhalten. Um festzustellen, ob ein Tem Sie einen täglichen Bonus gibt, führen Sie den Befehl {command:inventory} aus." - }, - "INVITE_DRAFTBOT": { - "description": "Mit diesem Befehl erhalten Sie einen Link zum Hilf-und Hilf-Server!" - }, - "BADGES": { - "description": "Bei den Auszeichnungen handelt es sich um komplizierte Unterscheidungen, die geschaffen wurden, um diejenigen zu belohnen, die die Entwicklung des Bots am stärksten unterstützt haben. Die Liste der Badges ist auf dem Bot Guide erhältlich.\n(über diesen Link: https://guide.draftbot.com/notions-avancees/badges)" - }, - "DRINK": { - "description": "Dieser Befehl wird verwendet, um den von Ihnen zu transmitenden Trank zu konsumieren. Einige Potionen können nicht bucht werden und werden automatisch in einem Kampf verbraucht." - }, - "SHOP": { - "description": "Mit diesem Befehl können Sie Ihr Geld ausgeben, um Ihr Abenteuer zu erleichtern. Zusätzlich zu den 4 Basisoptionen, die dauerhaft verfügbar sein werden, können Sie jeden Tag eine exklusive Portion genießen, die nur für 24 Stunden zum Verkauf verfügbar ist." - }, - "GUILD_CREATE": { - "description": "Erzeugt eine Gilde. Eine Gilde zu erstellen kostet 5000 :moneybag:." - }, - "GUILD_LEAVE": { - "description": "Verlassen Sie Ihre Gilde." - }, - "GUILD": { - "description": "Zeigt Informationen zu einer Gilde an." - }, - "GUILD_DAILY_BONUS": { - "description": "Gewinnen Sie die täglichen Gilde-Belohnungen." - }, - "GUILD_KICK": { - "description": "Um ein Mitglied aus einer Gilde auszuweisen, ist es erforderlich, ein Gilde-Führer zu sein." - }, - "GUILD_INVITE": { - "description": "Wenn Sie einen Benutzer zu einer Gilde hinzufügen, müssen Sie Chief oder Anführer von Gilde sein." - }, - "GUILD_DESCRIPTION": { - "description": "Um die Beschreibung der Gilde zu ändern, ist es notwendig, die Gilde zu sein." - }, - "GUILD_ELDER": { - "description": "Um der Gilde einen älteren Menschen hinzuzufügen, muss man der Name der Gilde sein." - }, - "GUILD_ELDER_REMOVE": { - "description": "Um die Älteste der Gilde zu entfernen, ist es notwendig, die Gilde zu sein." - }, - "GUILD_STORAGE": { - "description": "Zeigt den Inhalt des Inhaltslagers der Gilde an." - }, - "GUILD_SHOP": { - "description": "Zeigt den Speicher für Ihre Gilde an." - }, - "UPDATE": { - "description": "Ermöglicht das Betragen von Changelog." - }, - "CLASSES": { - "description": "Ermöglicht die Änderung der Klasse. Mehr Informationen zu den Klassen finden Sie auf der Spielerführung: https://guide.draftbot.com" - }, - "PET": { - "description": "Zeigt Informationen zu Ihrem Begleiter an." - }, - "PET_TRANSFER": { - "description": "Ermöglicht das Übertragen von Begleiter aus oder in die Gilden-Gilde. Wenn keine Nummer angegeben wird, wird der Begleiter Ihrer Bestandsaufnahme in die Gilde verdrängt. Ansonsten wird es mit dem der Gilde ausgetauscht werden, deren Position mit der gegebenen Nummer übereinstimmt." - }, - "PET_NICKNAME": { - "description": "Ändern Sie den Spitznamen Ihres Vertrauten. Wenn kein Name angegeben wird, wird der aktuelle Name gelöscht." - }, - "PET_FREE": { - "description": "Gibt Ihnen Ihr Vertrautes. Bitte beachten Sie, dass es nach seiner Freigabe für immer wieder gelöscht wird und dass es unmöglich ist, es zurückzubekommen. Dieser Befehl kann nur einmal pro Stunde ausgeführt werden." - }, - "GUILD_SHELTER": { - "description": "Zeigt den Zufluchtsort von Gilde an." - }, - "PET_TRADE": { - "description": "Stellt einen Austausch Ihrer Tiere mit der genannten Person bereit." - }, - "PET_FEED": { - "description": "Essen Sie zu Ihrem Begleiter." - }, - "PET_SELL": { - "description": "Verkauft einen Begleiter. Die folgenden Bedingungen gelten: \n -Der Verkaufspreis muss höher sein als `{{petSellMinPrice}}💰` und kleiner als '{{petSellMaxPrice}}💰`. \n-Der Verkäufer wird bei der Transaktion kein Geld verdienen, sondern von der Gilde-Erfahrung. \n-Der Verkäufer und der Käufer können nicht zu derselben Gilde gehören." - }, - "CLASSES_INFO": { - "description": "Lendet einen schnellen Vergleich der Statistikdaten und der Klasseninformationen an, die für den Benutzer, der den Befehl ausführt, zugänglich sind." - }, - "RARITY": { - "description": "Wählen Sie diese Option aus, um die Wahrscheinlichkeit eines item nach der Knappheit zu erkennen." - }, - "VOTE": { - "description": "Ruft die Verbindung ab, um für den Bot zu stimmen." - }, - "IDEA": { - "description": "Sie können einen Link erhalten, um eine Idee vorzuschlagen oder für bereits vorhandene Ideen zu stimmen." - }, - "NOTIFICATIONS": { - "description": "Stellt die Möglichkeit zum Aktivieren oder Inaktivieren von Bots-Benachrichtigungen bereit." - }, - "UNLOCK": { - "description": "Sie können eine Kaution bezahlen, um jemanden aus dem Gefängnis zu befreien." - }, - "MAP": { - "description": "Zeigt Informationen zu Ihrem Ziel an und zeigt die Karte an." - }, - "MISSIONS": { - "description": "Zeigt eine Liste der Ihnen angebotenen Aufgaben an." - }, - "MISSIONS_SHOP": { - "description": "Zeigt den Lagerort für die Missionen an." - }, - "LEAGUE_BONUS": { - "description": "Erhalten Sie jeden Sonntag eine Liga-Belohnung." - }, - "JOIN_BOAT": { - "description": "Erlaubt Ihnen, einem Mitglied der Gilde in einem Schiff auf einer mysteriösen Insel beizutreten." - } - }, - "helpEmbedTitle": "{{pseudo}}, hier ist die Liste der verfügbaren Befehle:" - }, - "report": { - "commandName": "Bericht", - "commandDescription": "Holen Sie sich einen Bericht über die Situation Ihres Charakters.", - "doEvent": ":newspaper: ** Protokoll von {{pseudo}} : ** {{event}}\n*-Verwenden Sie die Reaktionen, um eine Aktion ⚠️ Nicht beantworten zu verwenden, gilt als eine Auswahl von part.*", - "doChoice": "{{emoji}} {{choiceText}}\n", - "doPossibility": ":newspaper: ** Protokoll von {{pseudo}} {{result}}** | {{emoji}}{{event}}{{alte}}", - "points": ": ** :medal: Gewinner: **{{score}}", - "money": "** | :moneybag: Der gespart wurde: **{{money}}", - "energy": "** | :zap: Energie-Gewinner: **{{energy}}", - "gems": "** | :gem: Geme-Gewinner: **{{gems}}", - "experience": "** | :star: XP gewonnen: **{{experience}}", - "moneyLoose": "** | :money_with_wings: Argent verloren: **{{money}}", - "healthLoose": "** | :broken_heart: Verlorene Vie: **{{health}}", - "health": "** | :heart: Verlorene Vie: **{{health}}", - "timeLost": "** | :clock10: Verlorene Zeit: **{{timeLost}}", - "travellingTitle": "Sie sind gerade dabei, Fortschritte zu machen!", - "travellingDescriptionWithoutSmallEvent": "Es läuft alles gut in Ihrem Abenteuer. Nächster Haltungsstopp {{time}}.", - "travellingDescription": "Es läuft alles gut, seit Ihr letztes Abenteuer {{smallEventEmoji}}. Nächster Halt nach Plan {{time}}.", - "travellingDescriptionEndTravel": "Es läuft alles gut in Ihrem Abenteuer, Sie werden bald am Ziel ankommen.", - "choseMap_one": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Std. * * dauern.", - "choseMap_other": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Stunden * * dauern.", - "choseMapMinutes_one": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Minuten * * dauern.", - "choseMapMinutes_other": "Sie haben entschieden, in Richtung {{mapPrefix}} {{mapType}} **{{mapName}}** zu gehen. Dieser Pfad wird ca. **{{time}} Minuten * * dauern.", - "destinationTitle": "{{pseudo}}, Reiseziel", - "chooseDestinationIndications": "Wählen Sie ein Ziel für Ihre Reise:", - "travelPathTitle": "Aktuelle Reise:", - "startPoint": "Startpunkt:", - "endPoint": "Einreise:", - "adviceTitle": "Tipp:", - "journal": "Protokoll von {{pseudo}}", - "collectedPointsTitle": "geerntete Punkte:", - "newBigEvent": ":flag_fr: Sie kamen zu **{{destination}}**!", - "remainingEnergyTitle": "Verbleibende Energie:", - "pveEvent": ":newspaper: ** Journal von {{pseudo}} : ** {{event}}\n\n{{monsterDisplay}}\n\n{{startTheFightReaction}} Beginnt mit dem Kampf\n{{waitABitReaction}} Warten Sie kurz vor Beginn des Kampfes\n\n*-Verwenden Sie die Reaktionen, um eine Aktion durchzuführen *", - "noFight": ":newspaper: ** Journal von {{pseudo}} : ** {{waitABitReaction}} | Sie verlassen sich schnell und finden Sie ein kleines Versteck! Das Monster wartet geduldig auf Sie.", - "encounterMonster": [ - "Sie kommen zu Ihrem Ziel, wenn Sie plötzlich hören, dass Sie ein Geräusch hinter Ihnen hören. Ein Monster greift Sie an!" - ], - "encounterMonsterStats": "> **{{emoji}} {{monsterName}} ** | ** Stufe {{level}}**\n> {{description}}\n\n⚡ {{fightPoints}} | 🗡 {{attack}} | 🛡 {{defense}} | 🚀 {{speed}}", - "monsterRewardsTitle": "{{pseudo}}, Kampfbelohnungen", - "monsterRewardsDescription": ":moneybag: Silber gewonnen: **{{money}}**\n:star: XP gewonnen: **{{experience}}**", - "monsterRewardGuildXp": "\n:star: XP Gilde gewonnen: **{{guildXp}}**", - "monsterRewardsGuildPoints": "\n:mirror_ball: Gilde-Gewinner: **{{guildPoints}}**" - }, "vote": { "description": "Dies ist der Link zur Unterstützung des Bot-Bots:\nhttps://top.gg/bot/448110812801007618", "title": ":ballot_box: Voter" diff --git a/Lang/de/discordBuilder.json b/Lang/de/discordBuilder.json index c3341fe01..f59d907dd 100644 --- a/Lang/de/discordBuilder.json +++ b/Lang/de/discordBuilder.json @@ -3,6 +3,16 @@ "description": "Zeigt Informationen zu den Ausbeinen und deren Funktion an.", "name": "Badges" }, + "help": { + "description": "Zeigt eine Liste der verfügbaren Befehle oder die ausführlichen Informationen zu einem Befehl an.", + "name": "Hilfe", + "options": { + "commandName": { + "description": "Der Befehl, dessen Informationen angezeigt werden sollen.", + "name": "Befehl" + } + } + }, "idea": { "description": "Einen Vorschlag zur Verbesserung des Spiels senden.", "name": "Vorschlag" @@ -61,6 +71,10 @@ } } }, + "rarity": { + "description": "Zeigt die verschiedenen Knappheit der Geräte an.", + "name": "Seltenheit" + }, "report": { "description": "Holen Sie sich einen Bericht über die Situation Ihres Charakters.", "name": "Bericht" @@ -79,30 +93,16 @@ } } }, - "rarity": { - "description": "Zeigt die verschiedenen Knappheit der Geräte an.", - "name": "Seltenheit" - }, "update": { "description": "Zeigt die aktuelle Version des Bots an.", "name": "Neuigkeiten" }, - "help": { - "description": "Zeigt eine Liste der verfügbaren Befehle oder die ausführlichen Informationen zu einem Befehl an.", - "name": "Hilfe", - "options": { - "commandName": { - "description": "Der Befehl, dessen Informationen angezeigt werden sollen.", - "name": "Befehl" - } - } + "language": { + "description": "Changer la langue du bot dans le serveur discord ou la commande a été exécutée.", + "name": "langage" }, "vote": { "description": "Link zur Abstimmung für den Bot anzeigen.", "name": "Abstimmung" - }, - "language": { - "description": "Changer la langue du bot dans le serveur discord ou la commande a été exécutée.", - "name": "langage" } } \ No newline at end of file diff --git a/Lang/de/error.json b/Lang/de/error.json index 56c7bc6bb..2b59c2bc4 100644 --- a/Lang/de/error.json +++ b/Lang/de/error.json @@ -1,53 +1,53 @@ { - "playerDoesntExist": "Dieser Spieler existiert nicht!", - "titleBlocked": "{{pseudo}}, diese Person ist blockiert!", - "titleCanceled": "{{pseudo}}, Rücknahme berücksichtigt!", - "titleDidntWork": "{{pseudo}}, hmmm ... Das hat nicht funktioniert!", - "commandDoesntExist": "FEHLER: Unbekannter Befehl", - "interactionNotForYou": "Diese Interaktion ist nicht für Sie!", - "unexpectedError": "Es ist ein Fehler aufgetreten: (", - "playerBlocked": "Sie können dies nicht ausführen, da Sie eine Aktion im Wartestatus ({{reasons}}) haben.", "anotherPlayerBlocked": "Sie können dies nicht ausführen, da {{username}} eine ausstehende Aktion ({{reasons}}) hat.", "blockedContext": { - "shop": "Auswahl im Lagerort", + "acceptItem": "Auswahl zum Bewahren eines Objekts oder nicht", + "cartChoose": "auswählen, um in den Wagen zu montieren oder nicht", + "chiefGuildLeave": "Vergabeverfahren", + "chooseDestination": "Zielauswahl", + "class": "Klassenwechsel", "confirmBuy": "Bestätigung des Kaufs", - "report": "Bericht", "cooldown": "Sie schicken Befehle zu schnell!", + "descriptionEdit": "Bearbeitung der Gilde-Beschreibung", + "drink": "Wahl eines Trunkens oder nicht", "fight": "Kampf", - "class": "Klassenwechsel", - "guildInvite": "Aufnahme in eine Gilde", + "fightPetChoose": "Auswahl einer Aktion für den vertrauten Kampf", + "gobletChoose": "Wahl eines Bechers", "guildCreate": "Erstellen einer Gilde", + "guildElder": "Wahl des Ältester", + "guildElderRemove": "Älteste entfernen", + "guildInvite": "Aufnahme in eine Gilde", "guildKick": "Ausweisung einer Gilde", "guildLeave": "Beginn einer Gilde", - "descriptionEdit": "Bearbeitung der Gilde-Beschreibung", - "sell": "Verkauf eines Objekts", - "sellConfirm": "Bestätigung des Verkaufs eines Objekts", - "acceptItem": "Auswahl zum Bewahren eines Objekts oder nicht", + "guildShop": "Auswahl im Gilde-Speicher", + "lottery": "Mini-Schlüfterdach", + "merchant": "Wahl des Kaufmann", + "missionShop": "Auswahl im Missionsgeschäft", "petFeed": "Auswahl von Nahrungsmitteln, die dem Begleiter zu geben sind", "petFree": "Begleiter freigeben", - "guildElder": "Wahl des Ältester", - "guildElderRemove": "Älteste entfernen", - "petTrade": "Austausch von Tieren", - "guildShop": "Auswahl im Gilde-Speicher", - "selectQuantity": "Auswahl einer Menge", - "test": "Test", "petSell": "Verkauf von Begleiter", "petSellConfirm": "Bestätigung des Ankaufs eines Begleites", - "chiefGuildLeave": "Vergabeverfahren", - "chooseDestination": "Zielauswahl", - "lottery": "Mini-Schlüfterdach", - "switch": "Austausch von Geräten", - "missionShop": "Auswahl im Missionsgeschäft", - "merchant": "Wahl des Kaufmann", - "drink": "Wahl eines Trunkens oder nicht", - "gobletChoose": "Wahl eines Bechers", - "witchChoose": "Entscheidung für eine Aktion für die Hexe", - "fightPetChoose": "Auswahl einer Aktion für den vertrauten Kampf", - "unlock": "Person freigeben", + "petTrade": "Austausch von Tieren", "pveIsland": "Mini-Wind aus der PVE", - "startBossFight": "Beginn eines Boss-Kampfes", + "report": "Bericht", "reportCommand": "Bericht, Befehl", - "cartChoose": "auswählen, um in den Wagen zu montieren oder nicht" + "selectQuantity": "Auswahl einer Menge", + "sell": "Verkauf eines Objekts", + "sellConfirm": "Bestätigung des Verkaufs eines Objekts", + "shop": "Auswahl im Lagerort", + "startBossFight": "Beginn eines Boss-Kampfes", + "switch": "Austausch von Geräten", + "test": "Test", + "unlock": "Person freigeben", + "witchChoose": "Entscheidung für eine Aktion für die Hexe" }, - "guildDoesntExist": "La guilde demandée n'existe pas" + "playerDoesntExist": "Dieser Spieler existiert nicht!", + "titleBlocked": "{{pseudo}}, diese Person ist blockiert!", + "titleCanceled": "{{pseudo}}, Rücknahme berücksichtigt!", + "titleDidntWork": "{{pseudo}}, hmmm ... Das hat nicht funktioniert!", + "commandDoesntExist": "FEHLER: Unbekannter Befehl", + "interactionNotForYou": "Diese Interaktion ist nicht für Sie!", + "playerBlocked": "Sie können dies nicht ausführen, da Sie eine Aktion im Wartestatus ({{reasons}}) haben.", + "guildDoesntExist": "La guilde demandée n'existe pas", + "unexpectedError": "Es ist ein Fehler aufgetreten: (" } \ No newline at end of file diff --git a/Lang/de/items.json b/Lang/de/items.json index f0220a322..a72953ea5 100644 --- a/Lang/de/items.json +++ b/Lang/de/items.json @@ -1,31 +1,12 @@ { - "nameDisplay": "{{emote}} **{{{name}}}**", - "nerfDisplay": "~ ~{{old}}~ ~ {{max}}", - "attack": ":dagger: {{value}}", - "defense": ":shield: {{value}}", - "speed": ":rocket: {{value}}", - "weapons": { - "fieldName": "Waffe:", - "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" - }, "armors": { "fieldName": "Armierung/Bouclier:", "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" }, - "potions": { - "fieldName": "Potion:", - "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", - "natures": [ - ":x: Keine Auswirkungen", - ":heart: Vie + {{power}}", - ":rocket: Geschwindigkeit + {{power}} während des nächsten Kampfes", - ":crossed_swords: Attaque + {{power}} während des nächsten Kampfes", - ":shield: Defense + {{power}} während des nächsten Kampfes", - ":clock1030: Vorzeitung der Zeit von {{power}}", - ":moneybag: Argent + {{power}}", - ":zap: Energie + {{power}}" - ] - }, + "attack": ":dagger: {{value}}", + "defense": ":shield: {{value}}", + "nameDisplay": "{{emote}} **{{{name}}}**", + "nerfDisplay": "~ ~{{old}}~ ~ {{max}}", "objects": { "fieldName": "Zweck:", "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", @@ -40,6 +21,20 @@ ":zap: Energie + {{power}} pro Tag" ] }, + "potions": { + "fieldName": "Potion:", + "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", + "natures": [ + ":x: Keine Auswirkungen", + ":heart: Vie + {{power}}", + ":rocket: Geschwindigkeit + {{power}} während des nächsten Kampfes", + ":crossed_swords: Attaque + {{power}} während des nächsten Kampfes", + ":shield: Defense + {{power}} während des nächsten Kampfes", + ":clock1030: Vorzeitung der Zeit von {{power}}", + ":moneybag: Argent + {{power}}", + ":zap: Energie + {{power}}" + ] + }, "rarities": [ ":small_orange_diamond: Basic", ":large_orange_diamond: Commun", @@ -50,5 +45,10 @@ ":star: Estik", ":star2: Legenikon", ":gem: Mythen" - ] + ], + "speed": ":rocket: {{value}}", + "weapons": { + "fieldName": "Waffe:", + "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" + } } \ No newline at end of file diff --git a/Lang/en/commands.json b/Lang/en/commands.json index 322e29ee6..904a841d6 100644 --- a/Lang/en/commands.json +++ b/Lang/en/commands.json @@ -26,6 +26,178 @@ "ranking": "{{rank} / {{rankTotal}}", "notRanked": "Non classée" }, + "help": { + "aliasFieldTitle": "Alias", + "aliasesFieldTitle": "Aliases", + "commandEmbedTitle": "{{emote}} Detailed information:", + "commands": { + "BADGES": { + "description": "Badges are rewards that are very hard to get, created to honor people who helped in the bot's development. The list of badges is available on the bot guide.\n Available by this link: https://guide.draftbot.com/v/en/notions-avancees/badges" + }, + "CLASSES": { + "description": "Change your class. More information about class is available through the player guide: https://guide.draftbot.com/v/en" + }, + "CLASSES_INFO": { + "description": "Read a quick comparison of the statistics between all the classes you can have." + }, + "DAILY_BONUS": { + "description": "Some items give you bonuses daily. Use this command to obtain said bonuses. You can learn whether or not an item gives you a bonus by using the command {command:inventory}." + }, + "DRINK": { + "description": "This command allows you to drink the potion you have. Some potions cannot be drunk and are consumed automatically during a fight." + }, + "FIGHT": { + "description": "Use this command to challenge other players who are on the same server as you.", + "image": "https://draftbot.com/public/ressources/fighthelp/en/4.5.2.png" + }, + "GLORY_TOP": { + "description": "Displays the ranking of the fights in 15 player intervals. Player's league is also displayed. Players in the same server as you are shown by a blue dot." + }, + "GUILD": { + "description": "Displays a guild's infos." + }, + "GUILD_CREATE": { + "description": "Create a guild. You need 5000 :moneybag: in order to create a guild." + }, + "GUILD_DAILY_BONUS": { + "description": "Claims your guild's daily reward." + }, + "GUILD_DESCRIPTION": { + "description": "Edit the description of your guild. Requires to be the guild's leader." + }, + "GUILD_ELDER": { + "description": "Allows one to designate a guild elder, requires to be guild's leader." + }, + "GUILD_ELDER_REMOVE": { + "description": "Allow to remove the current guild's elder, requires to be guild's leader." + }, + "GUILD_INVITE": { + "description": "Invites someone to join your guild. Requires to be the guild's leader." + }, + "GUILD_KICK": { + "description": "Kicks a member. Requires to be the guild's leader." + }, + "GUILD_LEAVE": { + "description": "Lets you leave your guild." + }, + "GUILD_SHELTER": { + "description": "Show the guild's shelter." + }, + "GUILD_SHOP": { + "description": "Show the guild's shop." + }, + "GUILD_STORAGE": { + "description": "Show the guild's storage." + }, + "GUILD_TOP": { + "description": "Displays the ranking of the guilds in 15 guild intervals. Guilds are ranked based on points acquired on mysterious islands." + }, + "HELP": { + "description": ":expressionless:" + }, + "IDEA": { + "description": "Give a link to submit suggestions and vote for those already submitted." + }, + "INVENTORY": { + "description": "Shows the items in your inventory, can contain 4 types of objects:\n```\n-Weapons\n-Armors\n-Potions\n-Items\n```\nThe command also shows the items stock that can contain additional items." + }, + "INVITE_DRAFTBOT": { + "description": "This command allows you to get an invite url to get the bot on your server, or join the support server!" + }, + "JOIN_BOAT": { + "description": "Allows you to join a guild member on a boat going to a mysterious island." + }, + "LANGUAGE": { + "description": "Change the language the bot uses to french. You can use this command if you are an admin of a server." + }, + "LEAGUE_BONUS": { + "description": "Lets you claim your league's reward each sunday." + }, + "MAP": { + "description": "Display information about your destination, and also the map." + }, + "MISSIONS": { + "description": "Displays the lists of the quests you have to achieve." + }, + "MISSIONS_SHOP": { + "description": "Display the mission's shop." + }, + "NOTIFICATIONS": { + "description": "Allows to enable or disable private messages from the bot." + }, + "PET": { + "description": "Show information about your pet." + }, + "PET_FEED": { + "description": "Give some food to your pet." + }, + "PET_FREE": { + "description": "Free your pet. Warning: once freed, the pet will be deleted forever. This command can only be used once per hour." + }, + "PET_NICKNAME": { + "description": "Change your pet's nickname. If no name is given, the nickname will be cleared." + }, + "PET_SELL": { + "description": "Allows to sell a pet. The following conditions apply: \n - The selling price must be higher than `{{petSellMinPrice}}💰` and lower than `{{petSellMaxPrice}}💰`. \n- The seller will not earn money for the transaction, but guild experience. \n- The seller and the buyer cannot be part of the same guild." + }, + "PET_TRADE": { + "description": "Propose a trade of pets with the mentioned player." + }, + "PET_TRANSFER": { + "description": "Transfer a pet to or from a guild. If no number is given, your current pet will be transferred to the guild's shelter. Otherwise, your pet will be switched for the pet which position corresponds to the given number." + }, + "PING": { + "description": "Check if the bot is online.\n\n(Note: Time displayed is the response time from the bot, not your ping, a correct ping should be less than 500 ms. :clock1:)" + }, + "PREFIX": { + "description": "This feature was removed from the bot after an update to Discord's features." + }, + "PROFILE": { + "description": "Displays information about your character:\n\n😃 Health status | Pseudo | Level\n\n឵឵឵Information:\n❤️ Life | ⭐ XP | 💰 Money\n\nStatistics:\n⚡ Energy | 🗡️ Attack | 🛡️ Defense | 🚀 Speed | 🌬️ Breath | 🫁 Recovery\n\nMissions:\n💎 Gems | 📖 Campaign progress %\n\nRanking and score:\n🏆 Ranking | 🏅 Score\n\nClass:\nSee {command:classes}\n\nGlory and League:\n✨ Glory | See {command:top glory}\n\nGuild:\n🏟️ Guild\n\nDestination:\nSee {command:map}\n\nPet:\nSee {command:pet}\n\n💡-Badges are displayed on your profile as reaction(s)." + }, + "RARITY": { + "description": "Allows you to see the probability of getting an item by its rarity." + }, + "REPORT": { + "description": "Lets you obtain the resources and intel your character got during your absence.\nFrom time to time, events will be triggered and will necessitate special actions or choices." + }, + "RESPAWN": { + "description": "Lets you continue to play after you've been knocked out." + }, + "SELL": { + "description": "Lets you sell the item currently in your reserve. The value of the item is set to be equal to its power, it can be 0 if the item is not very good :wink:." + }, + "SHOP": { + "description": "This command allows you to spend your money to facilitate your adventure. Besides the 4 main choices which are always available, you can buy an exclusive potion every day, available on sale for only 24h." + }, + "SWITCH": { + "description": "Switches the item currently in use with the one in your inventory." + }, + "TOP": { + "description": "Displays the general ranking of the game in 15 player intervals. Players in the same server as you are shown by a blue dot." + }, + "UNLOCK": { + "description": "Allows you to pay a bail to set someone free." + }, + "UPDATE": { + "description": "Read the changelog." + }, + "VOTE": { + "description": "Allows you to get the link to vote for the bot." + } + }, + "forMoreHelp": ":arrow_forward: For more help: ", + "forMoreHelpValue": "You can visit the bot's [wiki](https://guide.draftbot.com/v/en/)!", + "guildCommands": ":stadium: Guild:", + "helpEmbedDescription": ":arrow_forward: If you want more information about a specific command click here: {{helpCommandMention}}, and complete the parameter with a command. :wink:", + "helpEmbedTitle": "{{pseudo}}, here is the list of available commands:", + "missionCommands": ":scroll: Mission:", + "petCommands": ":dog: Pet:", + "playerCommands": ":bust_in_silhouette: Player:", + "serverCommands": ":gear: Server:", + "usageFieldTitle": "Usage", + "utilCommands": ":question: Utility:" + }, "idea": { "description": "You can submit suggestions and vote for your favorites via this link:\nhttps://feedback.draftbot.com/", "title": ":bulb: Ideas" @@ -39,18 +211,51 @@ "objects_other": "Items ({{count}}/{{max}}):", "potions_one": "Potion ({{count}}/{{max}}):", "potions_other": "Potions ({{count}}/{{max}}):", + "seeBackupItems": "🔄 See backup items", + "seeEquippedItems": "🔄 See equipped items", "stockTitle": ":package: **{{pseudo}}'s items stock**", "title": ":briefcase: **{{pseudo}}'s inventory**", "weapons_one": "Weapon ({{count}}/{{max}}):", - "weapons_other": "Weapons ({{count}}/{{max}}):", - "seeBackupItems": "🔄 See backup items", - "seeEquippedItems": "🔄 See equipped items" + "weapons_other": "Weapons ({{count}}/{{max}}):" }, "invite": { "discord": { "main": "Join the community! Use this link: https://discord.gg/acGNvzEY92 :smiley:" } }, + "language": { + "description": "Use the menu below to change the language used by the bot on this discord server. This command can only be used by server administrators.", + "languages": { + "de": { + "emoji": "🇩🇪", + "name": "German" + }, + "en": { + "emoji": "🇬🇧", + "name": "English" + }, + "es": { + "emoji": "🇪🇸", + "name": "spanish" + }, + "fr": { + "emoji": "🇫🇷", + "name": "French" + }, + "it": { + "emoji": "🇮🇹", + "name": "Italian" + }, + "pt": { + "emoji": "🇵🇹", + "name": "Portuguese" + } + }, + "newLanguageSetDescription": "DraftBot will now speak in english with you! 🇬🇧", + "newLanguageSetTitle": "Language changed", + "selectLanguage": "Select a new language", + "title": ":earth_africa: Language selection" + }, "ping": { "discord": { "create": ":ping_pong: Pong", @@ -140,261 +345,56 @@ "title": "{{effect}} | {{pseudo}} | Level {{level}}" }, "rarity": { - "title": ":slot_machine: Equipment rarity", - "rarities": ":small_orange_diamond: Basic | Owned at the beginning of the game\n:large_orange_diamond: Common | {{common}}%\n:fire: Uncommon | {{uncommon}}%\n:trident: Exotic | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Special | {{special}}%\n:star: Epic | {{epic}}%\n:star2: Legendary | {{legendary}}%\n:gem: Mythical | {{unique}}%" - }, - "update": { - "description": "The latest version of the bot's core is **{{coreVersion}}**. The Discord module's version is **{{discordModuleVersion}}**.\n\nInformations about the changelog can be found here:\nhttps://guide.draftbot.com/v/en/lore/change-logs", - "title": ":scroll: Changelog" - }, - "language": { - "selectLanguage": "Select a new language", - "description": "Use the menu below to change the language used by the bot on this discord server. This command can only be used by server administrators.", - "title": ":earth_africa: Language selection", - "newLanguageSetTitle": "Language changed", - "newLanguageSetDescription": "DraftBot will now speak in english with you! 🇬🇧", - "languages": { - "en": { - "emoji": "🇬🇧", - "name": "English" - }, - "fr": { - "emoji": "🇫🇷", - "name": "French" - }, - "es": { - "emoji": "🇪🇸", - "name": "spanish" - }, - "de": { - "emoji": "🇩🇪", - "name": "German" - }, - "pt": { - "emoji": "🇵🇹", - "name": "Portuguese" - }, - "it": { - "emoji": "🇮🇹", - "name": "Italian" - } - } - }, - "help": { - "aliasFieldTitle": "Alias", - "helpEmbedDescription": ":arrow_forward: If you want more information about a specific command click here: {{helpCommandMention}}, and complete the parameter with a command. :wink:", - "serverCommands": ":gear: Server:", - "utilCommands": ":question: Utility:", - "playerCommands": ":bust_in_silhouette: Player:", - "missionCommands": ":scroll: Mission:", - "guildCommands": ":stadium: Guild:", - "forMoreHelp": ":arrow_forward: For more help: ", - "petCommands": ":dog: Pet:", - "commandEmbedTitle": "{{emote}} Detailed information:", - "forMoreHelpValue": "You can visit the bot's [wiki](https://guide.draftbot.com/v/en/)!", - "usageFieldTitle": "Usage", - "aliasesFieldTitle": "Aliases", - "commands": { - "PREFIX": { - "description": "This feature was removed from the bot after an update to Discord's features." - }, - "PING": { - "description": "Check if the bot is online.\n\n(Note: Time displayed is the response time from the bot, not your ping, a correct ping should be less than 500 ms. :clock1:)" - }, - "RESPAWN": { - "description": "Lets you continue to play after you've been knocked out." - }, - "PROFILE": { - "description": "Displays information about your character:\n\n😃 Health status | Pseudo | Level\n\n឵឵឵Information:\n❤️ Life | ⭐ XP | 💰 Money\n\nStatistics:\n⚡ Energy | 🗡️ Attack | 🛡️ Defense | 🚀 Speed | 🌬️ Breath | 🫁 Recovery\n\nMissions:\n💎 Gems | 📖 Campaign progress %\n\nRanking and score:\n🏆 Ranking | 🏅 Score\n\nClass:\nSee {command:classes}\n\nGlory and League:\n✨ Glory | See {command:top glory}\n\nGuild:\n🏟️ Guild\n\nDestination:\nSee {command:map}\n\nPet:\nSee {command:pet}\n\n💡-Badges are displayed on your profile as reaction(s)." - }, - "SWITCH": { - "description": "Switches the item currently in use with the one in your inventory." - }, - "FIGHT": { - "description": "Use this command to challenge other players who are on the same server as you.", - "image": "https://draftbot.com/public/ressources/fighthelp/en/4.5.2.png" - }, - "HELP": { - "description": ":expressionless:" - }, - "LANGUAGE": { - "description": "Change the language the bot uses to french. You can use this command if you are an admin of a server." - }, - "TOP": { - "description": "Displays the general ranking of the game in 15 player intervals. Players in the same server as you are shown by a blue dot." - }, - "GLORY_TOP": { - "description": "Displays the ranking of the fights in 15 player intervals. Player's league is also displayed. Players in the same server as you are shown by a blue dot." - }, - "GUILD_TOP": { - "description": "Displays the ranking of the guilds in 15 guild intervals. Guilds are ranked based on points acquired on mysterious islands." - }, - "INVENTORY": { - "description": "Shows the items in your inventory, can contain 4 types of objects:\n```\n-Weapons\n-Armors\n-Potions\n-Items\n```\nThe command also shows the items stock that can contain additional items." - }, - "REPORT": { - "description": "Lets you obtain the resources and intel your character got during your absence.\nFrom time to time, events will be triggered and will necessitate special actions or choices." - }, - "SELL": { - "description": "Lets you sell the item currently in your reserve. The value of the item is set to be equal to its power, it can be 0 if the item is not very good :wink:." - }, - "DAILY_BONUS": { - "description": "Some items give you bonuses daily. Use this command to obtain said bonuses. You can learn whether or not an item gives you a bonus by using the command {command:inventory}." - }, - "INVITE_DRAFTBOT": { - "description": "This command allows you to get an invite url to get the bot on your server, or join the support server!" - }, - "BADGES": { - "description": "Badges are rewards that are very hard to get, created to honor people who helped in the bot's development. The list of badges is available on the bot guide.\n Available by this link: https://guide.draftbot.com/v/en/notions-avancees/badges" - }, - "DRINK": { - "description": "This command allows you to drink the potion you have. Some potions cannot be drunk and are consumed automatically during a fight." - }, - "SHOP": { - "description": "This command allows you to spend your money to facilitate your adventure. Besides the 4 main choices which are always available, you can buy an exclusive potion every day, available on sale for only 24h." - }, - "GUILD_CREATE": { - "description": "Create a guild. You need 5000 :moneybag: in order to create a guild." - }, - "GUILD_LEAVE": { - "description": "Lets you leave your guild." - }, - "GUILD": { - "description": "Displays a guild's infos." - }, - "GUILD_DAILY_BONUS": { - "description": "Claims your guild's daily reward." - }, - "GUILD_KICK": { - "description": "Kicks a member. Requires to be the guild's leader." - }, - "GUILD_INVITE": { - "description": "Invites someone to join your guild. Requires to be the guild's leader." - }, - "GUILD_DESCRIPTION": { - "description": "Edit the description of your guild. Requires to be the guild's leader." - }, - "GUILD_ELDER": { - "description": "Allows one to designate a guild elder, requires to be guild's leader." - }, - "GUILD_ELDER_REMOVE": { - "description": "Allow to remove the current guild's elder, requires to be guild's leader." - }, - "GUILD_STORAGE": { - "description": "Show the guild's storage." - }, - "GUILD_SHOP": { - "description": "Show the guild's shop." - }, - "UPDATE": { - "description": "Read the changelog." - }, - "CLASSES": { - "description": "Change your class. More information about class is available through the player guide: https://guide.draftbot.com/v/en" - }, - "PET": { - "description": "Show information about your pet." - }, - "PET_TRANSFER": { - "description": "Transfer a pet to or from a guild. If no number is given, your current pet will be transferred to the guild's shelter. Otherwise, your pet will be switched for the pet which position corresponds to the given number." - }, - "PET_NICKNAME": { - "description": "Change your pet's nickname. If no name is given, the nickname will be cleared." - }, - "PET_FREE": { - "description": "Free your pet. Warning: once freed, the pet will be deleted forever. This command can only be used once per hour." - }, - "GUILD_SHELTER": { - "description": "Show the guild's shelter." - }, - "PET_TRADE": { - "description": "Propose a trade of pets with the mentioned player." - }, - "PET_FEED": { - "description": "Give some food to your pet." - }, - "PET_SELL": { - "description": "Allows to sell a pet. The following conditions apply: \n - The selling price must be higher than `{{petSellMinPrice}}💰` and lower than `{{petSellMaxPrice}}💰`. \n- The seller will not earn money for the transaction, but guild experience. \n- The seller and the buyer cannot be part of the same guild." - }, - "CLASSES_INFO": { - "description": "Read a quick comparison of the statistics between all the classes you can have." - }, - "RARITY": { - "description": "Allows you to see the probability of getting an item by its rarity." - }, - "VOTE": { - "description": "Allows you to get the link to vote for the bot." - }, - "IDEA": { - "description": "Give a link to submit suggestions and vote for those already submitted." - }, - "NOTIFICATIONS": { - "description": "Allows to enable or disable private messages from the bot." - }, - "UNLOCK": { - "description": "Allows you to pay a bail to set someone free." - }, - "MAP": { - "description": "Display information about your destination, and also the map." - }, - "MISSIONS": { - "description": "Displays the lists of the quests you have to achieve." - }, - "MISSIONS_SHOP": { - "description": "Display the mission's shop." - }, - "LEAGUE_BONUS": { - "description": "Lets you claim your league's reward each sunday." - }, - "JOIN_BOAT": { - "description": "Allows you to join a guild member on a boat going to a mysterious island." - } - }, - "helpEmbedTitle": "{{pseudo}}, here is the list of available commands:" + "rarities": ":small_orange_diamond: Basic | Owned at the beginning of the game\n:large_orange_diamond: Common | {{common}}%\n:fire: Uncommon | {{uncommon}}%\n:trident: Exotic | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Special | {{special}}%\n:star: Epic | {{epic}}%\n:star2: Legendary | {{legendary}}%\n:gem: Mythical | {{unique}}%", + "title": ":slot_machine: Equipment rarity" }, "report": { - "commandName": "report", - "commandDescription": "Get a report on your character's situation.", - "doEvent": ":newspaper: **Journal of {{pseudo}}: **{{event}}\n*- Use reactions to make an action ⚠️ Not responding is considered a separate choice!*", - "doChoice": "{{emoji}} {{choiceText}}\n", - "doPossibility": ":newspaper: **Journal of {{pseudo}}{{result}}** | {{emoji}}{{event}}{{alte}}", - "points": ":** :medal: Points earned: **{{score}}", - "money": "** | :moneybag: Money earned: **{{money}}", - "energy": "** | :zap: Energy earned: **{{energy}}", - "gems": "** | :gem: Gems earned: **{{gems}}", - "experience": "** | :star: XP earned: **{{experience}}", - "moneyLoose": "** | :money_with_wings: Money lost: **{{money}}", - "healthLoose": "** | :broken_heart: Life lost: **{{health}}", - "health": "** | :heart: Life gained: **{{health}}", - "timeLost": "** | :clock10: Time spent: **{{timeLost}}", - "travellingTitle": "You are currently moving forward!", - "travellingDescriptionWithoutSmallEvent": "Everything is going well for you. Next stop scheduled {{time}}.", - "travellingDescription": "Everything is going well since your last adventure {{smallEventEmoji}}. Next stop scheduled {{time}}.", - "travellingDescriptionEndTravel": "Everything is going well for you. You will reach your destination shortly.", - "choseMap_one": "You chose to go in the direction {{mapPrefix}} **{{mapName}}** {{mapType}}. You'll travel for about **{{time}} hour**.", - "choseMap_other": "You chose to go in the direction {{mapPrefix}} **{{mapName}}** {{mapType}}. You'll travel for about **{{time}} hours**.", + "adviceTitle": "Advice:", + "chooseDestinationIndications": "Choose the destination of your travel:", "choseMapMinutes_one": "You chose to go in the direction {{mapPrefix}} **{{mapName}}** {{mapType}}. You'll travel for about **{{time}} minute**.", "choseMapMinutes_other": "You chose to go in the direction {{mapPrefix}} **{{mapName}}** {{mapType}}. You'll travel for about **{{time}} minutes**.", - "destinationTitle": "{{pseudo}}, travel destination", - "chooseDestinationIndications": "Choose the destination of your travel:", - "travelPathTitle": "Current travel:", - "startPoint": "Start point:", - "endPoint": "End point:", - "adviceTitle": "Advice:", - "journal": "Journal of {{pseudo}}", + "choseMap_one": "You chose to go in the direction {{mapPrefix}} **{{mapName}}** {{mapType}}. You'll travel for about **{{time}} hour**.", + "choseMap_other": "You chose to go in the direction {{mapPrefix}} **{{mapName}}** {{mapType}}. You'll travel for about **{{time}} hours**.", "collectedPointsTitle": "Collected points:", - "newBigEvent": ":flag_gb: You have arrived at **{{destination}}**!", - "remainingEnergyTitle": "Remaining energy:", - "pveEvent": ":newspaper: **Journal of {{pseudo}}:** {{event}}\n\n{{monsterDisplay}}\n\n- {{startTheFightReaction}} Start the fight\n- {{waitABitReaction}} Wait a bit before starting the fight\n\n*- Use reactions to make an action*", - "noFight": ":newspaper: **Journal of {{pseudo}}:** {{waitABitReaction}} | You run away as fast as possible and decide to hide for now... The monster is still ready to fight you when you are ready!", + "commandDescription": "Get a report on your character's situation.", + "commandName": "report", + "destinationTitle": "{{pseudo}}, travel destination", + "doChoice": "{{emoji}} {{choiceText}}\n", + "doEvent": ":newspaper: **Journal of {{pseudo}}: **{{event}}\n*- Use reactions to make an action ⚠️ Not responding is considered a separate choice!*", + "doPossibility": ":newspaper: **Journal of {{pseudo}}{{result}}** | {{emoji}}{{event}} {{alte}}", "encounterMonster": [ "You arrive at your destination when suddenly, you hear a noise behind you... A monster attacks you!" ], "encounterMonsterStats": "> **{{emoji}} {{monsterName}}** | **Level {{level}}**\n> {{description}}\n⚡ {{fightPoints}} | 🗡 {{attack}} | 🛡 {{defense}} | 🚀 {{speed}}", - "monsterRewardsTitle": "{{pseudo}}, fight rewards", - "monsterRewardsDescription": ":moneybag: Money earned: **{{money}}**\n:star: XP earned: **{{experience}}**", + "endPoint": "End point:", + "energy": "** | :zap: Energy earned: **{{energy}}", + "experience": "** | :star: XP earned: **{{experience}}", + "gems": "** | :gem: Gems earned: **{{gems}}", + "health": "** | :heart: Life gained: **{{health}}", + "healthLoose": "** | :broken_heart: Life lost: **{{health}}", + "journal": "Journal of {{pseudo}}", + "money": "** | :moneybag: Money earned: **{{money}}", + "moneyLoose": "** | :money_with_wings: Money lost: **{{money}}", "monsterRewardGuildXp": "\n:star: Guild XP earned: **{{guildXp}}**", - "monsterRewardsGuildPoints": "\n:mirror_ball: Guild points earned: **{{guildPoints}}**" + "monsterRewardsDescription": ":moneybag: Money earned: **{{money}}**\n:star: XP earned: **{{experience}}**", + "monsterRewardsGuildPoints": "\n:mirror_ball: Guild points earned: **{{guildPoints}}**", + "monsterRewardsTitle": "{{pseudo}}, fight rewards", + "newBigEvent": ":flag_gb: You have arrived at **{{destination}}**!", + "noFight": ":newspaper: **Journal of {{pseudo}}:** {{waitABitReaction}} | You run away as fast as possible and decide to hide for now... The monster is still ready to fight you when you are ready!", + "points": ":** :medal: Points earned: **{{score}}", + "pveEvent": ":newspaper: **Journal of {{pseudo}}:** {{event}}\n\n{{monsterDisplay}}\n\n- {{startTheFightReaction}} Start the fight\n- {{waitABitReaction}} Wait a bit before starting the fight\n\n*- Use reactions to make an action*", + "remainingEnergyTitle": "Remaining energy:", + "startPoint": "Start point:", + "timeLost": "** | :clock10: Time spent: **{{timeLost}}", + "travelPathTitle": "Current travel:", + "travellingDescription": "Everything is going well since your last adventure {{smallEventEmoji}}. Next stop scheduled {{time}}.", + "travellingDescriptionEndTravel": "Everything is going well for you. You will reach your destination shortly.", + "travellingDescriptionWithoutSmallEvent": "Everything is going well for you. Next stop scheduled {{time}}.", + "travellingTitle": "You are currently moving forward!" + }, + "update": { + "description": "The latest version of the bot's core is **{{coreVersion}}**. The Discord module's version is **{{discordModuleVersion}}**.\n\nInformations about the changelog can be found here:\nhttps://guide.draftbot.com/v/en/lore/change-logs", + "title": ":scroll: Changelog" }, "vote": { "description": "Here is the link to support the bot:\nhttps://top.gg/bot/448110812801007618", diff --git a/Lang/en/discordBuilder.json b/Lang/en/discordBuilder.json index 5c3019770..e93c233a7 100644 --- a/Lang/en/discordBuilder.json +++ b/Lang/en/discordBuilder.json @@ -3,6 +3,16 @@ "description": "Displays information about badges.", "name": "badges" }, + "help": { + "description": "Displays the list of commands or detailed information about a specific command.", + "name": "help", + "options": { + "commandName": { + "description": "The command to display information about.", + "name": "command" + } + } + }, "idea": { "description": "Share with us your idea to improve the game.", "name": "idea" @@ -25,6 +35,10 @@ "description": "Add the bot on your server.", "name": "invitedraftbot" }, + "language": { + "description": "Change the language spoken by the bot in the discord server where the command was executed.", + "name": "language" + }, "ping": { "description": "Displays the ping of the bot and allow the player to check if the bot is online.", "name": "ping" @@ -61,6 +75,10 @@ } } }, + "rarity": { + "description": "Displays the different equipment rarities.", + "name": "rarity" + }, "report": { "description": "Get a report on your character's situation.", "name": "report" @@ -79,30 +97,12 @@ } } }, - "rarity": { - "description": "Displays the different equipment rarities.", - "name": "rarity" - }, "update": { "description": "Displays the bot's latest version.", "name": "update" }, - "help": { - "description": "Displays the list of commands or detailed information about a specific command.", - "name": "help", - "options": { - "commandName": { - "description": "The command to display information about.", - "name": "command" - } - } - }, "vote": { "description": "Displays the link to vote for the bot.", "name": "vote" - }, - "language": { - "description": "Change the language spoken by the bot in the discord server where the command was executed.", - "name": "language" } } \ No newline at end of file diff --git a/Lang/en/error.json b/Lang/en/error.json index 9f75e1ff1..b46ba3880 100644 --- a/Lang/en/error.json +++ b/Lang/en/error.json @@ -1,53 +1,53 @@ { - "playerDoesntExist": "This player doesn't exist!", - "titleBlocked": "{{pseudo}}, this person is occupied!", - "titleCanceled": "{{pseudo}}, canceled!", - "titleDidntWork": "{{pseudo}}, hmmm... That didn't work!", - "commandDoesntExist": "ERROR: Unknown command", - "interactionNotForYou": "This interaction is not intended for you!", - "unexpectedError": "An error occurred. :(", - "playerBlocked": "You can't do this because you currently have a pending action ({{reasons}})!", "anotherPlayerBlocked": "You can't do this because {{username}} currently has a pending action ({{reasons}})!", "blockedContext": { - "shop": "shop", + "acceptItem": "choice to keep an item or not", + "cartChoose": "choice to get in the cart or not", + "chiefGuildLeave": "authority will be transferred", + "chooseDestination": "choose the destination", + "class": "changing class", "confirmBuy": "purchase confirmation", - "report": "report", "cooldown": "You are typing commands too fast!", + "descriptionEdit": "guild description edit", + "drink": "choice to drink a potion or not", "fight": "fight", - "class": "changing class", - "guildInvite": "guild add", + "fightPetChoose": "choice of an action for the pet fight event", + "gobletChoose": "choice of a goblet", "guildCreate": "guild create", + "guildElder": "choice the elder", + "guildElderRemove": "delete the elder", + "guildInvite": "guild add", "guildKick": "guild kick", "guildLeave": "guild leave", - "descriptionEdit": "guild description edit", - "sell": "selling item", - "sellConfirm": "confirmation of an item sell", - "acceptItem": "choice to keep an item or not", + "guildShop": "guild's shop", + "lottery": "lottery small event", + "merchant": "merchant", + "missionShop": "missions shop", "petFeed": "feed pet", "petFree": "free pet", - "guildElder": "choice the elder", - "guildElderRemove": "delete the elder", - "petTrade": "pet trade", - "guildShop": "guild's shop", - "selectQuantity": "quantity selection", - "test": "test", "petSell": "pet sale", "petSellConfirm": "confirmation of a pet purchase", - "chiefGuildLeave": "authority will be transferred", - "chooseDestination": "choose the destination", - "lottery": "lottery small event", - "switch": "equipment switch", - "missionShop": "missions shop", - "merchant": "merchant", - "drink": "choice to drink a potion or not", - "gobletChoose": "choice of a goblet", - "witchChoose": "witch event choice", - "fightPetChoose": "choice of an action for the pet fight event", - "unlock": "releasing someone", + "petTrade": "pet trade", "pveIsland": "PVE island small event", - "startBossFight": "start of a boss fight", + "report": "report", "reportCommand": "report command", - "cartChoose": "choice to get in the cart or not" + "selectQuantity": "quantity selection", + "sell": "selling item", + "sellConfirm": "confirmation of an item sell", + "shop": "shop", + "startBossFight": "start of a boss fight", + "switch": "equipment switch", + "test": "test", + "unlock": "releasing someone", + "witchChoose": "witch event choice" }, - "guildDoesntExist": "La guilde demandée n'existe pas" + "commandDoesntExist": "ERROR: Unknown command", + "interactionNotForYou": "This interaction is not intended for you!", + "playerBlocked": "You can't do this because you currently have a pending action ({{reasons}})!", + "playerDoesntExist": "This player doesn't exist!", + "titleBlocked": "{{pseudo}}, this person is occupied!", + "titleCanceled": "{{pseudo}}, canceled!", + "titleDidntWork": "{{pseudo}}, hmmm... That didn't work!", + "guildDoesntExist": "La guilde demandée n'existe pas", + "unexpectedError": "An error occurred. :(" } \ No newline at end of file diff --git a/Lang/en/items.json b/Lang/en/items.json index a4733f3c0..6a8971e91 100644 --- a/Lang/en/items.json +++ b/Lang/en/items.json @@ -1,31 +1,12 @@ { - "nameDisplay": "{{emote}} **{{name}}**", - "nerfDisplay": "~~{{old}}~~ {{max}}", - "attack": ":dagger: {{value}}", - "defense": ":shield: {{value}}", - "speed": ":rocket: {{value}}", - "weapons": { - "fieldName": "Weapon:", - "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" - }, "armors": { "fieldName": "Armor/Shield:", "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" }, - "potions": { - "fieldName": "Potion:", - "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", - "natures": [ - ":x: No effect", - ":heart: Health + {{power}}", - ":rocket: Speed + {{power}} during the next fight", - ":crossed_swords: Attack + {{power}} during the next fight", - ":shield: Defense + {{power}} during the next fight", - ":clock1030: Speeds up time for {{power}}", - ":moneybag: Money + {{power}}", - ":zap: Energy + {{power}}" - ] - }, + "attack": ":dagger: {{value}}", + "defense": ":shield: {{value}}", + "nameDisplay": "{{emote}} **{{name}}**", + "nerfDisplay": "~~{{old}}~~ {{max}}", "objects": { "fieldName": "Item:", "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", @@ -40,6 +21,20 @@ ":zap: Energy + {{power}} per day" ] }, + "potions": { + "fieldName": "Potion:", + "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", + "natures": [ + ":x: No effect", + ":heart: Health + {{power}}", + ":rocket: Speed + {{power}} during the next fight", + ":crossed_swords: Attack + {{power}} during the next fight", + ":shield: Defense + {{power}} during the next fight", + ":clock1030: Speeds up time for {{power}}", + ":moneybag: Money + {{power}}", + ":zap: Energy + {{power}}" + ] + }, "rarities": [ ":small_orange_diamond: Basic", ":large_orange_diamond: Common", @@ -50,5 +45,10 @@ ":star: Epic", ":star2: Legendary", ":gem: Mythical" - ] + ], + "speed": ":rocket: {{value}}", + "weapons": { + "fieldName": "Weapon:", + "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" + } } \ No newline at end of file diff --git a/Lang/es/commands.json b/Lang/es/commands.json index d6f9fdbde..bd738e29a 100644 --- a/Lang/es/commands.json +++ b/Lang/es/commands.json @@ -26,6 +26,178 @@ "ranking": "{{rank} / {{rankTotal}}", "notRanked": "Non classée" }, + "help": { + "aliasFieldTitle": "Alias", + "aliasesFieldTitle": "Alias", + "commandEmbedTitle": "{{emote}} Información detallada:", + "commands": { + "BADGES": { + "description": "Las insignias son difíciles de obtener y se han creado para recompensar a las personas que más han contribuido al desarrollo del bot. La lista de insignias está disponible en la guía del bot.\n(a través de este enlace: https://guide.draftbot.com/notions-avancees/badges)" + }, + "CLASSES": { + "description": "Te permite cambiar de clase. Más información sobre las clases en la guía del jugador: https://guide.draftbot.com" + }, + "CLASSES_INFO": { + "description": "Permite una comparación rápida de las estadísticas de clase y la información que debe leer el usuario que realiza el pedido." + }, + "DAILY_BONUS": { + "description": "Algunos objetos te dan una bonificación diaria. Utiliza este comando para obtener estas bonificaciones. Para saber si un objeto te da una bonificación diaria, utiliza el comando {command:inventory}." + }, + "DRINK": { + "description": "Este comando te permite consumir la poción que llevas. Algunas pociones no se pueden beber y se consumen automáticamente durante el combate." + }, + "FIGHT": { + "description": "Utiliza este comando para retar a otros jugadores que estén en el mismo servidor que tú.\nLas batallas tienen lugar turno a turno. En cada turno, puedes elegir una acción a realizar.\n\nPara más información, consulta la página de la guía: https://guide.draftbot.com/notions-principale/combats", + "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" + }, + "GLORY_TOP": { + "description": "Muestra la clasificación gloriosa del partido para cada 15 jugadores. También se muestra la liga de los jugadores. Los jugadores que están en el mismo servidor que tú aparecen marcados con un punto azul." + }, + "GUILD": { + "description": "Muestra información sobre un gremio." + }, + "GUILD_CREATE": { + "description": "Crear un gremio. Crear un gremio cuesta 5.000 :moneybag:." + }, + "GUILD_DAILY_BONUS": { + "description": "Recoge las recompensas diarias del gremio." + }, + "GUILD_DESCRIPTION": { + "description": "Te permite modificar la descripción del gremio, requiere que seas líder del gremio." + }, + "GUILD_ELDER": { + "description": "Te permite añadir un anciano al gremio, requiere que seas líder del gremio." + }, + "GUILD_ELDER_REMOVE": { + "description": "Elimina al miembro de mayor edad del gremio, requiere ser líder del gremio." + }, + "GUILD_INVITE": { + "description": "Te permite añadir un usuario a un gremio. Necesitas ser un líder de gremio o un anciano de gremio." + }, + "GUILD_KICK": { + "description": "Te permite expulsar a un miembro de un gremio, requiere que seas un líder de gremio." + }, + "GUILD_LEAVE": { + "description": "Te permite abandonar tu gremio." + }, + "GUILD_SHELTER": { + "description": "Muestra el refugio de animales del gremio." + }, + "GUILD_SHOP": { + "description": "Muestra la tienda de tu gremio." + }, + "GUILD_STORAGE": { + "description": "Muestra el contenido del almacén del gremio." + }, + "GUILD_TOP": { + "description": "Muestra la clasificación de los gremios en incrementos de 15 gremios. Los gremios se clasifican según los puntos obtenidos en las islas misteriosas." + }, + "HELP": { + "description": ":expressionless:" + }, + "IDEA": { + "description": "Utilice este enlace para sugerir una idea o votar las ya existentes." + }, + "INVENTORY": { + "description": "Muestra el contenido de tu inventario, que puede contener 4 tipos de objetos:\n```\n-armas\n-armaduras\n-pociones\n-objetos\n```\nEl comando también muestra el contenido de la reserva, que tiene almacenamiento adicional." + }, + "INVITE_DRAFTBOT": { + "description": "Este comando proporciona un enlace al servidor de ayuda." + }, + "JOIN_BOAT": { + "description": "Únete a un miembro del Gremio en un barco rumbo a una isla misteriosa." + }, + "LANGUAGE": { + "description": "Cambia el idioma utilizado por el bot al inglés. Se puede utilizar si eres administrador de un servidor." + }, + "LEAGUE_BONUS": { + "description": "Consigue una recompensa de liga cada domingo." + }, + "MAP": { + "description": "Muestra información sobre el destino, así como el mapa." + }, + "MISSIONS": { + "description": "Muestra la lista de misiones disponibles." + }, + "MISSIONS_SHOP": { + "description": "Muestra la tienda de la misión." + }, + "NOTIFICATIONS": { + "description": "Activa o desactiva las notificaciones de bots." + }, + "PET": { + "description": "Muestra información sobre su mascota." + }, + "PET_FEED": { + "description": "Alimente a su mascota." + }, + "PET_FREE": { + "description": "Libera a tu mascota. Ten en cuenta que una vez liberada, se borrará para siempre, por lo que será imposible recuperarla. Este comando solo puede utilizarse una vez por hora." + }, + "PET_NICKNAME": { + "description": "Cambia el apodo de tu mascota. Si no se proporciona ningún nombre, se eliminará el nombre actual." + }, + "PET_SELL": { + "description": "Permite vender una mascota. Se aplican las siguientes condiciones: \n - el precio de venta debe ser mayor que `{{petSellMinPrice}}💰` y menor que `{{petSellMaxPrice}}💰`. \n- El vendedor no ganará dinero con la transacción, solo experiencia de gremio. \n- El vendedor y el comprador no pueden ser miembros del mismo gremio." + }, + "PET_TRADE": { + "description": "Proponga un intercambio de sus animales con la persona mencionada." + }, + "PET_TRANSFER": { + "description": "Te permite transferir una mascota a o desde el gremio. Si no se indica ningún número, la mascota de tu inventario se trasladará a la cabaña del gremio. De lo contrario, se intercambiará con la mascota del gremio cuya ubicación coincida con el número indicado." + }, + "PING": { + "description": "Muestra si el bot está en línea.\n\n(Nota: El tiempo que se muestra es el tiempo de respuesta del bot y no tu ping: un tiempo de respuesta correcto será inferior a 500ms. :clock1:" + }, + "PREFIX": { + "description": "Esta función se ha eliminado del juego tras una actualización de la funcionalidad de Discord." + }, + "PROFILE": { + "description": "Muestra información sobre tu personaje:\n\n😃 Estado de salud | Apodo | Nivel\n\n឵឵Información:\n❤️ Vida | ⭐ XP | 💰 Dinero\n\nEstadísticas :\n⚡ Energía | 🗡️ Ataque | 🛡️ Defensa | 🚀 Velocidad | 🌬️ Aliento | 🫁 Recuperación\n\nMisiones :\n💎 Gemas | 📖 Campaña avanzada %\n\nRango y puntuación:\n🏆 Rango | 🏅 Puntuación\n\nClase:\nVer {{classesCommandMention}}\n\nGloria y Liga:\n✨ Gloria | Ver {{topGloryCommandMention}}\n\nGremio:\n🏟️ Gremio\n\nDestino:\nVer {{mapCommandMention}}\n\nFamiliar:\nVer {{petCommandMention}}\n\n💡-Las insignias se muestran en tu perfil como reacción." + }, + "RARITY": { + "description": "Muestra la probabilidad de tener un objeto según su rareza." + }, + "REPORT": { + "description": "Te permite recoger información y recursos reunidos por tu personaje durante tu ausencia. De vez en cuando se desencadenan eventos que requieren acciones específicas." + }, + "RESPAWN": { + "description": "Te permite volver a jugar después de haber sido eliminado." + }, + "SELL": { + "description": "Te permite vender un objeto de tu alijo. El valor del objeto viene determinado por su poder. Las pociones no tienen valor de reventa, pero pueden desecharse usando este comando." + }, + "SHOP": { + "description": "Esta orden te permite gastar tu dinero para facilitar tu aventura. Además de las 4 opciones básicas que estarán disponibles permanentemente, podrás disfrutar de una poción exclusiva cada día, a la venta solo durante 24 horas." + }, + "SWITCH": { + "description": "Cambia el objeto de tu reserva por el objeto de la casilla \"objeto\" de tu inventario." + }, + "TOP": { + "description": "Muestra la clasificación general de la partida para cada 15 jugadores. Los jugadores que están en el mismo servidor que tú aparecen marcados con un punto azul." + }, + "UNLOCK": { + "description": "Se utiliza para pagar la fianza de excarcelación." + }, + "UPDATE": { + "description": "Permite ver el registro de cambios." + }, + "VOTE": { + "description": "Proporciona el enlace para votar por el bot." + } + }, + "forMoreHelp": ":arrow_forward: Para más ayuda : ", + "forMoreHelpValue": "Puedes visitar la [wiki] del bot (https://guide.draftbot.com/).", + "guildCommands": ":stadium: Gremio :", + "helpEmbedDescription": ":arrow_forward: Si desea más información sobre un comando en particular, haga clic aquí : {{helpCommandMention}}e introduzca como parámetro el comando con el que tiene problemas. :wink:", + "helpEmbedTitle": "{{pseudo}}Esta es la lista de comandos disponibles:", + "missionCommands": ":scroll: Misión:", + "petCommands": ":dog: Animales :", + "playerCommands": ":bust_in_silhouette: Jugador :", + "serverCommands": ":gear: Servidor :", + "usageFieldTitle": "Utilice", + "utilCommands": ":question: Información útil:" + }, "idea": { "description": "Puede hacer sugerencias y votar sus ideas favoritas a través de este enlace:\nhttps://feedback.draftbot.com/", "title": ":bulb: Ideas" @@ -39,12 +211,12 @@ "objects_other": "Objetos ({{count}}/{{max}}) :", "potions_one": "Poción ({{count}}/{{max}}):", "potions_other": "Pociones ({{count}}/{{max}}) :", + "seeBackupItems": "🔄 Ver la reserva", + "seeEquippedItems": "🔄 Ver inventario principal", "stockTitle": ":package: **Reserva artículos de {{pseudo}}**", "title": ":briefcase: ** {{pseudo}}**Inventario", "weapons_one": "Arma ({{count}}/{{max}}):", - "weapons_other": "Armas ({{count}}/{{max}}) :", - "seeBackupItems": "🔄 Ver la reserva", - "seeEquippedItems": "🔄 Ver inventario principal" + "weapons_other": "Armas ({{count}}/{{max}}) :" }, "invite": { "discord": { @@ -140,8 +312,52 @@ "title": "{{effect}} | {{pseudo}} | Nivel {{level}}" }, "rarity": { - "title": ":slot_machine: Escasez de equipos", - "rarities": ":small_orange_diamond: Básico | Poseído al inicio del juego\n:large_orange_diamond: Común | {{common}}%\n:fire: Poco común | {{uncommon}}%\n:trident: Exótico | {{exotic}}%\n:comet: Raro | {{rare}}%\n:dizzy: Especial | {{special}}%\n:star: Épico | {{epic}}%\n:star2: Legendario | {{legendary}}%\n:gem: Mítico | {{unique}}%" + "rarities": ":small_orange_diamond: Básico | Poseído al inicio del juego\n:large_orange_diamond: Común | {{common}}%\n:fire: Poco común | {{uncommon}}%\n:trident: Exótico | {{exotic}}%\n:comet: Raro | {{rare}}%\n:dizzy: Especial | {{special}}%\n:star: Épico | {{epic}}%\n:star2: Legendario | {{legendary}}%\n:gem: Mítico | {{unique}}%", + "title": ":slot_machine: Escasez de equipos" + }, + "report": { + "adviceTitle": "Consejos :", + "chooseDestinationIndications": "Elija un destino para su viaje:", + "choseMapMinutes_one": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. Este trayecto durará aproximadamente **{{time}} minuto**.", + "choseMapMinutes_other": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. Este trayecto durará aproximadamente **{{time}} minutos**.", + "choseMap_one": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. Este viaje durará aproximadamente **{{time}} hora**.", + "choseMap_other": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. El viaje durará aproximadamente **{{time}} horas**.", + "collectedPointsTitle": "Puntos recogidos :", + "commandDescription": "Obtén un informe sobre la situación de tu personaje.", + "commandName": "informe", + "destinationTitle": "{{pseudo}}destino de viaje", + "doChoice": "{{emoji}} {{choiceText}}\n", + "doEvent": ":newspaper: ** {{pseudo}} :** {{event}}\n*- Utiliza las reacciones para realizar una acción ⚠️ No responder se considera una elección independiente.*", + "doPossibility": ":newspaper: ** {{pseudo}} {{result}}** {{emoji}}{{event}} {{alte}}", + "encounterMonster": [ + "Llegas a tu destino cuando de repente oyes un ruido detrás de ti... ¡Un monstruo te ataca!" + ], + "encounterMonsterStats": "> **{{emoji}} {{monsterName}} **| **Nivel {{level}}**\n> {{description}}\n\n⚡ {{fightPoints}} | 🗡 {{attack}} | 🛡 {{defense}} | 🚀 {{speed}}", + "endPoint": "Punto de llegada :", + "energy": "** | :zap: Energía ahorrada : **{{energy}}", + "experience": "| :star: XP ganada : **{{experience}}", + "gems": "** | :gem: Gemas ganadas : **{{gems}}", + "health": "| :heart: La vida ganada : **{{health}}", + "healthLoose": "| :broken_heart: Vida perdida : **{{health}}", + "journal": "Diario de {{pseudo}}", + "money": "** | :moneybag: Dinero ganado : **{{money}}", + "moneyLoose": "** | :money_with_wings: Dinero perdido : **{{money}}", + "monsterRewardGuildXp": "\n:star: XP gremio ganado: **{{guildXp}}**", + "monsterRewardsDescription": ":moneybag: Plata ganada : **{{money}}**\n:star: XP ganada : **{{experience}}**", + "monsterRewardsGuildPoints": "\n:mirror_ball: Puntos de gremio ganados : **{{guildPoints}}**", + "monsterRewardsTitle": "{{pseudo}}recompensas de combate", + "newBigEvent": ":flag_fr: ¡Ha llegado a{{destination}}!", + "noFight": ":newspaper: ** {{pseudo}} :** {{waitABitReaction}} | ¡Haces una rápida escapada y encuentras un pequeño escondite! El monstruo espera pacientemente fuera...", + "points": ":** :medal: Puntos ganados : **{{score}}", + "pveEvent": ":newspaper: ** {{pseudo}} log:** {{event}}\n\n{{monsterDisplay}}\n\n{{startTheFightReaction}} Empieza el combate\n{{waitABitReaction}} Espera un poco antes de empezar el combate\n\n*- Usa las reacciones para realizar una acción*.", + "remainingEnergyTitle": "Energía restante :", + "startPoint": "Punto de partida :", + "timeLost": "| :clock10: Tiempo perdido :{{timeLost}}", + "travelPathTitle": "Viaje actual :", + "travellingDescription": "Todo va bien desde su última aventura {{smallEventEmoji}}. Próxima parada {{time}}.", + "travellingDescriptionEndTravel": "Todo va bien en tu aventura y pronto llegarás a tu destino.", + "travellingDescriptionWithoutSmallEvent": "Tu aventura va viento en popa. Próxima parada {{time}}.", + "travellingTitle": "¡Realmente estás progresando!" }, "update": { "description": "La versión actual del núcleo bot es **{{coreVersion}}**. El módulo Discord es **{{discordModuleVersion}}**.\n\nToda la información sobre las actualizaciones está disponible aquí:\nhttps://guide.draftbot.com/lore/historique-des-mises-a-jour", @@ -180,222 +396,6 @@ } } }, - "help": { - "aliasFieldTitle": "Alias", - "helpEmbedDescription": ":arrow_forward: Si desea más información sobre un comando en particular, haga clic aquí : {{helpCommandMention}}e introduzca como parámetro el comando con el que tiene problemas. :wink:", - "serverCommands": ":gear: Servidor :", - "utilCommands": ":question: Información útil:", - "playerCommands": ":bust_in_silhouette: Jugador :", - "missionCommands": ":scroll: Misión:", - "guildCommands": ":stadium: Gremio :", - "forMoreHelp": ":arrow_forward: Para más ayuda : ", - "petCommands": ":dog: Animales :", - "commandEmbedTitle": "{{emote}} Información detallada:", - "forMoreHelpValue": "Puedes visitar la [wiki] del bot (https://guide.draftbot.com/).", - "usageFieldTitle": "Utilice", - "aliasesFieldTitle": "Alias", - "commands": { - "PREFIX": { - "description": "Esta función se ha eliminado del juego tras una actualización de la funcionalidad de Discord." - }, - "PING": { - "description": "Muestra si el bot está en línea.\n\n(Nota: El tiempo que se muestra es el tiempo de respuesta del bot y no tu ping: un tiempo de respuesta correcto será inferior a 500ms. :clock1:" - }, - "RESPAWN": { - "description": "Te permite volver a jugar después de haber sido eliminado." - }, - "PROFILE": { - "description": "Muestra información sobre tu personaje:\n\n😃 Estado de salud | Apodo | Nivel\n\n឵឵Información:\n❤️ Vida | ⭐ XP | 💰 Dinero\n\nEstadísticas :\n⚡ Energía | 🗡️ Ataque | 🛡️ Defensa | 🚀 Velocidad | 🌬️ Aliento | 🫁 Recuperación\n\nMisiones :\n💎 Gemas | 📖 Campaña avanzada %\n\nRango y puntuación:\n🏆 Rango | 🏅 Puntuación\n\nClase:\nVer {{classesCommandMention}}\n\nGloria y Liga:\n✨ Gloria | Ver {{topGloryCommandMention}}\n\nGremio:\n🏟️ Gremio\n\nDestino:\nVer {{mapCommandMention}}\n\nFamiliar:\nVer {{petCommandMention}}\n\n💡-Las insignias se muestran en tu perfil como reacción." - }, - "SWITCH": { - "description": "Cambia el objeto de tu reserva por el objeto de la casilla \"objeto\" de tu inventario." - }, - "FIGHT": { - "description": "Utiliza este comando para retar a otros jugadores que estén en el mismo servidor que tú.\nLas batallas tienen lugar turno a turno. En cada turno, puedes elegir una acción a realizar.\n\nPara más información, consulta la página de la guía: https://guide.draftbot.com/notions-principale/combats", - "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" - }, - "HELP": { - "description": ":expressionless:" - }, - "LANGUAGE": { - "description": "Cambia el idioma utilizado por el bot al inglés. Se puede utilizar si eres administrador de un servidor." - }, - "TOP": { - "description": "Muestra la clasificación general de la partida para cada 15 jugadores. Los jugadores que están en el mismo servidor que tú aparecen marcados con un punto azul." - }, - "GLORY_TOP": { - "description": "Muestra la clasificación gloriosa del partido para cada 15 jugadores. También se muestra la liga de los jugadores. Los jugadores que están en el mismo servidor que tú aparecen marcados con un punto azul." - }, - "GUILD_TOP": { - "description": "Muestra la clasificación de los gremios en incrementos de 15 gremios. Los gremios se clasifican según los puntos obtenidos en las islas misteriosas." - }, - "INVENTORY": { - "description": "Muestra el contenido de tu inventario, que puede contener 4 tipos de objetos:\n```\n-armas\n-armaduras\n-pociones\n-objetos\n```\nEl comando también muestra el contenido de la reserva, que tiene almacenamiento adicional." - }, - "REPORT": { - "description": "Te permite recoger información y recursos reunidos por tu personaje durante tu ausencia. De vez en cuando se desencadenan eventos que requieren acciones específicas." - }, - "SELL": { - "description": "Te permite vender un objeto de tu alijo. El valor del objeto viene determinado por su poder. Las pociones no tienen valor de reventa, pero pueden desecharse usando este comando." - }, - "DAILY_BONUS": { - "description": "Algunos objetos te dan una bonificación diaria. Utiliza este comando para obtener estas bonificaciones. Para saber si un objeto te da una bonificación diaria, utiliza el comando {command:inventory}." - }, - "INVITE_DRAFTBOT": { - "description": "Este comando proporciona un enlace al servidor de ayuda." - }, - "BADGES": { - "description": "Las insignias son difíciles de obtener y se han creado para recompensar a las personas que más han contribuido al desarrollo del bot. La lista de insignias está disponible en la guía del bot.\n(a través de este enlace: https://guide.draftbot.com/notions-avancees/badges)" - }, - "DRINK": { - "description": "Este comando te permite consumir la poción que llevas. Algunas pociones no se pueden beber y se consumen automáticamente durante el combate." - }, - "SHOP": { - "description": "Esta orden te permite gastar tu dinero para facilitar tu aventura. Además de las 4 opciones básicas que estarán disponibles permanentemente, podrás disfrutar de una poción exclusiva cada día, a la venta solo durante 24 horas." - }, - "GUILD_CREATE": { - "description": "Crear un gremio. Crear un gremio cuesta 5.000 :moneybag:." - }, - "GUILD_LEAVE": { - "description": "Te permite abandonar tu gremio." - }, - "GUILD": { - "description": "Muestra información sobre un gremio." - }, - "GUILD_DAILY_BONUS": { - "description": "Recoge las recompensas diarias del gremio." - }, - "GUILD_KICK": { - "description": "Te permite expulsar a un miembro de un gremio, requiere que seas un líder de gremio." - }, - "GUILD_INVITE": { - "description": "Te permite añadir un usuario a un gremio. Necesitas ser un líder de gremio o un anciano de gremio." - }, - "GUILD_DESCRIPTION": { - "description": "Te permite modificar la descripción del gremio, requiere que seas líder del gremio." - }, - "GUILD_ELDER": { - "description": "Te permite añadir un anciano al gremio, requiere que seas líder del gremio." - }, - "GUILD_ELDER_REMOVE": { - "description": "Elimina al miembro de mayor edad del gremio, requiere ser líder del gremio." - }, - "GUILD_STORAGE": { - "description": "Muestra el contenido del almacén del gremio." - }, - "GUILD_SHOP": { - "description": "Muestra la tienda de tu gremio." - }, - "UPDATE": { - "description": "Permite ver el registro de cambios." - }, - "CLASSES": { - "description": "Te permite cambiar de clase. Más información sobre las clases en la guía del jugador: https://guide.draftbot.com" - }, - "PET": { - "description": "Muestra información sobre su mascota." - }, - "PET_TRANSFER": { - "description": "Te permite transferir una mascota a o desde el gremio. Si no se indica ningún número, la mascota de tu inventario se trasladará a la cabaña del gremio. De lo contrario, se intercambiará con la mascota del gremio cuya ubicación coincida con el número indicado." - }, - "PET_NICKNAME": { - "description": "Cambia el apodo de tu mascota. Si no se proporciona ningún nombre, se eliminará el nombre actual." - }, - "PET_FREE": { - "description": "Libera a tu mascota. Ten en cuenta que una vez liberada, se borrará para siempre, por lo que será imposible recuperarla. Este comando solo puede utilizarse una vez por hora." - }, - "GUILD_SHELTER": { - "description": "Muestra el refugio de animales del gremio." - }, - "PET_TRADE": { - "description": "Proponga un intercambio de sus animales con la persona mencionada." - }, - "PET_FEED": { - "description": "Alimente a su mascota." - }, - "PET_SELL": { - "description": "Permite vender una mascota. Se aplican las siguientes condiciones: \n - el precio de venta debe ser mayor que `{{petSellMinPrice}}💰` y menor que `{{petSellMaxPrice}}💰`. \n- El vendedor no ganará dinero con la transacción, solo experiencia de gremio. \n- El vendedor y el comprador no pueden ser miembros del mismo gremio." - }, - "CLASSES_INFO": { - "description": "Permite una comparación rápida de las estadísticas de clase y la información que debe leer el usuario que realiza el pedido." - }, - "RARITY": { - "description": "Muestra la probabilidad de tener un objeto según su rareza." - }, - "VOTE": { - "description": "Proporciona el enlace para votar por el bot." - }, - "IDEA": { - "description": "Utilice este enlace para sugerir una idea o votar las ya existentes." - }, - "NOTIFICATIONS": { - "description": "Activa o desactiva las notificaciones de bots." - }, - "UNLOCK": { - "description": "Se utiliza para pagar la fianza de excarcelación." - }, - "MAP": { - "description": "Muestra información sobre el destino, así como el mapa." - }, - "MISSIONS": { - "description": "Muestra la lista de misiones disponibles." - }, - "MISSIONS_SHOP": { - "description": "Muestra la tienda de la misión." - }, - "LEAGUE_BONUS": { - "description": "Consigue una recompensa de liga cada domingo." - }, - "JOIN_BOAT": { - "description": "Únete a un miembro del Gremio en un barco rumbo a una isla misteriosa." - } - }, - "helpEmbedTitle": "{{pseudo}}Esta es la lista de comandos disponibles:" - }, - "report": { - "commandName": "informe", - "commandDescription": "Obtén un informe sobre la situación de tu personaje.", - "doEvent": ":newspaper: ** {{pseudo}} :** {{event}}\n*- Utiliza las reacciones para realizar una acción ⚠️ No responder se considera una elección independiente.*", - "doChoice": "{{emoji}} {{choiceText}}\n", - "doPossibility": ":newspaper: ** {{pseudo}} {{result}}** {{emoji}}{{event}}{{alte}}", - "points": ":** :medal: Puntos ganados : **{{score}}", - "money": "** | :moneybag: Dinero ganado : **{{money}}", - "energy": "** | :zap: Energía ahorrada : **{{energy}}", - "gems": "** | :gem: Gemas ganadas : **{{gems}}", - "experience": "| :star: XP ganada : **{{experience}}", - "moneyLoose": "** | :money_with_wings: Dinero perdido : **{{money}}", - "healthLoose": "| :broken_heart: Vida perdida : **{{health}}", - "health": "| :heart: La vida ganada : **{{health}}", - "timeLost": "| :clock10: Tiempo perdido :{{timeLost}}", - "travellingTitle": "¡Realmente estás progresando!", - "travellingDescriptionWithoutSmallEvent": "Tu aventura va viento en popa. Próxima parada {{time}}.", - "travellingDescription": "Todo va bien desde su última aventura {{smallEventEmoji}}. Próxima parada {{time}}.", - "travellingDescriptionEndTravel": "Todo va bien en tu aventura y pronto llegarás a tu destino.", - "choseMap_one": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. Este viaje durará aproximadamente **{{time}} hora**.", - "choseMap_other": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. El viaje durará aproximadamente **{{time}} horas**.", - "choseMapMinutes_one": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. Este trayecto durará aproximadamente **{{time}} minuto**.", - "choseMapMinutes_other": "Ha decidido dirigirse a {{mapPrefix}} {{mapType}} **{{mapName}}**. Este trayecto durará aproximadamente **{{time}} minutos**.", - "destinationTitle": "{{pseudo}}destino de viaje", - "chooseDestinationIndications": "Elija un destino para su viaje:", - "travelPathTitle": "Viaje actual :", - "startPoint": "Punto de partida :", - "endPoint": "Punto de llegada :", - "adviceTitle": "Consejos :", - "journal": "Diario de {{pseudo}}", - "collectedPointsTitle": "Puntos recogidos :", - "newBigEvent": ":flag_fr: ¡Ha llegado a{{destination}}!", - "remainingEnergyTitle": "Energía restante :", - "pveEvent": ":newspaper: ** {{pseudo}} log:** {{event}}\n\n{{monsterDisplay}}\n\n{{startTheFightReaction}} Empieza el combate\n{{waitABitReaction}} Espera un poco antes de empezar el combate\n\n*- Usa las reacciones para realizar una acción*.", - "noFight": ":newspaper: ** {{pseudo}} :** {{waitABitReaction}} | ¡Haces una rápida escapada y encuentras un pequeño escondite! El monstruo espera pacientemente fuera...", - "encounterMonster": [ - "Llegas a tu destino cuando de repente oyes un ruido detrás de ti... ¡Un monstruo te ataca!" - ], - "encounterMonsterStats": "> **{{emoji}} {{monsterName}} **| **Nivel {{level}}**\n> {{description}}\n\n⚡ {{fightPoints}} | 🗡 {{attack}} | 🛡 {{defense}} | 🚀 {{speed}}", - "monsterRewardsTitle": "{{pseudo}}recompensas de combate", - "monsterRewardsDescription": ":moneybag: Plata ganada : **{{money}}**\n:star: XP ganada : **{{experience}}**", - "monsterRewardGuildXp": "\n:star: XP gremio ganado: **{{guildXp}}**", - "monsterRewardsGuildPoints": "\n:mirror_ball: Puntos de gremio ganados : **{{guildPoints}}**" - }, "vote": { "description": "Aquí está el enlace para apoyar el bot:\nhttps://top.gg/bot/448110812801007618", "title": ":ballot_box: Vote" diff --git a/Lang/es/discordBuilder.json b/Lang/es/discordBuilder.json index baab81eb7..08137dd34 100644 --- a/Lang/es/discordBuilder.json +++ b/Lang/es/discordBuilder.json @@ -3,6 +3,16 @@ "description": "Muestra información sobre las insignias y su funcionamiento.", "name": "insignias" }, + "help": { + "description": "Muestra la lista de comandos disponibles o información detallada sobre un comando.", + "name": "asistencia", + "options": { + "commandName": { + "description": "El comando cuya información debe mostrarse.", + "name": "pedir" + } + } + }, "idea": { "description": "Envía una sugerencia para mejorar el juego.", "name": "sugerencia" @@ -61,6 +71,10 @@ } } }, + "rarity": { + "description": "Muestra las distintas rarezas de los equipos.", + "name": "rareza" + }, "report": { "description": "Obtén un informe sobre la situación de tu personaje.", "name": "informe" @@ -79,30 +93,16 @@ } } }, - "rarity": { - "description": "Muestra las distintas rarezas de los equipos.", - "name": "rareza" - }, "update": { "description": "Muestra la versión actual del bot.", "name": "nuevos productos" }, - "help": { - "description": "Muestra la lista de comandos disponibles o información detallada sobre un comando.", - "name": "asistencia", - "options": { - "commandName": { - "description": "El comando cuya información debe mostrarse.", - "name": "pedir" - } - } + "language": { + "description": "Changer la langue du bot dans le serveur discord ou la commande a été exécutée.", + "name": "langage" }, "vote": { "description": "Muestra el enlace para votar por el bot.", "name": "vote" - }, - "language": { - "description": "Changer la langue du bot dans le serveur discord ou la commande a été exécutée.", - "name": "langage" } } \ No newline at end of file diff --git a/Lang/es/error.json b/Lang/es/error.json index cf20ee235..6473ee548 100644 --- a/Lang/es/error.json +++ b/Lang/es/error.json @@ -1,53 +1,53 @@ { - "playerDoesntExist": "¡Este jugador no existe!", - "titleBlocked": "{{pseudo}}¡esta persona está bloqueada!", - "titleCanceled": "{{pseudo}}¡cancelación tenida en cuenta!", - "titleDidntWork": "{{pseudo}}, hmmm... ¡No funcionó!", - "commandDoesntExist": "ERROR: Comando desconocido", - "interactionNotForYou": "Esta interacción no es para ti.", - "unexpectedError": "Se ha producido un error :(", - "playerBlocked": "¡No puede hacerlo porque tiene una acción pendiente ({{reasons}}) !", "anotherPlayerBlocked": "¡No puede hacerlo porque {{username}} tiene una acción pendiente ({{reasons}}) !", "blockedContext": { - "shop": "elección en la tienda", + "acceptItem": "elección de conservar o no un objeto", + "cartChoose": "elección de montar o no en el carro", + "chiefGuildLeave": "transferencia de poder", + "chooseDestination": "elección del destino", + "class": "cambio de clase", "confirmBuy": "confirmación de compra", - "report": "informe", "cooldown": "¡Envías los pedidos demasiado rápido!", + "descriptionEdit": "editar la descripción del gremio", + "drink": "elección de beber o no una poción", "fight": "combate", - "class": "cambio de clase", - "guildInvite": "unirse a un gremio", + "fightPetChoose": "elegir una acción de combate con mascota", + "gobletChoose": "elegir una taza", "guildCreate": "crear un gremio", + "guildElder": "elección del anciano", + "guildElderRemove": "eliminar al mayor", + "guildInvite": "unirse a un gremio", "guildKick": "expulsión de un gremio", "guildLeave": "salida de un gremio", - "descriptionEdit": "editar la descripción del gremio", - "sell": "venta de un artículo", - "sellConfirm": "confirmación de la venta de un artículo", - "acceptItem": "elección de conservar o no un objeto", + "guildShop": "elección en la tienda del gremio", + "lottery": "lotería minieólica", + "merchant": "elección del minorista", + "missionShop": "elige en la tienda de misiones", "petFeed": "elegir la comida para el animal de compañía", "petFree": "liberar a una mascota", - "guildElder": "elección del anciano", - "guildElderRemove": "eliminar al mayor", - "petTrade": "intercambio de animales", - "guildShop": "elección en la tienda del gremio", - "selectQuantity": "seleccione una cantidad", - "test": "prueba", "petSell": "vender un animal de compañía", "petSellConfirm": "confirmación de la compra del animal de compañía", - "chiefGuildLeave": "transferencia de poder", - "chooseDestination": "elección del destino", - "lottery": "lotería minieólica", - "switch": "intercambio de equipos", - "missionShop": "elige en la tienda de misiones", - "merchant": "elección del minorista", - "drink": "elección de beber o no una poción", - "gobletChoose": "elegir una taza", - "witchChoose": "elige una acción para la bruja", - "fightPetChoose": "elegir una acción de combate con mascota", - "unlock": "liberar a alguien", + "petTrade": "intercambio de animales", "pveIsland": "minivento isla PVE", - "startBossFight": "inicio de un combate contra un jefe", + "report": "informe", "reportCommand": "informe de pedido", - "cartChoose": "elección de montar o no en el carro" + "selectQuantity": "seleccione una cantidad", + "sell": "venta de un artículo", + "sellConfirm": "confirmación de la venta de un artículo", + "shop": "elección en la tienda", + "startBossFight": "inicio de un combate contra un jefe", + "switch": "intercambio de equipos", + "test": "prueba", + "unlock": "liberar a alguien", + "witchChoose": "elige una acción para la bruja" }, + "commandDoesntExist": "ERROR: Comando desconocido", + "interactionNotForYou": "Esta interacción no es para ti.", + "playerBlocked": "¡No puede hacerlo porque tiene una acción pendiente ({{reasons}}) !", + "playerDoesntExist": "¡Este jugador no existe!", + "titleBlocked": "{{pseudo}}¡esta persona está bloqueada!", + "titleCanceled": "{{pseudo}}¡cancelación tenida en cuenta!", + "titleDidntWork": "{{pseudo}}, hmmm... ¡No funcionó!", + "unexpectedError": "Se ha producido un error :(", "guildDoesntExist": "La guilde demandée n'existe pas" } \ No newline at end of file diff --git a/Lang/es/items.json b/Lang/es/items.json index a5a989c03..cdd55f004 100644 --- a/Lang/es/items.json +++ b/Lang/es/items.json @@ -1,31 +1,12 @@ { - "nameDisplay": "{{emote}} **{{{name}}}**", - "nerfDisplay": "~~{{old}}~~ {{max}}", - "attack": ":dagger: {{value}}", - "defense": ":shield: {{value}}", - "speed": ":rocket: {{value}}", - "weapons": { - "fieldName": "Arma :", - "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" - }, "armors": { "fieldName": "Armadura/Escudo :", "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" }, - "potions": { - "fieldName": "Poción :", - "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", - "natures": [ - ":x: Sin efecto", - ":heart: Vida + {{power}}", - ":rocket: Velocidad + {{power}} durante el siguiente combate", - ":crossed_swords: Ataque + {{power}} durante el siguiente combate", - ":shield: Defensa + {{power}} durante el siguiente combate", - ":clock1030: Tiempo de antelación {{power}}", - ":moneybag: Plata + {{power}}", - ":zap: Energía + {{power}}" - ] - }, + "attack": ":dagger: {{value}}", + "defense": ":shield: {{value}}", + "nameDisplay": "{{emote}} **{{{name}}}**", + "nerfDisplay": "~~{{old}}~~ {{max}}", "objects": { "fieldName": "Asunto :", "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", @@ -40,6 +21,20 @@ ":zap: Energía + {{power}} al día" ] }, + "potions": { + "fieldName": "Poción :", + "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", + "natures": [ + ":x: Sin efecto", + ":heart: Vida + {{power}}", + ":rocket: Velocidad + {{power}} durante el siguiente combate", + ":crossed_swords: Ataque + {{power}} durante el siguiente combate", + ":shield: Defensa + {{power}} durante el siguiente combate", + ":clock1030: Tiempo de antelación {{power}}", + ":moneybag: Plata + {{power}}", + ":zap: Energía + {{power}}" + ] + }, "rarities": [ ":small_orange_diamond: Básico", ":large_orange_diamond: Común", @@ -50,5 +45,10 @@ ":star: Épica", ":star2: Legendario", ":gem: Mítico" - ] + ], + "speed": ":rocket: {{value}}", + "weapons": { + "fieldName": "Arma :", + "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" + } } \ No newline at end of file diff --git a/Lang/fr/commands.json b/Lang/fr/commands.json index 021266388..05c19197e 100644 --- a/Lang/fr/commands.json +++ b/Lang/fr/commands.json @@ -26,6 +26,178 @@ "ranking": "{{rank} / {{rankTotal}}", "notRanked": "Non classée" }, + "help": { + "aliasFieldTitle": "Alias", + "aliasesFieldTitle": "Alias", + "commandEmbedTitle": "{{emote}} Informations détaillées :", + "commands": { + "BADGES": { + "description": "Les badges sont des distinctions difficiles à obtenir qui ont été créées pour récompenser les personnes ayant le plus soutenu le développement du bot. La liste des badges est disponible sur le guide du bot.\n(via ce lien : https://guide.draftbot.com/notions-avancees/badges)" + }, + "CLASSES": { + "description": "Permet de changer de classe. Plus d'informations sur les classes sont disponibles sur le guide du joueur : https://guide.draftbot.com" + }, + "CLASSES_INFO": { + "description": "Permet de lire une comparaison rapide des statistiques et des informations des classes qui sont accessible à l'utilisateur effectuant la commande." + }, + "DAILY_BONUS": { + "description": "Certains items vous donnent un bonus journalier. Utilisez cette commande pour récupérer ces bonus. Pour savoir si un item vous donne un bonus journalier, effectuez la commande {command:inventory}." + }, + "DRINK": { + "description": "Cette commande permet de consommer la potion que vous transportez. Certaines potions ne peuvent pas être bues et sont consommées automatiquement lors d'un combat." + }, + "FIGHT": { + "description": "Utilisez cette commande pour défier les autres joueurs qui se trouvent sur le même serveur que vous.\nLes combats se déroulent tour par tour. À chaque tour, vous pouvez choisir une action à effectuer.\n\nPour plus d'informations vous pouvez aller voir la page du guide : https://guide.draftbot.com/notions-principale/combats", + "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" + }, + "GLORY_TOP": { + "description": "Affiche le classement glorieux du jeu par tranche de 15 joueurs. La ligue des joueurs est également affichée. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." + }, + "GUILD": { + "description": "Permet d'afficher les informations sur une guilde." + }, + "GUILD_CREATE": { + "description": "Permet de créer une guilde. Créer une guilde coûte 5000 :moneybag:." + }, + "GUILD_DAILY_BONUS": { + "description": "Permet de récupérer des récompenses quotidiennes de guilde." + }, + "GUILD_DESCRIPTION": { + "description": "Permet de modifier la description de la guilde, nécessite d'être chef de guilde." + }, + "GUILD_ELDER": { + "description": "Permet d'ajouter un aîné à la guilde, nécessite d'être chef de guilde." + }, + "GUILD_ELDER_REMOVE": { + "description": "Permet de supprimer l'aîné de la guilde, nécessite d'être chef de guilde." + }, + "GUILD_INVITE": { + "description": "Permet d'ajouter un utilisateur à une guilde, nécessite d'être chef ou aîné de guilde." + }, + "GUILD_KICK": { + "description": "Permet d'expulser un membre d'une guilde, nécessite d'être chef de guilde." + }, + "GUILD_LEAVE": { + "description": "Permet de quitter votre guilde." + }, + "GUILD_SHELTER": { + "description": "Affiche le refuge d'animaux de la guilde." + }, + "GUILD_SHOP": { + "description": "Affiche le magasin de votre guilde." + }, + "GUILD_STORAGE": { + "description": "Affiche le contenu de l'entrepôt de la guilde." + }, + "GUILD_TOP": { + "description": "Affiche le classement des guildes par tranche de 15 guildes. Les guildes sont classées en fonctions des points récoltés sur les îles mystérieuses." + }, + "HELP": { + "description": ":expressionless:" + }, + "IDEA": { + "description": "Permet d'obtenir un lien afin de suggérer une idée ou alors de voter pour celles déjà existantes." + }, + "INVENTORY": { + "description": "Affiche le contenu de votre inventaire qui peut contenir 4 types d'objets :\n```\n-armes\n-armures\n-potions\n-items\n```\nLa commande affiche également le contenu de la réserve qui dispose de stockage supplémentaire." + }, + "INVITE_DRAFTBOT": { + "description": "Cette commande vous permet d'obtenir un lien permettant de rejoindre le serveur d'aide !" + }, + "JOIN_BOAT": { + "description": "Permet de rejoindre un membre de la guilde dans un bateau allant sur une île mystérieuse." + }, + "LANGUAGE": { + "description": "Change la langue utilisée par le bot pour l'anglais. Utilisable si vous êtes administrateur sur un serveur." + }, + "LEAGUE_BONUS": { + "description": "Permet d'obtenir une récompense de ligue chaque dimanche." + }, + "MAP": { + "description": "Affiche des informations sur votre destination, ainsi que la carte." + }, + "MISSIONS": { + "description": "Affiche la liste des missions qui vous sont proposées." + }, + "MISSIONS_SHOP": { + "description": "Affiche le magasin des missions." + }, + "NOTIFICATIONS": { + "description": "Permet d'activer ou de désactiver les notifications du bot." + }, + "PET": { + "description": "Affiche les informations relatives à votre familier." + }, + "PET_FEED": { + "description": "Donner de la nourriture à votre familier." + }, + "PET_FREE": { + "description": "Libère votre familier. Attention, une fois libéré, il sera effacé à tout jamais et donc impossible de le récupérer. Cette commande ne peut être effectuée qu'une fois par heure." + }, + "PET_NICKNAME": { + "description": "Change le surnom de votre familier. Si aucun nom n'est fourni, le nom actuel sera effacé." + }, + "PET_SELL": { + "description": "Permet de vendre un familier. Les conditions suivantes s'appliquent : \n - le prix de vente doit être être supérieur à `{{petSellMinPrice}}💰` et inférieur à `{{petSellMaxPrice}}💰`. \n- Le vendeur ne gagnera pas d'argent lors de la transaction, mais de l'expérience de guilde. \n- Le vendeur et l'acheteur ne peuvent pas faire partie de la même guilde." + }, + "PET_TRADE": { + "description": "Propose un échange de vos animaux avec la personne mentionnée." + }, + "PET_TRANSFER": { + "description": "Permet de transférer un familier depuis ou vers la guilde. Si aucun numéro n'est fourni, le familier de votre inventaire sera déplacé vers le refuge de la guilde. Sinon, il sera échangé avec celui de la guilde dont la position correspond au numéro donné." + }, + "PING": { + "description": "Permet de savoir si le bot est en ligne.\n\n(Note : Le temps affiché est le temps de réponse du bot et non pas votre ping: un temps de réponse correct sera inférieur à 500ms. :clock1:" + }, + "PREFIX": { + "description": "Cette fonctionnalité a été supprimée du jeu suite à une mise à jour des fonctionnalités proposées par Discord." + }, + "PROFILE": { + "description": "Affiche des informations sur votre personnage :\n\n😃 État de santé | Pseudo | Level\n\n឵឵឵Informations :\n❤️ Vie | ⭐ XP | 💰 Argent\n\nStatistiques :\n⚡ Énergie | 🗡️ Attaque | 🛡️ Défense | 🚀 Vitesse | 🌬️ Souffle | 🫁 Récupération\n\nMissions :\n💎 Gemmes | 📖 Avancé de la campagne %\n\nClassement et score :\n🏆 Classement | 🏅 Score\n\nClasse :\nVoir {{classesCommandMention}}\n\nGloire et Ligue :\n✨ Gloire | Voir {{topGloryCommandMention}}\n\nGuilde :\n🏟️ Guilde\n\nDestination :\nVoir {{mapCommandMention}}\n\nFamilier :\nVoir {{petCommandMention}}\n\n💡-Les badges sont affichés sur votre profil sous forme de réaction." + }, + "RARITY": { + "description": "Permet de voir la probabilité d'avoir un item selon sa rareté." + }, + "REPORT": { + "description": "Permet de collecter les informations et les ressources collectées par votre personnage durant votre absence. De temps en temps, des évènements se déclenchent et demandent des actions particulières." + }, + "RESPAWN": { + "description": "Permet de recommencer à jouer après avoir été mis K.O." + }, + "SELL": { + "description": "Permet de vendre l'objet qui se trouve dans votre réserve, la valeur de l'objet est déterminée en fonction de sa puissance. Les potions n'ont pas de valeur de revente, mais peuvent être jetées grace à cette commande." + }, + "SHOP": { + "description": "Cette commande permet de dépenser votre argent pour faciliter votre aventure. En plus des 4 choix de base qui seront disponible de façon permanente, vous pourrez, chaque jour, profiter d'une potion exclusive, disponible à la vente durant 24 heures uniquement." + }, + "SWITCH": { + "description": "Échange l'item qui se trouve dans votre réserve avec l'item qui se trouve dans la case \"item\" de votre inventaire." + }, + "TOP": { + "description": "Affiche le classement général du jeu par tranche de 15 joueurs. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." + }, + "UNLOCK": { + "description": "Permet de payer une caution pour libérer quelqu'un de prison." + }, + "UPDATE": { + "description": "Permet de visionner le changelog." + }, + "VOTE": { + "description": "Permet d'obtenir le lien pour voter pour le bot." + } + }, + "forMoreHelp": ":arrow_forward: Pour plus d'aide : ", + "forMoreHelpValue": "Vous pouvez vous rendre sur le [wiki](https://guide.draftbot.com/) du bot !", + "guildCommands": ":stadium: Guilde :", + "helpEmbedDescription": ":arrow_forward: Si vous voulez plus d'informations sur une commande en particulier, cliquez ici : {{helpCommandMention}}, et donnez la commande qui vous pose problème en paramètre. :wink:", + "helpEmbedTitle": "{{pseudo}}, voici la liste des commandes disponibles :", + "missionCommands": ":scroll: Mission :", + "petCommands": ":dog: Animaux :", + "playerCommands": ":bust_in_silhouette: Joueur :", + "serverCommands": ":gear: Serveur :", + "usageFieldTitle": "Utilisation", + "utilCommands": ":question: Utiles :" + }, "idea": { "description": "Vous pouvez proposer des suggestions et voter pour vos idées préférées via ce lien:\nhttps://feedback.draftbot.com/", "title": ":bulb: Idées" @@ -39,18 +211,51 @@ "objects_other": "Objets ({{count}}/{{max}}) :", "potions_one": "Potion ({{count}}/{{max}}) :", "potions_other": "Potions ({{count}}/{{max}}) :", + "seeBackupItems": "🔄 Voir la réserve", + "seeEquippedItems": "🔄 Voir l'inventaire principal", "stockTitle": ":package: **Réserve d'objets de {{pseudo}}**", "title": ":briefcase: **Inventaire de {{pseudo}}**", "weapons_one": "Arme ({{count}}/{{max}}) :", - "weapons_other": "Armes ({{count}}/{{max}}) :", - "seeBackupItems": "🔄 Voir la réserve", - "seeEquippedItems": "🔄 Voir l'inventaire principal" + "weapons_other": "Armes ({{count}}/{{max}}) :" }, "invite": { "discord": { "main": "Rejoignez la communauté ! Utilisez ce lien : https://discord.gg/acGNvzEY92 :smiley:" } }, + "language": { + "description": "Utilisez le menu ci-dessous pour changer la langue utilisée par le bot sur ce serveur. Cette commande est réservée aux administrateurs du serveur.", + "languages": { + "de": { + "emoji": "🇩🇪", + "name": "Allemand" + }, + "en": { + "emoji": "🇬🇧", + "name": "Anglais" + }, + "es": { + "emoji": "🇪🇸", + "name": "Espagnol" + }, + "fr": { + "emoji": "🇫🇷", + "name": "Français" + }, + "it": { + "emoji": "🇮🇹", + "name": "Italien" + }, + "pt": { + "emoji": "🇵🇹", + "name": "Portugais" + } + }, + "newLanguageSetDescription": "DraftBot vous parlera désormais en français ! 🥖", + "newLanguageSetTitle": "Langue changée", + "selectLanguage": "Sélectionnez une langue", + "title": ":earth_africa: Sélection de la langue" + }, "ping": { "discord": { "create": ":ping_pong: Pong", @@ -140,261 +345,56 @@ "title": "{{effect}} | {{pseudo}} | Niveau {{level}}" }, "rarity": { - "title": ":slot_machine: Rareté des équipements", - "rarities": ":small_orange_diamond: Basique | Possédé en début de jeu\n:large_orange_diamond: Commun | {{common}}%\n:fire: Peu commun | {{uncommon}}%\n:trident: Exotique | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Spécial | {{special}}%\n:star: Épique | {{epic}}%\n:star2: Légendaire | {{legendary}}%\n:gem: Mythique | {{unique}}%" - }, - "update": { - "description": "La version actuelle du noyau du bot est la **{{coreVersion}}**. Celle du module Discord est la **{{discordModuleVersion}}**.\n\nToutes les informations concernant les mises à jour sont disponibles ici :\nhttps://guide.draftbot.com/lore/historique-des-mises-a-jour", - "title": ":scroll: Mises à jour" - }, - "language": { - "selectLanguage": "Sélectionnez une langue", - "description": "Utilisez le menu ci-dessous pour changer la langue utilisée par le bot sur ce serveur. Cette commande est réservée aux administrateurs du serveur.", - "title": ":earth_africa: Sélection de la langue", - "newLanguageSetTitle": "Langue changée", - "newLanguageSetDescription": "DraftBot vous parlera désormais en français ! 🥖", - "languages": { - "en": { - "emoji": "🇬🇧", - "name": "Anglais" - }, - "fr": { - "emoji": "🇫🇷", - "name": "Français" - }, - "es": { - "emoji": "🇪🇸", - "name": "Espagnol" - }, - "de": { - "emoji": "🇩🇪", - "name": "Allemand" - }, - "pt": { - "emoji": "🇵🇹", - "name": "Portugais" - }, - "it": { - "emoji": "🇮🇹", - "name": "Italien" - } - } - }, - "help": { - "aliasFieldTitle": "Alias", - "helpEmbedDescription": ":arrow_forward: Si vous voulez plus d'informations sur une commande en particulier, cliquez ici : {{helpCommandMention}}, et donnez la commande qui vous pose problème en paramètre. :wink:", - "serverCommands": ":gear: Serveur :", - "utilCommands": ":question: Utiles :", - "playerCommands": ":bust_in_silhouette: Joueur :", - "missionCommands": ":scroll: Mission :", - "guildCommands": ":stadium: Guilde :", - "forMoreHelp": ":arrow_forward: Pour plus d'aide : ", - "petCommands": ":dog: Animaux :", - "commandEmbedTitle": "{{emote}} Informations détaillées :", - "forMoreHelpValue": "Vous pouvez vous rendre sur le [wiki](https://guide.draftbot.com/) du bot !", - "usageFieldTitle": "Utilisation", - "aliasesFieldTitle": "Alias", - "commands": { - "PREFIX": { - "description": "Cette fonctionnalité a été supprimée du jeu suite à une mise à jour des fonctionnalités proposées par Discord." - }, - "PING": { - "description": "Permet de savoir si le bot est en ligne.\n\n(Note : Le temps affiché est le temps de réponse du bot et non pas votre ping: un temps de réponse correct sera inférieur à 500ms. :clock1:" - }, - "RESPAWN": { - "description": "Permet de recommencer à jouer après avoir été mis K.O." - }, - "PROFILE": { - "description": "Affiche des informations sur votre personnage :\n\n😃 État de santé | Pseudo | Level\n\n឵឵឵Informations :\n❤️ Vie | ⭐ XP | 💰 Argent\n\nStatistiques :\n⚡ Énergie | 🗡️ Attaque | 🛡️ Défense | 🚀 Vitesse | 🌬️ Souffle | 🫁 Récupération\n\nMissions :\n💎 Gemmes | 📖 Avancé de la campagne %\n\nClassement et score :\n🏆 Classement | 🏅 Score\n\nClasse :\nVoir {{classesCommandMention}}\n\nGloire et Ligue :\n✨ Gloire | Voir {{topGloryCommandMention}}\n\nGuilde :\n🏟️ Guilde\n\nDestination :\nVoir {{mapCommandMention}}\n\nFamilier :\nVoir {{petCommandMention}}\n\n💡-Les badges sont affichés sur votre profil sous forme de réaction." - }, - "SWITCH": { - "description": "Échange l'item qui se trouve dans votre réserve avec l'item qui se trouve dans la case \"item\" de votre inventaire." - }, - "FIGHT": { - "description": "Utilisez cette commande pour défier les autres joueurs qui se trouvent sur le même serveur que vous.\nLes combats se déroulent tour par tour. À chaque tour, vous pouvez choisir une action à effectuer.\n\nPour plus d'informations vous pouvez aller voir la page du guide : https://guide.draftbot.com/notions-principale/combats", - "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" - }, - "HELP": { - "description": ":expressionless:" - }, - "LANGUAGE": { - "description": "Change la langue utilisée par le bot pour l'anglais. Utilisable si vous êtes administrateur sur un serveur." - }, - "TOP": { - "description": "Affiche le classement général du jeu par tranche de 15 joueurs. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." - }, - "GLORY_TOP": { - "description": "Affiche le classement glorieux du jeu par tranche de 15 joueurs. La ligue des joueurs est également affichée. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." - }, - "GUILD_TOP": { - "description": "Affiche le classement des guildes par tranche de 15 guildes. Les guildes sont classées en fonctions des points récoltés sur les îles mystérieuses." - }, - "INVENTORY": { - "description": "Affiche le contenu de votre inventaire qui peut contenir 4 types d'objets :\n```\n-armes\n-armures\n-potions\n-items\n```\nLa commande affiche également le contenu de la réserve qui dispose de stockage supplémentaire." - }, - "REPORT": { - "description": "Permet de collecter les informations et les ressources collectées par votre personnage durant votre absence. De temps en temps, des évènements se déclenchent et demandent des actions particulières." - }, - "SELL": { - "description": "Permet de vendre l'objet qui se trouve dans votre réserve, la valeur de l'objet est déterminée en fonction de sa puissance. Les potions n'ont pas de valeur de revente, mais peuvent être jetées grace à cette commande." - }, - "DAILY_BONUS": { - "description": "Certains items vous donnent un bonus journalier. Utilisez cette commande pour récupérer ces bonus. Pour savoir si un item vous donne un bonus journalier, effectuez la commande {command:inventory}." - }, - "INVITE_DRAFTBOT": { - "description": "Cette commande vous permet d'obtenir un lien permettant de rejoindre le serveur d'aide !" - }, - "BADGES": { - "description": "Les badges sont des distinctions difficiles à obtenir qui ont été créées pour récompenser les personnes ayant le plus soutenu le développement du bot. La liste des badges est disponible sur le guide du bot.\n(via ce lien : https://guide.draftbot.com/notions-avancees/badges)" - }, - "DRINK": { - "description": "Cette commande permet de consommer la potion que vous transportez. Certaines potions ne peuvent pas être bues et sont consommées automatiquement lors d'un combat." - }, - "SHOP": { - "description": "Cette commande permet de dépenser votre argent pour faciliter votre aventure. En plus des 4 choix de base qui seront disponible de façon permanente, vous pourrez, chaque jour, profiter d'une potion exclusive, disponible à la vente durant 24 heures uniquement." - }, - "GUILD_CREATE": { - "description": "Permet de créer une guilde. Créer une guilde coûte 5000 :moneybag:." - }, - "GUILD_LEAVE": { - "description": "Permet de quitter votre guilde." - }, - "GUILD": { - "description": "Permet d'afficher les informations sur une guilde." - }, - "GUILD_DAILY_BONUS": { - "description": "Permet de récupérer des récompenses quotidiennes de guilde." - }, - "GUILD_KICK": { - "description": "Permet d'expulser un membre d'une guilde, nécessite d'être chef de guilde." - }, - "GUILD_INVITE": { - "description": "Permet d'ajouter un utilisateur à une guilde, nécessite d'être chef ou aîné de guilde." - }, - "GUILD_DESCRIPTION": { - "description": "Permet de modifier la description de la guilde, nécessite d'être chef de guilde." - }, - "GUILD_ELDER": { - "description": "Permet d'ajouter un aîné à la guilde, nécessite d'être chef de guilde." - }, - "GUILD_ELDER_REMOVE": { - "description": "Permet de supprimer l'aîné de la guilde, nécessite d'être chef de guilde." - }, - "GUILD_STORAGE": { - "description": "Affiche le contenu de l'entrepôt de la guilde." - }, - "GUILD_SHOP": { - "description": "Affiche le magasin de votre guilde." - }, - "UPDATE": { - "description": "Permet de visionner le changelog." - }, - "CLASSES": { - "description": "Permet de changer de classe. Plus d'informations sur les classes sont disponibles sur le guide du joueur : https://guide.draftbot.com" - }, - "PET": { - "description": "Affiche les informations relatives à votre familier." - }, - "PET_TRANSFER": { - "description": "Permet de transférer un familier depuis ou vers la guilde. Si aucun numéro n'est fourni, le familier de votre inventaire sera déplacé vers le refuge de la guilde. Sinon, il sera échangé avec celui de la guilde dont la position correspond au numéro donné." - }, - "PET_NICKNAME": { - "description": "Change le surnom de votre familier. Si aucun nom n'est fourni, le nom actuel sera effacé." - }, - "PET_FREE": { - "description": "Libère votre familier. Attention, une fois libéré, il sera effacé à tout jamais et donc impossible de le récupérer. Cette commande ne peut être effectuée qu'une fois par heure." - }, - "GUILD_SHELTER": { - "description": "Affiche le refuge d'animaux de la guilde." - }, - "PET_TRADE": { - "description": "Propose un échange de vos animaux avec la personne mentionnée." - }, - "PET_FEED": { - "description": "Donner de la nourriture à votre familier." - }, - "PET_SELL": { - "description": "Permet de vendre un familier. Les conditions suivantes s'appliquent : \n - le prix de vente doit être être supérieur à `{{petSellMinPrice}}💰` et inférieur à `{{petSellMaxPrice}}💰`. \n- Le vendeur ne gagnera pas d'argent lors de la transaction, mais de l'expérience de guilde. \n- Le vendeur et l'acheteur ne peuvent pas faire partie de la même guilde." - }, - "CLASSES_INFO": { - "description": "Permet de lire une comparaison rapide des statistiques et des informations des classes qui sont accessible à l'utilisateur effectuant la commande." - }, - "RARITY": { - "description": "Permet de voir la probabilité d'avoir un item selon sa rareté." - }, - "VOTE": { - "description": "Permet d'obtenir le lien pour voter pour le bot." - }, - "IDEA": { - "description": "Permet d'obtenir un lien afin de suggérer une idée ou alors de voter pour celles déjà existantes." - }, - "NOTIFICATIONS": { - "description": "Permet d'activer ou de désactiver les notifications du bot." - }, - "UNLOCK": { - "description": "Permet de payer une caution pour libérer quelqu'un de prison." - }, - "MAP": { - "description": "Affiche des informations sur votre destination, ainsi que la carte." - }, - "MISSIONS": { - "description": "Affiche la liste des missions qui vous sont proposées." - }, - "MISSIONS_SHOP": { - "description": "Affiche le magasin des missions." - }, - "LEAGUE_BONUS": { - "description": "Permet d'obtenir une récompense de ligue chaque dimanche." - }, - "JOIN_BOAT": { - "description": "Permet de rejoindre un membre de la guilde dans un bateau allant sur une île mystérieuse." - } - }, - "helpEmbedTitle": "{{pseudo}}, voici la liste des commandes disponibles :" + "rarities": ":small_orange_diamond: Basique | Possédé en début de jeu\n:large_orange_diamond: Commun | {{common}}%\n:fire: Peu commun | {{uncommon}}%\n:trident: Exotique | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Spécial | {{special}}%\n:star: Épique | {{epic}}%\n:star2: Légendaire | {{legendary}}%\n:gem: Mythique | {{unique}}%", + "title": ":slot_machine: Rareté des équipements" }, "report": { - "commandName": "rapport", - "commandDescription": "Obtenir un rapport sur la situation de votre personnage.", - "doEvent": ":newspaper: **Journal de {{pseudo}} :** {{event}}\n*- Utilisez les réactions pour effectuer une action ⚠️ Ne pas répondre est considéré comme un choix à part.*", - "doChoice": "{{emoji}} {{choiceText}}\n", - "doPossibility": ":newspaper: **Journal de {{pseudo}} {{result}}** | {{emoji}}{{event}}{{alte}}", - "points": ":** :medal: Points gagnés : **{{score}}", - "money": "** | :moneybag: Argent gagné : **{{money}}", - "energy": "** | :zap: Énergie gagnée : **{{energy}}", - "gems": "** | :gem: Gemmes gagnées : **{{gems}}", - "experience": "** | :star: XP gagné : **{{experience}}", - "moneyLoose": "** | :money_with_wings: Argent perdu : **{{money}}", - "healthLoose": "** | :broken_heart: Vie perdue : **{{health}}", - "health": "** | :heart: Vie gagnée : **{{health}}", - "timeLost": "** | :clock10: Temps perdu : **{{timeLost}}", - "travellingTitle": "Vous êtes actuellement en train d'avancer !", - "travellingDescriptionWithoutSmallEvent": "Tout se passe bien dans votre aventure. Prochain arrêt prévu {{time}}.", - "travellingDescription": "Tout se passe bien depuis votre dernière aventure {{smallEventEmoji}}. Prochain arrêt prévu {{time}}.", - "travellingDescriptionEndTravel": "Tout se passe bien dans votre aventure, vous arriverez bientôt à destination.", - "choseMap_one": "Vous avez décidé de partir en direction {{mapPrefix}} {{mapType}} **{{mapName}}**. Ce trajet durera environ **{{time}} heure**.", - "choseMap_other": "Vous avez décidé de partir en direction {{mapPrefix}} {{mapType}} **{{mapName}}**. Ce trajet durera environ **{{time}} heures**.", + "adviceTitle": "Conseil :", + "chooseDestinationIndications": "Choisissez une destination pour votre voyage:", "choseMapMinutes_one": "Vous avez décidé de partir en direction {{mapPrefix}} {{mapType}} **{{mapName}}**. Ce trajet durera environ **{{time}} minute**.", "choseMapMinutes_other": "Vous avez décidé de partir en direction {{mapPrefix}} {{mapType}} **{{mapName}}**. Ce trajet durera environ **{{time}} minutes**.", - "destinationTitle": "{{pseudo}}, destination du voyage", - "chooseDestinationIndications": "Choisissez une destination pour votre voyage:", - "travelPathTitle": "Voyage actuel :", - "startPoint": "Point de départ :", - "endPoint": "Point d'arrivée :", - "adviceTitle": "Conseil :", - "journal": "Journal de {{pseudo}}", + "choseMap_one": "Vous avez décidé de partir en direction {{mapPrefix}} {{mapType}} **{{mapName}}**. Ce trajet durera environ **{{time}} heure**.", + "choseMap_other": "Vous avez décidé de partir en direction {{mapPrefix}} {{mapType}} **{{mapName}}**. Ce trajet durera environ **{{time}} heures**.", "collectedPointsTitle": "Points récoltés :", - "newBigEvent": ":flag_fr: Vous êtes arrivé à **{{destination}}** !", - "remainingEnergyTitle": "Énergie restante :", - "pveEvent": ":newspaper: **Journal de {{pseudo}} :** {{event}}\n\n{{monsterDisplay}}\n\n{{startTheFightReaction}} Commencer le combat\n{{waitABitReaction}} Attendre un peu avant de commencer le combat\n\n*- Utilisez les réactions pour effectuer une action*", - "noFight": ":newspaper: **Journal de {{pseudo}} :** {{waitABitReaction}} | Vous vous enfuyez rapidement et trouvez une petite cachette ! Le monstre vous attend patiemment dehors...", + "commandDescription": "Obtenir un rapport sur la situation de votre personnage.", + "commandName": "rapport", + "destinationTitle": "{{pseudo}}, destination du voyage", + "doChoice": "{{emoji}} {{choiceText}}\n", + "doEvent": ":newspaper: **Journal de {{pseudo}} :** {{event}}\n*- Utilisez les réactions pour effectuer une action ⚠️ Ne pas répondre est considéré comme un choix à part.*", + "doPossibility": ":newspaper: **Journal de {{pseudo}} {{result}}** | {{emoji}}{{event}} {{alte}}", "encounterMonster": [ "Vous arrivez à votre destination quand soudain, vous entendez un bruit derrière vous... Un monstre vous attaque !" ], "encounterMonsterStats": "> **{{emoji}} {{monsterName}} **| **Niveau {{level}}**\n> {{description}}\n\n⚡ {{fightPoints}} | 🗡 {{attack}} | 🛡 {{defense}} | 🚀 {{speed}}", - "monsterRewardsTitle": "{{pseudo}}, récompenses de combat", - "monsterRewardsDescription": ":moneybag: Argent gagné : **{{money}}**\n:star: XP gagnée : **{{experience}}**", + "endPoint": "Point d'arrivée :", + "energy": "** | :zap: Énergie gagnée : **{{energy}}", + "experience": "** | :star: XP gagné : **{{experience}}", + "gems": "** | :gem: Gemmes gagnées : **{{gems}}", + "health": "** | :heart: Vie gagnée : **{{health}}", + "healthLoose": "** | :broken_heart: Vie perdue : **{{health}}", + "journal": "Journal de {{pseudo}}", + "money": "** | :moneybag: Argent gagné : **{{money}}", + "moneyLoose": "** | :money_with_wings: Argent perdu : **{{money}}", "monsterRewardGuildXp": "\n:star: XP de guilde gagnée: **{{guildXp}}**", - "monsterRewardsGuildPoints": "\n:mirror_ball: Points de guilde gagnés : **{{guildPoints}}**" + "monsterRewardsDescription": ":moneybag: Argent gagné : **{{money}}**\n:star: XP gagnée : **{{experience}}**", + "monsterRewardsGuildPoints": "\n:mirror_ball: Points de guilde gagnés : **{{guildPoints}}**", + "monsterRewardsTitle": "{{pseudo}}, récompenses de combat", + "newBigEvent": ":flag_fr: Vous êtes arrivé à **{{destination}}** !", + "noFight": ":newspaper: **Journal de {{pseudo}} :** {{waitABitReaction}} | Vous vous enfuyez rapidement et trouvez une petite cachette ! Le monstre vous attend patiemment dehors...", + "points": ":** :medal: Points gagnés : **{{score}}", + "pveEvent": ":newspaper: **Journal de {{pseudo}} :** {{event}}\n\n{{monsterDisplay}}\n\n{{startTheFightReaction}} Commencer le combat\n{{waitABitReaction}} Attendre un peu avant de commencer le combat\n\n*- Utilisez les réactions pour effectuer une action*", + "remainingEnergyTitle": "Énergie restante :", + "startPoint": "Point de départ :", + "timeLost": "** | :clock10: Temps perdu : **{{timeLost}}", + "travelPathTitle": "Voyage actuel :", + "travellingDescription": "Tout se passe bien depuis votre dernière aventure {{smallEventEmoji}}. Prochain arrêt prévu {{time}}.", + "travellingDescriptionEndTravel": "Tout se passe bien dans votre aventure, vous arriverez bientôt à destination.", + "travellingDescriptionWithoutSmallEvent": "Tout se passe bien dans votre aventure. Prochain arrêt prévu {{time}}.", + "travellingTitle": "Vous êtes actuellement en train d'avancer !" + }, + "update": { + "description": "La version actuelle du noyau du bot est la **{{coreVersion}}**. Celle du module Discord est la **{{discordModuleVersion}}**.\n\nToutes les informations concernant les mises à jour sont disponibles ici :\nhttps://guide.draftbot.com/lore/historique-des-mises-a-jour", + "title": ":scroll: Mises à jour" }, "vote": { "description": "Voici le lien permettant de soutenir le bot :\nhttps://top.gg/bot/448110812801007618", diff --git a/Lang/fr/discordBuilder.json b/Lang/fr/discordBuilder.json index e2ccd0e48..9f40abccf 100644 --- a/Lang/fr/discordBuilder.json +++ b/Lang/fr/discordBuilder.json @@ -3,6 +3,16 @@ "description": "Affiche des informations sur les badges et leur fonctionnement.", "name": "badges" }, + "help": { + "description": "Affiche la liste des commandes disponibles ou les informations détaillées sur une commande.", + "name": "aide", + "options": { + "commandName": { + "description": "La commande dont les informations doivent être affichées.", + "name": "commande" + } + } + }, "idea": { "description": "Envoyer une suggestion pour améliorer le jeu.", "name": "suggestion" @@ -25,6 +35,10 @@ "description": "Ajouter le bot sur votre serveur.", "name": "invitationdraftbot" }, + "language": { + "description": "Changer la langue du bot dans le serveur discord ou la commande a été exécutée.", + "name": "langage" + }, "ping": { "description": "Affiche la latence du bot et permet au joueur de vérifier si le bot est en ligne.", "name": "ping" @@ -61,6 +75,10 @@ } } }, + "rarity": { + "description": "Affiche les différentes raretés des équipements.", + "name": "rarete" + }, "report": { "description": "Obtenir un rapport sur la situation de votre personnage.", "name": "rapport" @@ -79,30 +97,12 @@ } } }, - "rarity": { - "description": "Affiche les différentes raretés des équipements.", - "name": "rarete" - }, "update": { "description": "Affiche la version actuelle du bot.", "name": "nouveautes" }, - "help": { - "description": "Affiche la liste des commandes disponibles ou les informations détaillées sur une commande.", - "name": "aide", - "options": { - "commandName": { - "description": "La commande dont les informations doivent être affichées.", - "name": "commande" - } - } - }, "vote": { "description": "Afficher le lien permettant de voter pour le bot.", "name": "vote" - }, - "language": { - "description": "Changer la langue du bot dans le serveur discord ou la commande a été exécutée.", - "name": "langage" } } \ No newline at end of file diff --git a/Lang/fr/error.json b/Lang/fr/error.json index 315f92902..d01fdce01 100644 --- a/Lang/fr/error.json +++ b/Lang/fr/error.json @@ -1,53 +1,53 @@ { - "playerDoesntExist": "Ce joueur n'existe pas !", - "titleBlocked": "{{pseudo}}, cette personne est bloquée !", - "titleCanceled": "{{pseudo}}, annulation prise en compte !", - "titleDidntWork": "{{pseudo}}, hmmm... Cela n'a pas fonctionné !", - "commandDoesntExist": "ERREUR: Commande inconnue", - "interactionNotForYou": "Cette interaction n'est pas pour vous !", - "unexpectedError": "Une erreur est survenue :(", - "playerBlocked": "Vous ne pouvez pas effectuer cela car vous avez une action en attente ({{reasons}}) !", "anotherPlayerBlocked": "Vous ne pouvez pas effectuer cela car {{username}} a une action en attente ({{reasons}}) !", "blockedContext": { - "shop": "choix dans le magasin", + "acceptItem": "choix de garder un objet ou non", + "cartChoose": "choix de monter dans la charrette ou non", + "chiefGuildLeave": "passation de pouvoir", + "chooseDestination": "choix de la destination", + "class": "changement de classe", "confirmBuy": "confirmation d'achat", - "report": "rapport", "cooldown": "Vous envoyez des commandes trop vite !", + "descriptionEdit": "édition de la description de guilde", + "drink": "choix de boire une potion ou non", "fight": "combat", - "class": "changement de classe", - "guildInvite": "ajout dans une guilde", + "fightPetChoose": "choix d'une action pour le combat de familier", + "gobletChoose": "choix d'un gobelet", "guildCreate": "création d'une guilde", + "guildElder": "choix de l'aîné", + "guildElderRemove": "suppression l'aîné", + "guildInvite": "ajout dans une guilde", "guildKick": "expulsion d'une guilde", "guildLeave": "départ d'une guilde", - "descriptionEdit": "édition de la description de guilde", - "sell": "vente d'un objet", - "sellConfirm": "confirmation de la vente d'un objet", - "acceptItem": "choix de garder un objet ou non", + "guildShop": "choix dans le magasin de guilde", + "lottery": "mini-évent lotterie", + "merchant": "choix chez le marchand", + "missionShop": "choix dans le magasin des missions", "petFeed": "choix d'une nourriture à donner au familier", "petFree": "libération d'un familier", - "guildElder": "choix de l'aîné", - "guildElderRemove": "suppression l'aîné", - "petTrade": "échange d'animaux", - "guildShop": "choix dans le magasin de guilde", - "selectQuantity": "sélection d'une quantité", - "test": "test", "petSell": "vente d'un familier", "petSellConfirm": "confirmation de l'achat d'un familier", - "chiefGuildLeave": "passation de pouvoir", - "chooseDestination": "choix de la destination", - "lottery": "mini-évent lotterie", - "switch": "échange d'équipement", - "missionShop": "choix dans le magasin des missions", - "merchant": "choix chez le marchand", - "drink": "choix de boire une potion ou non", - "gobletChoose": "choix d'un gobelet", - "witchChoose": "choix d'une action pour la sorcière", - "fightPetChoose": "choix d'une action pour le combat de familier", - "unlock": "libération de quelqu'un", + "petTrade": "échange d'animaux", "pveIsland": "mini-évent île PVE", - "startBossFight": "début d'un combat de boss", + "report": "rapport", "reportCommand": "commande rapport", - "cartChoose": "choix de monter dans la charrette ou non" + "selectQuantity": "sélection d'une quantité", + "sell": "vente d'un objet", + "sellConfirm": "confirmation de la vente d'un objet", + "shop": "choix dans le magasin", + "startBossFight": "début d'un combat de boss", + "switch": "échange d'équipement", + "test": "test", + "unlock": "libération de quelqu'un", + "witchChoose": "choix d'une action pour la sorcière" }, - "guildDoesntExist": "La guilde demandée n'existe pas" + "commandDoesntExist": "ERREUR: Commande inconnue", + "interactionNotForYou": "Cette interaction n'est pas pour vous !", + "playerBlocked": "Vous ne pouvez pas effectuer cela car vous avez une action en attente ({{reasons}}) !", + "playerDoesntExist": "Ce joueur n'existe pas !", + "titleBlocked": "{{pseudo}}, cette personne est bloquée !", + "titleCanceled": "{{pseudo}}, annulation prise en compte !", + "titleDidntWork": "{{pseudo}}, hmmm... Cela n'a pas fonctionné !", + "guildDoesntExist": "La guilde demandée n'existe pas", + "unexpectedError": "Une erreur est survenue :(" } \ No newline at end of file diff --git a/Lang/fr/items.json b/Lang/fr/items.json index 16f6d9118..198a3b5d1 100644 --- a/Lang/fr/items.json +++ b/Lang/fr/items.json @@ -1,31 +1,12 @@ { - "nameDisplay": "{{emote}} **{{{name}}}**", - "nerfDisplay": "~~{{old}}~~ {{max}}", - "attack": ":dagger: {{value}}", - "defense": ":shield: {{value}}", - "speed": ":rocket: {{value}}", - "weapons": { - "fieldName": "Arme :", - "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" - }, "armors": { "fieldName": "Armure/Bouclier :", "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" }, - "potions": { - "fieldName": "Potion :", - "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", - "natures": [ - ":x: Aucun effet", - ":heart: Vie + {{power}}", - ":rocket: Vitesse + {{power}} pendant le prochain combat", - ":crossed_swords: Attaque + {{power}} pendant le prochain combat", - ":shield: Défense + {{power}} pendant le prochain combat", - ":clock1030: Avance le temps de {{power}}", - ":moneybag: Argent + {{power}}", - ":zap: Énergie + {{power}}" - ] - }, + "attack": ":dagger: {{value}}", + "defense": ":shield: {{value}}", + "nameDisplay": "{{emote}} **{{{name}}}**", + "nerfDisplay": "~~{{old}}~~ {{max}}", "objects": { "fieldName": "Objet :", "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", @@ -40,6 +21,20 @@ ":zap: Énergie + {{power}} par jour" ] }, + "potions": { + "fieldName": "Potion :", + "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", + "natures": [ + ":x: Aucun effet", + ":heart: Vie + {{power}}", + ":rocket: Vitesse + {{power}} pendant le prochain combat", + ":crossed_swords: Attaque + {{power}} pendant le prochain combat", + ":shield: Défense + {{power}} pendant le prochain combat", + ":clock1030: Avance le temps de {{power}}", + ":moneybag: Argent + {{power}}", + ":zap: Énergie + {{power}}" + ] + }, "rarities": [ ":small_orange_diamond: Basique", ":large_orange_diamond: Commun", @@ -50,5 +45,10 @@ ":star: Épique", ":star2: Légendaire", ":gem: Mythique" - ] + ], + "speed": ":rocket: {{value}}", + "weapons": { + "fieldName": "Arme :", + "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" + } } \ No newline at end of file diff --git a/Lang/it/commands.json b/Lang/it/commands.json index a866056a9..55124e21e 100644 --- a/Lang/it/commands.json +++ b/Lang/it/commands.json @@ -30,6 +30,178 @@ "description": "Potete fare proposte e votare per le vostre idee preferite a questo link:\nhttps://feedback.draftbot.com/", "title": ":bulb: Idee" }, + "help": { + "aliasFieldTitle": "Alias", + "aliasesFieldTitle": "Alias", + "commandEmbedTitle": "{{emote}} Informazione dettagliate :", + "commands": { + "BADGES": { + "description": "I badge sono distinzione difficile a ottenere che sono state create per ricompensare le persone che hanno il più sostenuti il sviluppo del bot. La lista dei badge e disponibile sulla guida del bot.\n(link : https://guide.draftbot.com/notions-avancees/badges)" + }, + "CLASSES": { + "description": "Permet de changer de classe. Plus d'informations sur les classes sont disponibles sur le guide du joueur : https://guide.draftbot.com" + }, + "CLASSES_INFO": { + "description": "Permet de lire une comparaison rapide des statistiques et des informations des classes qui sont accessible à l'utilisateur effectuant la commande." + }, + "DAILY_BONUS": { + "description": "Certains items vous donnent un bonus journalier. Utilisez cette commande pour récupérer ces bonus. Pour savoir si un item vous donne un bonus journalier, effectuez la commande {command:inventory}." + }, + "DRINK": { + "description": "Cette commande permet de consommer la potion que vous transportez. Certaines potions ne peuvent pas être bues et sont consommées automatiquement lors d'un combat." + }, + "FIGHT": { + "description": "Utilisez cette commande pour défier les autres joueurs qui se trouvent sur le même serveur que vous.\nLes combats se déroulent tour par tour. À chaque tour, vous pouvez choisir une action à effectuer.\n\nPour plus d'informations vous pouvez aller voir la page du guide : https://guide.draftbot.com/notions-principale/combats", + "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" + }, + "GLORY_TOP": { + "description": "Affiche le classement glorieux du jeu par tranche de 15 joueurs. La ligue des joueurs est également affichée. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." + }, + "GUILD": { + "description": "Permet d'afficher les informations sur une guilde." + }, + "GUILD_CREATE": { + "description": "Permet de créer une guilde. Créer une guilde coûte 5000 :moneybag:." + }, + "GUILD_DAILY_BONUS": { + "description": "Permet de récupérer des récompenses quotidiennes de guilde." + }, + "GUILD_DESCRIPTION": { + "description": "Permet de modifier la description de la guilde, nécessite d'être chef de guilde." + }, + "GUILD_ELDER": { + "description": "Permet d'ajouter un aîné à la guilde, nécessite d'être chef de guilde." + }, + "GUILD_ELDER_REMOVE": { + "description": "Permet de supprimer l'aîné de la guilde, nécessite d'être chef de guilde." + }, + "GUILD_INVITE": { + "description": "Permet d'ajouter un utilisateur à une guilde, nécessite d'être chef ou aîné de guilde." + }, + "GUILD_KICK": { + "description": "Permet d'expulser un membre d'une guilde, nécessite d'être chef de guilde." + }, + "GUILD_LEAVE": { + "description": "Permet de quitter votre guilde." + }, + "GUILD_SHELTER": { + "description": "Affiche le refuge d'animaux de la guilde." + }, + "GUILD_SHOP": { + "description": "Affiche le magasin de votre guilde." + }, + "GUILD_STORAGE": { + "description": "Affiche le contenu de l'entrepôt de la guilde." + }, + "GUILD_TOP": { + "description": "Affiche le classement des guildes par tranche de 15 guildes. Les guildes sont classées en fonctions des points récoltés sur les îles mystérieuses." + }, + "HELP": { + "description": ":expressionless:" + }, + "IDEA": { + "description": "Permet d'obtenir un lien afin de suggérer une idée ou alors de voter pour celles déjà existantes." + }, + "INVENTORY": { + "description": "Affiche le contenu de votre inventaire qui peut contenir 4 types d'objets :\n```\n-armes\n-armures\n-potions\n-items\n```\nLa commande affiche également le contenu de la réserve qui dispose de stockage supplémentaire." + }, + "INVITE_DRAFTBOT": { + "description": "Cette commande vous permet d'obtenir un lien permettant de rejoindre le serveur d'aide !" + }, + "JOIN_BOAT": { + "description": "Permet de rejoindre un membre de la guilde dans un bateau allant sur une île mystérieuse." + }, + "LANGUAGE": { + "description": "Change la langue utilisée par le bot pour l'anglais. Utilisable si vous êtes administrateur sur un serveur." + }, + "LEAGUE_BONUS": { + "description": "Permet d'obtenir une récompense de ligue chaque dimanche." + }, + "MAP": { + "description": "Affiche des informations sur votre destination, ainsi que la carte." + }, + "MISSIONS": { + "description": "Affiche la liste des missions qui vous sont proposées." + }, + "MISSIONS_SHOP": { + "description": "Affiche le magasin des missions." + }, + "NOTIFICATIONS": { + "description": "Permet d'activer ou de désactiver les notifications du bot." + }, + "PET": { + "description": "Affiche les informations relatives à votre familier." + }, + "PET_FEED": { + "description": "Donner de la nourriture à votre familier." + }, + "PET_FREE": { + "description": "Libère votre familier. Attention, une fois libéré, il sera effacé à tout jamais et donc impossible de le récupérer. Cette commande ne peut être effectuée qu'une fois par heure." + }, + "PET_NICKNAME": { + "description": "Change le surnom de votre familier. Si aucun nom n'est fourni, le nom actuel sera effacé." + }, + "PET_SELL": { + "description": "Permet de vendre un familier. Les conditions suivantes s'appliquent : \n - le prix de vente doit être être supérieur à `{{petSellMinPrice}}💰` et inférieur à `{{petSellMaxPrice}}💰`. \n- Le vendeur ne gagnera pas d'argent lors de la transaction, mais de l'expérience de guilde. \n- Le vendeur et l'acheteur ne peuvent pas faire partie de la même guilde." + }, + "PET_TRADE": { + "description": "Propose un échange de vos animaux avec la personne mentionnée." + }, + "PET_TRANSFER": { + "description": "Permet de transférer un familier depuis ou vers la guilde. Si aucun numéro n'est fourni, le familier de votre inventaire sera déplacé vers le refuge de la guilde. Sinon, il sera échangé avec celui de la guilde dont la position correspond au numéro donné." + }, + "PING": { + "description": "Permet de savoir si le bot est en ligne.\n\n(Note : Le temps affiché est le temps de réponse du bot et non pas votre ping: un temps de réponse correct sera inférieur à 500ms. :clock1:" + }, + "PREFIX": { + "description": "Cette fonctionnalité a été supprimée du jeu suite à une mise à jour des fonctionnalités proposées par Discord." + }, + "PROFILE": { + "description": "Affiche des informations sur votre personnage :\n\n😃 État de santé | Pseudo | Level\n\n឵឵឵Informations :\n❤️ Vie | ⭐ XP | 💰 Argent\n\nStatistiques :\n⚡ Énergie | 🗡️ Attaque | 🛡️ Défense | 🚀 Vitesse | 🌬️ Souffle | 🫁 Récupération\n\nMissions :\n💎 Gemmes | 📖 Avancé de la campagne %\n\nClassement et score :\n🏆 Classement | 🏅 Score\n\nClasse :\nVoir {{classesCommandMention}}\n\nGloire et Ligue :\n✨ Gloire | Voir {{topGloryCommandMention}}\n\nGuilde :\n🏟️ Guilde\n\nDestination :\nVoir {{mapCommandMention}}\n\nFamilier :\nVoir {{petCommandMention}}\n\n💡-Les badges sont affichés sur votre profil sous forme de réaction." + }, + "RARITY": { + "description": "Permet de voir la probabilité d'avoir un item selon sa rareté." + }, + "REPORT": { + "description": "Permet de collecter les informations et les ressources collectées par votre personnage durant votre absence. De temps en temps, des évènements se déclenchent et demandent des actions particulières." + }, + "RESPAWN": { + "description": "Permet de recommencer à jouer après avoir été mis K.O." + }, + "SELL": { + "description": "Permet de vendre l'objet qui se trouve dans votre réserve, la valeur de l'objet est déterminée en fonction de sa puissance. Les potions n'ont pas de valeur de revente, mais peuvent être jetées grace à cette commande." + }, + "SHOP": { + "description": "Cette commande permet de dépenser votre argent pour faciliter votre aventure. En plus des 4 choix de base qui seront disponible de façon permanente, vous pourrez, chaque jour, profiter d'une potion exclusive, disponible à la vente durant 24 heures uniquement." + }, + "SWITCH": { + "description": "Échange l'item qui se trouve dans votre réserve avec l'item qui se trouve dans la case \"item\" de votre inventaire." + }, + "TOP": { + "description": "Affiche le classement général du jeu par tranche de 15 joueurs. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." + }, + "UNLOCK": { + "description": "Permet de payer une caution pour libérer quelqu'un de prison." + }, + "UPDATE": { + "description": "Permet de visionner le changelog." + }, + "VOTE": { + "description": "Permet d'obtenir le lien pour voter pour le bot." + } + }, + "forMoreHelp": ":arrow_forward: Pour plus d'aide : ", + "forMoreHelpValue": "Vous pouvez vous rendre sur le [wiki](https://guide.draftbot.com/) du bot !", + "guildCommands": ":stadium: Guilde :", + "helpEmbedDescription": ":arrow_forward: Si vous voulez plus d'informations sur une commande en particulier, cliquez ici : {{helpCommandMention}}, et donnez la commande qui vous pose problème en paramètre. :wink:", + "helpEmbedTitle": "{{pseudo}}, voici la liste des commandes disponibles :", + "missionCommands": ":scroll: Mission :", + "petCommands": ":dog: Animaux :", + "playerCommands": ":bust_in_silhouette: Joueur :", + "serverCommands": ":gear: Serveur :", + "usageFieldTitle": "Utilisation", + "utilCommands": ":question: Utiles :" + }, "inventory": { "armors_one": "Armatura/Scudo ({{count}}/{{max}}) :", "armors_other": "Armature/Scudi ({{count}}/{{max}}) :", @@ -39,12 +211,12 @@ "objects_other": "Oggetti ({{count}}/{{max}}) :", "potions_one": "Pozione ({{count}}/{{max}}) :", "potions_other": "Pozioni ({{count}}/{{max}}) :", + "seeBackupItems": "🔄 Vedere la riserva", + "seeEquippedItems": "🔄 Vedere l'inventario principale", "stockTitle": ":package: **Riserva d'oggetti di {{pseudo}}**", "title": ":briefcase: **Inventario di {{pseudo}}**", "weapons_one": "Arma ({{count}}/{{max}}) :", - "weapons_other": "Armi ({{count}}/{{max}}) :", - "seeBackupItems": "🔄 Vedere la riserva", - "seeEquippedItems": "🔄 Vedere l'inventario principale" + "weapons_other": "Armi ({{count}}/{{max}}) :" }, "invite": { "discord": { @@ -180,178 +352,6 @@ } } }, - "help": { - "aliasFieldTitle": "Alias", - "helpEmbedDescription": ":arrow_forward: Se volete ulteriori informazioni su un commando in particolare, fai click su: {{helpCommandMention}} e inserisci in parametro il nome del commando con qui hai problemi. :wink:", - "serverCommands": ":gear: Server :", - "utilCommands": ":question: Utili:", - "playerCommands": ":bust_in_silhouette: Giocatore :", - "missionCommands": ":scroll: Missione:", - "guildCommands": ":stadium: Gilda:", - "forMoreHelp": ":arrow_forward: Per ulteriori informazioni: ", - "petCommands": ":dog: Animali:", - "commandEmbedTitle": "{{emote}} Informazione dettagliate :", - "forMoreHelpValue": "Potete visitare il [wiki](https://guide.draftbot.com/) del bot !", - "usageFieldTitle": "Utilizzo", - "aliasesFieldTitle": "Alias", - "commands": { - "PREFIX": { - "description": "Questa funzione è stata rimossa dal gioco in seguito a un aggiornamento delle funzionalità di Discord." - }, - "PING": { - "description": "Permette di sapere se il bot è online.\n\n(Nota: il tempo visualizzato è il tempo di risposta del bot e non il vostro ping: un tempo di risposta corretto sarà inferiore a 500ms. :clock1:" - }, - "RESPAWN": { - "description": "Permette di ricominciare a giocare dopo essere stato messo K.O." - }, - "PROFILE": { - "description": "Visualizza le informazioni sul personaggio:\n\n😃 Stato di salute | Nickname | Livello\n\n឵឵Informazioni:\n❤️ Vita | ⭐ XP | 💰 Denaro\n\nStatistiche :\n⚡ Energia | 🗡️ Attacco | 🛡️ Difesa | 🚀 Velocità | 🌬️ Respirazione | 🫁 Recupero\n\nMissioni :\n💎 Gemme | 📖 Avanzata della campagna %\n\nRango e punteggio:\n🏆 Rango | 🏅 Punteggio\n\nClasse:\nVedi {{classesCommandMention}}\n\nGloria e Lega:\n✨ Gloria | Vedi {{topGloryCommandMention}}\n\nGilda:\n🏟️ Gilda\n\nDestinazione:\nVedi {{mapCommandMention}}\n\nFamiliare:\nVedi {{petCommandMention}}\n\n💡 I distintivi vengono visualizzati sul tuo profilo come reazione." - }, - "SWITCH": { - "description": "Scambia l'oggetto nella vostra riserva con l'oggetto nella casella \"oggetto\" del vostro inventario." - }, - "FIGHT": { - "description": "Utilisez cette commande pour défier les autres joueurs qui se trouvent sur le même serveur que vous.\nLes combats se déroulent tour par tour. À chaque tour, vous pouvez choisir une action à effectuer.\n\nPour plus d'informations vous pouvez aller voir la page du guide : https://guide.draftbot.com/notions-principale/combats", - "image": "https://draftbot.com/public/ressources/fighthelp/fr/4.5.2.png" - }, - "HELP": { - "description": ":expressionless:" - }, - "LANGUAGE": { - "description": "Change la langue utilisée par le bot pour l'anglais. Utilisable si vous êtes administrateur sur un serveur." - }, - "TOP": { - "description": "Affiche le classement général du jeu par tranche de 15 joueurs. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." - }, - "GLORY_TOP": { - "description": "Affiche le classement glorieux du jeu par tranche de 15 joueurs. La ligue des joueurs est également affichée. Les joueurs dans le même serveur que vous sont marqués par une pastille bleue." - }, - "GUILD_TOP": { - "description": "Affiche le classement des guildes par tranche de 15 guildes. Les guildes sont classées en fonctions des points récoltés sur les îles mystérieuses." - }, - "INVENTORY": { - "description": "Affiche le contenu de votre inventaire qui peut contenir 4 types d'objets :\n```\n-armes\n-armures\n-potions\n-items\n```\nLa commande affiche également le contenu de la réserve qui dispose de stockage supplémentaire." - }, - "REPORT": { - "description": "Permet de collecter les informations et les ressources collectées par votre personnage durant votre absence. De temps en temps, des évènements se déclenchent et demandent des actions particulières." - }, - "SELL": { - "description": "Permet de vendre l'objet qui se trouve dans votre réserve, la valeur de l'objet est déterminée en fonction de sa puissance. Les potions n'ont pas de valeur de revente, mais peuvent être jetées grace à cette commande." - }, - "DAILY_BONUS": { - "description": "Certains items vous donnent un bonus journalier. Utilisez cette commande pour récupérer ces bonus. Pour savoir si un item vous donne un bonus journalier, effectuez la commande {command:inventory}." - }, - "INVITE_DRAFTBOT": { - "description": "Cette commande vous permet d'obtenir un lien permettant de rejoindre le serveur d'aide !" - }, - "BADGES": { - "description": "I badge sono distinzione difficile a ottenere che sono state create per ricompensare le persone che hanno il più sostenuti il sviluppo del bot. La lista dei badge e disponibile sulla guida del bot.\n(link : https://guide.draftbot.com/notions-avancees/badges)" - }, - "DRINK": { - "description": "Cette commande permet de consommer la potion que vous transportez. Certaines potions ne peuvent pas être bues et sont consommées automatiquement lors d'un combat." - }, - "SHOP": { - "description": "Cette commande permet de dépenser votre argent pour faciliter votre aventure. En plus des 4 choix de base qui seront disponible de façon permanente, vous pourrez, chaque jour, profiter d'une potion exclusive, disponible à la vente durant 24 heures uniquement." - }, - "GUILD_CREATE": { - "description": "Permet de créer une guilde. Créer une guilde coûte 5000 :moneybag:." - }, - "GUILD_LEAVE": { - "description": "Permet de quitter votre guilde." - }, - "GUILD": { - "description": "Permet d'afficher les informations sur une guilde." - }, - "GUILD_DAILY_BONUS": { - "description": "Permet de récupérer des récompenses quotidiennes de guilde." - }, - "GUILD_KICK": { - "description": "Permet d'expulser un membre d'une guilde, nécessite d'être chef de guilde." - }, - "GUILD_INVITE": { - "description": "Permet d'ajouter un utilisateur à une guilde, nécessite d'être chef ou aîné de guilde." - }, - "GUILD_DESCRIPTION": { - "description": "Permet de modifier la description de la guilde, nécessite d'être chef de guilde." - }, - "GUILD_ELDER": { - "description": "Permet d'ajouter un aîné à la guilde, nécessite d'être chef de guilde." - }, - "GUILD_ELDER_REMOVE": { - "description": "Permet de supprimer l'aîné de la guilde, nécessite d'être chef de guilde." - }, - "GUILD_STORAGE": { - "description": "Affiche le contenu de l'entrepôt de la guilde." - }, - "GUILD_SHOP": { - "description": "Affiche le magasin de votre guilde." - }, - "UPDATE": { - "description": "Permet de visionner le changelog." - }, - "CLASSES": { - "description": "Permet de changer de classe. Plus d'informations sur les classes sont disponibles sur le guide du joueur : https://guide.draftbot.com" - }, - "PET": { - "description": "Affiche les informations relatives à votre familier." - }, - "PET_TRANSFER": { - "description": "Permet de transférer un familier depuis ou vers la guilde. Si aucun numéro n'est fourni, le familier de votre inventaire sera déplacé vers le refuge de la guilde. Sinon, il sera échangé avec celui de la guilde dont la position correspond au numéro donné." - }, - "PET_NICKNAME": { - "description": "Change le surnom de votre familier. Si aucun nom n'est fourni, le nom actuel sera effacé." - }, - "PET_FREE": { - "description": "Libère votre familier. Attention, une fois libéré, il sera effacé à tout jamais et donc impossible de le récupérer. Cette commande ne peut être effectuée qu'une fois par heure." - }, - "GUILD_SHELTER": { - "description": "Affiche le refuge d'animaux de la guilde." - }, - "PET_TRADE": { - "description": "Propose un échange de vos animaux avec la personne mentionnée." - }, - "PET_FEED": { - "description": "Donner de la nourriture à votre familier." - }, - "PET_SELL": { - "description": "Permet de vendre un familier. Les conditions suivantes s'appliquent : \n - le prix de vente doit être être supérieur à `{{petSellMinPrice}}💰` et inférieur à `{{petSellMaxPrice}}💰`. \n- Le vendeur ne gagnera pas d'argent lors de la transaction, mais de l'expérience de guilde. \n- Le vendeur et l'acheteur ne peuvent pas faire partie de la même guilde." - }, - "CLASSES_INFO": { - "description": "Permet de lire une comparaison rapide des statistiques et des informations des classes qui sont accessible à l'utilisateur effectuant la commande." - }, - "RARITY": { - "description": "Permet de voir la probabilité d'avoir un item selon sa rareté." - }, - "VOTE": { - "description": "Permet d'obtenir le lien pour voter pour le bot." - }, - "IDEA": { - "description": "Permet d'obtenir un lien afin de suggérer une idée ou alors de voter pour celles déjà existantes." - }, - "NOTIFICATIONS": { - "description": "Permet d'activer ou de désactiver les notifications du bot." - }, - "UNLOCK": { - "description": "Permet de payer une caution pour libérer quelqu'un de prison." - }, - "MAP": { - "description": "Affiche des informations sur votre destination, ainsi que la carte." - }, - "MISSIONS": { - "description": "Affiche la liste des missions qui vous sont proposées." - }, - "MISSIONS_SHOP": { - "description": "Affiche le magasin des missions." - }, - "LEAGUE_BONUS": { - "description": "Permet d'obtenir une récompense de ligue chaque dimanche." - }, - "JOIN_BOAT": { - "description": "Permet de rejoindre un membre de la guilde dans un bateau allant sur une île mystérieuse." - } - }, - "helpEmbedTitle": "{{pseudo}}, voici la liste des commandes disponibles :" - }, "report": { "commandName": "rapport", "commandDescription": "Obtenir un rapport sur la situation de votre personnage.", diff --git a/Lang/it/discordBuilder.json b/Lang/it/discordBuilder.json index 5816a7812..3cc09d6f1 100644 --- a/Lang/it/discordBuilder.json +++ b/Lang/it/discordBuilder.json @@ -3,6 +3,16 @@ "description": "Locandina d'informazione sui badge e loro funzionamento.", "name": "badge" }, + "help": { + "description": "Visualizza l'elenco dei comandi disponibili o informazioni dettagliate su un comando.", + "name": "aiuto", + "options": { + "commandName": { + "description": "Il comando di cui si deve mostrare le informazioni.", + "name": "comando" + } + } + }, "idea": { "description": "Invia un suggerimento per migliorare il gioco.", "name": "suggerimento" @@ -87,22 +97,12 @@ "description": "Mostrare la versione attuale del bot.", "name": "novità" }, - "help": { - "description": "Visualizza l'elenco dei comandi disponibili o informazioni dettagliate su un comando.", - "name": "aiuto", - "options": { - "commandName": { - "description": "Il comando di cui si deve mostrare le informazioni.", - "name": "comando" - } - } + "language": { + "description": "Cambiare la lingua del bot nel server discord dove è stato eseguito il comando.", + "name": "lingua" }, "vote": { "description": "Visualizzare il link per votare il bot.", "name": "voto" - }, - "language": { - "description": "Cambiare la lingua del bot nel server discord dove è stato eseguito il comando.", - "name": "lingua" } } \ No newline at end of file diff --git a/Lang/it/error.json b/Lang/it/error.json index 51a0150af..dfee27e9d 100644 --- a/Lang/it/error.json +++ b/Lang/it/error.json @@ -1,53 +1,53 @@ { - "playerDoesntExist": "Questo giocatore non esiste !", - "titleBlocked": "{{pseudo}}, questa persona è bloccata !", - "titleCanceled": "{{pseudo}}, cancellazione presa in conto !", - "titleDidntWork": "{{pseudo}}, hmmm... Questo non ha funzionato !", - "commandDoesntExist": "ERRORE: comando sconosciuto", - "interactionNotForYou": "Questa interazione non è per voi !", - "unexpectedError": "Une erreur est survenue :(", - "playerBlocked": "Vous ne pouvez pas effectuer cela car vous avez une action en attente ({{reasons}}) !", "anotherPlayerBlocked": "Vous ne pouvez pas effectuer cela car {{username}} a une action en attente ({{reasons}}) !", "blockedContext": { - "shop": "choix dans le magasin", + "acceptItem": "choix de garder un objet ou non", + "cartChoose": "choix de monter dans la charrette ou non", + "chiefGuildLeave": "passation de pouvoir", + "chooseDestination": "choix de la destination", + "class": "changement de classe", "confirmBuy": "confirmation d'achat", - "report": "rapport", "cooldown": "Vous envoyez des commandes trop vite !", + "descriptionEdit": "édition de la description de guilde", + "drink": "choix de boire une potion ou non", "fight": "combat", - "class": "changement de classe", - "guildInvite": "ajout dans une guilde", + "fightPetChoose": "choix d'une action pour le combat de familier", + "gobletChoose": "choix d'un gobelet", "guildCreate": "création d'une guilde", + "guildElder": "choix de l'aîné", + "guildElderRemove": "suppression l'aîné", + "guildInvite": "ajout dans une guilde", "guildKick": "expulsion d'une guilde", "guildLeave": "départ d'une guilde", - "descriptionEdit": "édition de la description de guilde", - "sell": "vente d'un objet", - "sellConfirm": "confirmation de la vente d'un objet", - "acceptItem": "choix de garder un objet ou non", + "guildShop": "choix dans le magasin de guilde", + "lottery": "mini-évent lotterie", + "merchant": "choix chez le marchand", + "missionShop": "choix dans le magasin des missions", "petFeed": "choix d'une nourriture à donner au familier", "petFree": "libération d'un familier", - "guildElder": "choix de l'aîné", - "guildElderRemove": "suppression l'aîné", - "petTrade": "échange d'animaux", - "guildShop": "choix dans le magasin de guilde", - "selectQuantity": "sélection d'une quantité", - "test": "test", "petSell": "vente d'un familier", "petSellConfirm": "confirmation de l'achat d'un familier", - "chiefGuildLeave": "passation de pouvoir", - "chooseDestination": "choix de la destination", - "lottery": "mini-évent lotterie", - "switch": "échange d'équipement", - "missionShop": "choix dans le magasin des missions", - "merchant": "choix chez le marchand", - "drink": "choix de boire une potion ou non", - "gobletChoose": "choix d'un gobelet", - "witchChoose": "choix d'une action pour la sorcière", - "fightPetChoose": "choix d'une action pour le combat de familier", - "unlock": "libération de quelqu'un", + "petTrade": "échange d'animaux", "pveIsland": "mini-évent île PVE", - "startBossFight": "début d'un combat de boss", + "report": "rapport", "reportCommand": "commande rapport", - "cartChoose": "choix de monter dans la charrette ou non" + "selectQuantity": "sélection d'une quantité", + "sell": "vente d'un objet", + "sellConfirm": "confirmation de la vente d'un objet", + "shop": "choix dans le magasin", + "startBossFight": "début d'un combat de boss", + "switch": "échange d'équipement", + "test": "test", + "unlock": "libération de quelqu'un", + "witchChoose": "choix d'une action pour la sorcière" }, + "commandDoesntExist": "ERRORE: comando sconosciuto", + "interactionNotForYou": "Questa interazione non è per voi !", + "playerBlocked": "Vous ne pouvez pas effectuer cela car vous avez une action en attente ({{reasons}}) !", + "playerDoesntExist": "Questo giocatore non esiste !", + "titleBlocked": "{{pseudo}}, questa persona è bloccata !", + "titleCanceled": "{{pseudo}}, cancellazione presa in conto !", + "titleDidntWork": "{{pseudo}}, hmmm... Questo non ha funzionato !", + "unexpectedError": "Une erreur est survenue :(", "guildDoesntExist": "La guilde demandée n'existe pas" } \ No newline at end of file diff --git a/Lang/it/items.json b/Lang/it/items.json index 24e76707f..011e08af5 100644 --- a/Lang/it/items.json +++ b/Lang/it/items.json @@ -1,31 +1,12 @@ { - "nameDisplay": "{{emote}} **{{{name}}}**", - "nerfDisplay": "~~{{old}}~~ {{max}}", - "attack": ":dagger: {{value}}", - "defense": ":shield: {{value}}", - "speed": ":rocket: {{value}}", - "weapons": { - "fieldName": "Arma :", - "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" - }, "armors": { "fieldName": "Armatura/scudo:", "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" }, - "potions": { - "fieldName": "Pozione :", - "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", - "natures": [ - ":x: Nessuno effetto", - ":heart: Vita + {{power}}", - ":rocket: Velocità + {{power}} mentre il prossimo affronto", - ":crossed_swords: Attacco + {{power}} mentre il prossimo affronto", - ":shield: Difesa + {{power}} mentre il prossimo affronto", - ":clock1030: Avanza il tempo di {{power}}", - ":moneybag: Soldi + {{power}}", - ":zap: Energia + {{power}}" - ] - }, + "attack": ":dagger: {{value}}", + "defense": ":shield: {{value}}", + "nameDisplay": "{{emote}} **{{{name}}}**", + "nerfDisplay": "~~{{old}}~~ {{max}}", "objects": { "fieldName": "Oggetto :", "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", @@ -40,6 +21,20 @@ ":zap: Energia + {{power}} ogni giorno" ] }, + "potions": { + "fieldName": "Pozione :", + "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", + "natures": [ + ":x: Nessuno effetto", + ":heart: Vita + {{power}}", + ":rocket: Velocità + {{power}} mentre il prossimo affronto", + ":crossed_swords: Attacco + {{power}} mentre il prossimo affronto", + ":shield: Difesa + {{power}} mentre il prossimo affronto", + ":clock1030: Avanza il tempo di {{power}}", + ":moneybag: Soldi + {{power}}", + ":zap: Energia + {{power}}" + ] + }, "rarities": [ ":small_orange_diamond: Basico", ":large_orange_diamond: Comune", @@ -50,5 +45,10 @@ ":star: Epico", ":star2: Leggendario", ":gem: Mitico" - ] + ], + "speed": ":rocket: {{value}}", + "weapons": { + "fieldName": "Arma :", + "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" + } } \ No newline at end of file diff --git a/Lang/pt/commands.json b/Lang/pt/commands.json index 021266388..bf3257f4a 100644 --- a/Lang/pt/commands.json +++ b/Lang/pt/commands.json @@ -39,12 +39,12 @@ "objects_other": "Objets ({{count}}/{{max}}) :", "potions_one": "Potion ({{count}}/{{max}}) :", "potions_other": "Potions ({{count}}/{{max}}) :", + "seeBackupItems": "🔄 Voir la réserve", + "seeEquippedItems": "🔄 Voir l'inventaire principal", "stockTitle": ":package: **Réserve d'objets de {{pseudo}}**", "title": ":briefcase: **Inventaire de {{pseudo}}**", "weapons_one": "Arme ({{count}}/{{max}}) :", - "weapons_other": "Armes ({{count}}/{{max}}) :", - "seeBackupItems": "🔄 Voir la réserve", - "seeEquippedItems": "🔄 Voir l'inventaire principal" + "weapons_other": "Armes ({{count}}/{{max}}) :" }, "invite": { "discord": { @@ -140,8 +140,8 @@ "title": "{{effect}} | {{pseudo}} | Niveau {{level}}" }, "rarity": { - "title": ":slot_machine: Rareté des équipements", - "rarities": ":small_orange_diamond: Basique | Possédé en début de jeu\n:large_orange_diamond: Commun | {{common}}%\n:fire: Peu commun | {{uncommon}}%\n:trident: Exotique | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Spécial | {{special}}%\n:star: Épique | {{epic}}%\n:star2: Légendaire | {{legendary}}%\n:gem: Mythique | {{unique}}%" + "rarities": ":small_orange_diamond: Basique | Possédé en début de jeu\n:large_orange_diamond: Commun | {{common}}%\n:fire: Peu commun | {{uncommon}}%\n:trident: Exotique | {{exotic}}%\n:comet: Rare | {{rare}}%\n:dizzy: Spécial | {{special}}%\n:star: Épique | {{epic}}%\n:star2: Légendaire | {{legendary}}%\n:gem: Mythique | {{unique}}%", + "title": ":slot_machine: Rareté des équipements" }, "update": { "description": "La version actuelle du noyau du bot est la **{{coreVersion}}**. Celle du module Discord est la **{{discordModuleVersion}}**.\n\nToutes les informations concernant les mises à jour sont disponibles ici :\nhttps://guide.draftbot.com/lore/historique-des-mises-a-jour", diff --git a/Lang/pt/discordBuilder.json b/Lang/pt/discordBuilder.json index e2ccd0e48..bbc8acfb4 100644 --- a/Lang/pt/discordBuilder.json +++ b/Lang/pt/discordBuilder.json @@ -61,6 +61,10 @@ } } }, + "rarity": { + "description": "Affiche les différentes raretés des équipements.", + "name": "rarete" + }, "report": { "description": "Obtenir un rapport sur la situation de votre personnage.", "name": "rapport" @@ -79,10 +83,6 @@ } } }, - "rarity": { - "description": "Affiche les différentes raretés des équipements.", - "name": "rarete" - }, "update": { "description": "Affiche la version actuelle du bot.", "name": "nouveautes" diff --git a/Lang/pt/error.json b/Lang/pt/error.json index 315f92902..d01fdce01 100644 --- a/Lang/pt/error.json +++ b/Lang/pt/error.json @@ -1,53 +1,53 @@ { - "playerDoesntExist": "Ce joueur n'existe pas !", - "titleBlocked": "{{pseudo}}, cette personne est bloquée !", - "titleCanceled": "{{pseudo}}, annulation prise en compte !", - "titleDidntWork": "{{pseudo}}, hmmm... Cela n'a pas fonctionné !", - "commandDoesntExist": "ERREUR: Commande inconnue", - "interactionNotForYou": "Cette interaction n'est pas pour vous !", - "unexpectedError": "Une erreur est survenue :(", - "playerBlocked": "Vous ne pouvez pas effectuer cela car vous avez une action en attente ({{reasons}}) !", "anotherPlayerBlocked": "Vous ne pouvez pas effectuer cela car {{username}} a une action en attente ({{reasons}}) !", "blockedContext": { - "shop": "choix dans le magasin", + "acceptItem": "choix de garder un objet ou non", + "cartChoose": "choix de monter dans la charrette ou non", + "chiefGuildLeave": "passation de pouvoir", + "chooseDestination": "choix de la destination", + "class": "changement de classe", "confirmBuy": "confirmation d'achat", - "report": "rapport", "cooldown": "Vous envoyez des commandes trop vite !", + "descriptionEdit": "édition de la description de guilde", + "drink": "choix de boire une potion ou non", "fight": "combat", - "class": "changement de classe", - "guildInvite": "ajout dans une guilde", + "fightPetChoose": "choix d'une action pour le combat de familier", + "gobletChoose": "choix d'un gobelet", "guildCreate": "création d'une guilde", + "guildElder": "choix de l'aîné", + "guildElderRemove": "suppression l'aîné", + "guildInvite": "ajout dans une guilde", "guildKick": "expulsion d'une guilde", "guildLeave": "départ d'une guilde", - "descriptionEdit": "édition de la description de guilde", - "sell": "vente d'un objet", - "sellConfirm": "confirmation de la vente d'un objet", - "acceptItem": "choix de garder un objet ou non", + "guildShop": "choix dans le magasin de guilde", + "lottery": "mini-évent lotterie", + "merchant": "choix chez le marchand", + "missionShop": "choix dans le magasin des missions", "petFeed": "choix d'une nourriture à donner au familier", "petFree": "libération d'un familier", - "guildElder": "choix de l'aîné", - "guildElderRemove": "suppression l'aîné", - "petTrade": "échange d'animaux", - "guildShop": "choix dans le magasin de guilde", - "selectQuantity": "sélection d'une quantité", - "test": "test", "petSell": "vente d'un familier", "petSellConfirm": "confirmation de l'achat d'un familier", - "chiefGuildLeave": "passation de pouvoir", - "chooseDestination": "choix de la destination", - "lottery": "mini-évent lotterie", - "switch": "échange d'équipement", - "missionShop": "choix dans le magasin des missions", - "merchant": "choix chez le marchand", - "drink": "choix de boire une potion ou non", - "gobletChoose": "choix d'un gobelet", - "witchChoose": "choix d'une action pour la sorcière", - "fightPetChoose": "choix d'une action pour le combat de familier", - "unlock": "libération de quelqu'un", + "petTrade": "échange d'animaux", "pveIsland": "mini-évent île PVE", - "startBossFight": "début d'un combat de boss", + "report": "rapport", "reportCommand": "commande rapport", - "cartChoose": "choix de monter dans la charrette ou non" + "selectQuantity": "sélection d'une quantité", + "sell": "vente d'un objet", + "sellConfirm": "confirmation de la vente d'un objet", + "shop": "choix dans le magasin", + "startBossFight": "début d'un combat de boss", + "switch": "échange d'équipement", + "test": "test", + "unlock": "libération de quelqu'un", + "witchChoose": "choix d'une action pour la sorcière" }, - "guildDoesntExist": "La guilde demandée n'existe pas" + "commandDoesntExist": "ERREUR: Commande inconnue", + "interactionNotForYou": "Cette interaction n'est pas pour vous !", + "playerBlocked": "Vous ne pouvez pas effectuer cela car vous avez une action en attente ({{reasons}}) !", + "playerDoesntExist": "Ce joueur n'existe pas !", + "titleBlocked": "{{pseudo}}, cette personne est bloquée !", + "titleCanceled": "{{pseudo}}, annulation prise en compte !", + "titleDidntWork": "{{pseudo}}, hmmm... Cela n'a pas fonctionné !", + "guildDoesntExist": "La guilde demandée n'existe pas", + "unexpectedError": "Une erreur est survenue :(" } \ No newline at end of file diff --git a/Lang/pt/items.json b/Lang/pt/items.json index 16f6d9118..198a3b5d1 100644 --- a/Lang/pt/items.json +++ b/Lang/pt/items.json @@ -1,31 +1,12 @@ { - "nameDisplay": "{{emote}} **{{{name}}}**", - "nerfDisplay": "~~{{old}}~~ {{max}}", - "attack": ":dagger: {{value}}", - "defense": ":shield: {{value}}", - "speed": ":rocket: {{value}}", - "weapons": { - "fieldName": "Arme :", - "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" - }, "armors": { "fieldName": "Armure/Bouclier :", "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" }, - "potions": { - "fieldName": "Potion :", - "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", - "natures": [ - ":x: Aucun effet", - ":heart: Vie + {{power}}", - ":rocket: Vitesse + {{power}} pendant le prochain combat", - ":crossed_swords: Attaque + {{power}} pendant le prochain combat", - ":shield: Défense + {{power}} pendant le prochain combat", - ":clock1030: Avance le temps de {{power}}", - ":moneybag: Argent + {{power}}", - ":zap: Énergie + {{power}}" - ] - }, + "attack": ":dagger: {{value}}", + "defense": ":shield: {{value}}", + "nameDisplay": "{{emote}} **{{{name}}}**", + "nerfDisplay": "~~{{old}}~~ {{max}}", "objects": { "fieldName": "Objet :", "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", @@ -40,6 +21,20 @@ ":zap: Énergie + {{power}} par jour" ] }, + "potions": { + "fieldName": "Potion :", + "fieldValue": "**{{name}}** | {{rarity}} | {{nature}}", + "natures": [ + ":x: Aucun effet", + ":heart: Vie + {{power}}", + ":rocket: Vitesse + {{power}} pendant le prochain combat", + ":crossed_swords: Attaque + {{power}} pendant le prochain combat", + ":shield: Défense + {{power}} pendant le prochain combat", + ":clock1030: Avance le temps de {{power}}", + ":moneybag: Argent + {{power}}", + ":zap: Énergie + {{power}}" + ] + }, "rarities": [ ":small_orange_diamond: Basique", ":large_orange_diamond: Commun", @@ -50,5 +45,10 @@ ":star: Épique", ":star2: Légendaire", ":gem: Mythique" - ] + ], + "speed": ":rocket: {{value}}", + "weapons": { + "fieldName": "Arme :", + "fieldValue": "**{{name}}** | {{rarity}} | {{values}}" + } } \ No newline at end of file diff --git a/Lib/src/DraftBotIcons.ts b/Lib/src/DraftBotIcons.ts index 92e653d82..828f45d3e 100644 --- a/Lib/src/DraftBotIcons.ts +++ b/Lib/src/DraftBotIcons.ts @@ -1,10 +1,30 @@ export const DraftBotIcons: { + effects: { + [effectId: string]: string + }, events: { [eventId: string]: { [possibilityName: string]: string | { [outcomeId: string]: string } } } } = { + "effects": { + "not_started": "👶", + "dead": "💀", + "none": "😃", + "sleeping": "😴", + "drunk": "🤪", + "freezing": "🥶", + "hurt": "🤕", + "sick": "🤢", + "jailed": "🔒", + "injured": "😵", + "occupied": "🕑", + "starving": "🤤", + "confounded": "😖", + "scared:": "😱", + "lost": "🧐" + }, "events": { "1": { "cutTree": "🪓", diff --git a/Lib/src/constants/EffectsConstants.ts b/Lib/src/constants/EffectsConstants.ts deleted file mode 100644 index 0bb396872..000000000 --- a/Lib/src/constants/EffectsConstants.ts +++ /dev/null @@ -1,69 +0,0 @@ -export abstract class EffectsConstants { - static readonly EMOJI_TEXT = { - BABY: ":baby:", - DEAD: ":skull:", - SMILEY: ":smiley:", - SLEEPING: ":sleeping:", - DRUNK: ":zany_face:", - FROZEN: ":cold_face:", - HURT: ":head_bandage:", - SICK: ":sick:", - LOCKED: ":lock:", - INJURED: ":dizzy_face:", - OCCUPIED: ":clock2:", - STARVING: ":drooling_face:", - CONFOUNDED: ":confounded:", - SCARED: ":scream:" - }; - - static readonly EMOJIS = { - ":baby:": "👶", - ":skull:": "💀", - ":smiley:": "😃", - ":sleeping:": "😴", - ":zany_face:": "🤪", - ":cold_face:": "🥶", - ":head_bandage:": "🤕", - ":sick:": "🤢", - ":lock:": "🔒", - ":dizzy_face:": "😵", - ":clock2:": "🕑", - ":drooling_face:": "🤤", - ":confounded:": "😖", - ":scream:": "😱" - }; - - static readonly ERROR_TEXT = { - ":baby:": "Baby", - ":skull:": "Dead", - ":smiley:": "Fine", - ":sleeping:": "Sleeping", - ":zany_face:": "Drunk", - ":cold_face:": "Frozen", - ":head_bandage:": "Hurt", - ":sick:": "Sick", - ":lock:": "Locked", - ":dizzy_face:": "Injured", - ":clock2:": "Occupied", - ":drooling_face:": "Starving", - ":confounded:": "Confounded", - ":scream:": "Scared" - }; - - static readonly DURATION = { - ":baby:": 0, - ":skull:": 16666667, - ":smiley:": 0, - ":sleeping:": 180, - ":zany_face:": 240, - ":cold_face:": 60, - ":head_bandage:": 360, - ":sick:": 360, - ":lock:": 1440, - ":dizzy_face:": 720, - ":clock2:": 0, - ":drooling_face:": 80, - ":confounded:": 40, - ":scream:": 10 - }; -} \ No newline at end of file diff --git a/Lib/src/constants/PlayersConstants.ts b/Lib/src/constants/PlayersConstants.ts index 447dfaf01..7c3697512 100644 --- a/Lib/src/constants/PlayersConstants.ts +++ b/Lib/src/constants/PlayersConstants.ts @@ -1,4 +1,4 @@ -import {EffectsConstants} from "./EffectsConstants"; +import {Effect} from "../enums/Effect"; import {NotificationsConstants} from "./NotificationsConstants"; export abstract class PlayersConstants { @@ -9,12 +9,12 @@ export abstract class PlayersConstants { EXPERIENCE: 0, MONEY: 0, CLASS: 0, - BADGES: null as string, - GUILD_ID: null as number, + BADGES: null as unknown as string, + GUILD_ID: null as unknown as number, TOP_GG_VOTE_AT: new Date(0), LAST_PET_FREE: new Date(0), - EFFECT: EffectsConstants.EMOJI_TEXT.BABY, - EFFECT_DURATION: EffectsConstants.DURATION[":baby:"], + EFFECT: Effect.NOT_STARTED.id, + EFFECT_DURATION: Effect.NOT_STARTED.timeMinutes, START_TRAVEL_DATE: 0, NOTIFICATIONS: NotificationsConstants.DM_VALUE }; diff --git a/Lib/src/enums/Effect.ts b/Lib/src/enums/Effect.ts new file mode 100644 index 000000000..1716189bd --- /dev/null +++ b/Lib/src/enums/Effect.ts @@ -0,0 +1,68 @@ +const effects = new Map(); + +export class Effect { + public static readonly NOT_STARTED = new Effect("not_started", ":baby:", 0); + + public static readonly DEAD = new Effect("dead", ":skull:", 16666667); + + public static readonly NO_EFFECT = new Effect("none", ":smiley:", 0); + + public static readonly SLEEPING = new Effect("sleeping", ":sleeping:", 180); + + public static readonly DRUNK = new Effect("drunk", ":zany_face:", 240); + + public static readonly FREEZING = new Effect("freezing", ":cold_face:", 60); + + public static readonly HURT = new Effect("hurt", ":head_bandage:", 360); + + public static readonly SICK = new Effect("sick", ":sick:", 360); + + public static readonly JAILED = new Effect("jailed", ":lock:", 1440); + + public static readonly INJURED = new Effect("injured", ":dizzy_face:", 720); + + public static readonly OCCUPIED = new Effect("occupied", ":clock2:", 0); + + public static readonly STARVING = new Effect("starving", ":drooling_face:", 80); + + public static readonly CONFOUNDED = new Effect("confounded", ":confounded:", 40); + + public static readonly SCARED = new Effect("scared", ":scream:", 10); + + public static readonly LOST = new Effect("lost", ":face_with_monocle:", 270); + + + public static getById(id: string): Effect | null { + return effects.get(id) ?? null; + } + + public static getAll(): IterableIterator { + return effects.values(); + } + + + private readonly _id: string; + + private readonly _v4Id: string; + + private readonly _timeMinutes: number; + + private constructor(id: string, v4Id: string, timeMinutes: number) { + this._id = id; + this._timeMinutes = timeMinutes; + this._v4Id = v4Id; + effects.set(id, this); + } + + get timeMinutes(): number { + return this._timeMinutes; + } + + get id(): string { + return this._id; + } + + get v4Id(): string { + return this._v4Id; + } +} \ No newline at end of file diff --git a/Lib/src/packets/DraftBotPacket.ts b/Lib/src/packets/DraftBotPacket.ts index 16e9af29c..dd42ce0dd 100644 --- a/Lib/src/packets/DraftBotPacket.ts +++ b/Lib/src/packets/DraftBotPacket.ts @@ -6,6 +6,7 @@ export interface PacketContext { discord?: { user: string, interaction: string, + buttonInteraction?: string, channel: string, language: string } diff --git a/Lib/src/packets/notifications/PlayerDeathPacket.ts b/Lib/src/packets/notifications/PlayerDeathPacket.ts index 84ac13a39..9e3a338d0 100644 --- a/Lib/src/packets/notifications/PlayerDeathPacket.ts +++ b/Lib/src/packets/notifications/PlayerDeathPacket.ts @@ -1,5 +1,5 @@ import {DraftBotPacket} from "../DraftBotPacket"; -export interface PlayerDeathPacket extends DraftBotPacket { +export class PlayerDeathPacket extends DraftBotPacket { } \ No newline at end of file diff --git a/Lib/src/packets/notifications/PlayerLevelUpPacket.ts b/Lib/src/packets/notifications/PlayerLevelUpPacket.ts index 4132c7ab8..e417a3a00 100644 --- a/Lib/src/packets/notifications/PlayerLevelUpPacket.ts +++ b/Lib/src/packets/notifications/PlayerLevelUpPacket.ts @@ -1,14 +1,25 @@ import {DraftBotPacket} from "../DraftBotPacket"; -export interface PlayerLevelUpPacket extends DraftBotPacket { - fightUnlocked: boolean, - guildUnlocked: boolean, - healthRestored: boolean, - classesTier1Unlocked: boolean, - classesTier2Unlocked: boolean, - classesTier3Unlocked: boolean, - classesTier4Unlocked: boolean, - classesTier5Unlocked: boolean, - missionSlotUnlocked: boolean, - pveUnlocked: boolean +export class PlayerLevelUpPacket extends DraftBotPacket { + level!: number; + + fightUnlocked!: boolean; + + guildUnlocked!: boolean; + + healthRestored!: boolean; + + classesTier1Unlocked!: boolean; + + classesTier2Unlocked!: boolean; + + classesTier3Unlocked!: boolean; + + classesTier4Unlocked!: boolean; + + classesTier5Unlocked!: boolean; + + missionSlotUnlocked!: boolean; + + pveUnlocked!: boolean; } \ No newline at end of file