@opfr/services 0.45.0 → 0.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1018 -999
- package/dist/index.umd.js +1 -1
- package/dist/services/settings/definition/schema.d.ts.map +1 -1
- package/dist/services/settings/query/updates.d.ts +1 -0
- package/dist/services/settings/query/updates.d.ts.map +1 -1
- package/dist/services/settings/types.d.ts +6 -0
- package/dist/services/settings/types.d.ts.map +1 -1
- package/dist/services/user-meta/definition/schema.d.ts.map +1 -1
- package/dist/services/user-meta/query/updates.d.ts +1 -0
- package/dist/services/user-meta/query/updates.d.ts.map +1 -1
- package/dist/services/user-meta/types.d.ts +1 -0
- package/dist/services/user-meta/types.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.es.js
CHANGED
|
@@ -12,13 +12,13 @@ import { CanvasOrigin as Xe, nextAllToXAxis as ue } from "@opfr/canvas";
|
|
|
12
12
|
const _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13
13
|
__proto__: null,
|
|
14
14
|
get Insistent() {
|
|
15
|
-
return
|
|
15
|
+
return tf;
|
|
16
16
|
},
|
|
17
17
|
get Resurrection() {
|
|
18
|
-
return
|
|
18
|
+
return af;
|
|
19
19
|
},
|
|
20
20
|
get Unstoppable() {
|
|
21
|
-
return
|
|
21
|
+
return sf;
|
|
22
22
|
}
|
|
23
23
|
}, Symbol.toStringTag, { value: "Module" })), ba = new b({
|
|
24
24
|
bannedUserId: String,
|
|
@@ -31,14 +31,14 @@ ba.index({ unbannedTimestamp: 1 });
|
|
|
31
31
|
var Os;
|
|
32
32
|
const ot = ((Os = T) == null ? void 0 : Os.Bans) || F("Bans", ba), Fi = async () => await ot.find({
|
|
33
33
|
unbannedTimestamp: { $lte: /* @__PURE__ */ new Date(), $ne: null }
|
|
34
|
-
}),
|
|
34
|
+
}), Ig = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
35
35
|
__proto__: null,
|
|
36
36
|
getUnbanUsers: Fi
|
|
37
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
37
|
+
}, Symbol.toStringTag, { value: "Module" })), Ag = async (t) => await ot.create({
|
|
38
38
|
...t
|
|
39
|
-
}),
|
|
39
|
+
}), Pg = async (t) => await ot.findOne({ bannedUserId: t }), Ng = async (t) => {
|
|
40
40
|
await ot.deleteOne({ bannedUserId: t });
|
|
41
|
-
},
|
|
41
|
+
}, Lg = (t) => ot.exists({ bannedUserId: t }), Ei = new b({
|
|
42
42
|
betOwner: String,
|
|
43
43
|
betId: Number,
|
|
44
44
|
channelId: String,
|
|
@@ -61,10 +61,10 @@ const ot = ((Os = T) == null ? void 0 : Os.Bans) || F("Bans", ba), Fi = async ()
|
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
var Ds;
|
|
64
|
-
const Ks = ((Ds = T) == null ? void 0 : Ds.Bets) || F("Bets", Ei),
|
|
64
|
+
const Ks = ((Ds = T) == null ? void 0 : Ds.Bets) || F("Bets", Ei), jg = async (t, a = {}) => {
|
|
65
65
|
const s = await Ks.findById(t, a);
|
|
66
66
|
return s || null;
|
|
67
|
-
},
|
|
67
|
+
}, Hg = async (t) => await Ks.create({
|
|
68
68
|
...t
|
|
69
69
|
}), er = new b({
|
|
70
70
|
senderId: String,
|
|
@@ -77,14 +77,14 @@ const Ks = ((Ds = T) == null ? void 0 : Ds.Bets) || F("Bets", Ei), Ng = async (t
|
|
|
77
77
|
});
|
|
78
78
|
er.index({ receiverId: 1 });
|
|
79
79
|
var Cs;
|
|
80
|
-
const Ma = ((Cs = T) == null ? void 0 : Cs.Invitations) || F("Invitations", er),
|
|
80
|
+
const Ma = ((Cs = T) == null ? void 0 : Cs.Invitations) || F("Invitations", er), Qg = async (t) => {
|
|
81
81
|
const a = await Ma.findOne({
|
|
82
82
|
...t
|
|
83
83
|
});
|
|
84
84
|
return a || null;
|
|
85
|
-
},
|
|
85
|
+
}, Wg = async (t) => await Ma.create({
|
|
86
86
|
...t
|
|
87
|
-
}),
|
|
87
|
+
}), Gg = async (t) => {
|
|
88
88
|
await Ma.deleteMany({
|
|
89
89
|
...t
|
|
90
90
|
});
|
|
@@ -913,8 +913,8 @@ function Gl(t) {
|
|
|
913
913
|
return this._weekdaysParseExact ? (x(this, "_weekdaysRegex") || Ta.call(this), t ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (x(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = El), this._weekdaysMinStrictRegex && t ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
914
914
|
}
|
|
915
915
|
function Ta() {
|
|
916
|
-
function t(O,
|
|
917
|
-
return
|
|
916
|
+
function t(O, N) {
|
|
917
|
+
return N.length - O.length;
|
|
918
918
|
}
|
|
919
919
|
var a = [], s = [], r = [], n = [], i, d, c, f, w;
|
|
920
920
|
for (i = 0; i < 7; i++)
|
|
@@ -2552,8 +2552,8 @@ function $c(t, a, s, r, n) {
|
|
|
2552
2552
|
return n.relativeTime(a || 1, !!s, t, r);
|
|
2553
2553
|
}
|
|
2554
2554
|
function Tc(t, a, s, r) {
|
|
2555
|
-
var n = ae(t).abs(), i = pe(n.as("s")), d = pe(n.as("m")), c = pe(n.as("h")), f = pe(n.as("d")), w = pe(n.as("M")), O = pe(n.as("w")),
|
|
2556
|
-
return s.w != null && (Q = Q || O <= 1 && ["w"] || O < s.w && ["ww", O]), Q = Q || w <= 1 && ["M"] || w < s.M && ["MM", w] ||
|
|
2555
|
+
var n = ae(t).abs(), i = pe(n.as("s")), d = pe(n.as("m")), c = pe(n.as("h")), f = pe(n.as("d")), w = pe(n.as("M")), O = pe(n.as("w")), N = pe(n.as("y")), Q = i <= s.ss && ["s", i] || i < s.s && ["ss", i] || d <= 1 && ["m"] || d < s.m && ["mm", d] || c <= 1 && ["h"] || c < s.h && ["hh", c] || f <= 1 && ["d"] || f < s.d && ["dd", f];
|
|
2556
|
+
return s.w != null && (Q = Q || O <= 1 && ["w"] || O < s.w && ["ww", O]), Q = Q || w <= 1 && ["M"] || w < s.M && ["MM", w] || N <= 1 && ["y"] || ["yy", N], Q[2] = a, Q[3] = +t > 0, Q[4] = r, $c.apply(null, Q);
|
|
2557
2557
|
}
|
|
2558
2558
|
function Fc(t) {
|
|
2559
2559
|
return t === void 0 ? pe : typeof t == "function" ? (pe = t, !0) : !1;
|
|
@@ -2574,8 +2574,8 @@ function Ie(t) {
|
|
|
2574
2574
|
function jt() {
|
|
2575
2575
|
if (!this.isValid())
|
|
2576
2576
|
return this.localeData().invalidDate();
|
|
2577
|
-
var t = na(this._milliseconds) / 1e3, a = na(this._days), s = na(this._months), r, n, i, d, c = this.asSeconds(), f, w, O,
|
|
2578
|
-
return c ? (r = q(t / 60), n = q(r / 60), t %= 60, r %= 60, i = q(s / 12), s %= 12, d = t ? t.toFixed(3).replace(/\.?0+$/, "") : "", f = c < 0 ? "-" : "", w = Ie(this._months) !== Ie(c) ? "-" : "", O = Ie(this._days) !== Ie(c) ? "-" : "",
|
|
2577
|
+
var t = na(this._milliseconds) / 1e3, a = na(this._days), s = na(this._months), r, n, i, d, c = this.asSeconds(), f, w, O, N;
|
|
2578
|
+
return c ? (r = q(t / 60), n = q(r / 60), t %= 60, r %= 60, i = q(s / 12), s %= 12, d = t ? t.toFixed(3).replace(/\.?0+$/, "") : "", f = c < 0 ? "-" : "", w = Ie(this._months) !== Ie(c) ? "-" : "", O = Ie(this._days) !== Ie(c) ? "-" : "", N = Ie(this._milliseconds) !== Ie(c) ? "-" : "", f + "P" + (i ? w + i + "Y" : "") + (s ? w + s + "M" : "") + (a ? O + a + "D" : "") + (n || r || t ? "T" : "") + (n ? N + n + "H" : "") + (r ? N + r + "M" : "") + (t ? N + d + "S" : "")) : "P0D";
|
|
2579
2579
|
}
|
|
2580
2580
|
var k = Nt.prototype;
|
|
2581
2581
|
k.isValid = Co;
|
|
@@ -2791,7 +2791,13 @@ const _e = (t, a, s = !0) => (s ? t.getFullYear() === a.getFullYear() : !0) && t
|
|
|
2791
2791
|
},
|
|
2792
2792
|
roles: {
|
|
2793
2793
|
premium: { type: String, default: null },
|
|
2794
|
-
booster: { type: String, default: null }
|
|
2794
|
+
booster: { type: String, default: null },
|
|
2795
|
+
scam: { type: String, default: null }
|
|
2796
|
+
},
|
|
2797
|
+
channels: {
|
|
2798
|
+
gambling: { type: String, default: null },
|
|
2799
|
+
work: { type: String, default: null },
|
|
2800
|
+
raid: { type: String, default: null }
|
|
2795
2801
|
},
|
|
2796
2802
|
edito: {
|
|
2797
2803
|
channelId: { type: String, default: null },
|
|
@@ -2816,80 +2822,86 @@ const _e = (t, a, s = !0) => (s ? t.getFullYear() === a.getFullYear() : !0) && t
|
|
|
2816
2822
|
});
|
|
2817
2823
|
Vr.index({ "meta.xp": -1 });
|
|
2818
2824
|
var Bs;
|
|
2819
|
-
const qa = ((Bs = T) == null ? void 0 : Bs.Settings) || F("Settings", Vr),
|
|
2825
|
+
const qa = ((Bs = T) == null ? void 0 : Bs.Settings) || F("Settings", Vr), P = async (t, a, s = !1) => {
|
|
2820
2826
|
await qa.updateOne({ guildId: t }, a, { upsert: s });
|
|
2821
2827
|
}, Lc = async (t, a) => {
|
|
2822
|
-
await
|
|
2828
|
+
await P(t, {
|
|
2823
2829
|
$set: { suggestionChannelId: a }
|
|
2824
2830
|
});
|
|
2825
2831
|
}, jc = async (t, a) => {
|
|
2826
|
-
await
|
|
2832
|
+
await P(t, {
|
|
2827
2833
|
$set: { reportChannelId: a }
|
|
2828
2834
|
});
|
|
2829
2835
|
}, Hc = async (t, a) => {
|
|
2830
|
-
await
|
|
2836
|
+
await P(t, {
|
|
2831
2837
|
$set: { reportModeratorChannelId: a }
|
|
2832
2838
|
});
|
|
2833
2839
|
}, Qc = async (t, a) => {
|
|
2834
|
-
await
|
|
2840
|
+
await P(t, {
|
|
2835
2841
|
$set: { factionChannelId: a }
|
|
2836
2842
|
});
|
|
2837
2843
|
}, Wc = async (t, a) => {
|
|
2838
|
-
await
|
|
2844
|
+
await P(t, {
|
|
2839
2845
|
$set: { "edito.channelId": a }
|
|
2840
2846
|
});
|
|
2841
2847
|
}, Gc = async (t) => {
|
|
2842
2848
|
const a = Gr(100, 1001);
|
|
2843
|
-
return await
|
|
2849
|
+
return await P(t, {
|
|
2844
2850
|
$set: { "edito.price": a }
|
|
2845
2851
|
}), a;
|
|
2846
2852
|
}, qc = async (t, a) => {
|
|
2847
|
-
await
|
|
2853
|
+
await P(t, {
|
|
2848
2854
|
$set: { "edito.sentAtMidnight": a }
|
|
2849
2855
|
});
|
|
2850
2856
|
}, Vc = async (t, a) => {
|
|
2851
|
-
await
|
|
2857
|
+
await P(t, {
|
|
2852
2858
|
$set: { "edito.messageId": a }
|
|
2853
2859
|
});
|
|
2854
2860
|
}, zc = async (t, a) => {
|
|
2855
|
-
await
|
|
2861
|
+
await P(t, {
|
|
2856
2862
|
$set: { discussionChannelId: a }
|
|
2857
2863
|
});
|
|
2858
2864
|
}, Xc = async (t, a) => {
|
|
2859
|
-
await
|
|
2865
|
+
await P(t, {
|
|
2860
2866
|
$set: { questFallbackChannelId: a }
|
|
2861
2867
|
});
|
|
2862
2868
|
}, Zc = async (t, a) => {
|
|
2863
|
-
await
|
|
2869
|
+
await P(t, {
|
|
2864
2870
|
$set: { "ranking.channelId": a }
|
|
2865
2871
|
});
|
|
2866
2872
|
}, Jc = async (t, a) => {
|
|
2867
|
-
await
|
|
2873
|
+
await P(t, {
|
|
2868
2874
|
$set: { "ranking.messageId": a }
|
|
2869
2875
|
});
|
|
2870
2876
|
}, Kc = async (t, a, s) => {
|
|
2871
|
-
await
|
|
2877
|
+
await P(t, {
|
|
2872
2878
|
$set: { shopChannelId: a, blackMarketChannelId: s }
|
|
2873
2879
|
});
|
|
2874
2880
|
}, eu = async (t, a) => {
|
|
2875
|
-
await
|
|
2881
|
+
await P(t, {
|
|
2876
2882
|
$set: { reportBugChannelId: a }
|
|
2877
2883
|
});
|
|
2878
2884
|
}, tu = async (t, a) => {
|
|
2879
|
-
await
|
|
2885
|
+
await P(t, {
|
|
2880
2886
|
$set: { "crew.infoChannelId": a }
|
|
2881
2887
|
});
|
|
2882
2888
|
}, au = async (t, a, s) => {
|
|
2883
|
-
await
|
|
2889
|
+
await P(t, {
|
|
2884
2890
|
$push: { "crew.crewChannelIds": { channelId: s, crewId: a } }
|
|
2885
2891
|
});
|
|
2886
2892
|
}, su = async (t, a) => {
|
|
2887
|
-
await
|
|
2893
|
+
await P(t, {
|
|
2888
2894
|
$set: Object.fromEntries(
|
|
2889
2895
|
Object.entries(a).map(([s, r]) => [`roles.${s}`, r])
|
|
2890
2896
|
)
|
|
2891
2897
|
});
|
|
2892
|
-
},
|
|
2898
|
+
}, ru = async (t, a) => {
|
|
2899
|
+
await P(t, {
|
|
2900
|
+
$set: Object.fromEntries(
|
|
2901
|
+
Object.entries(a).map(([s, r]) => [`channels.${s}`, r])
|
|
2902
|
+
)
|
|
2903
|
+
});
|
|
2904
|
+
}, qg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2893
2905
|
__proto__: null,
|
|
2894
2906
|
addCrewChannelId: au,
|
|
2895
2907
|
randomizeEditoPrice: Gc,
|
|
@@ -2907,12 +2919,13 @@ const qa = ((Bs = T) == null ? void 0 : Bs.Settings) || F("Settings", Vr), L = a
|
|
|
2907
2919
|
setReportModeratorChannel: Hc,
|
|
2908
2920
|
setShopChannelId: Kc,
|
|
2909
2921
|
setSuggestionChannel: Lc,
|
|
2922
|
+
updateChannelId: ru,
|
|
2910
2923
|
updateRolesId: su
|
|
2911
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2924
|
+
}, Symbol.toStringTag, { value: "Module" })), nu = async (t) => await qa.create({
|
|
2912
2925
|
guildId: t
|
|
2913
|
-
}),
|
|
2926
|
+
}), Vg = async (t, a = {}) => {
|
|
2914
2927
|
const s = await qa.findOne({ guildId: t }, a);
|
|
2915
|
-
return s ||
|
|
2928
|
+
return s || nu(t);
|
|
2916
2929
|
};
|
|
2917
2930
|
class se {
|
|
2918
2931
|
constructor() {
|
|
@@ -2971,7 +2984,7 @@ class se {
|
|
|
2971
2984
|
return !1;
|
|
2972
2985
|
}
|
|
2973
2986
|
}
|
|
2974
|
-
class
|
|
2987
|
+
class iu extends se {
|
|
2975
2988
|
constructor({
|
|
2976
2989
|
name: a,
|
|
2977
2990
|
price: s,
|
|
@@ -2988,7 +3001,7 @@ class nu extends se {
|
|
|
2988
3001
|
return !0;
|
|
2989
3002
|
}
|
|
2990
3003
|
}
|
|
2991
|
-
class
|
|
3004
|
+
class lu extends se {
|
|
2992
3005
|
constructor({
|
|
2993
3006
|
name: a,
|
|
2994
3007
|
price: s,
|
|
@@ -3005,7 +3018,7 @@ class iu extends se {
|
|
|
3005
3018
|
return !0;
|
|
3006
3019
|
}
|
|
3007
3020
|
}
|
|
3008
|
-
class
|
|
3021
|
+
class ou extends se {
|
|
3009
3022
|
constructor({
|
|
3010
3023
|
name: a,
|
|
3011
3024
|
price: s,
|
|
@@ -3022,7 +3035,7 @@ class lu extends se {
|
|
|
3022
3035
|
return !0;
|
|
3023
3036
|
}
|
|
3024
3037
|
}
|
|
3025
|
-
class
|
|
3038
|
+
class du extends se {
|
|
3026
3039
|
constructor({
|
|
3027
3040
|
name: a,
|
|
3028
3041
|
price: s,
|
|
@@ -3039,7 +3052,7 @@ class ou extends se {
|
|
|
3039
3052
|
return !0;
|
|
3040
3053
|
}
|
|
3041
3054
|
}
|
|
3042
|
-
class
|
|
3055
|
+
class cu extends se {
|
|
3043
3056
|
constructor({
|
|
3044
3057
|
name: a,
|
|
3045
3058
|
price: s,
|
|
@@ -3064,7 +3077,7 @@ class du extends se {
|
|
|
3064
3077
|
return !0;
|
|
3065
3078
|
}
|
|
3066
3079
|
}
|
|
3067
|
-
class
|
|
3080
|
+
class uu extends se {
|
|
3068
3081
|
constructor({
|
|
3069
3082
|
name: a,
|
|
3070
3083
|
price: s,
|
|
@@ -3081,7 +3094,7 @@ class cu extends se {
|
|
|
3081
3094
|
return !0;
|
|
3082
3095
|
}
|
|
3083
3096
|
}
|
|
3084
|
-
class
|
|
3097
|
+
class fu extends se {
|
|
3085
3098
|
constructor({
|
|
3086
3099
|
name: a,
|
|
3087
3100
|
price: s,
|
|
@@ -3098,7 +3111,7 @@ class uu extends se {
|
|
|
3098
3111
|
return !0;
|
|
3099
3112
|
}
|
|
3100
3113
|
}
|
|
3101
|
-
class
|
|
3114
|
+
class pu extends se {
|
|
3102
3115
|
constructor({
|
|
3103
3116
|
name: a,
|
|
3104
3117
|
price: s,
|
|
@@ -3115,7 +3128,7 @@ class fu extends se {
|
|
|
3115
3128
|
return !0;
|
|
3116
3129
|
}
|
|
3117
3130
|
}
|
|
3118
|
-
class
|
|
3131
|
+
class mu extends se {
|
|
3119
3132
|
constructor({
|
|
3120
3133
|
name: a,
|
|
3121
3134
|
price: s,
|
|
@@ -3137,35 +3150,35 @@ const zr = (t, a) => {
|
|
|
3137
3150
|
if (s) {
|
|
3138
3151
|
const { name: r, price: n, size: i, currency: d } = s, c = zs(s.entityId);
|
|
3139
3152
|
if (pi(c))
|
|
3140
|
-
return new
|
|
3153
|
+
return new iu({ name: r, price: n, item: c, size: i, currency: d });
|
|
3141
3154
|
if (mi(c))
|
|
3142
|
-
return new
|
|
3155
|
+
return new mu({ name: r, price: n, item: c, size: i, currency: d });
|
|
3143
3156
|
if (hi(c))
|
|
3144
|
-
return new
|
|
3157
|
+
return new ou({ name: r, price: n, item: c, size: i, currency: d });
|
|
3145
3158
|
if (yi(c))
|
|
3146
|
-
return new
|
|
3159
|
+
return new lu({ name: r, price: n, item: c, size: i, currency: d });
|
|
3147
3160
|
if (gi(c))
|
|
3148
|
-
return new uu({ name: r, price: n, item: c, size: i, currency: d });
|
|
3149
|
-
if (wi(c))
|
|
3150
3161
|
return new fu({ name: r, price: n, item: c, size: i, currency: d });
|
|
3162
|
+
if (wi(c))
|
|
3163
|
+
return new pu({ name: r, price: n, item: c, size: i, currency: d });
|
|
3151
3164
|
if (_i(c))
|
|
3152
|
-
return new ou({ name: r, price: n, item: c, size: i, currency: d });
|
|
3153
|
-
if (bi(c))
|
|
3154
3165
|
return new du({ name: r, price: n, item: c, size: i, currency: d });
|
|
3166
|
+
if (bi(c))
|
|
3167
|
+
return new cu({ name: r, price: n, item: c, size: i, currency: d });
|
|
3155
3168
|
if (Mi(c))
|
|
3156
|
-
return new
|
|
3169
|
+
return new uu({ name: r, price: n, size: i, item: c, currency: d });
|
|
3157
3170
|
}
|
|
3158
|
-
},
|
|
3171
|
+
}, hu = (t) => {
|
|
3159
3172
|
const a = [];
|
|
3160
3173
|
for (const { entityId: s } of t.items) {
|
|
3161
3174
|
const r = zr(t, s);
|
|
3162
3175
|
r && a.push(r);
|
|
3163
3176
|
}
|
|
3164
3177
|
return a;
|
|
3165
|
-
},
|
|
3178
|
+
}, zg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3166
3179
|
__proto__: null,
|
|
3167
3180
|
getShopItem: zr,
|
|
3168
|
-
getShopItemList:
|
|
3181
|
+
getShopItemList: hu
|
|
3169
3182
|
}, Symbol.toStringTag, { value: "Module" })), Xr = new b(
|
|
3170
3183
|
{
|
|
3171
3184
|
shopType: { type: String, required: !0, unique: !0 },
|
|
@@ -3196,13 +3209,13 @@ const zr = (t, a) => {
|
|
|
3196
3209
|
);
|
|
3197
3210
|
Xr.index({ shopType: 1 });
|
|
3198
3211
|
var Rs;
|
|
3199
|
-
const Va = ((Rs = T) == null ? void 0 : Rs.Shop) || F("Shop", Xr),
|
|
3212
|
+
const Va = ((Rs = T) == null ? void 0 : Rs.Shop) || F("Shop", Xr), yu = async (t, a) => {
|
|
3200
3213
|
await Zr({ shopType: t }, a, !0);
|
|
3201
3214
|
}, za = async (t, a) => {
|
|
3202
3215
|
await Zr({ _id: t }, a, !0);
|
|
3203
3216
|
}, Zr = async (t, a, s = !1) => {
|
|
3204
3217
|
await Va.updateOne(t, a, { upsert: s });
|
|
3205
|
-
},
|
|
3218
|
+
}, gu = async (t, a, s) => {
|
|
3206
3219
|
await za(t, {
|
|
3207
3220
|
$inc: {
|
|
3208
3221
|
"stats.berrySpent": a.price * s,
|
|
@@ -3212,40 +3225,40 @@ const Va = ((Rs = T) == null ? void 0 : Rs.Shop) || F("Shop", Xr), hu = async (t
|
|
|
3212
3225
|
"stats.boostTimeBought": a.isBoostXp() ? a.data.id === "boost_xp_day" ? s : 7 * s : 0
|
|
3213
3226
|
}
|
|
3214
3227
|
});
|
|
3215
|
-
},
|
|
3228
|
+
}, wu = async (t, a, s, r) => {
|
|
3216
3229
|
const n = a.map((i) => (i.name === s.name && i.size && (i.size -= r), i));
|
|
3217
3230
|
await za(t, {
|
|
3218
3231
|
$set: {
|
|
3219
3232
|
items: n
|
|
3220
3233
|
}
|
|
3221
3234
|
});
|
|
3222
|
-
},
|
|
3235
|
+
}, _u = async (t) => {
|
|
3223
3236
|
await za(t, {
|
|
3224
3237
|
$set: {
|
|
3225
3238
|
publishedAt: /* @__PURE__ */ new Date()
|
|
3226
3239
|
}
|
|
3227
3240
|
});
|
|
3228
|
-
},
|
|
3229
|
-
await
|
|
3241
|
+
}, bu = async (t, a) => {
|
|
3242
|
+
await yu(t, {
|
|
3230
3243
|
$set: {
|
|
3231
3244
|
items: [...a]
|
|
3232
3245
|
}
|
|
3233
3246
|
});
|
|
3234
|
-
},
|
|
3247
|
+
}, Xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3235
3248
|
__proto__: null,
|
|
3236
|
-
buyShopItem:
|
|
3237
|
-
publish:
|
|
3238
|
-
setShopItems:
|
|
3239
|
-
updateShopStats:
|
|
3240
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3249
|
+
buyShopItem: wu,
|
|
3250
|
+
publish: _u,
|
|
3251
|
+
setShopItems: bu,
|
|
3252
|
+
updateShopStats: gu
|
|
3253
|
+
}, Symbol.toStringTag, { value: "Module" })), Mu = (t) => Va.create({
|
|
3241
3254
|
shopType: t
|
|
3242
|
-
}),
|
|
3243
|
-
const s = await
|
|
3244
|
-
return s || await
|
|
3245
|
-
},
|
|
3255
|
+
}), Zg = async (t, a = {}) => {
|
|
3256
|
+
const s = await ku({ shopType: t }, a);
|
|
3257
|
+
return s || await Mu(t);
|
|
3258
|
+
}, ku = (t, a = {}) => Va.findOne(t, a), vu = (t, a) => t.commands[a], xu = (t, a) => t.raid[a], Jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3246
3259
|
__proto__: null,
|
|
3247
|
-
getCommandCooldown:
|
|
3248
|
-
getRaidCooldown:
|
|
3260
|
+
getCommandCooldown: vu,
|
|
3261
|
+
getRaidCooldown: xu
|
|
3249
3262
|
}, Symbol.toStringTag, { value: "Module" })), Xa = new b(
|
|
3250
3263
|
{
|
|
3251
3264
|
user: {
|
|
@@ -3261,10 +3274,10 @@ const Va = ((Rs = T) == null ? void 0 : Rs.Shop) || F("Shop", Xr), hu = async (t
|
|
|
3261
3274
|
Xa.index({ user: 1 });
|
|
3262
3275
|
Xa.index({ date: -1 });
|
|
3263
3276
|
var $s;
|
|
3264
|
-
const qe = (($s = T) == null ? void 0 : $s.Reminder) || F("Reminder", Xa),
|
|
3277
|
+
const qe = (($s = T) == null ? void 0 : $s.Reminder) || F("Reminder", Xa), Su = async () => await qe.find({ date: { $lte: /* @__PURE__ */ new Date() } }), Kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3265
3278
|
__proto__: null,
|
|
3266
|
-
getAllPassedReminder:
|
|
3267
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3279
|
+
getAllPassedReminder: Su
|
|
3280
|
+
}, Symbol.toStringTag, { value: "Module" })), Uu = async (t, a) => {
|
|
3268
3281
|
await qe.deleteOne({ user: t, type: a });
|
|
3269
3282
|
}, Jr = async (t, a, s, r) => {
|
|
3270
3283
|
await qe.updateOne({ user: t, type: a }, s, {
|
|
@@ -3287,24 +3300,24 @@ const qe = (($s = T) == null ? void 0 : $s.Reminder) || F("Reminder", Xa), xu =
|
|
|
3287
3300
|
],
|
|
3288
3301
|
!1
|
|
3289
3302
|
);
|
|
3290
|
-
},
|
|
3291
|
-
await
|
|
3292
|
-
},
|
|
3303
|
+
}, Ou = async (t, a) => {
|
|
3304
|
+
await Uu(t, a);
|
|
3305
|
+
}, Du = async (t) => {
|
|
3293
3306
|
await qe.deleteMany({ _id: { $in: t } });
|
|
3294
|
-
},
|
|
3307
|
+
}, ew = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3295
3308
|
__proto__: null,
|
|
3296
3309
|
addReminder: Za,
|
|
3297
|
-
deleteSelectedReminders:
|
|
3298
|
-
removeReminder:
|
|
3310
|
+
deleteSelectedReminders: Du,
|
|
3311
|
+
removeReminder: Ou,
|
|
3299
3312
|
updateReminderDate: ha
|
|
3300
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3313
|
+
}, Symbol.toStringTag, { value: "Module" })), tw = async (t, a = {}) => {
|
|
3301
3314
|
const s = await qe.findOne({ user: t }, a);
|
|
3302
3315
|
return s || null;
|
|
3303
|
-
},
|
|
3316
|
+
}, aw = async (t, a, s) => await qe.create({
|
|
3304
3317
|
user: t,
|
|
3305
3318
|
date: a,
|
|
3306
3319
|
type: s
|
|
3307
|
-
}),
|
|
3320
|
+
}), Cu = (t, a) => {
|
|
3308
3321
|
const s = qr(
|
|
3309
3322
|
Object.values(t.equippedItems)
|
|
3310
3323
|
), r = a.equipments.filter(
|
|
@@ -3333,11 +3346,11 @@ const qe = (($s = T) == null ? void 0 : $s.Reminder) || F("Reminder", Xa), xu =
|
|
|
3333
3346
|
));
|
|
3334
3347
|
}
|
|
3335
3348
|
for (const r of Zs) {
|
|
3336
|
-
const n =
|
|
3349
|
+
const n = Cu(t, r);
|
|
3337
3350
|
n && !("target" in n) && (a = ma(a, n, (i, d) => i + d));
|
|
3338
3351
|
}
|
|
3339
3352
|
return a;
|
|
3340
|
-
},
|
|
3353
|
+
}, Bu = (t, a) => {
|
|
3341
3354
|
let s = 1 / 0;
|
|
3342
3355
|
for (const r of a)
|
|
3343
3356
|
s = Math.min(
|
|
@@ -3345,52 +3358,52 @@ const qe = (($s = T) == null ? void 0 : $s.Reminder) || F("Reminder", Xa), xu =
|
|
|
3345
3358
|
Math.floor((t.itemList.get(r.itemId) || 0) / r.size)
|
|
3346
3359
|
);
|
|
3347
3360
|
return s;
|
|
3348
|
-
},
|
|
3361
|
+
}, Ru = (t, a, s) => {
|
|
3349
3362
|
for (const r of a)
|
|
3350
3363
|
if ((t.itemList.get(r.itemId) || 0) < r.size * s)
|
|
3351
3364
|
return !1;
|
|
3352
3365
|
return !0;
|
|
3353
|
-
},
|
|
3366
|
+
}, $u = (t, a) => Ga(a).reduce(
|
|
3354
3367
|
(s, [r, n]) => s && (t.itemList.get(r) ?? 0) >= (n ?? 0),
|
|
3355
3368
|
!0
|
|
3356
|
-
),
|
|
3369
|
+
), Tu = (t, a) => (t.itemList.get("tools") || 0) >= a, Fu = (t, a) => (t.itemList.get("enchanted_stone") || 0) >= a, Eu = (t, a, s) => (t.itemList.get(s) || 0) >= a, Yu = (t) => Object.fromEntries(t.itemList), Iu = (t, { buffs: a }) => {
|
|
3357
3370
|
const s = Rt(t.equippedItems).find(
|
|
3358
3371
|
([r, n]) => r.id === "herbalist" && n !== null
|
|
3359
3372
|
);
|
|
3360
3373
|
return s && s[1] === "full" ? a.map((r) => ({ ...r, multiplier: r.multiplier * 1.25 })) : s && s[1] === "half" ? a.map((r) => ({ ...r, multiplier: r.multiplier * 1.1 })) : a;
|
|
3361
|
-
},
|
|
3374
|
+
}, Au = (t) => {
|
|
3362
3375
|
const a = Rt(t.equippedItems).find(
|
|
3363
3376
|
([s, r]) => s.id === "marine" && r !== null
|
|
3364
3377
|
);
|
|
3365
3378
|
return a && a[1] === "full" ? 10 : a && a[1] === "half" ? 20 : 1 / 0;
|
|
3366
|
-
},
|
|
3379
|
+
}, Pu = (t) => {
|
|
3367
3380
|
const a = Rt(t.equippedItems).find(
|
|
3368
3381
|
([s, r]) => s.id === "revolutionary" && r !== null
|
|
3369
3382
|
);
|
|
3370
3383
|
return (a == null ? void 0 : a[1]) ?? null;
|
|
3371
|
-
},
|
|
3384
|
+
}, Nu = (t, a) => {
|
|
3372
3385
|
const s = Rt(t.equippedItems).find(
|
|
3373
3386
|
([r, n]) => r.id === "little_blacksmith" && n !== null
|
|
3374
3387
|
);
|
|
3375
3388
|
return (s == null ? void 0 : s[1]) === "full" && a === "chest_3" ? "chest_blacksmith_3" : (s == null ? void 0 : s[1]) === "half" && a === "chest_2" ? "chest_blacksmith_2" : (s == null ? void 0 : s[1]) === "half" && a === "chest_1" ? "chest_blacksmith_1" : a;
|
|
3376
|
-
},
|
|
3389
|
+
}, sw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3377
3390
|
__proto__: null,
|
|
3378
|
-
calcBottleMultiplier:
|
|
3379
|
-
calcMinStreakForWorkLoot:
|
|
3380
|
-
getItemList:
|
|
3381
|
-
getRecipeResult:
|
|
3391
|
+
calcBottleMultiplier: Iu,
|
|
3392
|
+
calcMinStreakForWorkLoot: Au,
|
|
3393
|
+
getItemList: Yu,
|
|
3394
|
+
getRecipeResult: Nu,
|
|
3382
3395
|
getUserEquipmentsCharacteristics: Ja,
|
|
3383
|
-
hasEnoughEnchantedStone:
|
|
3384
|
-
hasEnoughItem:
|
|
3385
|
-
hasEnoughItemsForRecipe:
|
|
3386
|
-
hasEnoughTools:
|
|
3387
|
-
hasInventoryRequirements:
|
|
3388
|
-
hasRevolutionaryBuff:
|
|
3389
|
-
maxCraftQuantity:
|
|
3390
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3396
|
+
hasEnoughEnchantedStone: Fu,
|
|
3397
|
+
hasEnoughItem: Eu,
|
|
3398
|
+
hasEnoughItemsForRecipe: Ru,
|
|
3399
|
+
hasEnoughTools: Tu,
|
|
3400
|
+
hasInventoryRequirements: $u,
|
|
3401
|
+
hasRevolutionaryBuff: Pu,
|
|
3402
|
+
maxCraftQuantity: Bu
|
|
3403
|
+
}, Symbol.toStringTag, { value: "Module" })), Lu = (t, a) => t.encyclopedia.includes(a), ju = (t) => t.encyclopedia, rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3391
3404
|
__proto__: null,
|
|
3392
|
-
getEncyclopedia:
|
|
3393
|
-
hasFoundItem:
|
|
3405
|
+
getEncyclopedia: ju,
|
|
3406
|
+
hasFoundItem: Lu
|
|
3394
3407
|
}, Symbol.toStringTag, { value: "Module" })), Kr = new b({
|
|
3395
3408
|
user: {
|
|
3396
3409
|
type: b.Types.ObjectId,
|
|
@@ -3402,23 +3415,23 @@ const qe = (($s = T) == null ? void 0 : $s.Reminder) || F("Reminder", Xa), xu =
|
|
|
3402
3415
|
});
|
|
3403
3416
|
Kr.index({ user: 1 });
|
|
3404
3417
|
var Ts;
|
|
3405
|
-
const Ht = ((Ts = T) == null ? void 0 : Ts.UserEncyclopedia) || F("UserEncyclopedia", Kr),
|
|
3418
|
+
const Ht = ((Ts = T) == null ? void 0 : Ts.UserEncyclopedia) || F("UserEncyclopedia", Kr), Hu = async (t, a) => {
|
|
3406
3419
|
await Ht.updateOne({ user: t }, a, {
|
|
3407
3420
|
upsert: !0
|
|
3408
3421
|
});
|
|
3409
3422
|
}, Qt = async (t, a) => {
|
|
3410
|
-
await
|
|
3423
|
+
await Hu(t, {
|
|
3411
3424
|
$addToSet: { encyclopedia: { $each: a } }
|
|
3412
3425
|
});
|
|
3413
|
-
},
|
|
3426
|
+
}, nw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3414
3427
|
__proto__: null,
|
|
3415
3428
|
addItem: Qt
|
|
3416
3429
|
}, Symbol.toStringTag, { value: "Module" })), en = async (t) => await Ht.create({
|
|
3417
3430
|
user: t
|
|
3418
|
-
}),
|
|
3431
|
+
}), iw = async (t) => {
|
|
3419
3432
|
const a = await Ht.findOne({ user: t });
|
|
3420
3433
|
return a || await en(t);
|
|
3421
|
-
},
|
|
3434
|
+
}, Qu = [
|
|
3422
3435
|
"crewUpdate",
|
|
3423
3436
|
"crewQuestUpdate",
|
|
3424
3437
|
"userMetaUpdate",
|
|
@@ -3431,8 +3444,8 @@ const Ht = ((Ts = T) == null ? void 0 : Ts.UserEncyclopedia) || F("UserEncyclope
|
|
|
3431
3444
|
"userChristmasUpdate"
|
|
3432
3445
|
], tn = new Ri.EventEmitter(), ce = (t, a, s) => {
|
|
3433
3446
|
tn.emit(t, a, s);
|
|
3434
|
-
},
|
|
3435
|
-
for (const a of
|
|
3447
|
+
}, lw = (t) => {
|
|
3448
|
+
for (const a of Qu)
|
|
3436
3449
|
tn.on(a, (s, r) => {
|
|
3437
3450
|
t(a, s, r);
|
|
3438
3451
|
});
|
|
@@ -3457,7 +3470,7 @@ class o {
|
|
|
3457
3470
|
const d = s ?? await Gn(a);
|
|
3458
3471
|
if (this.isCompleted(d) && !this.repeatable)
|
|
3459
3472
|
return null;
|
|
3460
|
-
const c = n ?? await Wt(a), f = r ?? await
|
|
3473
|
+
const c = n ?? await Wt(a), f = r ?? await m0(a), w = i ?? await qt(a);
|
|
3461
3474
|
return this.crew && f ? this.daily ? await this.markCrewDailyAsCompleted(
|
|
3462
3475
|
f.crew._id,
|
|
3463
3476
|
d.user._id
|
|
@@ -3517,7 +3530,7 @@ class o {
|
|
|
3517
3530
|
);
|
|
3518
3531
|
}
|
|
3519
3532
|
}
|
|
3520
|
-
class
|
|
3533
|
+
class Wu extends o {
|
|
3521
3534
|
constructor() {
|
|
3522
3535
|
super(...arguments);
|
|
3523
3536
|
e(this, "name", "Bienvenue à bord !");
|
|
@@ -3535,7 +3548,7 @@ class Qu extends o {
|
|
|
3535
3548
|
e(this, "crew", !1);
|
|
3536
3549
|
}
|
|
3537
3550
|
}
|
|
3538
|
-
class
|
|
3551
|
+
class Gu extends o {
|
|
3539
3552
|
constructor() {
|
|
3540
3553
|
super(...arguments);
|
|
3541
3554
|
e(this, "name", "Prêt à naviguer !");
|
|
@@ -3553,12 +3566,12 @@ class Wu extends o {
|
|
|
3553
3566
|
e(this, "isFactionBadge", !1);
|
|
3554
3567
|
}
|
|
3555
3568
|
}
|
|
3556
|
-
const
|
|
3569
|
+
const qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3557
3570
|
__proto__: null,
|
|
3558
|
-
CrewCreateOrJoin:
|
|
3559
|
-
CrewValidateDaily:
|
|
3571
|
+
CrewCreateOrJoin: Wu,
|
|
3572
|
+
CrewValidateDaily: Gu
|
|
3560
3573
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3561
|
-
class
|
|
3574
|
+
class Vu extends o {
|
|
3562
3575
|
constructor() {
|
|
3563
3576
|
super(...arguments);
|
|
3564
3577
|
e(this, "name", "1 jour 1 message");
|
|
@@ -3576,7 +3589,7 @@ class qu extends o {
|
|
|
3576
3589
|
e(this, "title", null);
|
|
3577
3590
|
}
|
|
3578
3591
|
}
|
|
3579
|
-
class
|
|
3592
|
+
class zu extends o {
|
|
3580
3593
|
constructor() {
|
|
3581
3594
|
super(...arguments);
|
|
3582
3595
|
e(this, "name", "Les nouvelles sont bonnes ?");
|
|
@@ -3594,7 +3607,7 @@ class Vu extends o {
|
|
|
3594
3607
|
e(this, "title", null);
|
|
3595
3608
|
}
|
|
3596
3609
|
}
|
|
3597
|
-
class
|
|
3610
|
+
class Xu extends o {
|
|
3598
3611
|
constructor() {
|
|
3599
3612
|
super(...arguments);
|
|
3600
3613
|
e(this, "name", "Quoi ? Feur !");
|
|
@@ -3612,7 +3625,7 @@ class zu extends o {
|
|
|
3612
3625
|
e(this, "title", null);
|
|
3613
3626
|
}
|
|
3614
3627
|
}
|
|
3615
|
-
class
|
|
3628
|
+
class Zu extends o {
|
|
3616
3629
|
constructor() {
|
|
3617
3630
|
super(...arguments);
|
|
3618
3631
|
e(this, "name", "Narcissique");
|
|
@@ -3630,7 +3643,7 @@ class Xu extends o {
|
|
|
3630
3643
|
e(this, "title", null);
|
|
3631
3644
|
}
|
|
3632
3645
|
}
|
|
3633
|
-
class
|
|
3646
|
+
class Ju extends o {
|
|
3634
3647
|
constructor() {
|
|
3635
3648
|
super(...arguments);
|
|
3636
3649
|
e(this, "name", "Almanax");
|
|
@@ -3650,12 +3663,12 @@ class Zu extends o {
|
|
|
3650
3663
|
}
|
|
3651
3664
|
const an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3652
3665
|
__proto__: null,
|
|
3653
|
-
Almanax:
|
|
3654
|
-
DailyAnswer:
|
|
3655
|
-
DailyCheckProfile:
|
|
3656
|
-
DailyReadEdito:
|
|
3657
|
-
DailySendMessage:
|
|
3658
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3666
|
+
Almanax: Ju,
|
|
3667
|
+
DailyAnswer: Xu,
|
|
3668
|
+
DailyCheckProfile: Zu,
|
|
3669
|
+
DailyReadEdito: zu,
|
|
3670
|
+
DailySendMessage: Vu
|
|
3671
|
+
}, Symbol.toStringTag, { value: "Module" })), ow = async (t, a, s, { berry: r, xp: n }) => {
|
|
3659
3672
|
const i = await Gn(a).then(
|
|
3660
3673
|
(Y) => Y.populate("user", "faction")
|
|
3661
3674
|
), d = es(i), c = on(
|
|
@@ -3665,39 +3678,39 @@ const an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3665
3678
|
badge: f,
|
|
3666
3679
|
isFactionBadge: w,
|
|
3667
3680
|
title: O,
|
|
3668
|
-
rank:
|
|
3681
|
+
rank: N,
|
|
3669
3682
|
name: Q,
|
|
3670
3683
|
description: ii,
|
|
3671
3684
|
daily: yt,
|
|
3672
3685
|
secret: li
|
|
3673
3686
|
} = t;
|
|
3674
|
-
return s.Image().setImageName(`quest_success_${
|
|
3675
|
-
ga(f) ? `cropped_badge_${f.img}_${
|
|
3676
|
-
).setOrigin(Xe.CENTER).setScale(2).setPosition(370, 318).draw() : w && i.user.faction !== "citizen" ? s.Image().setImageName(`cropped_badge_${i.user.faction}_${
|
|
3687
|
+
return s.Image().setImageName(`quest_success_${N.id}`).setDimensions(2080, 636).draw(), f ? s.Image().setImageName(
|
|
3688
|
+
ga(f) ? `cropped_badge_${f.img}_${N.id}` : `cropped_badge_${f.img}`
|
|
3689
|
+
).setOrigin(Xe.CENTER).setScale(2).setPosition(370, 318).draw() : w && i.user.faction !== "citizen" ? s.Image().setImageName(`cropped_badge_${i.user.faction}_${N.id}`).setOrigin(Xe.CENTER).setScale(2).setPosition(370, 318).draw() : s.Image().setImageName(`badge_default_${N.id}`).setScale(2).setOrigin(Xe.CENTER).setPosition(370, 318).draw(), s.Text(yt ? "QUÊTE JOURNALIÈRE TERMINÉE !" : "SUCCÈS DÉBLOQUÉ !").setPosition(739, 100).setFont("text", 70).setColor(N.color).draw(), s.Text(Q).setPosition(739, 325).setOrigin(Xe.BOTTOM_LEFT).setFont("poppins", Q.length >= 35 ? 65 - (Q.length - 35) : 65).draw(), s.Text(li ? "Succès caché" : ii).setPosition(739, 360).setFont("poppins_italic", 35).draw(), s.Text(
|
|
3677
3690
|
`Récompenses: ${_t(r)}${yt && d > 1 ? ` (+${_t(r * (d - 1))})` : ""} `
|
|
3678
|
-
).setPosition(739, 520).setFont("poppins", 35).setOrigin(Xe.LEFT).draw(r !== 0).next((Y,
|
|
3679
|
-
(Y,
|
|
3691
|
+
).setPosition(739, 520).setFont("poppins", 35).setOrigin(Xe.LEFT).draw(r !== 0).next((Y, L) => ue(Y.Image(), L)).setImageName("quest_berry").setDimensions(50, 79).draw(r !== 0).next(
|
|
3692
|
+
(Y, L) => ue(
|
|
3680
3693
|
Y.Text(
|
|
3681
3694
|
` / ${_t(n)}${yt && d > 1 ? ` (+${_t(n * (d - 1))})` : ""} `
|
|
3682
3695
|
),
|
|
3683
|
-
|
|
3696
|
+
L
|
|
3684
3697
|
)
|
|
3685
|
-
).draw(n !== 0).next((Y,
|
|
3686
|
-
(Y,
|
|
3698
|
+
).draw(n !== 0).next((Y, L) => ue(Y.Image(), L)).setImageName("quest_xp").setDimensions(57, 59).draw(n !== 0).next(
|
|
3699
|
+
(Y, L) => ue(Y.Text(` combo x${d}`), L)
|
|
3687
3700
|
).draw(yt && d > 1).next(
|
|
3688
|
-
(Y,
|
|
3701
|
+
(Y, L) => ue(Y.Text(" et la possibilité "), L)
|
|
3689
3702
|
).draw(w && i.user.faction === "citizen").next(
|
|
3690
|
-
(Y,
|
|
3703
|
+
(Y, L) => ue(Y.Text("de choisir ta faction"), L)
|
|
3691
3704
|
).setFont("poppins_bold", 35).draw(w && i.user.faction === "citizen").next(
|
|
3692
|
-
(Y,
|
|
3705
|
+
(Y, L) => ue(Y.Text(" et le titre "), L)
|
|
3693
3706
|
).setFont("poppins", 35).draw(
|
|
3694
3707
|
!!O || w && i.user.faction !== "citizen"
|
|
3695
3708
|
).next(
|
|
3696
|
-
(Y,
|
|
3709
|
+
(Y, L) => ue(Y.Text((O == null ? void 0 : O.name) ?? ""), L)
|
|
3697
3710
|
).setFont("poppins_bold", 35).setColor((O == null ? void 0 : O.rank.color) ?? "white").draw(!!O).next(
|
|
3698
|
-
(Y,
|
|
3711
|
+
(Y, L) => ue(Y.Text((c == null ? void 0 : c.name) ?? ""), L)
|
|
3699
3712
|
).setColor((c == null ? void 0 : c.rank.color) ?? "white").draw(w && !!c), await s.encode("webp");
|
|
3700
|
-
},
|
|
3713
|
+
}, dw = 10, cw = 1e7, uw = 100, fw = [
|
|
3701
3714
|
"berry",
|
|
3702
3715
|
"success_COMMON",
|
|
3703
3716
|
"success_RARE",
|
|
@@ -3705,7 +3718,7 @@ const an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3705
3718
|
"success_LEGENDARY",
|
|
3706
3719
|
"success_MYTHIC",
|
|
3707
3720
|
"xp"
|
|
3708
|
-
],
|
|
3721
|
+
], Ku = {
|
|
3709
3722
|
factions: {
|
|
3710
3723
|
b_citizen_COMMON: "<:BasiqueOPFRbois:1175507882188484761>",
|
|
3711
3724
|
b_citizen_RARE: "<:BasiqueOPFRargent:1175507880724668488>",
|
|
@@ -3735,8 +3748,8 @@ const an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3735
3748
|
return !0;
|
|
3736
3749
|
}
|
|
3737
3750
|
return !1;
|
|
3738
|
-
},
|
|
3739
|
-
for (const a of Object.values(
|
|
3751
|
+
}, ef = (t) => {
|
|
3752
|
+
for (const a of Object.values(Wh)) {
|
|
3740
3753
|
const s = new a();
|
|
3741
3754
|
if (s.id === t)
|
|
3742
3755
|
return s.name;
|
|
@@ -3753,24 +3766,24 @@ const an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3753
3766
|
return Ti.find(
|
|
3754
3767
|
(r) => r.strength === s && r.faction === a
|
|
3755
3768
|
);
|
|
3756
|
-
},
|
|
3769
|
+
}, pw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3757
3770
|
__proto__: null,
|
|
3758
3771
|
getFactionTitle: on,
|
|
3759
3772
|
getFactionTitleStrength: ln,
|
|
3760
|
-
getQuestName:
|
|
3773
|
+
getQuestName: ef,
|
|
3761
3774
|
getStreakMultiplier: es,
|
|
3762
3775
|
isDailyQuestCompleted: nn,
|
|
3763
3776
|
isQuestCompleted: sn,
|
|
3764
3777
|
isRepetableQuestExist: rn,
|
|
3765
3778
|
isStreaking: Ka
|
|
3766
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3779
|
+
}, Symbol.toStringTag, { value: "Module" })), mw = (t, a) => {
|
|
3767
3780
|
const s = t.badge, r = t.isFactionBadge;
|
|
3768
|
-
return s ? ga(s) ? s.emojis[s.isProgressive.findIndex((n) => n === t.rank.id)] : s.emojis : r ?
|
|
3769
|
-
},
|
|
3781
|
+
return s ? ga(s) ? s.emojis[s.isProgressive.findIndex((n) => n === t.rank.id)] : s.emojis : r ? Ku.factions[`b_${a}_${t.rank.id}`] : "";
|
|
3782
|
+
}, hw = (t) => {
|
|
3770
3783
|
const [a, s] = t.split("_"), r = Object.values(p).find((n) => n.id === a);
|
|
3771
3784
|
if (r)
|
|
3772
3785
|
return ga(r) ? r.emojis[r.isProgressive.findIndex((n) => n === s)] : r.emojis;
|
|
3773
|
-
},
|
|
3786
|
+
}, yw = async (t, a) => {
|
|
3774
3787
|
const s = Object.values(an).find(
|
|
3775
3788
|
(r) => new r().id === t
|
|
3776
3789
|
);
|
|
@@ -3778,15 +3791,15 @@ const an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3778
3791
|
const r = new s(), n = await r.complete(a, {});
|
|
3779
3792
|
n && ce("userDaily", a, [[r, n]]);
|
|
3780
3793
|
}
|
|
3781
|
-
},
|
|
3782
|
-
const s = Object.values(
|
|
3794
|
+
}, gw = async (t, a) => {
|
|
3795
|
+
const s = Object.values(qu).find(
|
|
3783
3796
|
(r) => new r().id === t
|
|
3784
3797
|
);
|
|
3785
3798
|
if (s) {
|
|
3786
3799
|
const r = new s(), n = await r.complete(a, {});
|
|
3787
3800
|
n && ce("crewDaily", a, [[r, n]]);
|
|
3788
3801
|
}
|
|
3789
|
-
},
|
|
3802
|
+
}, ww = async (t, a) => {
|
|
3790
3803
|
if (!rn(a)) return;
|
|
3791
3804
|
const s = Object.values(_a).find(
|
|
3792
3805
|
(r) => new r().id === a
|
|
@@ -3796,7 +3809,7 @@ const an = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3796
3809
|
n && ce("userQuestUpdate", t, [[r, n]]);
|
|
3797
3810
|
}
|
|
3798
3811
|
};
|
|
3799
|
-
class
|
|
3812
|
+
class tf extends o {
|
|
3800
3813
|
constructor() {
|
|
3801
3814
|
super(...arguments);
|
|
3802
3815
|
e(this, "name", "L'Insistant");
|
|
@@ -3815,7 +3828,7 @@ class ef extends o {
|
|
|
3815
3828
|
e(this, "repeatable", !0);
|
|
3816
3829
|
}
|
|
3817
3830
|
}
|
|
3818
|
-
class
|
|
3831
|
+
class af extends o {
|
|
3819
3832
|
constructor() {
|
|
3820
3833
|
super(...arguments);
|
|
3821
3834
|
e(this, "name", "Résurrection");
|
|
@@ -3834,7 +3847,7 @@ class tf extends o {
|
|
|
3834
3847
|
e(this, "repeatable", !0);
|
|
3835
3848
|
}
|
|
3836
3849
|
}
|
|
3837
|
-
class
|
|
3850
|
+
class sf extends o {
|
|
3838
3851
|
constructor() {
|
|
3839
3852
|
super(...arguments);
|
|
3840
3853
|
e(this, "name", "L'Inarrétable");
|
|
@@ -3863,7 +3876,7 @@ class af extends o {
|
|
|
3863
3876
|
e(this, "repeatable", !0);
|
|
3864
3877
|
}
|
|
3865
3878
|
}
|
|
3866
|
-
class
|
|
3879
|
+
class rf extends o {
|
|
3867
3880
|
constructor() {
|
|
3868
3881
|
super(...arguments);
|
|
3869
3882
|
e(this, "name", "Prenez-en soin");
|
|
@@ -3882,7 +3895,7 @@ class sf extends o {
|
|
|
3882
3895
|
e(this, "onCrewQuestUpdate", (s) => s.meta.streak80Percent >= 7);
|
|
3883
3896
|
}
|
|
3884
3897
|
}
|
|
3885
|
-
class
|
|
3898
|
+
class nf extends o {
|
|
3886
3899
|
constructor() {
|
|
3887
3900
|
super(...arguments);
|
|
3888
3901
|
e(this, "name", "Il est comme neuf !");
|
|
@@ -3901,7 +3914,7 @@ class rf extends o {
|
|
|
3901
3914
|
e(this, "onCrewQuestUpdate", (s) => s.meta.streak80Percent >= 30);
|
|
3902
3915
|
}
|
|
3903
3916
|
}
|
|
3904
|
-
class
|
|
3917
|
+
class lf extends o {
|
|
3905
3918
|
constructor() {
|
|
3906
3919
|
super(...arguments);
|
|
3907
3920
|
e(this, "name", "À l'occasion, je vous mettrai un petit coup de polish");
|
|
@@ -3920,7 +3933,7 @@ class nf extends o {
|
|
|
3920
3933
|
e(this, "onCrewQuestUpdate", (s) => s.meta.streak80Percent >= 30 * 3);
|
|
3921
3934
|
}
|
|
3922
3935
|
}
|
|
3923
|
-
class
|
|
3936
|
+
class of extends o {
|
|
3924
3937
|
constructor() {
|
|
3925
3938
|
super(...arguments);
|
|
3926
3939
|
e(this, "name", "Vous ne naviguez qu'en eau calme ?");
|
|
@@ -3939,7 +3952,7 @@ class lf extends o {
|
|
|
3939
3952
|
e(this, "onCrewQuestUpdate", (s) => s.meta.streak80Percent >= 30 * 6);
|
|
3940
3953
|
}
|
|
3941
3954
|
}
|
|
3942
|
-
class
|
|
3955
|
+
class df extends o {
|
|
3943
3956
|
constructor() {
|
|
3944
3957
|
super(...arguments);
|
|
3945
3958
|
e(this, "name", "C'est un sacré charpentier que vous avez là !");
|
|
@@ -3958,7 +3971,7 @@ class of extends o {
|
|
|
3958
3971
|
e(this, "onCrewQuestUpdate", (s) => s.meta.streak80Percent >= 365);
|
|
3959
3972
|
}
|
|
3960
3973
|
}
|
|
3961
|
-
class
|
|
3974
|
+
class cf extends o {
|
|
3962
3975
|
constructor() {
|
|
3963
3976
|
super(...arguments);
|
|
3964
3977
|
e(this, "name", "Au rapport !");
|
|
@@ -3983,7 +3996,7 @@ class df extends o {
|
|
|
3983
3996
|
});
|
|
3984
3997
|
}
|
|
3985
3998
|
}
|
|
3986
|
-
class
|
|
3999
|
+
class uf extends o {
|
|
3987
4000
|
constructor() {
|
|
3988
4001
|
super(...arguments);
|
|
3989
4002
|
e(this, "name", "Réunion de crise");
|
|
@@ -4002,7 +4015,7 @@ class cf extends o {
|
|
|
4002
4015
|
e(this, "onCrewQuestUpdate", (s) => s.meta.maxVoiceMembers >= 5);
|
|
4003
4016
|
}
|
|
4004
4017
|
}
|
|
4005
|
-
class
|
|
4018
|
+
class ff extends o {
|
|
4006
4019
|
constructor() {
|
|
4007
4020
|
super(...arguments);
|
|
4008
4021
|
e(this, "name", "Conseil de guerre");
|
|
@@ -4021,7 +4034,7 @@ class uf extends o {
|
|
|
4021
4034
|
e(this, "onCrewQuestUpdate", (s) => s.meta.maxVoiceMembers >= 7);
|
|
4022
4035
|
}
|
|
4023
4036
|
}
|
|
4024
|
-
class
|
|
4037
|
+
class pf extends o {
|
|
4025
4038
|
constructor() {
|
|
4026
4039
|
super(...arguments);
|
|
4027
4040
|
e(this, "name", "Réunion de famille");
|
|
@@ -4040,7 +4053,7 @@ class ff extends o {
|
|
|
4040
4053
|
e(this, "onCrewQuestUpdate", (s) => s.meta.maxVoiceMembers >= 10);
|
|
4041
4054
|
}
|
|
4042
4055
|
}
|
|
4043
|
-
class
|
|
4056
|
+
class mf extends o {
|
|
4044
4057
|
constructor() {
|
|
4045
4058
|
super(...arguments);
|
|
4046
4059
|
e(this, "name", "Les Inséparables");
|
|
@@ -4059,7 +4072,7 @@ class pf extends o {
|
|
|
4059
4072
|
e(this, "onCrewQuestUpdate", (s) => s.meta.maxVoiceMembers >= 12);
|
|
4060
4073
|
}
|
|
4061
4074
|
}
|
|
4062
|
-
class
|
|
4075
|
+
class hf extends o {
|
|
4063
4076
|
constructor() {
|
|
4064
4077
|
super(...arguments);
|
|
4065
4078
|
e(this, "name", "Ambiance sectaire un peu");
|
|
@@ -4080,19 +4093,19 @@ class mf extends o {
|
|
|
4080
4093
|
}
|
|
4081
4094
|
const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4082
4095
|
__proto__: null,
|
|
4083
|
-
CrewAllMembersDaily:
|
|
4084
|
-
CrewCarpenter1Month:
|
|
4085
|
-
CrewCarpenter1Week:
|
|
4086
|
-
CrewCarpenter1Year:
|
|
4087
|
-
CrewCarpenter3Months:
|
|
4088
|
-
CrewCarpenter6Months:
|
|
4089
|
-
CrewVocal10:
|
|
4090
|
-
CrewVocal12:
|
|
4091
|
-
CrewVocal15:
|
|
4092
|
-
CrewVocal5:
|
|
4093
|
-
CrewVocal7:
|
|
4096
|
+
CrewAllMembersDaily: cf,
|
|
4097
|
+
CrewCarpenter1Month: nf,
|
|
4098
|
+
CrewCarpenter1Week: rf,
|
|
4099
|
+
CrewCarpenter1Year: df,
|
|
4100
|
+
CrewCarpenter3Months: lf,
|
|
4101
|
+
CrewCarpenter6Months: of,
|
|
4102
|
+
CrewVocal10: pf,
|
|
4103
|
+
CrewVocal12: mf,
|
|
4104
|
+
CrewVocal15: hf,
|
|
4105
|
+
CrewVocal5: uf,
|
|
4106
|
+
CrewVocal7: ff
|
|
4094
4107
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4095
|
-
class
|
|
4108
|
+
class yf extends o {
|
|
4096
4109
|
constructor() {
|
|
4097
4110
|
super(...arguments);
|
|
4098
4111
|
e(this, "name", "Ah bah maintenant, elle va marcher beaucoup moins bien forcément !");
|
|
@@ -4111,7 +4124,7 @@ class hf extends o {
|
|
|
4111
4124
|
e(this, "onCrewUpdate", (s) => s.disintegration <= 0);
|
|
4112
4125
|
}
|
|
4113
4126
|
}
|
|
4114
|
-
class
|
|
4127
|
+
class gf extends o {
|
|
4115
4128
|
constructor() {
|
|
4116
4129
|
super(...arguments);
|
|
4117
4130
|
e(this, "name", "Sympa votre barque");
|
|
@@ -4130,7 +4143,7 @@ class yf extends o {
|
|
|
4130
4143
|
e(this, "onCrewUpdate", (s) => lt(s.meta.xp) >= 10);
|
|
4131
4144
|
}
|
|
4132
4145
|
}
|
|
4133
|
-
class
|
|
4146
|
+
class wf extends o {
|
|
4134
4147
|
constructor() {
|
|
4135
4148
|
super(...arguments);
|
|
4136
4149
|
e(this, "name", "Joli bicoque");
|
|
@@ -4149,7 +4162,7 @@ class gf extends o {
|
|
|
4149
4162
|
e(this, "onCrewUpdate", (s) => lt(s.meta.xp) >= 25);
|
|
4150
4163
|
}
|
|
4151
4164
|
}
|
|
4152
|
-
class
|
|
4165
|
+
class _f extends o {
|
|
4153
4166
|
constructor() {
|
|
4154
4167
|
super(...arguments);
|
|
4155
4168
|
e(this, "name", "* C'est un fameux trois-mâts *");
|
|
@@ -4168,7 +4181,7 @@ class wf extends o {
|
|
|
4168
4181
|
e(this, "onCrewUpdate", (s) => lt(s.meta.xp) >= 50);
|
|
4169
4182
|
}
|
|
4170
4183
|
}
|
|
4171
|
-
class
|
|
4184
|
+
class bf extends o {
|
|
4172
4185
|
constructor() {
|
|
4173
4186
|
super(...arguments);
|
|
4174
4187
|
e(this, "name", "* Fin comme un oiseau *");
|
|
@@ -4187,7 +4200,7 @@ class _f extends o {
|
|
|
4187
4200
|
e(this, "onCrewUpdate", (s) => lt(s.meta.xp) >= 75);
|
|
4188
4201
|
}
|
|
4189
4202
|
}
|
|
4190
|
-
class
|
|
4203
|
+
class Mf extends o {
|
|
4191
4204
|
constructor() {
|
|
4192
4205
|
super(...arguments);
|
|
4193
4206
|
e(this, "name", "* Hisse et ho ! *");
|
|
@@ -4206,7 +4219,7 @@ class bf extends o {
|
|
|
4206
4219
|
e(this, "onCrewUpdate", (s) => lt(s.meta.xp) >= 100);
|
|
4207
4220
|
}
|
|
4208
4221
|
}
|
|
4209
|
-
class
|
|
4222
|
+
class kf extends o {
|
|
4210
4223
|
constructor() {
|
|
4211
4224
|
super(...arguments);
|
|
4212
4225
|
e(this, "name", "Y'a pas de petites économies");
|
|
@@ -4225,7 +4238,7 @@ class Mf extends o {
|
|
|
4225
4238
|
e(this, "onCrewUpdate", (s) => s.meta.berry >= 1e8);
|
|
4226
4239
|
}
|
|
4227
4240
|
}
|
|
4228
|
-
class
|
|
4241
|
+
class vf extends o {
|
|
4229
4242
|
constructor() {
|
|
4230
4243
|
super(...arguments);
|
|
4231
4244
|
e(this, "name", "Joli butin !");
|
|
@@ -4244,7 +4257,7 @@ class kf extends o {
|
|
|
4244
4257
|
e(this, "onCrewUpdate", (s) => s.meta.berry >= 5e8);
|
|
4245
4258
|
}
|
|
4246
4259
|
}
|
|
4247
|
-
class
|
|
4260
|
+
class xf extends o {
|
|
4248
4261
|
constructor() {
|
|
4249
4262
|
super(...arguments);
|
|
4250
4263
|
e(this, "name", "Vous économisez pour un nouveau bateau ?");
|
|
@@ -4263,7 +4276,7 @@ class vf extends o {
|
|
|
4263
4276
|
e(this, "onCrewUpdate", (s) => s.meta.berry >= 1e9);
|
|
4264
4277
|
}
|
|
4265
4278
|
}
|
|
4266
|
-
class
|
|
4279
|
+
class Sf extends o {
|
|
4267
4280
|
constructor() {
|
|
4268
4281
|
super(...arguments);
|
|
4269
4282
|
e(this, "name", "Ça fait beaucoup là non ?");
|
|
@@ -4282,7 +4295,7 @@ class xf extends o {
|
|
|
4282
4295
|
e(this, "onCrewUpdate", (s) => s.meta.berry >= 5e9);
|
|
4283
4296
|
}
|
|
4284
4297
|
}
|
|
4285
|
-
class
|
|
4298
|
+
class Uf extends o {
|
|
4286
4299
|
constructor() {
|
|
4287
4300
|
super(...arguments);
|
|
4288
4301
|
e(this, "name", "Karl Marx serait fier de vous !");
|
|
@@ -4301,7 +4314,7 @@ class Sf extends o {
|
|
|
4301
4314
|
e(this, "onCrewUpdate", (s) => s.meta.berry >= 5e10);
|
|
4302
4315
|
}
|
|
4303
4316
|
}
|
|
4304
|
-
class
|
|
4317
|
+
class Of extends o {
|
|
4305
4318
|
constructor() {
|
|
4306
4319
|
super(...arguments);
|
|
4307
4320
|
e(this, "name", "Plus on est de fous...");
|
|
@@ -4320,7 +4333,7 @@ class Uf extends o {
|
|
|
4320
4333
|
e(this, "onCrewUpdate", (s) => s.members.length >= 5);
|
|
4321
4334
|
}
|
|
4322
4335
|
}
|
|
4323
|
-
class
|
|
4336
|
+
class Df extends o {
|
|
4324
4337
|
constructor() {
|
|
4325
4338
|
super(...arguments);
|
|
4326
4339
|
e(this, "name", "Plus on rit !");
|
|
@@ -4339,7 +4352,7 @@ class Of extends o {
|
|
|
4339
4352
|
e(this, "onCrewUpdate", (s) => s.members.length >= 7);
|
|
4340
4353
|
}
|
|
4341
4354
|
}
|
|
4342
|
-
class
|
|
4355
|
+
class Cf extends o {
|
|
4343
4356
|
constructor() {
|
|
4344
4357
|
super(...arguments);
|
|
4345
4358
|
e(this, "name", "Une petite famille");
|
|
@@ -4358,7 +4371,7 @@ class Df extends o {
|
|
|
4358
4371
|
e(this, "onCrewUpdate", (s) => s.members.length >= 10);
|
|
4359
4372
|
}
|
|
4360
4373
|
}
|
|
4361
|
-
class
|
|
4374
|
+
class Bf extends o {
|
|
4362
4375
|
constructor() {
|
|
4363
4376
|
super(...arguments);
|
|
4364
4377
|
e(this, "name", "Va falloir des dortoirs en plus");
|
|
@@ -4377,7 +4390,7 @@ class Cf extends o {
|
|
|
4377
4390
|
e(this, "onCrewUpdate", (s) => s.members.length >= 12);
|
|
4378
4391
|
}
|
|
4379
4392
|
}
|
|
4380
|
-
class
|
|
4393
|
+
class Rf extends o {
|
|
4381
4394
|
constructor() {
|
|
4382
4395
|
super(...arguments);
|
|
4383
4396
|
e(this, "name", "* Ah qu'est-ce qu'on est serré ! *");
|
|
@@ -4396,7 +4409,7 @@ class Bf extends o {
|
|
|
4396
4409
|
e(this, "onCrewUpdate", (s) => s.members.length >= 15);
|
|
4397
4410
|
}
|
|
4398
4411
|
}
|
|
4399
|
-
class
|
|
4412
|
+
class $f extends o {
|
|
4400
4413
|
constructor() {
|
|
4401
4414
|
super(...arguments);
|
|
4402
4415
|
e(this, "name", "C'est sympa pour eux !");
|
|
@@ -4415,7 +4428,7 @@ class Rf extends o {
|
|
|
4415
4428
|
e(this, "onCrewUpdate", (s, r) => s.stats[r.toHexString()] && s.stats[r.toHexString()].xp >= 5e4);
|
|
4416
4429
|
}
|
|
4417
4430
|
}
|
|
4418
|
-
class
|
|
4431
|
+
class Tf extends o {
|
|
4419
4432
|
constructor() {
|
|
4420
4433
|
super(...arguments);
|
|
4421
4434
|
e(this, "name", "On voit que tu aimes ton équipage");
|
|
@@ -4434,7 +4447,7 @@ class $f extends o {
|
|
|
4434
4447
|
e(this, "onCrewUpdate", (s, r) => s.stats[r.toHexString()] && s.stats[r.toHexString()].xp >= 5e5);
|
|
4435
4448
|
}
|
|
4436
4449
|
}
|
|
4437
|
-
class
|
|
4450
|
+
class Ff extends o {
|
|
4438
4451
|
constructor() {
|
|
4439
4452
|
super(...arguments);
|
|
4440
4453
|
e(this, "name", "Le méritent-ils vraiment ?");
|
|
@@ -4453,7 +4466,7 @@ class Tf extends o {
|
|
|
4453
4466
|
e(this, "onCrewUpdate", (s, r) => s.stats[r.toHexString()] && s.stats[r.toHexString()].xp >= 1e6);
|
|
4454
4467
|
}
|
|
4455
4468
|
}
|
|
4456
|
-
class
|
|
4469
|
+
class Ef extends o {
|
|
4457
4470
|
constructor() {
|
|
4458
4471
|
super(...arguments);
|
|
4459
4472
|
e(this, "name", "J'espère que t'as eu une prime");
|
|
@@ -4472,7 +4485,7 @@ class Ff extends o {
|
|
|
4472
4485
|
e(this, "onCrewUpdate", (s, r) => s.stats[r.toHexString()] && s.stats[r.toHexString()].xp >= 5e6);
|
|
4473
4486
|
}
|
|
4474
4487
|
}
|
|
4475
|
-
class
|
|
4488
|
+
class Yf extends o {
|
|
4476
4489
|
constructor() {
|
|
4477
4490
|
super(...arguments);
|
|
4478
4491
|
e(this, "name", "Qu'on lui fasse une statue de Bronze !");
|
|
@@ -4493,29 +4506,29 @@ class Ef extends o {
|
|
|
4493
4506
|
}
|
|
4494
4507
|
const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4495
4508
|
__proto__: null,
|
|
4496
|
-
CrewBeLevel10:
|
|
4497
|
-
CrewBeLevel100:
|
|
4498
|
-
CrewBeLevel25:
|
|
4499
|
-
CrewBeLevel50:
|
|
4500
|
-
CrewBeLevel75:
|
|
4501
|
-
CrewBreakShip:
|
|
4502
|
-
CrewBring1mXp:
|
|
4503
|
-
CrewBring500kXp:
|
|
4504
|
-
CrewBring50kXp:
|
|
4505
|
-
CrewBring50mXp:
|
|
4506
|
-
CrewBring5mXp:
|
|
4507
|
-
CrewHave100MBerry:
|
|
4508
|
-
CrewHave1MdBerry:
|
|
4509
|
-
CrewHave500MBerry:
|
|
4510
|
-
CrewHave50MdBerry:
|
|
4511
|
-
CrewHave5MdBerry:
|
|
4512
|
-
CrewSize10:
|
|
4513
|
-
CrewSize12:
|
|
4514
|
-
CrewSize15:
|
|
4515
|
-
CrewSize5:
|
|
4516
|
-
CrewSize7:
|
|
4509
|
+
CrewBeLevel10: gf,
|
|
4510
|
+
CrewBeLevel100: Mf,
|
|
4511
|
+
CrewBeLevel25: wf,
|
|
4512
|
+
CrewBeLevel50: _f,
|
|
4513
|
+
CrewBeLevel75: bf,
|
|
4514
|
+
CrewBreakShip: yf,
|
|
4515
|
+
CrewBring1mXp: Ff,
|
|
4516
|
+
CrewBring500kXp: Tf,
|
|
4517
|
+
CrewBring50kXp: $f,
|
|
4518
|
+
CrewBring50mXp: Yf,
|
|
4519
|
+
CrewBring5mXp: Ef,
|
|
4520
|
+
CrewHave100MBerry: kf,
|
|
4521
|
+
CrewHave1MdBerry: xf,
|
|
4522
|
+
CrewHave500MBerry: vf,
|
|
4523
|
+
CrewHave50MdBerry: Uf,
|
|
4524
|
+
CrewHave5MdBerry: Sf,
|
|
4525
|
+
CrewSize10: Cf,
|
|
4526
|
+
CrewSize12: Bf,
|
|
4527
|
+
CrewSize15: Rf,
|
|
4528
|
+
CrewSize5: Of,
|
|
4529
|
+
CrewSize7: Df
|
|
4517
4530
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4518
|
-
class
|
|
4531
|
+
class If extends o {
|
|
4519
4532
|
constructor() {
|
|
4520
4533
|
super(...arguments);
|
|
4521
4534
|
e(this, "name", "Ne fais rien exploser hein ?");
|
|
@@ -4534,7 +4547,7 @@ class Yf extends o {
|
|
|
4534
4547
|
e(this, "onUserInventoryUpdate", (s) => s.recipes.length >= 1);
|
|
4535
4548
|
}
|
|
4536
4549
|
}
|
|
4537
|
-
class
|
|
4550
|
+
class Af extends o {
|
|
4538
4551
|
constructor() {
|
|
4539
4552
|
super(...arguments);
|
|
4540
4553
|
e(this, "name", "C'est bien tu sais faire des pâtes !");
|
|
@@ -4553,7 +4566,7 @@ class If extends o {
|
|
|
4553
4566
|
e(this, "onUserInventoryUpdate", (s) => s.recipes.length >= 5);
|
|
4554
4567
|
}
|
|
4555
4568
|
}
|
|
4556
|
-
class
|
|
4569
|
+
class Pf extends o {
|
|
4557
4570
|
constructor() {
|
|
4558
4571
|
super(...arguments);
|
|
4559
4572
|
e(this, "name", "Ta grand-mère t'as donné son livre ?");
|
|
@@ -4572,7 +4585,7 @@ class Af extends o {
|
|
|
4572
4585
|
e(this, "onUserInventoryUpdate", (s) => s.recipes.length >= 10);
|
|
4573
4586
|
}
|
|
4574
4587
|
}
|
|
4575
|
-
class
|
|
4588
|
+
class Nf extends o {
|
|
4576
4589
|
constructor() {
|
|
4577
4590
|
super(...arguments);
|
|
4578
4591
|
e(this, "name", "Let him cook");
|
|
@@ -4591,7 +4604,7 @@ class Pf extends o {
|
|
|
4591
4604
|
e(this, "onUserInventoryUpdate", (s) => s.recipes.length >= 25);
|
|
4592
4605
|
}
|
|
4593
4606
|
}
|
|
4594
|
-
class
|
|
4607
|
+
class Lf extends o {
|
|
4595
4608
|
constructor() {
|
|
4596
4609
|
super(...arguments);
|
|
4597
4610
|
e(this, "name", "Paul Bocuse");
|
|
@@ -4612,13 +4625,13 @@ class Nf extends o {
|
|
|
4612
4625
|
}
|
|
4613
4626
|
const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4614
4627
|
__proto__: null,
|
|
4615
|
-
Have100Recipe:
|
|
4616
|
-
Have10Recipe:
|
|
4617
|
-
Have1Recipe:
|
|
4618
|
-
Have25Recipe:
|
|
4619
|
-
Have5Recipe:
|
|
4628
|
+
Have100Recipe: Lf,
|
|
4629
|
+
Have10Recipe: Pf,
|
|
4630
|
+
Have1Recipe: If,
|
|
4631
|
+
Have25Recipe: Nf,
|
|
4632
|
+
Have5Recipe: Af
|
|
4620
4633
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4621
|
-
class
|
|
4634
|
+
class jf extends o {
|
|
4622
4635
|
constructor() {
|
|
4623
4636
|
super(...arguments);
|
|
4624
4637
|
e(this, "name", "Enfin de quoi t'acheter un bon vélo !");
|
|
@@ -4637,7 +4650,7 @@ class Lf extends o {
|
|
|
4637
4650
|
e(this, "onUserMetaUpdate", (s) => s.berry >= 5e5);
|
|
4638
4651
|
}
|
|
4639
4652
|
}
|
|
4640
|
-
class
|
|
4653
|
+
class Hf extends o {
|
|
4641
4654
|
constructor() {
|
|
4642
4655
|
super(...arguments);
|
|
4643
4656
|
e(this, "name", "Ouah t'es multi-millionaire !");
|
|
@@ -4656,7 +4669,7 @@ class jf extends o {
|
|
|
4656
4669
|
e(this, "onUserMetaUpdate", (s) => s.berry >= 5e6);
|
|
4657
4670
|
}
|
|
4658
4671
|
}
|
|
4659
|
-
class
|
|
4672
|
+
class Qf extends o {
|
|
4660
4673
|
constructor() {
|
|
4661
4674
|
super(...arguments);
|
|
4662
4675
|
e(this, "name", "Presque riche");
|
|
@@ -4675,7 +4688,7 @@ class Hf extends o {
|
|
|
4675
4688
|
e(this, "onUserMetaUpdate", (s) => s.berry >= 5e7);
|
|
4676
4689
|
}
|
|
4677
4690
|
}
|
|
4678
|
-
class
|
|
4691
|
+
class Wf extends o {
|
|
4679
4692
|
constructor() {
|
|
4680
4693
|
super(...arguments);
|
|
4681
4694
|
e(this, "name", "Un 20m² à Paris");
|
|
@@ -4694,7 +4707,7 @@ class Qf extends o {
|
|
|
4694
4707
|
e(this, "onUserMetaUpdate", (s) => s.berry >= 5e8);
|
|
4695
4708
|
}
|
|
4696
4709
|
}
|
|
4697
|
-
class
|
|
4710
|
+
class Gf extends o {
|
|
4698
4711
|
constructor() {
|
|
4699
4712
|
super(...arguments);
|
|
4700
4713
|
e(this, "name", "This is Elon Musk");
|
|
@@ -4713,7 +4726,7 @@ class Wf extends o {
|
|
|
4713
4726
|
e(this, "onUserMetaUpdate", (s) => s.berry >= 5e9);
|
|
4714
4727
|
}
|
|
4715
4728
|
}
|
|
4716
|
-
class
|
|
4729
|
+
class qf extends o {
|
|
4717
4730
|
constructor() {
|
|
4718
4731
|
super(...arguments);
|
|
4719
4732
|
e(this, "name", "5 jours / semaine à Basic Fit");
|
|
@@ -4732,7 +4745,7 @@ class Gf extends o {
|
|
|
4732
4745
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.strength) >= 25);
|
|
4733
4746
|
}
|
|
4734
4747
|
}
|
|
4735
|
-
class
|
|
4748
|
+
class Vf extends o {
|
|
4736
4749
|
constructor() {
|
|
4737
4750
|
super(...arguments);
|
|
4738
4751
|
e(this, "name", "La fonte > les livres");
|
|
@@ -4751,7 +4764,7 @@ class qf extends o {
|
|
|
4751
4764
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.strength) >= 50);
|
|
4752
4765
|
}
|
|
4753
4766
|
}
|
|
4754
|
-
class
|
|
4767
|
+
class zf extends o {
|
|
4755
4768
|
constructor() {
|
|
4756
4769
|
super(...arguments);
|
|
4757
4770
|
e(this, "name", "Moi, musclé ?");
|
|
@@ -4770,7 +4783,7 @@ class Vf extends o {
|
|
|
4770
4783
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.strength) >= 100);
|
|
4771
4784
|
}
|
|
4772
4785
|
}
|
|
4773
|
-
class
|
|
4786
|
+
class Xf extends o {
|
|
4774
4787
|
constructor() {
|
|
4775
4788
|
super(...arguments);
|
|
4776
4789
|
e(this, "name", "Hercules");
|
|
@@ -4789,7 +4802,7 @@ class zf extends o {
|
|
|
4789
4802
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.strength) >= 250);
|
|
4790
4803
|
}
|
|
4791
4804
|
}
|
|
4792
|
-
class
|
|
4805
|
+
class Zf extends o {
|
|
4793
4806
|
constructor() {
|
|
4794
4807
|
super(...arguments);
|
|
4795
4808
|
e(this, "name", "Titan");
|
|
@@ -4808,7 +4821,7 @@ class Xf extends o {
|
|
|
4808
4821
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.strength) >= 500);
|
|
4809
4822
|
}
|
|
4810
4823
|
}
|
|
4811
|
-
class
|
|
4824
|
+
class Jf extends o {
|
|
4812
4825
|
constructor() {
|
|
4813
4826
|
super(...arguments);
|
|
4814
4827
|
e(this, "name", "Chat de gouttière");
|
|
@@ -4827,7 +4840,7 @@ class Zf extends o {
|
|
|
4827
4840
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.agility) >= 25);
|
|
4828
4841
|
}
|
|
4829
4842
|
}
|
|
4830
|
-
class
|
|
4843
|
+
class Kf extends o {
|
|
4831
4844
|
constructor() {
|
|
4832
4845
|
super(...arguments);
|
|
4833
4846
|
e(this, "name", "Hop ! Grand écart !");
|
|
@@ -4846,7 +4859,7 @@ class Jf extends o {
|
|
|
4846
4859
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.agility) >= 50);
|
|
4847
4860
|
}
|
|
4848
4861
|
}
|
|
4849
|
-
class
|
|
4862
|
+
class ep extends o {
|
|
4850
4863
|
constructor() {
|
|
4851
4864
|
super(...arguments);
|
|
4852
4865
|
e(this, "name", "Danseur étoile");
|
|
@@ -4865,7 +4878,7 @@ class Kf extends o {
|
|
|
4865
4878
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.agility) >= 100);
|
|
4866
4879
|
}
|
|
4867
4880
|
}
|
|
4868
|
-
class
|
|
4881
|
+
class tp extends o {
|
|
4869
4882
|
constructor() {
|
|
4870
4883
|
super(...arguments);
|
|
4871
4884
|
e(this, "name", "L'Éclair de Konoha ! (merde mauvais manga)");
|
|
@@ -4884,7 +4897,7 @@ class ep extends o {
|
|
|
4884
4897
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.agility) >= 250);
|
|
4885
4898
|
}
|
|
4886
4899
|
}
|
|
4887
|
-
class
|
|
4900
|
+
class ap extends o {
|
|
4888
4901
|
constructor() {
|
|
4889
4902
|
super(...arguments);
|
|
4890
4903
|
e(this, "name", "Héritier de Bon Clay");
|
|
@@ -4903,7 +4916,7 @@ class tp extends o {
|
|
|
4903
4916
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.agility) >= 500);
|
|
4904
4917
|
}
|
|
4905
4918
|
}
|
|
4906
|
-
class
|
|
4919
|
+
class sp extends o {
|
|
4907
4920
|
constructor() {
|
|
4908
4921
|
super(...arguments);
|
|
4909
4922
|
e(this, "name", "2+2 = 4");
|
|
@@ -4922,7 +4935,7 @@ class ap extends o {
|
|
|
4922
4935
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.intelligence) >= 25);
|
|
4923
4936
|
}
|
|
4924
4937
|
}
|
|
4925
|
-
class
|
|
4938
|
+
class rp extends o {
|
|
4926
4939
|
constructor() {
|
|
4927
4940
|
super(...arguments);
|
|
4928
4941
|
e(this, "name", "Petit Einstein");
|
|
@@ -4941,7 +4954,7 @@ class sp extends o {
|
|
|
4941
4954
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.intelligence) >= 50);
|
|
4942
4955
|
}
|
|
4943
4956
|
}
|
|
4944
|
-
class
|
|
4957
|
+
class np extends o {
|
|
4945
4958
|
constructor() {
|
|
4946
4959
|
super(...arguments);
|
|
4947
4960
|
e(this, "name", "HPI");
|
|
@@ -4960,7 +4973,7 @@ class rp extends o {
|
|
|
4960
4973
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.intelligence) >= 100);
|
|
4961
4974
|
}
|
|
4962
4975
|
}
|
|
4963
|
-
class
|
|
4976
|
+
class ip extends o {
|
|
4964
4977
|
constructor() {
|
|
4965
4978
|
super(...arguments);
|
|
4966
4979
|
e(this, "name", "Sorcier du savoir");
|
|
@@ -4979,7 +4992,7 @@ class np extends o {
|
|
|
4979
4992
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.intelligence) >= 250);
|
|
4980
4993
|
}
|
|
4981
4994
|
}
|
|
4982
|
-
class
|
|
4995
|
+
class lp extends o {
|
|
4983
4996
|
constructor() {
|
|
4984
4997
|
super(...arguments);
|
|
4985
4998
|
e(this, "name", "Héritier de Vegapunk");
|
|
@@ -4998,7 +5011,7 @@ class ip extends o {
|
|
|
4998
5011
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.intelligence) >= 500);
|
|
4999
5012
|
}
|
|
5000
5013
|
}
|
|
5001
|
-
class
|
|
5014
|
+
class op extends o {
|
|
5002
5015
|
constructor() {
|
|
5003
5016
|
super(...arguments);
|
|
5004
5017
|
e(this, "name", "Touche du bois");
|
|
@@ -5017,7 +5030,7 @@ class lp extends o {
|
|
|
5017
5030
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.chance) >= 25);
|
|
5018
5031
|
}
|
|
5019
5032
|
}
|
|
5020
|
-
class
|
|
5033
|
+
class dp extends o {
|
|
5021
5034
|
constructor() {
|
|
5022
5035
|
super(...arguments);
|
|
5023
5036
|
e(this, "name", "Petit veinard");
|
|
@@ -5036,7 +5049,7 @@ class op extends o {
|
|
|
5036
5049
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.chance) >= 50);
|
|
5037
5050
|
}
|
|
5038
5051
|
}
|
|
5039
|
-
class
|
|
5052
|
+
class cp extends o {
|
|
5040
5053
|
constructor() {
|
|
5041
5054
|
super(...arguments);
|
|
5042
5055
|
e(this, "name", "LA CHAAAAAATTE !");
|
|
@@ -5055,7 +5068,7 @@ class dp extends o {
|
|
|
5055
5068
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.chance) >= 100);
|
|
5056
5069
|
}
|
|
5057
5070
|
}
|
|
5058
|
-
class
|
|
5071
|
+
class up extends o {
|
|
5059
5072
|
constructor() {
|
|
5060
5073
|
super(...arguments);
|
|
5061
5074
|
e(this, "name", "Favori des Astres");
|
|
@@ -5074,7 +5087,7 @@ class cp extends o {
|
|
|
5074
5087
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.chance) >= 250);
|
|
5075
5088
|
}
|
|
5076
5089
|
}
|
|
5077
|
-
class
|
|
5090
|
+
class fp extends o {
|
|
5078
5091
|
constructor() {
|
|
5079
5092
|
super(...arguments);
|
|
5080
5093
|
e(this, "name", "Héritier de Baggy");
|
|
@@ -5093,7 +5106,7 @@ class up extends o {
|
|
|
5093
5106
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.chance) >= 500);
|
|
5094
5107
|
}
|
|
5095
5108
|
}
|
|
5096
|
-
class
|
|
5109
|
+
class pp extends o {
|
|
5097
5110
|
constructor() {
|
|
5098
5111
|
super(...arguments);
|
|
5099
5112
|
e(this, "name", "Résistant");
|
|
@@ -5112,7 +5125,7 @@ class fp extends o {
|
|
|
5112
5125
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.vitality) >= 25);
|
|
5113
5126
|
}
|
|
5114
5127
|
}
|
|
5115
|
-
class
|
|
5128
|
+
class mp extends o {
|
|
5116
5129
|
constructor() {
|
|
5117
5130
|
super(...arguments);
|
|
5118
5131
|
e(this, "name", "Solide comme un roc");
|
|
@@ -5131,7 +5144,7 @@ class pp extends o {
|
|
|
5131
5144
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.vitality) >= 50);
|
|
5132
5145
|
}
|
|
5133
5146
|
}
|
|
5134
|
-
class
|
|
5147
|
+
class hp extends o {
|
|
5135
5148
|
constructor() {
|
|
5136
5149
|
super(...arguments);
|
|
5137
5150
|
e(this, "name", "Le tank !");
|
|
@@ -5150,7 +5163,7 @@ class mp extends o {
|
|
|
5150
5163
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.vitality) >= 100);
|
|
5151
5164
|
}
|
|
5152
5165
|
}
|
|
5153
|
-
class
|
|
5166
|
+
class yp extends o {
|
|
5154
5167
|
constructor() {
|
|
5155
5168
|
super(...arguments);
|
|
5156
5169
|
e(this, "name", "Mais t'es increvable !");
|
|
@@ -5169,7 +5182,7 @@ class hp extends o {
|
|
|
5169
5182
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.vitality) >= 250);
|
|
5170
5183
|
}
|
|
5171
5184
|
}
|
|
5172
|
-
class
|
|
5185
|
+
class gp extends o {
|
|
5173
5186
|
constructor() {
|
|
5174
5187
|
super(...arguments);
|
|
5175
5188
|
e(this, "name", "Héritier de Kaido");
|
|
@@ -5188,7 +5201,7 @@ class yp extends o {
|
|
|
5188
5201
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.vitality) >= 500);
|
|
5189
5202
|
}
|
|
5190
5203
|
}
|
|
5191
|
-
class
|
|
5204
|
+
class wp extends o {
|
|
5192
5205
|
constructor() {
|
|
5193
5206
|
super(...arguments);
|
|
5194
5207
|
e(this, "name", "Tu as lu des livres ?");
|
|
@@ -5207,7 +5220,7 @@ class gp extends o {
|
|
|
5207
5220
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.wisdom) >= 25);
|
|
5208
5221
|
}
|
|
5209
5222
|
}
|
|
5210
|
-
class
|
|
5223
|
+
class _p extends o {
|
|
5211
5224
|
constructor() {
|
|
5212
5225
|
super(...arguments);
|
|
5213
5226
|
e(this, "name", "Filozof");
|
|
@@ -5226,7 +5239,7 @@ class wp extends o {
|
|
|
5226
5239
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.wisdom) >= 50);
|
|
5227
5240
|
}
|
|
5228
5241
|
}
|
|
5229
|
-
class
|
|
5242
|
+
class bp extends o {
|
|
5230
5243
|
constructor() {
|
|
5231
5244
|
super(...arguments);
|
|
5232
5245
|
e(this, "name", "Platon");
|
|
@@ -5245,7 +5258,7 @@ class _p extends o {
|
|
|
5245
5258
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.wisdom) >= 100);
|
|
5246
5259
|
}
|
|
5247
5260
|
}
|
|
5248
|
-
class
|
|
5261
|
+
class Mp extends o {
|
|
5249
5262
|
constructor() {
|
|
5250
5263
|
super(...arguments);
|
|
5251
5264
|
e(this, "name", "Oracle vénéré");
|
|
@@ -5264,7 +5277,7 @@ class bp extends o {
|
|
|
5264
5277
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.wisdom) >= 250);
|
|
5265
5278
|
}
|
|
5266
5279
|
}
|
|
5267
|
-
class
|
|
5280
|
+
class kp extends o {
|
|
5268
5281
|
constructor() {
|
|
5269
5282
|
super(...arguments);
|
|
5270
5283
|
e(this, "name", "Héritier d'Ohara");
|
|
@@ -5283,7 +5296,7 @@ class Mp extends o {
|
|
|
5283
5296
|
e(this, "onUserMetaUpdate", (s) => U(s.characteristics.wisdom) >= 500);
|
|
5284
5297
|
}
|
|
5285
5298
|
}
|
|
5286
|
-
class
|
|
5299
|
+
class vp extends o {
|
|
5287
5300
|
constructor() {
|
|
5288
5301
|
super(...arguments);
|
|
5289
5302
|
e(this, "name", "Un pas devant l'autre !");
|
|
@@ -5302,7 +5315,7 @@ class kp extends o {
|
|
|
5302
5315
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 10);
|
|
5303
5316
|
}
|
|
5304
5317
|
}
|
|
5305
|
-
class
|
|
5318
|
+
class xp extends o {
|
|
5306
5319
|
constructor() {
|
|
5307
5320
|
super(...arguments);
|
|
5308
5321
|
e(this, "name", "T'inquiète pas ça va bien se passer");
|
|
@@ -5321,7 +5334,7 @@ class vp extends o {
|
|
|
5321
5334
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 20);
|
|
5322
5335
|
}
|
|
5323
5336
|
}
|
|
5324
|
-
class
|
|
5337
|
+
class Sp extends o {
|
|
5325
5338
|
constructor() {
|
|
5326
5339
|
super(...arguments);
|
|
5327
5340
|
e(this, "name", "Commence par me parler poliment");
|
|
@@ -5340,7 +5353,7 @@ class xp extends o {
|
|
|
5340
5353
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 30);
|
|
5341
5354
|
}
|
|
5342
5355
|
}
|
|
5343
|
-
class
|
|
5356
|
+
class Up extends o {
|
|
5344
5357
|
constructor() {
|
|
5345
5358
|
super(...arguments);
|
|
5346
5359
|
e(this, "name", "On te respecte à la cantine");
|
|
@@ -5359,7 +5372,7 @@ class Sp extends o {
|
|
|
5359
5372
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 40);
|
|
5360
5373
|
}
|
|
5361
5374
|
}
|
|
5362
|
-
class
|
|
5375
|
+
class Op extends o {
|
|
5363
5376
|
constructor() {
|
|
5364
5377
|
super(...arguments);
|
|
5365
5378
|
e(this, "name", "Ça commence à devenir sérieux");
|
|
@@ -5378,7 +5391,7 @@ class Up extends o {
|
|
|
5378
5391
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 50);
|
|
5379
5392
|
}
|
|
5380
5393
|
}
|
|
5381
|
-
class
|
|
5394
|
+
class Dp extends o {
|
|
5382
5395
|
constructor() {
|
|
5383
5396
|
super(...arguments);
|
|
5384
5397
|
e(this, "name", "Une chambre individuelle ? La chance !");
|
|
@@ -5397,7 +5410,7 @@ class Op extends o {
|
|
|
5397
5410
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 60);
|
|
5398
5411
|
}
|
|
5399
5412
|
}
|
|
5400
|
-
class
|
|
5413
|
+
class Cp extends o {
|
|
5401
5414
|
constructor() {
|
|
5402
5415
|
super(...arguments);
|
|
5403
5416
|
e(this, "name", "Oulah, les responsabilités arrivent");
|
|
@@ -5416,7 +5429,7 @@ class Dp extends o {
|
|
|
5416
5429
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 70);
|
|
5417
5430
|
}
|
|
5418
5431
|
}
|
|
5419
|
-
class
|
|
5432
|
+
class Bp extends o {
|
|
5420
5433
|
constructor() {
|
|
5421
5434
|
super(...arguments);
|
|
5422
5435
|
e(this, "name", "Faut pas t'emmerder toi");
|
|
@@ -5435,7 +5448,7 @@ class Cp extends o {
|
|
|
5435
5448
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 80);
|
|
5436
5449
|
}
|
|
5437
5450
|
}
|
|
5438
|
-
class
|
|
5451
|
+
class Rp extends o {
|
|
5439
5452
|
constructor() {
|
|
5440
5453
|
super(...arguments);
|
|
5441
5454
|
e(this, "name", "Là on parle !");
|
|
@@ -5454,7 +5467,7 @@ class Bp extends o {
|
|
|
5454
5467
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 90);
|
|
5455
5468
|
}
|
|
5456
5469
|
}
|
|
5457
|
-
class
|
|
5470
|
+
class $p extends o {
|
|
5458
5471
|
constructor() {
|
|
5459
5472
|
super(...arguments);
|
|
5460
5473
|
e(this, "name", "*S'agenouille*");
|
|
@@ -5473,7 +5486,7 @@ class Rp extends o {
|
|
|
5473
5486
|
e(this, "onUserMetaUpdate", ({ xp: s }) => $(s.amount) >= 120);
|
|
5474
5487
|
}
|
|
5475
5488
|
}
|
|
5476
|
-
class
|
|
5489
|
+
class Tp extends o {
|
|
5477
5490
|
constructor() {
|
|
5478
5491
|
super(...arguments);
|
|
5479
5492
|
e(this, "name", "T'as des amis ?");
|
|
@@ -5494,54 +5507,54 @@ class $p extends o {
|
|
|
5494
5507
|
}
|
|
5495
5508
|
const fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5496
5509
|
__proto__: null,
|
|
5497
|
-
BeLevel10:
|
|
5498
|
-
BeLevel120:
|
|
5499
|
-
BeLevel20:
|
|
5500
|
-
BeLevel30:
|
|
5501
|
-
BeLevel40:
|
|
5502
|
-
BeLevel50:
|
|
5503
|
-
BeLevel60:
|
|
5504
|
-
BeLevel70:
|
|
5505
|
-
BeLevel80:
|
|
5506
|
-
BeLevel90:
|
|
5507
|
-
DailyVocal:
|
|
5508
|
-
Have100Agility:
|
|
5509
|
-
Have100Chance:
|
|
5510
|
-
Have100Intelligence:
|
|
5511
|
-
Have100Strength:
|
|
5512
|
-
Have100Vitality:
|
|
5513
|
-
Have100Wisdom:
|
|
5514
|
-
Have250Agility:
|
|
5515
|
-
Have250Chance:
|
|
5516
|
-
Have250Intelligence:
|
|
5517
|
-
Have250Strength:
|
|
5518
|
-
Have250Vitality:
|
|
5519
|
-
Have250Wisdom:
|
|
5520
|
-
Have25Agility:
|
|
5521
|
-
Have25Chance:
|
|
5522
|
-
Have25Intelligence:
|
|
5523
|
-
Have25Strength:
|
|
5524
|
-
Have25Vitality:
|
|
5525
|
-
Have25Wisdom:
|
|
5526
|
-
Have500Agility:
|
|
5527
|
-
Have500Chance:
|
|
5528
|
-
Have500Intelligence:
|
|
5529
|
-
Have500Strength:
|
|
5530
|
-
Have500Vitality:
|
|
5531
|
-
Have500Wisdom:
|
|
5532
|
-
Have500kBerry:
|
|
5533
|
-
Have500mBerry:
|
|
5534
|
-
Have50Agility:
|
|
5535
|
-
Have50Chance:
|
|
5536
|
-
Have50Intelligence:
|
|
5537
|
-
Have50Strength:
|
|
5538
|
-
Have50Vitality:
|
|
5539
|
-
Have50Wisdom:
|
|
5540
|
-
Have50mBerry:
|
|
5541
|
-
Have5mBerry:
|
|
5542
|
-
Have5mdBerry:
|
|
5510
|
+
BeLevel10: vp,
|
|
5511
|
+
BeLevel120: $p,
|
|
5512
|
+
BeLevel20: xp,
|
|
5513
|
+
BeLevel30: Sp,
|
|
5514
|
+
BeLevel40: Up,
|
|
5515
|
+
BeLevel50: Op,
|
|
5516
|
+
BeLevel60: Dp,
|
|
5517
|
+
BeLevel70: Cp,
|
|
5518
|
+
BeLevel80: Bp,
|
|
5519
|
+
BeLevel90: Rp,
|
|
5520
|
+
DailyVocal: Tp,
|
|
5521
|
+
Have100Agility: ep,
|
|
5522
|
+
Have100Chance: cp,
|
|
5523
|
+
Have100Intelligence: np,
|
|
5524
|
+
Have100Strength: zf,
|
|
5525
|
+
Have100Vitality: hp,
|
|
5526
|
+
Have100Wisdom: bp,
|
|
5527
|
+
Have250Agility: tp,
|
|
5528
|
+
Have250Chance: up,
|
|
5529
|
+
Have250Intelligence: ip,
|
|
5530
|
+
Have250Strength: Xf,
|
|
5531
|
+
Have250Vitality: yp,
|
|
5532
|
+
Have250Wisdom: Mp,
|
|
5533
|
+
Have25Agility: Jf,
|
|
5534
|
+
Have25Chance: op,
|
|
5535
|
+
Have25Intelligence: sp,
|
|
5536
|
+
Have25Strength: qf,
|
|
5537
|
+
Have25Vitality: pp,
|
|
5538
|
+
Have25Wisdom: wp,
|
|
5539
|
+
Have500Agility: ap,
|
|
5540
|
+
Have500Chance: fp,
|
|
5541
|
+
Have500Intelligence: lp,
|
|
5542
|
+
Have500Strength: Zf,
|
|
5543
|
+
Have500Vitality: gp,
|
|
5544
|
+
Have500Wisdom: kp,
|
|
5545
|
+
Have500kBerry: jf,
|
|
5546
|
+
Have500mBerry: Wf,
|
|
5547
|
+
Have50Agility: Kf,
|
|
5548
|
+
Have50Chance: dp,
|
|
5549
|
+
Have50Intelligence: rp,
|
|
5550
|
+
Have50Strength: Vf,
|
|
5551
|
+
Have50Vitality: mp,
|
|
5552
|
+
Have50Wisdom: _p,
|
|
5553
|
+
Have50mBerry: Qf,
|
|
5554
|
+
Have5mBerry: Hf,
|
|
5555
|
+
Have5mdBerry: Gf
|
|
5543
5556
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5544
|
-
class
|
|
5557
|
+
class Fp extends o {
|
|
5545
5558
|
constructor() {
|
|
5546
5559
|
super(...arguments);
|
|
5547
5560
|
e(this, "name", "Un poster dans ta chambre");
|
|
@@ -5560,7 +5573,7 @@ class Tp extends o {
|
|
|
5560
5573
|
e(this, "onUserOrnamentsUpdate", (s) => s.unlockedBackgrounds.filter((r) => r !== "default").length >= 1);
|
|
5561
5574
|
}
|
|
5562
5575
|
}
|
|
5563
|
-
class
|
|
5576
|
+
class Ep extends o {
|
|
5564
5577
|
constructor() {
|
|
5565
5578
|
super(...arguments);
|
|
5566
5579
|
e(this, "name", "Fan de One Piece");
|
|
@@ -5579,7 +5592,7 @@ class Fp extends o {
|
|
|
5579
5592
|
e(this, "onUserOrnamentsUpdate", (s) => s.unlockedBackgrounds.filter((r) => r !== "default").length >= 25);
|
|
5580
5593
|
}
|
|
5581
5594
|
}
|
|
5582
|
-
class
|
|
5595
|
+
class Yp extends o {
|
|
5583
5596
|
constructor() {
|
|
5584
5597
|
super(...arguments);
|
|
5585
5598
|
e(this, "name", "Tu vas en faire quoi ? Tu peux en mettre qu'un");
|
|
@@ -5598,7 +5611,7 @@ class Ep extends o {
|
|
|
5598
5611
|
e(this, "onUserOrnamentsUpdate", (s) => s.unlockedBackgrounds.filter((r) => r !== "default").length >= 50);
|
|
5599
5612
|
}
|
|
5600
5613
|
}
|
|
5601
|
-
class
|
|
5614
|
+
class Ip extends o {
|
|
5602
5615
|
constructor() {
|
|
5603
5616
|
super(...arguments);
|
|
5604
5617
|
e(this, "name", "PTDR t ki ?");
|
|
@@ -5617,7 +5630,7 @@ class Yp extends o {
|
|
|
5617
5630
|
e(this, "onUserOrnamentsUpdate", (s) => s.unlockedTitles.length >= 10);
|
|
5618
5631
|
}
|
|
5619
5632
|
}
|
|
5620
|
-
class
|
|
5633
|
+
class Ap extends o {
|
|
5621
5634
|
constructor() {
|
|
5622
5635
|
super(...arguments);
|
|
5623
5636
|
e(this, "name", "On m'appelle Personne");
|
|
@@ -5636,7 +5649,7 @@ class Ip extends o {
|
|
|
5636
5649
|
e(this, "onUserOrnamentsUpdate", (s) => s.unlockedTitles.length >= 50);
|
|
5637
5650
|
}
|
|
5638
5651
|
}
|
|
5639
|
-
class
|
|
5652
|
+
class Pp extends o {
|
|
5640
5653
|
constructor() {
|
|
5641
5654
|
super(...arguments);
|
|
5642
5655
|
e(this, "name", "Ok Daenerys");
|
|
@@ -5657,14 +5670,14 @@ class Ap extends o {
|
|
|
5657
5670
|
}
|
|
5658
5671
|
const pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5659
5672
|
__proto__: null,
|
|
5660
|
-
Have100Title:
|
|
5661
|
-
Have10Title:
|
|
5662
|
-
Have1Background:
|
|
5663
|
-
Have25Background:
|
|
5664
|
-
Have50Background:
|
|
5665
|
-
Have50Title:
|
|
5673
|
+
Have100Title: Pp,
|
|
5674
|
+
Have10Title: Ip,
|
|
5675
|
+
Have1Background: Fp,
|
|
5676
|
+
Have25Background: Ep,
|
|
5677
|
+
Have50Background: Yp,
|
|
5678
|
+
Have50Title: Ap
|
|
5666
5679
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5667
|
-
class
|
|
5680
|
+
class Np extends o {
|
|
5668
5681
|
constructor() {
|
|
5669
5682
|
super(...arguments);
|
|
5670
5683
|
e(this, "name", "Petit joueur");
|
|
@@ -5683,7 +5696,7 @@ class Pp extends o {
|
|
|
5683
5696
|
e(this, "onUserQuestMetaUpdate", (s) => s.betMin);
|
|
5684
5697
|
}
|
|
5685
5698
|
}
|
|
5686
|
-
class
|
|
5699
|
+
class Lp extends o {
|
|
5687
5700
|
constructor() {
|
|
5688
5701
|
super(...arguments);
|
|
5689
5702
|
e(this, "name", "On a tous le droit à une seconde chance");
|
|
@@ -5702,7 +5715,7 @@ class Np extends o {
|
|
|
5702
5715
|
e(this, "onUserQuestMetaUpdate", (s) => s.loseEverything);
|
|
5703
5716
|
}
|
|
5704
5717
|
}
|
|
5705
|
-
class
|
|
5718
|
+
class jp extends o {
|
|
5706
5719
|
constructor() {
|
|
5707
5720
|
super(...arguments);
|
|
5708
5721
|
e(this, "name", "T'es sûr de toi ?");
|
|
@@ -5721,7 +5734,7 @@ class Lp extends o {
|
|
|
5721
5734
|
e(this, "onUserQuestMetaUpdate", (s) => s.bet10M);
|
|
5722
5735
|
}
|
|
5723
5736
|
}
|
|
5724
|
-
class
|
|
5737
|
+
class Hp extends o {
|
|
5725
5738
|
constructor() {
|
|
5726
5739
|
super(...arguments);
|
|
5727
5740
|
e(this, "name", "Ok j'ai rien dit");
|
|
@@ -5740,7 +5753,7 @@ class jp extends o {
|
|
|
5740
5753
|
e(this, "onUserQuestMetaUpdate", (s) => s.winBet10M);
|
|
5741
5754
|
}
|
|
5742
5755
|
}
|
|
5743
|
-
class
|
|
5756
|
+
class Qp extends o {
|
|
5744
5757
|
constructor() {
|
|
5745
5758
|
super(...arguments);
|
|
5746
5759
|
e(this, "name", "T'es accro là non ?");
|
|
@@ -5759,7 +5772,7 @@ class Hp extends o {
|
|
|
5759
5772
|
e(this, "onUserQuestMetaUpdate", (s) => s.totalBet >= 1e7);
|
|
5760
5773
|
}
|
|
5761
5774
|
}
|
|
5762
|
-
class
|
|
5775
|
+
class Wp extends o {
|
|
5763
5776
|
constructor() {
|
|
5764
5777
|
super(...arguments);
|
|
5765
5778
|
e(this, "name", "LE MILLIARD");
|
|
@@ -5778,7 +5791,7 @@ class Qp extends o {
|
|
|
5778
5791
|
e(this, "onUserQuestMetaUpdate", (s) => s.totalBet >= 1e9);
|
|
5779
5792
|
}
|
|
5780
5793
|
}
|
|
5781
|
-
class
|
|
5794
|
+
class Gp extends o {
|
|
5782
5795
|
constructor() {
|
|
5783
5796
|
super(...arguments);
|
|
5784
5797
|
e(this, "name", "Cheh !");
|
|
@@ -5797,7 +5810,7 @@ class Wp extends o {
|
|
|
5797
5810
|
e(this, "onUserQuestMetaUpdate", (s) => s.lose10M);
|
|
5798
5811
|
}
|
|
5799
5812
|
}
|
|
5800
|
-
class
|
|
5813
|
+
class qp extends o {
|
|
5801
5814
|
constructor() {
|
|
5802
5815
|
super(...arguments);
|
|
5803
5816
|
e(this, "name", "Bon anniversaire !");
|
|
@@ -5816,7 +5829,7 @@ class Gp extends o {
|
|
|
5816
5829
|
e(this, "onUserQuestMetaUpdate", (s) => s.hasCelebrateBirthday);
|
|
5817
5830
|
}
|
|
5818
5831
|
}
|
|
5819
|
-
class
|
|
5832
|
+
class Vp extends o {
|
|
5820
5833
|
constructor() {
|
|
5821
5834
|
super(...arguments);
|
|
5822
5835
|
e(this, "name", "Il ne va pas te répondre tu sais ?");
|
|
@@ -5835,7 +5848,7 @@ class qp extends o {
|
|
|
5835
5848
|
e(this, "onUserQuestMetaUpdate", ({ botPing: s }) => s >= 100);
|
|
5836
5849
|
}
|
|
5837
5850
|
}
|
|
5838
|
-
class
|
|
5851
|
+
class zp extends o {
|
|
5839
5852
|
constructor() {
|
|
5840
5853
|
super(...arguments);
|
|
5841
5854
|
e(this, "name", "Tu avais soif ?");
|
|
@@ -5854,7 +5867,7 @@ class Vp extends o {
|
|
|
5854
5867
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.bottle.today >= 100);
|
|
5855
5868
|
}
|
|
5856
5869
|
}
|
|
5857
|
-
class
|
|
5870
|
+
class Xp extends o {
|
|
5858
5871
|
constructor() {
|
|
5859
5872
|
super(...arguments);
|
|
5860
5873
|
e(this, "name", "Un ptit goût amer non ?");
|
|
@@ -5873,7 +5886,7 @@ class zp extends o {
|
|
|
5873
5886
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.bottle.total >= 200);
|
|
5874
5887
|
}
|
|
5875
5888
|
}
|
|
5876
|
-
class
|
|
5889
|
+
class Zp extends o {
|
|
5877
5890
|
constructor() {
|
|
5878
5891
|
super(...arguments);
|
|
5879
5892
|
e(this, "name", "Ça se boit bien finalement");
|
|
@@ -5892,7 +5905,7 @@ class Xp extends o {
|
|
|
5892
5905
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.bottle.total >= 500);
|
|
5893
5906
|
}
|
|
5894
5907
|
}
|
|
5895
|
-
class
|
|
5908
|
+
class Jp extends o {
|
|
5896
5909
|
constructor() {
|
|
5897
5910
|
super(...arguments);
|
|
5898
5911
|
e(this, "name", "Les potions donnent des aiiiiles !");
|
|
@@ -5911,7 +5924,7 @@ class Zp extends o {
|
|
|
5911
5924
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.bottle.total >= 1e3);
|
|
5912
5925
|
}
|
|
5913
5926
|
}
|
|
5914
|
-
class
|
|
5927
|
+
class Kp extends o {
|
|
5915
5928
|
constructor() {
|
|
5916
5929
|
super(...arguments);
|
|
5917
5930
|
e(this, "name", "À deux doigts de vomir");
|
|
@@ -5930,7 +5943,7 @@ class Jp extends o {
|
|
|
5930
5943
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.bottle.total >= 2e3);
|
|
5931
5944
|
}
|
|
5932
5945
|
}
|
|
5933
|
-
class
|
|
5946
|
+
class em extends o {
|
|
5934
5947
|
constructor() {
|
|
5935
5948
|
super(...arguments);
|
|
5936
5949
|
e(this, "name", "Alcoolique");
|
|
@@ -5949,7 +5962,7 @@ class Kp extends o {
|
|
|
5949
5962
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.bottle.total >= 5e3);
|
|
5950
5963
|
}
|
|
5951
5964
|
}
|
|
5952
|
-
class
|
|
5965
|
+
class tm extends o {
|
|
5953
5966
|
constructor() {
|
|
5954
5967
|
super(...arguments);
|
|
5955
5968
|
e(this, "name", "C'est sympa ce ptit jeu");
|
|
@@ -5968,7 +5981,7 @@ class em extends o {
|
|
|
5968
5981
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.chest.total >= 50);
|
|
5969
5982
|
}
|
|
5970
5983
|
}
|
|
5971
|
-
class
|
|
5984
|
+
class am extends o {
|
|
5972
5985
|
constructor() {
|
|
5973
5986
|
super(...arguments);
|
|
5974
5987
|
e(this, "name", "T'as enfin eu un truc intéressant ?");
|
|
@@ -5987,7 +6000,7 @@ class tm extends o {
|
|
|
5987
6000
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.chest.total >= 150);
|
|
5988
6001
|
}
|
|
5989
6002
|
}
|
|
5990
|
-
class
|
|
6003
|
+
class sm extends o {
|
|
5991
6004
|
constructor() {
|
|
5992
6005
|
super(...arguments);
|
|
5993
6006
|
e(this, "name", "Ça commence à gratter hein ?");
|
|
@@ -6006,7 +6019,7 @@ class am extends o {
|
|
|
6006
6019
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.chest.total >= 500);
|
|
6007
6020
|
}
|
|
6008
6021
|
}
|
|
6009
|
-
class
|
|
6022
|
+
class rm extends o {
|
|
6010
6023
|
constructor() {
|
|
6011
6024
|
super(...arguments);
|
|
6012
6025
|
e(this, "name", "LAISSEZ-MOI OUVRIR DES COFFRES !");
|
|
@@ -6025,7 +6038,7 @@ class sm extends o {
|
|
|
6025
6038
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.chest.total >= 1e3);
|
|
6026
6039
|
}
|
|
6027
6040
|
}
|
|
6028
|
-
class
|
|
6041
|
+
class nm extends o {
|
|
6029
6042
|
constructor() {
|
|
6030
6043
|
super(...arguments);
|
|
6031
6044
|
e(this, "name", "xXFan2GenshinXx");
|
|
@@ -6044,7 +6057,7 @@ class rm extends o {
|
|
|
6044
6057
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.chest.total >= 2e3);
|
|
6045
6058
|
}
|
|
6046
6059
|
}
|
|
6047
|
-
class
|
|
6060
|
+
class im extends o {
|
|
6048
6061
|
constructor() {
|
|
6049
6062
|
super(...arguments);
|
|
6050
6063
|
e(this, "name", "Ils font mieux chez Ikea");
|
|
@@ -6063,7 +6076,7 @@ class nm extends o {
|
|
|
6063
6076
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.total >= 20);
|
|
6064
6077
|
}
|
|
6065
6078
|
}
|
|
6066
|
-
class
|
|
6079
|
+
class lm extends o {
|
|
6067
6080
|
constructor() {
|
|
6068
6081
|
super(...arguments);
|
|
6069
6082
|
e(this, "name", "Te fais pas mal avec le marteau");
|
|
@@ -6082,7 +6095,7 @@ class im extends o {
|
|
|
6082
6095
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.total >= 50);
|
|
6083
6096
|
}
|
|
6084
6097
|
}
|
|
6085
|
-
class
|
|
6098
|
+
class om extends o {
|
|
6086
6099
|
constructor() {
|
|
6087
6100
|
super(...arguments);
|
|
6088
6101
|
e(this, "name", "Insensible aux échardes on dirait");
|
|
@@ -6101,7 +6114,7 @@ class lm extends o {
|
|
|
6101
6114
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.total >= 200);
|
|
6102
6115
|
}
|
|
6103
6116
|
}
|
|
6104
|
-
class
|
|
6117
|
+
class dm extends o {
|
|
6105
6118
|
constructor() {
|
|
6106
6119
|
super(...arguments);
|
|
6107
6120
|
e(this, "name", "Je ne veux pas voir l'état de ton atelier");
|
|
@@ -6120,7 +6133,7 @@ class om extends o {
|
|
|
6120
6133
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.total >= 500);
|
|
6121
6134
|
}
|
|
6122
6135
|
}
|
|
6123
|
-
class
|
|
6136
|
+
class cm extends o {
|
|
6124
6137
|
constructor() {
|
|
6125
6138
|
super(...arguments);
|
|
6126
6139
|
e(this, "name", "Mac Gyver");
|
|
@@ -6139,7 +6152,7 @@ class dm extends o {
|
|
|
6139
6152
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.total >= 1e3);
|
|
6140
6153
|
}
|
|
6141
6154
|
}
|
|
6142
|
-
class
|
|
6155
|
+
class um extends o {
|
|
6143
6156
|
constructor() {
|
|
6144
6157
|
super(...arguments);
|
|
6145
6158
|
e(this, "name", "Apprenti Gourmand");
|
|
@@ -6158,7 +6171,7 @@ class cm extends o {
|
|
|
6158
6171
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.cookedMeal >= 10);
|
|
6159
6172
|
}
|
|
6160
6173
|
}
|
|
6161
|
-
class
|
|
6174
|
+
class fm extends o {
|
|
6162
6175
|
constructor() {
|
|
6163
6176
|
super(...arguments);
|
|
6164
6177
|
e(this, "name", "Chef Amateur");
|
|
@@ -6177,7 +6190,7 @@ class um extends o {
|
|
|
6177
6190
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.cookedMeal >= 50);
|
|
6178
6191
|
}
|
|
6179
6192
|
}
|
|
6180
|
-
class
|
|
6193
|
+
class pm extends o {
|
|
6181
6194
|
constructor() {
|
|
6182
6195
|
super(...arguments);
|
|
6183
6196
|
e(this, "name", "Maître des Saveurs");
|
|
@@ -6196,7 +6209,7 @@ class fm extends o {
|
|
|
6196
6209
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.cookedMeal >= 100);
|
|
6197
6210
|
}
|
|
6198
6211
|
}
|
|
6199
|
-
class
|
|
6212
|
+
class mm extends o {
|
|
6200
6213
|
constructor() {
|
|
6201
6214
|
super(...arguments);
|
|
6202
6215
|
e(this, "name", "Artiste Culinaire");
|
|
@@ -6215,7 +6228,7 @@ class pm extends o {
|
|
|
6215
6228
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.cookedMeal >= 250);
|
|
6216
6229
|
}
|
|
6217
6230
|
}
|
|
6218
|
-
class
|
|
6231
|
+
class hm extends o {
|
|
6219
6232
|
constructor() {
|
|
6220
6233
|
super(...arguments);
|
|
6221
6234
|
e(this, "name", "Sultan des Épices");
|
|
@@ -6234,7 +6247,7 @@ class mm extends o {
|
|
|
6234
6247
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.cookedMeal >= 500);
|
|
6235
6248
|
}
|
|
6236
6249
|
}
|
|
6237
|
-
class
|
|
6250
|
+
class ym extends o {
|
|
6238
6251
|
constructor() {
|
|
6239
6252
|
super(...arguments);
|
|
6240
6253
|
e(this, "name", "C'est une bonne situation ça scribe ?");
|
|
@@ -6253,7 +6266,7 @@ class hm extends o {
|
|
|
6253
6266
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.scrolls >= 5);
|
|
6254
6267
|
}
|
|
6255
6268
|
}
|
|
6256
|
-
class
|
|
6269
|
+
class gm extends o {
|
|
6257
6270
|
constructor() {
|
|
6258
6271
|
super(...arguments);
|
|
6259
6272
|
e(this, "name", "Artisan des Runes");
|
|
@@ -6272,7 +6285,7 @@ class ym extends o {
|
|
|
6272
6285
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.scrolls >= 10);
|
|
6273
6286
|
}
|
|
6274
6287
|
}
|
|
6275
|
-
class
|
|
6288
|
+
class wm extends o {
|
|
6276
6289
|
constructor() {
|
|
6277
6290
|
super(...arguments);
|
|
6278
6291
|
e(this, "name", "Collectionneur des Manuscrits");
|
|
@@ -6291,7 +6304,7 @@ class gm extends o {
|
|
|
6291
6304
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.scrolls >= 20);
|
|
6292
6305
|
}
|
|
6293
6306
|
}
|
|
6294
|
-
class
|
|
6307
|
+
class _m extends o {
|
|
6295
6308
|
constructor() {
|
|
6296
6309
|
super(...arguments);
|
|
6297
6310
|
e(this, "name", "Maître des Enluminures");
|
|
@@ -6310,7 +6323,7 @@ class wm extends o {
|
|
|
6310
6323
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.scrolls >= 50);
|
|
6311
6324
|
}
|
|
6312
6325
|
}
|
|
6313
|
-
class
|
|
6326
|
+
class bm extends o {
|
|
6314
6327
|
constructor() {
|
|
6315
6328
|
super(...arguments);
|
|
6316
6329
|
e(this, "name", "Protecteur du Savoir");
|
|
@@ -6329,7 +6342,7 @@ class _m extends o {
|
|
|
6329
6342
|
e(this, "onUserQuestMetaUpdate", (s) => s.crafts.scrolls >= 100);
|
|
6330
6343
|
}
|
|
6331
6344
|
}
|
|
6332
|
-
class
|
|
6345
|
+
class Mm extends o {
|
|
6333
6346
|
constructor() {
|
|
6334
6347
|
super(...arguments);
|
|
6335
6348
|
e(this, "name", "Egoïste...");
|
|
@@ -6348,7 +6361,7 @@ class bm extends o {
|
|
|
6348
6361
|
e(this, "onUserQuestMetaUpdate", (s) => s.timeAt10Percent >= 90);
|
|
6349
6362
|
}
|
|
6350
6363
|
}
|
|
6351
|
-
class
|
|
6364
|
+
class km extends o {
|
|
6352
6365
|
constructor() {
|
|
6353
6366
|
super(...arguments);
|
|
6354
6367
|
e(this, "name", "Merci bien camarade !");
|
|
@@ -6367,7 +6380,7 @@ class Mm extends o {
|
|
|
6367
6380
|
e(this, "onUserQuestMetaUpdate", (s) => s.timeAt90Percent >= 90);
|
|
6368
6381
|
}
|
|
6369
6382
|
}
|
|
6370
|
-
class
|
|
6383
|
+
class vm extends o {
|
|
6371
6384
|
constructor() {
|
|
6372
6385
|
super(...arguments);
|
|
6373
6386
|
e(this, "name", "Vaut mieux ça que perdre non ?");
|
|
@@ -6386,7 +6399,7 @@ class km extends o {
|
|
|
6386
6399
|
e(this, "onUserQuestMetaUpdate", (s) => s.draw >= 100);
|
|
6387
6400
|
}
|
|
6388
6401
|
}
|
|
6389
|
-
class
|
|
6402
|
+
class xm extends o {
|
|
6390
6403
|
constructor() {
|
|
6391
6404
|
super(...arguments);
|
|
6392
6405
|
e(this, "name", "Tu as trouvé ton rival");
|
|
@@ -6405,7 +6418,7 @@ class vm extends o {
|
|
|
6405
6418
|
e(this, "onUserQuestMetaUpdate", (s) => s.draw >= 300);
|
|
6406
6419
|
}
|
|
6407
6420
|
}
|
|
6408
|
-
class
|
|
6421
|
+
class Sm extends o {
|
|
6409
6422
|
constructor() {
|
|
6410
6423
|
super(...arguments);
|
|
6411
6424
|
e(this, "name", "Rathon c'est toi ?");
|
|
@@ -6424,7 +6437,7 @@ class xm extends o {
|
|
|
6424
6437
|
e(this, "onUserQuestMetaUpdate", (s) => s.draw >= 1e3);
|
|
6425
6438
|
}
|
|
6426
6439
|
}
|
|
6427
|
-
class
|
|
6440
|
+
class Um extends o {
|
|
6428
6441
|
constructor() {
|
|
6429
6442
|
super(...arguments);
|
|
6430
6443
|
e(this, "name", "Tu te bats contre un mur ou quoi ?");
|
|
@@ -6443,7 +6456,7 @@ class Sm extends o {
|
|
|
6443
6456
|
e(this, "onUserQuestMetaUpdate", (s) => s.draw >= 2e3);
|
|
6444
6457
|
}
|
|
6445
6458
|
}
|
|
6446
|
-
class
|
|
6459
|
+
class Om extends o {
|
|
6447
6460
|
constructor() {
|
|
6448
6461
|
super(...arguments);
|
|
6449
6462
|
e(this, "name", "De vrais jumeaux");
|
|
@@ -6462,7 +6475,7 @@ class Um extends o {
|
|
|
6462
6475
|
e(this, "onUserQuestMetaUpdate", (s) => s.draw >= 5e3);
|
|
6463
6476
|
}
|
|
6464
6477
|
}
|
|
6465
|
-
class
|
|
6478
|
+
class Dm extends o {
|
|
6466
6479
|
constructor() {
|
|
6467
6480
|
super(...arguments);
|
|
6468
6481
|
e(this, "name", "Y'a un truc que t'as pas compris ?");
|
|
@@ -6481,7 +6494,7 @@ class Om extends o {
|
|
|
6481
6494
|
e(this, "onUserQuestMetaUpdate", (s) => s.edito.readToday >= 100);
|
|
6482
6495
|
}
|
|
6483
6496
|
}
|
|
6484
|
-
class
|
|
6497
|
+
class Cm extends o {
|
|
6485
6498
|
constructor() {
|
|
6486
6499
|
super(...arguments);
|
|
6487
6500
|
e(this, "name", "Une fois, pas deux");
|
|
@@ -6500,7 +6513,7 @@ class Dm extends o {
|
|
|
6500
6513
|
e(this, "onUserQuestMetaUpdate", (s) => s.tagEveryone);
|
|
6501
6514
|
}
|
|
6502
6515
|
}
|
|
6503
|
-
class
|
|
6516
|
+
class Bm extends o {
|
|
6504
6517
|
constructor() {
|
|
6505
6518
|
super(...arguments);
|
|
6506
6519
|
e(this, "name", "Emoji Diable");
|
|
@@ -6519,7 +6532,7 @@ class Cm extends o {
|
|
|
6519
6532
|
e(this, "onUserQuestMetaUpdate", (s) => s.double_six >= 50);
|
|
6520
6533
|
}
|
|
6521
6534
|
}
|
|
6522
|
-
class
|
|
6535
|
+
class Rm extends o {
|
|
6523
6536
|
constructor() {
|
|
6524
6537
|
super(...arguments);
|
|
6525
6538
|
e(this, "name", "Pas de chance ^^");
|
|
@@ -6538,7 +6551,7 @@ class Bm extends o {
|
|
|
6538
6551
|
e(this, "onUserQuestMetaUpdate", (s) => s.drawDoubleSix >= 1);
|
|
6539
6552
|
}
|
|
6540
6553
|
}
|
|
6541
|
-
class
|
|
6554
|
+
class $m extends o {
|
|
6542
6555
|
constructor() {
|
|
6543
6556
|
super(...arguments);
|
|
6544
6557
|
e(this, "name", "Jamais 6 sans 7");
|
|
@@ -6557,7 +6570,7 @@ class Rm extends o {
|
|
|
6557
6570
|
e(this, "onUserQuestMetaUpdate", (s) => s.sevenQuitteOuDouble >= 1);
|
|
6558
6571
|
}
|
|
6559
6572
|
}
|
|
6560
|
-
class
|
|
6573
|
+
class Tm extends o {
|
|
6561
6574
|
constructor() {
|
|
6562
6575
|
super(...arguments);
|
|
6563
6576
|
e(this, "name", "Le 5 à la suite");
|
|
@@ -6579,7 +6592,7 @@ class $m extends o {
|
|
|
6579
6592
|
});
|
|
6580
6593
|
}
|
|
6581
6594
|
}
|
|
6582
|
-
class
|
|
6595
|
+
class Fm extends o {
|
|
6583
6596
|
constructor() {
|
|
6584
6597
|
super(...arguments);
|
|
6585
6598
|
e(this, "name", "Le 5 à la suite, mais dans l'autre sens");
|
|
@@ -6601,7 +6614,7 @@ class Tm extends o {
|
|
|
6601
6614
|
});
|
|
6602
6615
|
}
|
|
6603
6616
|
}
|
|
6604
|
-
class
|
|
6617
|
+
class Em extends o {
|
|
6605
6618
|
constructor() {
|
|
6606
6619
|
super(...arguments);
|
|
6607
6620
|
e(this, "name", "Jacques le noir");
|
|
@@ -6620,7 +6633,7 @@ class Fm extends o {
|
|
|
6620
6633
|
e(this, "onUserQuestMetaUpdate", (s) => s.black_jack >= 10);
|
|
6621
6634
|
}
|
|
6622
6635
|
}
|
|
6623
|
-
class
|
|
6636
|
+
class Ym extends o {
|
|
6624
6637
|
constructor() {
|
|
6625
6638
|
super(...arguments);
|
|
6626
6639
|
e(this, "name", "La feuille enveloppe la pierre ! T'es sûr ?");
|
|
@@ -6639,7 +6652,7 @@ class Em extends o {
|
|
|
6639
6652
|
e(this, "onUserQuestMetaUpdate", (s) => s.rps.lastRps === "paper" && s.rps.nb >= 100);
|
|
6640
6653
|
}
|
|
6641
6654
|
}
|
|
6642
|
-
class
|
|
6655
|
+
class Im extends o {
|
|
6643
6656
|
constructor() {
|
|
6644
6657
|
super(...arguments);
|
|
6645
6658
|
e(this, "name", "On fait la paire !");
|
|
@@ -6658,7 +6671,7 @@ class Ym extends o {
|
|
|
6658
6671
|
e(this, "onUserQuestMetaUpdate", (s) => s.rps.lastRps === "scissor" && s.rps.nb >= 100);
|
|
6659
6672
|
}
|
|
6660
6673
|
}
|
|
6661
|
-
class
|
|
6674
|
+
class Am extends o {
|
|
6662
6675
|
constructor() {
|
|
6663
6676
|
super(...arguments);
|
|
6664
6677
|
e(this, "name", "Golem");
|
|
@@ -6677,7 +6690,7 @@ class Im extends o {
|
|
|
6677
6690
|
e(this, "onUserQuestMetaUpdate", (s) => s.rps.lastRps === "rock" && s.rps.nb >= 100);
|
|
6678
6691
|
}
|
|
6679
6692
|
}
|
|
6680
|
-
class
|
|
6693
|
+
class Pm extends o {
|
|
6681
6694
|
constructor() {
|
|
6682
6695
|
super(...arguments);
|
|
6683
6696
|
e(this, "name", "LE NEUF ET LE HUIT !!!");
|
|
@@ -6696,7 +6709,7 @@ class Am extends o {
|
|
|
6696
6709
|
e(this, "onUserQuestMetaUpdate", (s) => s.guessInOne >= 1);
|
|
6697
6710
|
}
|
|
6698
6711
|
}
|
|
6699
|
-
class
|
|
6712
|
+
class Nm extends o {
|
|
6700
6713
|
constructor() {
|
|
6701
6714
|
super(...arguments);
|
|
6702
6715
|
e(this, "name", "Sataniste");
|
|
@@ -6715,7 +6728,7 @@ class Pm extends o {
|
|
|
6715
6728
|
e(this, "onUserQuestMetaUpdate", (s) => s.bet666.amount >= 30);
|
|
6716
6729
|
}
|
|
6717
6730
|
}
|
|
6718
|
-
class
|
|
6731
|
+
class Lm extends o {
|
|
6719
6732
|
constructor() {
|
|
6720
6733
|
super(...arguments);
|
|
6721
6734
|
e(this, "name", "Jour, Nuit");
|
|
@@ -6741,7 +6754,7 @@ class Nm extends o {
|
|
|
6741
6754
|
});
|
|
6742
6755
|
}
|
|
6743
6756
|
}
|
|
6744
|
-
class
|
|
6757
|
+
class jm extends o {
|
|
6745
6758
|
constructor() {
|
|
6746
6759
|
super(...arguments);
|
|
6747
6760
|
e(this, "name", "Explorateur novice");
|
|
@@ -6760,7 +6773,7 @@ class Lm extends o {
|
|
|
6760
6773
|
e(this, "onUserQuestMetaUpdate", ({ raidFinished: s }) => s >= 10);
|
|
6761
6774
|
}
|
|
6762
6775
|
}
|
|
6763
|
-
class
|
|
6776
|
+
class Hm extends o {
|
|
6764
6777
|
constructor() {
|
|
6765
6778
|
super(...arguments);
|
|
6766
6779
|
e(this, "name", "Aventurier intrépide");
|
|
@@ -6779,7 +6792,7 @@ class jm extends o {
|
|
|
6779
6792
|
e(this, "onUserQuestMetaUpdate", ({ raidFinished: s }) => s >= 25);
|
|
6780
6793
|
}
|
|
6781
6794
|
}
|
|
6782
|
-
class
|
|
6795
|
+
class Qm extends o {
|
|
6783
6796
|
constructor() {
|
|
6784
6797
|
super(...arguments);
|
|
6785
6798
|
e(this, "name", "Conquérant des terres");
|
|
@@ -6798,7 +6811,7 @@ class Hm extends o {
|
|
|
6798
6811
|
e(this, "onUserQuestMetaUpdate", ({ raidFinished: s }) => s >= 50);
|
|
6799
6812
|
}
|
|
6800
6813
|
}
|
|
6801
|
-
class
|
|
6814
|
+
class Wm extends o {
|
|
6802
6815
|
constructor() {
|
|
6803
6816
|
super(...arguments);
|
|
6804
6817
|
e(this, "name", "Pionnier des secrets");
|
|
@@ -6817,7 +6830,7 @@ class Qm extends o {
|
|
|
6817
6830
|
e(this, "onUserQuestMetaUpdate", ({ raidFinished: s }) => s >= 100);
|
|
6818
6831
|
}
|
|
6819
6832
|
}
|
|
6820
|
-
class
|
|
6833
|
+
class Gm extends o {
|
|
6821
6834
|
constructor() {
|
|
6822
6835
|
super(...arguments);
|
|
6823
6836
|
e(this, "name", "Légende vivante");
|
|
@@ -6836,7 +6849,7 @@ class Wm extends o {
|
|
|
6836
6849
|
e(this, "onUserQuestMetaUpdate", ({ raidFinished: s }) => s >= 200);
|
|
6837
6850
|
}
|
|
6838
6851
|
}
|
|
6839
|
-
class
|
|
6852
|
+
class qm extends o {
|
|
6840
6853
|
constructor() {
|
|
6841
6854
|
super(...arguments);
|
|
6842
6855
|
e(this, "name", "Vif");
|
|
@@ -6855,7 +6868,7 @@ class Gm extends o {
|
|
|
6855
6868
|
e(this, "onUserQuestMetaUpdate", (s) => s.randomMessage >= 20);
|
|
6856
6869
|
}
|
|
6857
6870
|
}
|
|
6858
|
-
class
|
|
6871
|
+
class Vm extends o {
|
|
6859
6872
|
constructor() {
|
|
6860
6873
|
super(...arguments);
|
|
6861
6874
|
e(this, "name", "Lucky Luke");
|
|
@@ -6874,7 +6887,7 @@ class qm extends o {
|
|
|
6874
6887
|
e(this, "onUserQuestMetaUpdate", (s) => s.randomMessage >= 50);
|
|
6875
6888
|
}
|
|
6876
6889
|
}
|
|
6877
|
-
class
|
|
6890
|
+
class zm extends o {
|
|
6878
6891
|
constructor() {
|
|
6879
6892
|
super(...arguments);
|
|
6880
6893
|
e(this, "name", "Rapide");
|
|
@@ -6893,7 +6906,7 @@ class Vm extends o {
|
|
|
6893
6906
|
e(this, "onUserQuestMetaUpdate", (s) => s.randomMessage >= 100);
|
|
6894
6907
|
}
|
|
6895
6908
|
}
|
|
6896
|
-
class
|
|
6909
|
+
class Xm extends o {
|
|
6897
6910
|
constructor() {
|
|
6898
6911
|
super(...arguments);
|
|
6899
6912
|
e(this, "name", "Et Furieux");
|
|
@@ -6912,7 +6925,7 @@ class zm extends o {
|
|
|
6912
6925
|
e(this, "onUserQuestMetaUpdate", (s) => s.randomMessage >= 200);
|
|
6913
6926
|
}
|
|
6914
6927
|
}
|
|
6915
|
-
class
|
|
6928
|
+
class Zm extends o {
|
|
6916
6929
|
constructor() {
|
|
6917
6930
|
super(...arguments);
|
|
6918
6931
|
e(this, "name", "Ka-Chow");
|
|
@@ -6931,7 +6944,7 @@ class Xm extends o {
|
|
|
6931
6944
|
e(this, "onUserQuestMetaUpdate", (s) => s.randomMessage >= 500);
|
|
6932
6945
|
}
|
|
6933
6946
|
}
|
|
6934
|
-
class
|
|
6947
|
+
class Jm extends o {
|
|
6935
6948
|
constructor() {
|
|
6936
6949
|
super(...arguments);
|
|
6937
6950
|
e(this, "name", "Collabo");
|
|
@@ -6950,7 +6963,7 @@ class Zm extends o {
|
|
|
6950
6963
|
e(this, "onUserQuestMetaUpdate", (s) => s.reportedSomeone);
|
|
6951
6964
|
}
|
|
6952
6965
|
}
|
|
6953
|
-
class
|
|
6966
|
+
class Km extends o {
|
|
6954
6967
|
constructor() {
|
|
6955
6968
|
super(...arguments);
|
|
6956
6969
|
e(this, "name", "Bienvenue sur OPFR");
|
|
@@ -6969,7 +6982,7 @@ class Jm extends o {
|
|
|
6969
6982
|
e(this, "onUserQuestMetaUpdate", ({ messageSent: s }) => s >= 100);
|
|
6970
6983
|
}
|
|
6971
6984
|
}
|
|
6972
|
-
class
|
|
6985
|
+
class eh extends o {
|
|
6973
6986
|
constructor() {
|
|
6974
6987
|
super(...arguments);
|
|
6975
6988
|
e(this, "name", "Une vraie pipelette");
|
|
@@ -6988,7 +7001,7 @@ class Km extends o {
|
|
|
6988
7001
|
e(this, "onUserQuestMetaUpdate", ({ messageSent: s }) => s >= 1e3);
|
|
6989
7002
|
}
|
|
6990
7003
|
}
|
|
6991
|
-
class
|
|
7004
|
+
class th extends o {
|
|
6992
7005
|
constructor() {
|
|
6993
7006
|
super(...arguments);
|
|
6994
7007
|
e(this, "name", "Faites le taire ");
|
|
@@ -7007,7 +7020,7 @@ class eh extends o {
|
|
|
7007
7020
|
e(this, "onUserQuestMetaUpdate", ({ messageSent: s }) => s >= 25e3);
|
|
7008
7021
|
}
|
|
7009
7022
|
}
|
|
7010
|
-
class
|
|
7023
|
+
class ah extends o {
|
|
7011
7024
|
constructor() {
|
|
7012
7025
|
super(...arguments);
|
|
7013
7026
|
e(this, "name", "Tu sors de chez toi des fois ?");
|
|
@@ -7026,7 +7039,7 @@ class th extends o {
|
|
|
7026
7039
|
e(this, "onUserQuestMetaUpdate", ({ messageSent: s }) => s >= 1e5);
|
|
7027
7040
|
}
|
|
7028
7041
|
}
|
|
7029
|
-
class
|
|
7042
|
+
class sh extends o {
|
|
7030
7043
|
constructor() {
|
|
7031
7044
|
super(...arguments);
|
|
7032
7045
|
e(this, "name", "J'ai pas les mots... mais toi si !");
|
|
@@ -7045,7 +7058,7 @@ class ah extends o {
|
|
|
7045
7058
|
e(this, "onUserQuestMetaUpdate", ({ messageSent: s }) => s >= 2e5);
|
|
7046
7059
|
}
|
|
7047
7060
|
}
|
|
7048
|
-
class
|
|
7061
|
+
class rh extends o {
|
|
7049
7062
|
constructor() {
|
|
7050
7063
|
super(...arguments);
|
|
7051
7064
|
e(this, "name", "T'as reçu ton argent de poche ?");
|
|
@@ -7064,7 +7077,7 @@ class sh extends o {
|
|
|
7064
7077
|
e(this, "onUserQuestMetaUpdate", ({ totalSpentInShop: s }) => s >= 5e6);
|
|
7065
7078
|
}
|
|
7066
7079
|
}
|
|
7067
|
-
class
|
|
7080
|
+
class nh extends o {
|
|
7068
7081
|
constructor() {
|
|
7069
7082
|
super(...arguments);
|
|
7070
7083
|
e(this, "name", "Tu t'es fait plaisir !");
|
|
@@ -7083,7 +7096,7 @@ class rh extends o {
|
|
|
7083
7096
|
e(this, "onUserQuestMetaUpdate", ({ totalSpentInShop: s }) => s >= 5e7);
|
|
7084
7097
|
}
|
|
7085
7098
|
}
|
|
7086
|
-
class
|
|
7099
|
+
class ih extends o {
|
|
7087
7100
|
constructor() {
|
|
7088
7101
|
super(...arguments);
|
|
7089
7102
|
e(this, "name", "C'était les soldes j'espère !");
|
|
@@ -7102,7 +7115,7 @@ class nh extends o {
|
|
|
7102
7115
|
e(this, "onUserQuestMetaUpdate", ({ totalSpentInShop: s }) => s >= 5e8);
|
|
7103
7116
|
}
|
|
7104
7117
|
}
|
|
7105
|
-
class
|
|
7118
|
+
class lh extends o {
|
|
7106
7119
|
constructor() {
|
|
7107
7120
|
super(...arguments);
|
|
7108
7121
|
e(this, "name", "Paré pour la Fashion Week");
|
|
@@ -7121,7 +7134,7 @@ class ih extends o {
|
|
|
7121
7134
|
e(this, "onUserQuestMetaUpdate", ({ totalSpentInShop: s }) => s >= 5e9);
|
|
7122
7135
|
}
|
|
7123
7136
|
}
|
|
7124
|
-
class
|
|
7137
|
+
class oh extends o {
|
|
7125
7138
|
constructor() {
|
|
7126
7139
|
super(...arguments);
|
|
7127
7140
|
e(this, "name", "Fashion Viktim");
|
|
@@ -7140,7 +7153,7 @@ class lh extends o {
|
|
|
7140
7153
|
e(this, "onUserQuestMetaUpdate", ({ totalSpentInShop: s }) => s >= 5e10);
|
|
7141
7154
|
}
|
|
7142
7155
|
}
|
|
7143
|
-
class
|
|
7156
|
+
class dh extends o {
|
|
7144
7157
|
constructor() {
|
|
7145
7158
|
super(...arguments);
|
|
7146
7159
|
e(this, "name", "On commence à se connaître");
|
|
@@ -7159,7 +7172,7 @@ class oh extends o {
|
|
|
7159
7172
|
e(this, "onUserQuestMetaUpdate", ({ totalMinutesInVoice: s }) => s >= 60 * 10);
|
|
7160
7173
|
}
|
|
7161
7174
|
}
|
|
7162
|
-
class
|
|
7175
|
+
class ch extends o {
|
|
7163
7176
|
constructor() {
|
|
7164
7177
|
super(...arguments);
|
|
7165
7178
|
e(this, "name", "Je sais tout de toi");
|
|
@@ -7178,7 +7191,7 @@ class dh extends o {
|
|
|
7178
7191
|
e(this, "onUserQuestMetaUpdate", ({ totalMinutesInVoice: s }) => s >= 60 * 25);
|
|
7179
7192
|
}
|
|
7180
7193
|
}
|
|
7181
|
-
class
|
|
7194
|
+
class uh extends o {
|
|
7182
7195
|
constructor() {
|
|
7183
7196
|
super(...arguments);
|
|
7184
7197
|
e(this, "name", "T'as pas soif ?");
|
|
@@ -7197,7 +7210,7 @@ class ch extends o {
|
|
|
7197
7210
|
e(this, "onUserQuestMetaUpdate", ({ totalMinutesInVoice: s }) => s >= 60 * 250);
|
|
7198
7211
|
}
|
|
7199
7212
|
}
|
|
7200
|
-
class
|
|
7213
|
+
class fh extends o {
|
|
7201
7214
|
constructor() {
|
|
7202
7215
|
super(...arguments);
|
|
7203
7216
|
e(this, "name", "Ok Socrate");
|
|
@@ -7216,7 +7229,7 @@ class uh extends o {
|
|
|
7216
7229
|
e(this, "onUserQuestMetaUpdate", ({ totalMinutesInVoice: s }) => s >= 60 * 2500);
|
|
7217
7230
|
}
|
|
7218
7231
|
}
|
|
7219
|
-
class
|
|
7232
|
+
class ph extends o {
|
|
7220
7233
|
constructor() {
|
|
7221
7234
|
super(...arguments);
|
|
7222
7235
|
e(this, "name", "Elle ressemble à quoi la lumière du soleil ?");
|
|
@@ -7235,7 +7248,7 @@ class fh extends o {
|
|
|
7235
7248
|
e(this, "onUserQuestMetaUpdate", ({ totalMinutesInVoice: s }) => s >= 60 * 5e3);
|
|
7236
7249
|
}
|
|
7237
7250
|
}
|
|
7238
|
-
class
|
|
7251
|
+
class mh extends o {
|
|
7239
7252
|
constructor() {
|
|
7240
7253
|
super(...arguments);
|
|
7241
7254
|
e(this, "name", "Stagiaire");
|
|
@@ -7254,7 +7267,7 @@ class ph extends o {
|
|
|
7254
7267
|
e(this, "onUserQuestMetaUpdate", (s) => s.work >= 100);
|
|
7255
7268
|
}
|
|
7256
7269
|
}
|
|
7257
|
-
class
|
|
7270
|
+
class hh extends o {
|
|
7258
7271
|
constructor() {
|
|
7259
7272
|
super(...arguments);
|
|
7260
7273
|
e(this, "name", "Alternant");
|
|
@@ -7273,7 +7286,7 @@ class mh extends o {
|
|
|
7273
7286
|
e(this, "onUserQuestMetaUpdate", (s) => s.work >= 300);
|
|
7274
7287
|
}
|
|
7275
7288
|
}
|
|
7276
|
-
class
|
|
7289
|
+
class yh extends o {
|
|
7277
7290
|
constructor() {
|
|
7278
7291
|
super(...arguments);
|
|
7279
7292
|
e(this, "name", "Smicard");
|
|
@@ -7292,7 +7305,7 @@ class hh extends o {
|
|
|
7292
7305
|
e(this, "onUserQuestMetaUpdate", (s) => s.work >= 1e3);
|
|
7293
7306
|
}
|
|
7294
7307
|
}
|
|
7295
|
-
class
|
|
7308
|
+
class gh extends o {
|
|
7296
7309
|
constructor() {
|
|
7297
7310
|
super(...arguments);
|
|
7298
7311
|
e(this, "name", "Communiste");
|
|
@@ -7311,7 +7324,7 @@ class yh extends o {
|
|
|
7311
7324
|
e(this, "onUserQuestMetaUpdate", (s) => s.work >= 2e3);
|
|
7312
7325
|
}
|
|
7313
7326
|
}
|
|
7314
|
-
class
|
|
7327
|
+
class wh extends o {
|
|
7315
7328
|
constructor() {
|
|
7316
7329
|
super(...arguments);
|
|
7317
7330
|
e(this, "name", "Esclave");
|
|
@@ -7330,7 +7343,7 @@ class gh extends o {
|
|
|
7330
7343
|
e(this, "onUserQuestMetaUpdate", (s) => s.work >= 5e3);
|
|
7331
7344
|
}
|
|
7332
7345
|
}
|
|
7333
|
-
class
|
|
7346
|
+
class _h extends o {
|
|
7334
7347
|
constructor() {
|
|
7335
7348
|
super(...arguments);
|
|
7336
7349
|
e(this, "name", "Timide");
|
|
@@ -7349,7 +7362,7 @@ class wh extends o {
|
|
|
7349
7362
|
e(this, "onUserQuestMetaUpdate", ({ writeDifferentChat: s }) => s.length >= 10);
|
|
7350
7363
|
}
|
|
7351
7364
|
}
|
|
7352
|
-
class
|
|
7365
|
+
class bh extends o {
|
|
7353
7366
|
constructor() {
|
|
7354
7367
|
super(...arguments);
|
|
7355
7368
|
e(this, "name", "Curieux");
|
|
@@ -7368,7 +7381,7 @@ class _h extends o {
|
|
|
7368
7381
|
e(this, "onUserQuestMetaUpdate", ({ writeDifferentChat: s }) => s.length >= 20);
|
|
7369
7382
|
}
|
|
7370
7383
|
}
|
|
7371
|
-
class
|
|
7384
|
+
class Mh extends o {
|
|
7372
7385
|
constructor() {
|
|
7373
7386
|
super(...arguments);
|
|
7374
7387
|
e(this, "name", "Voyeur");
|
|
@@ -7387,7 +7400,7 @@ class bh extends o {
|
|
|
7387
7400
|
e(this, "onUserQuestMetaUpdate", ({ writeDifferentChat: s }) => s.length >= 50);
|
|
7388
7401
|
}
|
|
7389
7402
|
}
|
|
7390
|
-
class
|
|
7403
|
+
class kh extends o {
|
|
7391
7404
|
constructor() {
|
|
7392
7405
|
super(...arguments);
|
|
7393
7406
|
e(this, "name", "Philanthrope");
|
|
@@ -7406,7 +7419,7 @@ class Mh extends o {
|
|
|
7406
7419
|
e(this, "onUserQuestMetaUpdate", ({ writeDifferentChat: s }) => s.length >= 100);
|
|
7407
7420
|
}
|
|
7408
7421
|
}
|
|
7409
|
-
class
|
|
7422
|
+
class vh extends o {
|
|
7410
7423
|
constructor() {
|
|
7411
7424
|
super(...arguments);
|
|
7412
7425
|
e(this, "name", "Explorateur");
|
|
@@ -7425,7 +7438,7 @@ class kh extends o {
|
|
|
7425
7438
|
e(this, "onUserQuestMetaUpdate", ({ writeDifferentChat: s }) => s.length >= 200);
|
|
7426
7439
|
}
|
|
7427
7440
|
}
|
|
7428
|
-
class
|
|
7441
|
+
class xh extends o {
|
|
7429
7442
|
constructor() {
|
|
7430
7443
|
super(...arguments);
|
|
7431
7444
|
e(this, "name", "Jeune étudiant");
|
|
@@ -7444,7 +7457,7 @@ class vh extends o {
|
|
|
7444
7457
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.total >= 50);
|
|
7445
7458
|
}
|
|
7446
7459
|
}
|
|
7447
|
-
class
|
|
7460
|
+
class Sh extends o {
|
|
7448
7461
|
constructor() {
|
|
7449
7462
|
super(...arguments);
|
|
7450
7463
|
e(this, "name", "Habitué des bars");
|
|
@@ -7463,7 +7476,7 @@ class xh extends o {
|
|
|
7463
7476
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.total >= 250);
|
|
7464
7477
|
}
|
|
7465
7478
|
}
|
|
7466
|
-
class
|
|
7479
|
+
class Uh extends o {
|
|
7467
7480
|
constructor() {
|
|
7468
7481
|
super(...arguments);
|
|
7469
7482
|
e(this, "name", "Alcoolique notoire");
|
|
@@ -7482,7 +7495,7 @@ class Sh extends o {
|
|
|
7482
7495
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.total >= 500);
|
|
7483
7496
|
}
|
|
7484
7497
|
}
|
|
7485
|
-
class
|
|
7498
|
+
class Oh extends o {
|
|
7486
7499
|
constructor() {
|
|
7487
7500
|
super(...arguments);
|
|
7488
7501
|
e(this, "name", "Ivrogne");
|
|
@@ -7501,7 +7514,7 @@ class Uh extends o {
|
|
|
7501
7514
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.total >= 1e3);
|
|
7502
7515
|
}
|
|
7503
7516
|
}
|
|
7504
|
-
class
|
|
7517
|
+
class Dh extends o {
|
|
7505
7518
|
constructor() {
|
|
7506
7519
|
super(...arguments);
|
|
7507
7520
|
e(this, "name", "Breton");
|
|
@@ -7520,7 +7533,7 @@ class Oh extends o {
|
|
|
7520
7533
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.total >= 2e3);
|
|
7521
7534
|
}
|
|
7522
7535
|
}
|
|
7523
|
-
class
|
|
7536
|
+
class Ch extends o {
|
|
7524
7537
|
constructor() {
|
|
7525
7538
|
super(...arguments);
|
|
7526
7539
|
e(this, "name", "Buveur de Rhum");
|
|
@@ -7539,7 +7552,7 @@ class Dh extends o {
|
|
|
7539
7552
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.rhums >= 10);
|
|
7540
7553
|
}
|
|
7541
7554
|
}
|
|
7542
|
-
class
|
|
7555
|
+
class Bh extends o {
|
|
7543
7556
|
constructor() {
|
|
7544
7557
|
super(...arguments);
|
|
7545
7558
|
e(this, "name", "Amateur de Rhum");
|
|
@@ -7558,7 +7571,7 @@ class Ch extends o {
|
|
|
7558
7571
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.rhums >= 100);
|
|
7559
7572
|
}
|
|
7560
7573
|
}
|
|
7561
|
-
class
|
|
7574
|
+
class Rh extends o {
|
|
7562
7575
|
constructor() {
|
|
7563
7576
|
super(...arguments);
|
|
7564
7577
|
e(this, "name", "Connaisseur de Rhum");
|
|
@@ -7577,7 +7590,7 @@ class Bh extends o {
|
|
|
7577
7590
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.rhums >= 250);
|
|
7578
7591
|
}
|
|
7579
7592
|
}
|
|
7580
|
-
class
|
|
7593
|
+
class $h extends o {
|
|
7581
7594
|
constructor() {
|
|
7582
7595
|
super(...arguments);
|
|
7583
7596
|
e(this, "name", "Rhumologue");
|
|
@@ -7596,7 +7609,7 @@ class Rh extends o {
|
|
|
7596
7609
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.rhums >= 500);
|
|
7597
7610
|
}
|
|
7598
7611
|
}
|
|
7599
|
-
class
|
|
7612
|
+
class Th extends o {
|
|
7600
7613
|
constructor() {
|
|
7601
7614
|
super(...arguments);
|
|
7602
7615
|
e(this, "name", "Dieu du Rhum");
|
|
@@ -7615,7 +7628,7 @@ class $h extends o {
|
|
|
7615
7628
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.rhums >= 1e3);
|
|
7616
7629
|
}
|
|
7617
7630
|
}
|
|
7618
|
-
class
|
|
7631
|
+
class Fh extends o {
|
|
7619
7632
|
constructor() {
|
|
7620
7633
|
super(...arguments);
|
|
7621
7634
|
e(this, "name", "Buveur de Bière");
|
|
@@ -7634,7 +7647,7 @@ class Th extends o {
|
|
|
7634
7647
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.beers >= 10);
|
|
7635
7648
|
}
|
|
7636
7649
|
}
|
|
7637
|
-
class
|
|
7650
|
+
class Eh extends o {
|
|
7638
7651
|
constructor() {
|
|
7639
7652
|
super(...arguments);
|
|
7640
7653
|
e(this, "name", "Amateur de Bière");
|
|
@@ -7653,7 +7666,7 @@ class Fh extends o {
|
|
|
7653
7666
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.beers >= 100);
|
|
7654
7667
|
}
|
|
7655
7668
|
}
|
|
7656
|
-
class
|
|
7669
|
+
class Yh extends o {
|
|
7657
7670
|
constructor() {
|
|
7658
7671
|
super(...arguments);
|
|
7659
7672
|
e(this, "name", "Connaisseur de Bière");
|
|
@@ -7672,7 +7685,7 @@ class Eh extends o {
|
|
|
7672
7685
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.beers >= 250);
|
|
7673
7686
|
}
|
|
7674
7687
|
}
|
|
7675
|
-
class
|
|
7688
|
+
class Ih extends o {
|
|
7676
7689
|
constructor() {
|
|
7677
7690
|
super(...arguments);
|
|
7678
7691
|
e(this, "name", "Bièrologue");
|
|
@@ -7691,7 +7704,7 @@ class Yh extends o {
|
|
|
7691
7704
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.beers >= 500);
|
|
7692
7705
|
}
|
|
7693
7706
|
}
|
|
7694
|
-
class
|
|
7707
|
+
class Ah extends o {
|
|
7695
7708
|
constructor() {
|
|
7696
7709
|
super(...arguments);
|
|
7697
7710
|
e(this, "name", "Dieu de la Bière");
|
|
@@ -7710,7 +7723,7 @@ class Ih extends o {
|
|
|
7710
7723
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.beers >= 1e3);
|
|
7711
7724
|
}
|
|
7712
7725
|
}
|
|
7713
|
-
class
|
|
7726
|
+
class Ph extends o {
|
|
7714
7727
|
constructor() {
|
|
7715
7728
|
super(...arguments);
|
|
7716
7729
|
e(this, "name", "Buveur de Vin");
|
|
@@ -7729,7 +7742,7 @@ class Ah extends o {
|
|
|
7729
7742
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.wines >= 10);
|
|
7730
7743
|
}
|
|
7731
7744
|
}
|
|
7732
|
-
class
|
|
7745
|
+
class Nh extends o {
|
|
7733
7746
|
constructor() {
|
|
7734
7747
|
super(...arguments);
|
|
7735
7748
|
e(this, "name", "Amateur de Vin");
|
|
@@ -7748,7 +7761,7 @@ class Ph extends o {
|
|
|
7748
7761
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.wines >= 100);
|
|
7749
7762
|
}
|
|
7750
7763
|
}
|
|
7751
|
-
class
|
|
7764
|
+
class Lh extends o {
|
|
7752
7765
|
constructor() {
|
|
7753
7766
|
super(...arguments);
|
|
7754
7767
|
e(this, "name", "Connaisseur de Vin");
|
|
@@ -7767,7 +7780,7 @@ class Nh extends o {
|
|
|
7767
7780
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.wines >= 250);
|
|
7768
7781
|
}
|
|
7769
7782
|
}
|
|
7770
|
-
class
|
|
7783
|
+
class jh extends o {
|
|
7771
7784
|
constructor() {
|
|
7772
7785
|
super(...arguments);
|
|
7773
7786
|
e(this, "name", "Vinologue");
|
|
@@ -7786,7 +7799,7 @@ class Lh extends o {
|
|
|
7786
7799
|
e(this, "onUserQuestMetaUpdate", (s) => s.items.alcohols.wines >= 500);
|
|
7787
7800
|
}
|
|
7788
7801
|
}
|
|
7789
|
-
class
|
|
7802
|
+
class Hh extends o {
|
|
7790
7803
|
constructor() {
|
|
7791
7804
|
super(...arguments);
|
|
7792
7805
|
e(this, "name", "Dieu du Vin");
|
|
@@ -7807,120 +7820,120 @@ class jh extends o {
|
|
|
7807
7820
|
}
|
|
7808
7821
|
const mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7809
7822
|
__proto__: null,
|
|
7810
|
-
Bet10M:
|
|
7811
|
-
Bet666:
|
|
7812
|
-
BetMinValue:
|
|
7813
|
-
Birthday:
|
|
7814
|
-
BotPing:
|
|
7815
|
-
ChestOpen1000Quest:
|
|
7816
|
-
ChestOpen150Quest:
|
|
7817
|
-
ChestOpen2000Quest:
|
|
7818
|
-
ChestOpen500Quest:
|
|
7819
|
-
ChestOpen50Quest:
|
|
7820
|
-
Craft1000Times:
|
|
7821
|
-
Craft100CookedMeals:
|
|
7822
|
-
Craft100Scrolls:
|
|
7823
|
-
Craft10CookedMeals:
|
|
7824
|
-
Craft10Scrolls:
|
|
7825
|
-
Craft200Times:
|
|
7826
|
-
Craft20Scrolls:
|
|
7827
|
-
Craft20Times:
|
|
7828
|
-
Craft250CookedMeals:
|
|
7829
|
-
Craft500CookedMeals:
|
|
7830
|
-
Craft500Times:
|
|
7831
|
-
Craft50CookedMeals:
|
|
7832
|
-
Craft50Scrolls:
|
|
7833
|
-
Craft50Times:
|
|
7834
|
-
Craft5Scrolls:
|
|
7835
|
-
Crew10Percent:
|
|
7836
|
-
Crew90Percent:
|
|
7837
|
-
DoubleSix:
|
|
7838
|
-
Draw1000Quest:
|
|
7839
|
-
Draw100Quest:
|
|
7840
|
-
Draw2000Quest:
|
|
7841
|
-
Draw300Quest:
|
|
7842
|
-
Draw5000Quest:
|
|
7843
|
-
DrawDoubleSix:
|
|
7844
|
-
Drink1000Alcohols:
|
|
7845
|
-
Drink1000Beer:
|
|
7846
|
-
Drink1000Quest:
|
|
7847
|
-
Drink1000Rhum:
|
|
7848
|
-
Drink1000Wine:
|
|
7849
|
-
Drink100Beer:
|
|
7850
|
-
Drink100Rhum:
|
|
7851
|
-
Drink100Today:
|
|
7852
|
-
Drink100Wine:
|
|
7853
|
-
Drink10Beer:
|
|
7854
|
-
Drink10Rhum:
|
|
7855
|
-
Drink10Wine:
|
|
7856
|
-
Drink2000Alcohols:
|
|
7857
|
-
Drink2000Quest:
|
|
7858
|
-
Drink200Quest:
|
|
7859
|
-
Drink250Alcohols:
|
|
7860
|
-
Drink250Beer:
|
|
7861
|
-
Drink250Rhum:
|
|
7862
|
-
Drink250Wine:
|
|
7863
|
-
Drink5000Quest:
|
|
7864
|
-
Drink500Alcohols:
|
|
7865
|
-
Drink500Beer:
|
|
7866
|
-
Drink500Quest:
|
|
7867
|
-
Drink500Rhum:
|
|
7868
|
-
Drink500Wine:
|
|
7869
|
-
Drink50Alcohols:
|
|
7870
|
-
Edito:
|
|
7871
|
-
Everyone:
|
|
7872
|
-
Finish100Raids:
|
|
7873
|
-
Finish10Raids:
|
|
7874
|
-
Finish200Raids:
|
|
7875
|
-
Finish25Raids:
|
|
7876
|
-
Finish50Raids:
|
|
7877
|
-
GuessInOne:
|
|
7878
|
-
Lose10M:
|
|
7879
|
-
LoseAll5GamesInRow:
|
|
7880
|
-
LoseEverything:
|
|
7881
|
-
Paper100:
|
|
7882
|
-
RandomMessage100Quest:
|
|
7883
|
-
RandomMessage200Quest:
|
|
7884
|
-
RandomMessage20Quest:
|
|
7885
|
-
RandomMessage500Quest:
|
|
7886
|
-
RandomMessage50Quest:
|
|
7887
|
-
Report:
|
|
7888
|
-
Rock100:
|
|
7889
|
-
Scissor100:
|
|
7890
|
-
SevenQuitteOuDouble:
|
|
7891
|
-
SpendShop500M:
|
|
7892
|
-
SpendShop50M:
|
|
7893
|
-
SpendShop50Ml:
|
|
7894
|
-
SpendShop5M:
|
|
7895
|
-
SpendShop5Ml:
|
|
7896
|
-
TenBlackJack:
|
|
7897
|
-
TotalBet10M:
|
|
7898
|
-
TotalBet1Md:
|
|
7899
|
-
Voice10Hours:
|
|
7900
|
-
Voice2500Hours:
|
|
7901
|
-
Voice250Hours:
|
|
7902
|
-
Voice25Hours:
|
|
7903
|
-
Voice5000Hours:
|
|
7904
|
-
WinAll5GamesInRow:
|
|
7905
|
-
WinLose10:
|
|
7906
|
-
WinOn10MBet:
|
|
7907
|
-
Work1000Quest:
|
|
7908
|
-
Work100Quest:
|
|
7909
|
-
Work2000Quest:
|
|
7910
|
-
Work300Quest:
|
|
7911
|
-
Work5000Quest:
|
|
7912
|
-
Write100Chats:
|
|
7913
|
-
Write10Chats:
|
|
7914
|
-
Write200Chats:
|
|
7915
|
-
Write20Chats:
|
|
7916
|
-
Write50Chats:
|
|
7917
|
-
send100000Messages:
|
|
7918
|
-
send1000Messages:
|
|
7919
|
-
send100Messages:
|
|
7920
|
-
send200000Messages:
|
|
7921
|
-
send25000Messages:
|
|
7823
|
+
Bet10M: jp,
|
|
7824
|
+
Bet666: Nm,
|
|
7825
|
+
BetMinValue: Np,
|
|
7826
|
+
Birthday: qp,
|
|
7827
|
+
BotPing: Vp,
|
|
7828
|
+
ChestOpen1000Quest: rm,
|
|
7829
|
+
ChestOpen150Quest: am,
|
|
7830
|
+
ChestOpen2000Quest: nm,
|
|
7831
|
+
ChestOpen500Quest: sm,
|
|
7832
|
+
ChestOpen50Quest: tm,
|
|
7833
|
+
Craft1000Times: cm,
|
|
7834
|
+
Craft100CookedMeals: pm,
|
|
7835
|
+
Craft100Scrolls: bm,
|
|
7836
|
+
Craft10CookedMeals: um,
|
|
7837
|
+
Craft10Scrolls: gm,
|
|
7838
|
+
Craft200Times: om,
|
|
7839
|
+
Craft20Scrolls: wm,
|
|
7840
|
+
Craft20Times: im,
|
|
7841
|
+
Craft250CookedMeals: mm,
|
|
7842
|
+
Craft500CookedMeals: hm,
|
|
7843
|
+
Craft500Times: dm,
|
|
7844
|
+
Craft50CookedMeals: fm,
|
|
7845
|
+
Craft50Scrolls: _m,
|
|
7846
|
+
Craft50Times: lm,
|
|
7847
|
+
Craft5Scrolls: ym,
|
|
7848
|
+
Crew10Percent: Mm,
|
|
7849
|
+
Crew90Percent: km,
|
|
7850
|
+
DoubleSix: Bm,
|
|
7851
|
+
Draw1000Quest: Sm,
|
|
7852
|
+
Draw100Quest: vm,
|
|
7853
|
+
Draw2000Quest: Um,
|
|
7854
|
+
Draw300Quest: xm,
|
|
7855
|
+
Draw5000Quest: Om,
|
|
7856
|
+
DrawDoubleSix: Rm,
|
|
7857
|
+
Drink1000Alcohols: Oh,
|
|
7858
|
+
Drink1000Beer: Ah,
|
|
7859
|
+
Drink1000Quest: Jp,
|
|
7860
|
+
Drink1000Rhum: Th,
|
|
7861
|
+
Drink1000Wine: Hh,
|
|
7862
|
+
Drink100Beer: Eh,
|
|
7863
|
+
Drink100Rhum: Bh,
|
|
7864
|
+
Drink100Today: zp,
|
|
7865
|
+
Drink100Wine: Nh,
|
|
7866
|
+
Drink10Beer: Fh,
|
|
7867
|
+
Drink10Rhum: Ch,
|
|
7868
|
+
Drink10Wine: Ph,
|
|
7869
|
+
Drink2000Alcohols: Dh,
|
|
7870
|
+
Drink2000Quest: Kp,
|
|
7871
|
+
Drink200Quest: Xp,
|
|
7872
|
+
Drink250Alcohols: Sh,
|
|
7873
|
+
Drink250Beer: Yh,
|
|
7874
|
+
Drink250Rhum: Rh,
|
|
7875
|
+
Drink250Wine: Lh,
|
|
7876
|
+
Drink5000Quest: em,
|
|
7877
|
+
Drink500Alcohols: Uh,
|
|
7878
|
+
Drink500Beer: Ih,
|
|
7879
|
+
Drink500Quest: Zp,
|
|
7880
|
+
Drink500Rhum: $h,
|
|
7881
|
+
Drink500Wine: jh,
|
|
7882
|
+
Drink50Alcohols: xh,
|
|
7883
|
+
Edito: Dm,
|
|
7884
|
+
Everyone: Cm,
|
|
7885
|
+
Finish100Raids: Wm,
|
|
7886
|
+
Finish10Raids: jm,
|
|
7887
|
+
Finish200Raids: Gm,
|
|
7888
|
+
Finish25Raids: Hm,
|
|
7889
|
+
Finish50Raids: Qm,
|
|
7890
|
+
GuessInOne: Pm,
|
|
7891
|
+
Lose10M: Gp,
|
|
7892
|
+
LoseAll5GamesInRow: Fm,
|
|
7893
|
+
LoseEverything: Lp,
|
|
7894
|
+
Paper100: Ym,
|
|
7895
|
+
RandomMessage100Quest: zm,
|
|
7896
|
+
RandomMessage200Quest: Xm,
|
|
7897
|
+
RandomMessage20Quest: qm,
|
|
7898
|
+
RandomMessage500Quest: Zm,
|
|
7899
|
+
RandomMessage50Quest: Vm,
|
|
7900
|
+
Report: Jm,
|
|
7901
|
+
Rock100: Am,
|
|
7902
|
+
Scissor100: Im,
|
|
7903
|
+
SevenQuitteOuDouble: $m,
|
|
7904
|
+
SpendShop500M: ih,
|
|
7905
|
+
SpendShop50M: nh,
|
|
7906
|
+
SpendShop50Ml: oh,
|
|
7907
|
+
SpendShop5M: rh,
|
|
7908
|
+
SpendShop5Ml: lh,
|
|
7909
|
+
TenBlackJack: Em,
|
|
7910
|
+
TotalBet10M: Qp,
|
|
7911
|
+
TotalBet1Md: Wp,
|
|
7912
|
+
Voice10Hours: dh,
|
|
7913
|
+
Voice2500Hours: fh,
|
|
7914
|
+
Voice250Hours: uh,
|
|
7915
|
+
Voice25Hours: ch,
|
|
7916
|
+
Voice5000Hours: ph,
|
|
7917
|
+
WinAll5GamesInRow: Tm,
|
|
7918
|
+
WinLose10: Lm,
|
|
7919
|
+
WinOn10MBet: Hp,
|
|
7920
|
+
Work1000Quest: yh,
|
|
7921
|
+
Work100Quest: mh,
|
|
7922
|
+
Work2000Quest: gh,
|
|
7923
|
+
Work300Quest: hh,
|
|
7924
|
+
Work5000Quest: wh,
|
|
7925
|
+
Write100Chats: kh,
|
|
7926
|
+
Write10Chats: _h,
|
|
7927
|
+
Write200Chats: vh,
|
|
7928
|
+
Write20Chats: bh,
|
|
7929
|
+
Write50Chats: Mh,
|
|
7930
|
+
send100000Messages: ah,
|
|
7931
|
+
send1000Messages: eh,
|
|
7932
|
+
send100Messages: Km,
|
|
7933
|
+
send200000Messages: sh,
|
|
7934
|
+
send25000Messages: th
|
|
7922
7935
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7923
|
-
class
|
|
7936
|
+
class Qh extends o {
|
|
7924
7937
|
constructor() {
|
|
7925
7938
|
super(...arguments);
|
|
7926
7939
|
e(this, "name", "T'as pas oublié de ranger ta chambre ?");
|
|
@@ -7946,8 +7959,8 @@ class Hh extends o {
|
|
|
7946
7959
|
}
|
|
7947
7960
|
const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7948
7961
|
__proto__: null,
|
|
7949
|
-
DailyAll:
|
|
7950
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7962
|
+
DailyAll: Qh
|
|
7963
|
+
}, Symbol.toStringTag, { value: "Module" })), Wh = [
|
|
7951
7964
|
...Object.values(fn),
|
|
7952
7965
|
...Object.values(pn),
|
|
7953
7966
|
...Object.values(un),
|
|
@@ -7957,7 +7970,7 @@ const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7957
7970
|
...Object.values(dn),
|
|
7958
7971
|
...Object.values(an),
|
|
7959
7972
|
...Object.values(_a)
|
|
7960
|
-
],
|
|
7973
|
+
], Gh = async (t) => {
|
|
7961
7974
|
var s;
|
|
7962
7975
|
const a = [];
|
|
7963
7976
|
for (const r of Object.values(fn)) {
|
|
@@ -7970,7 +7983,7 @@ const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7970
7983
|
}
|
|
7971
7984
|
}
|
|
7972
7985
|
a.length > 0 && ce("userMetaUpdate", t.user._id, a);
|
|
7973
|
-
},
|
|
7986
|
+
}, qh = async (t) => {
|
|
7974
7987
|
var s;
|
|
7975
7988
|
const a = [];
|
|
7976
7989
|
for (const r of Object.values(mn)) {
|
|
@@ -7981,18 +7994,18 @@ const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7981
7994
|
}
|
|
7982
7995
|
}
|
|
7983
7996
|
a.length > 0 && ce("userQuestMetaUpdate", t.user._id, a);
|
|
7984
|
-
},
|
|
7997
|
+
}, Vh = ["raidUnlock"], yn = new $i.EventEmitter(), Ct = (t, a, s) => {
|
|
7985
7998
|
yn.emit(t, a, s);
|
|
7986
|
-
},
|
|
7987
|
-
for (const a of
|
|
7999
|
+
}, _w = (t) => {
|
|
8000
|
+
for (const a of Vh)
|
|
7988
8001
|
yn.on(a, (s, r) => {
|
|
7989
8002
|
t(a, s, r);
|
|
7990
8003
|
});
|
|
7991
|
-
},
|
|
8004
|
+
}, zh = async (t) => {
|
|
7992
8005
|
var s, r;
|
|
7993
8006
|
const a = await zn(t.user._id);
|
|
7994
8007
|
$(t.xp.amount) >= 30 && !rt(a, "training") && (await nt(a.user._id, "training"), Ct("raidUnlock", t.user._id, "training")), (((r = (s = a.obtainedRewards.training) == null ? void 0 : s.filter((n) => n.startsWith("end_"))) == null ? void 0 : r.length) ?? 0) >= 4 && !rt(a, "resources") && (await nt(a.user._id, "resources"), Ct("raidUnlock", t.user._id, "resources"));
|
|
7995
|
-
},
|
|
8008
|
+
}, Xh = async (t) => {
|
|
7996
8009
|
const a = await zn(t.user._id);
|
|
7997
8010
|
Qa(t.equipmentList, (s) => s.id).map((s) => vi(s)).filter((s) => s.panoply === "adventurer").length === 6 && !rt(a, "pirate_cave") && (await nt(a.user._id, "pirate_cave"), Ct("raidUnlock", t.user._id, "pirate_cave")), (t.itemList.get("map_fragment") ?? 0) >= 5 && !rt(a, "mysterious_island") && (await nt(a.user._id, "mysterious_island"), await De(
|
|
7998
8011
|
t.user._id,
|
|
@@ -8077,7 +8090,7 @@ const hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
8077
8090
|
});
|
|
8078
8091
|
ts.index({ user: 1 });
|
|
8079
8092
|
ts.post("findOneAndUpdate", async function(t) {
|
|
8080
|
-
await
|
|
8093
|
+
await qh(t);
|
|
8081
8094
|
});
|
|
8082
8095
|
var Fs;
|
|
8083
8096
|
const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta", ts), v = async (t, a) => {
|
|
@@ -8085,15 +8098,15 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8085
8098
|
upsert: !0,
|
|
8086
8099
|
returnDocument: "after"
|
|
8087
8100
|
});
|
|
8088
|
-
}, Xh = async (t) => {
|
|
8089
|
-
await v(t, { $inc: { work: 1 } });
|
|
8090
8101
|
}, Zh = async (t) => {
|
|
8091
|
-
await v(t, { $
|
|
8102
|
+
await v(t, { $inc: { work: 1 } });
|
|
8092
8103
|
}, Jh = async (t) => {
|
|
8093
|
-
await v(t, { $set: {
|
|
8104
|
+
await v(t, { $set: { hadMoreThanZeroBerry: !0 } });
|
|
8094
8105
|
}, Kh = async (t) => {
|
|
8106
|
+
await v(t, { $set: { sevenQuitteOuDouble: !0 } });
|
|
8107
|
+
}, ey = async (t) => {
|
|
8095
8108
|
await v(t, { $inc: { black_jack: 1 } });
|
|
8096
|
-
},
|
|
8109
|
+
}, ty = async (t, a, s) => {
|
|
8097
8110
|
await v(t, {
|
|
8098
8111
|
$push: {
|
|
8099
8112
|
lastGames: {
|
|
@@ -8103,9 +8116,9 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8103
8116
|
}
|
|
8104
8117
|
}
|
|
8105
8118
|
});
|
|
8106
|
-
}, ty = async (t) => {
|
|
8107
|
-
await v(t, { $inc: { draw: 1 } });
|
|
8108
8119
|
}, ay = async (t) => {
|
|
8120
|
+
await v(t, { $inc: { draw: 1 } });
|
|
8121
|
+
}, sy = async (t) => {
|
|
8109
8122
|
const a = /* @__PURE__ */ new Date();
|
|
8110
8123
|
a.setDate(a.getDate() - 1), a.setHours(0, 0, 0, 0);
|
|
8111
8124
|
const s = /* @__PURE__ */ new Date();
|
|
@@ -8129,9 +8142,9 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8129
8142
|
$set: { "bet666.last": /* @__PURE__ */ new Date(), "bet666.amount": 1 }
|
|
8130
8143
|
}
|
|
8131
8144
|
);
|
|
8132
|
-
}, sy = async (t, a) => {
|
|
8133
|
-
await v(t, { $inc: { totalBet: a } });
|
|
8134
8145
|
}, ry = async (t, a) => {
|
|
8146
|
+
await v(t, { $inc: { totalBet: a } });
|
|
8147
|
+
}, ny = async (t, a) => {
|
|
8135
8148
|
await v(t, [
|
|
8136
8149
|
{
|
|
8137
8150
|
$set: {
|
|
@@ -8152,7 +8165,7 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8152
8165
|
totalSpentInShop: a
|
|
8153
8166
|
}
|
|
8154
8167
|
});
|
|
8155
|
-
},
|
|
8168
|
+
}, iy = async (t, a, s) => {
|
|
8156
8169
|
const r = zs(s);
|
|
8157
8170
|
await v(t, {
|
|
8158
8171
|
$inc: {
|
|
@@ -8161,45 +8174,45 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8161
8174
|
"crafts.total": a
|
|
8162
8175
|
}
|
|
8163
8176
|
});
|
|
8164
|
-
}, iy = async (t) => {
|
|
8165
|
-
await v(t, { $set: { reportedSomeone: !0 } });
|
|
8166
8177
|
}, ly = async (t) => {
|
|
8167
|
-
await v(t, { $
|
|
8178
|
+
await v(t, { $set: { reportedSomeone: !0 } });
|
|
8168
8179
|
}, oy = async (t) => {
|
|
8169
|
-
await v(t, { $inc: {
|
|
8180
|
+
await v(t, { $inc: { randomMessage: 1 } });
|
|
8170
8181
|
}, dy = async (t) => {
|
|
8171
|
-
await v(t, { $inc: {
|
|
8182
|
+
await v(t, { $inc: { botPing: 1 } });
|
|
8172
8183
|
}, cy = async (t) => {
|
|
8173
|
-
await v(t, { $
|
|
8184
|
+
await v(t, { $inc: { guessInOne: 1 } });
|
|
8174
8185
|
}, uy = async (t) => {
|
|
8175
|
-
await v(t, { $
|
|
8186
|
+
await v(t, { $set: { hasCelebrateBirthday: !0 } });
|
|
8176
8187
|
}, fy = async (t) => {
|
|
8188
|
+
await v(t, { $inc: { double_six: 1 } });
|
|
8189
|
+
}, py = async (t) => {
|
|
8177
8190
|
await v(t, { $inc: { drawDoubleSix: 1 } });
|
|
8178
|
-
}, py = async (t, a) => {
|
|
8179
|
-
a ? await v(t, { $set: { timeAt10Percent: 0 } }) : await v(t, { $inc: { timeAt10Percent: 1 } });
|
|
8180
8191
|
}, my = async (t, a) => {
|
|
8192
|
+
a ? await v(t, { $set: { timeAt10Percent: 0 } }) : await v(t, { $inc: { timeAt10Percent: 1 } });
|
|
8193
|
+
}, hy = async (t, a) => {
|
|
8181
8194
|
a ? await v(t, { $set: { timeAt90Percent: 0 } }) : await v(t, { $inc: { timeAt90Percent: 1 } });
|
|
8182
|
-
}, hy = async (t) => {
|
|
8183
|
-
await v(t, { $set: { tagEveryone: !0 } });
|
|
8184
8195
|
}, yy = async (t) => {
|
|
8196
|
+
await v(t, { $set: { tagEveryone: !0 } });
|
|
8197
|
+
}, gy = async (t) => {
|
|
8185
8198
|
await v(t, { $set: { betMin: !0 } });
|
|
8186
8199
|
}, wn = async (t) => {
|
|
8187
8200
|
await v(t, { $set: { loseEverything: !0 } });
|
|
8188
|
-
}, gy = async (t) => {
|
|
8189
|
-
await v(t, { $set: { bet10M: !0 } });
|
|
8190
8201
|
}, wy = async (t) => {
|
|
8191
|
-
await v(t, { $set: {
|
|
8202
|
+
await v(t, { $set: { bet10M: !0 } });
|
|
8192
8203
|
}, _y = async (t) => {
|
|
8204
|
+
await v(t, { $set: { winBet10M: !0 } });
|
|
8205
|
+
}, by = async (t) => {
|
|
8193
8206
|
await v(t, { $set: { lose10M: !0 } });
|
|
8194
|
-
},
|
|
8207
|
+
}, My = async (t, a) => {
|
|
8195
8208
|
await v(t, {
|
|
8196
8209
|
$addToSet: { writeDifferentChat: a }
|
|
8197
8210
|
});
|
|
8198
|
-
},
|
|
8211
|
+
}, ky = async (t) => {
|
|
8199
8212
|
await v(t, {
|
|
8200
8213
|
$inc: { messageSent: 1 }
|
|
8201
8214
|
});
|
|
8202
|
-
},
|
|
8215
|
+
}, vy = async (t) => {
|
|
8203
8216
|
const a = /* @__PURE__ */ new Date();
|
|
8204
8217
|
a.setHours(0, 0, 0, 0), await be.updateOne(
|
|
8205
8218
|
{
|
|
@@ -8223,9 +8236,9 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8223
8236
|
$set: { "edito.lastTimeRead": /* @__PURE__ */ new Date(), "edito.readToday": 1 }
|
|
8224
8237
|
}
|
|
8225
8238
|
);
|
|
8226
|
-
},
|
|
8239
|
+
}, xy = async (t, a) => {
|
|
8227
8240
|
await v(t, { $inc: { totalMinutesInVoice: a } });
|
|
8228
|
-
},
|
|
8241
|
+
}, Sy = async (t, a, s) => {
|
|
8229
8242
|
await v(t, {
|
|
8230
8243
|
$inc: {
|
|
8231
8244
|
"items.alcohols.wines": a === "wine" ? s : 0,
|
|
@@ -8234,7 +8247,7 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8234
8247
|
"items.alcohols.total": s
|
|
8235
8248
|
}
|
|
8236
8249
|
});
|
|
8237
|
-
},
|
|
8250
|
+
}, Uy = async (t, a) => {
|
|
8238
8251
|
const s = /* @__PURE__ */ new Date();
|
|
8239
8252
|
s.setHours(0, 0, 0, 0), await be.updateOne(
|
|
8240
8253
|
{
|
|
@@ -8258,50 +8271,50 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8258
8271
|
$set: { "items.bottle.last": /* @__PURE__ */ new Date(), "items.bottle.today": a }
|
|
8259
8272
|
}
|
|
8260
8273
|
);
|
|
8261
|
-
},
|
|
8274
|
+
}, Oy = async (t, a) => {
|
|
8262
8275
|
await v(t, {
|
|
8263
8276
|
$inc: { "items.bottle.total": a }
|
|
8264
8277
|
});
|
|
8265
|
-
},
|
|
8278
|
+
}, Dy = async (t, a) => {
|
|
8266
8279
|
await v(t, {
|
|
8267
8280
|
$inc: { "items.chest.total": a }
|
|
8268
8281
|
});
|
|
8269
|
-
},
|
|
8282
|
+
}, bw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8270
8283
|
__proto__: null,
|
|
8271
|
-
addTotalMinutesInVoice:
|
|
8272
|
-
addWrittenTextChannel:
|
|
8273
|
-
bet666:
|
|
8274
|
-
botPingIncrement:
|
|
8275
|
-
drawDoubleSix:
|
|
8276
|
-
drawIncrement:
|
|
8277
|
-
hadMoreThanZeroBerry:
|
|
8278
|
-
hasBet10M:
|
|
8279
|
-
hasBetMin:
|
|
8280
|
-
hasCelebrateBirthday:
|
|
8281
|
-
hasGuessInOne:
|
|
8282
|
-
hasLose10M:
|
|
8284
|
+
addTotalMinutesInVoice: xy,
|
|
8285
|
+
addWrittenTextChannel: My,
|
|
8286
|
+
bet666: sy,
|
|
8287
|
+
botPingIncrement: dy,
|
|
8288
|
+
drawDoubleSix: py,
|
|
8289
|
+
drawIncrement: ay,
|
|
8290
|
+
hadMoreThanZeroBerry: Jh,
|
|
8291
|
+
hasBet10M: wy,
|
|
8292
|
+
hasBetMin: gy,
|
|
8293
|
+
hasCelebrateBirthday: uy,
|
|
8294
|
+
hasGuessInOne: cy,
|
|
8295
|
+
hasLose10M: by,
|
|
8283
8296
|
hasLoseEverything: wn,
|
|
8284
|
-
hasReportedSomeone:
|
|
8285
|
-
hasSevenQod:
|
|
8286
|
-
hasTagEveryone:
|
|
8287
|
-
hasWinBet10M:
|
|
8288
|
-
incrementAlcoholDrink:
|
|
8289
|
-
incrementBottleUsedToday:
|
|
8290
|
-
incrementBottleUsedTotal:
|
|
8291
|
-
incrementChestOpenedTotal:
|
|
8292
|
-
incrementMessageSend:
|
|
8293
|
-
randomMessageIncrement:
|
|
8294
|
-
readEdito:
|
|
8295
|
-
updateCrafts:
|
|
8296
|
-
updateCrew10Percent:
|
|
8297
|
-
updateCrew90Percent:
|
|
8298
|
-
updateLastGames:
|
|
8299
|
-
updateRps:
|
|
8300
|
-
updateTotalBet:
|
|
8297
|
+
hasReportedSomeone: ly,
|
|
8298
|
+
hasSevenQod: Kh,
|
|
8299
|
+
hasTagEveryone: yy,
|
|
8300
|
+
hasWinBet10M: _y,
|
|
8301
|
+
incrementAlcoholDrink: Sy,
|
|
8302
|
+
incrementBottleUsedToday: Uy,
|
|
8303
|
+
incrementBottleUsedTotal: Oy,
|
|
8304
|
+
incrementChestOpenedTotal: Dy,
|
|
8305
|
+
incrementMessageSend: ky,
|
|
8306
|
+
randomMessageIncrement: oy,
|
|
8307
|
+
readEdito: vy,
|
|
8308
|
+
updateCrafts: iy,
|
|
8309
|
+
updateCrew10Percent: my,
|
|
8310
|
+
updateCrew90Percent: hy,
|
|
8311
|
+
updateLastGames: ty,
|
|
8312
|
+
updateRps: ny,
|
|
8313
|
+
updateTotalBet: ry,
|
|
8301
8314
|
updateTotalSpentInShop: gn,
|
|
8302
|
-
winBlackjack:
|
|
8303
|
-
winDoubleSix:
|
|
8304
|
-
workIncrement:
|
|
8315
|
+
winBlackjack: ey,
|
|
8316
|
+
winDoubleSix: fy,
|
|
8317
|
+
workIncrement: Zh
|
|
8305
8318
|
}, Symbol.toStringTag, { value: "Module" })), Ae = {
|
|
8306
8319
|
multiplier: { type: Number, default: 0 },
|
|
8307
8320
|
origin: String,
|
|
@@ -8316,6 +8329,7 @@ const be = ((Fs = T) == null ? void 0 : Fs.UserQuestMeta) || F("UserQuestMeta",
|
|
|
8316
8329
|
},
|
|
8317
8330
|
premium: { type: Date, default: null },
|
|
8318
8331
|
booster: { type: Boolean, default: !1 },
|
|
8332
|
+
scam: { type: Boolean, default: !1 },
|
|
8319
8333
|
berry: { type: Number, default: 0, index: !0 },
|
|
8320
8334
|
xp: {
|
|
8321
8335
|
lastMessageWithXp: { type: Date, default: /* @__PURE__ */ new Date() },
|
|
@@ -8387,7 +8401,7 @@ pt.index({ user: 1 });
|
|
|
8387
8401
|
pt.index({ "xp.amount": -1 });
|
|
8388
8402
|
pt.index({ berry: -1 });
|
|
8389
8403
|
pt.post("findOneAndUpdate", async function(t) {
|
|
8390
|
-
await
|
|
8404
|
+
await zh(t), await Gh(t), t.berry === 0 && await wn(t.user._id), t.hp <= 0 && await Bn(t.user._id);
|
|
8391
8405
|
});
|
|
8392
8406
|
var Es;
|
|
8393
8407
|
const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n = async (t) => await Ye.create({
|
|
@@ -8395,16 +8409,16 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8395
8409
|
}), Wt = async (t, a = {}) => {
|
|
8396
8410
|
const s = await Ye.findOne({ user: t }, a);
|
|
8397
8411
|
return s || await _n(t);
|
|
8398
|
-
},
|
|
8412
|
+
}, Cy = (t, a) => Ye.findOneAndUpdate({ user: t }, a, {
|
|
8399
8413
|
returnDocument: "after",
|
|
8400
8414
|
upsert: !0
|
|
8401
|
-
}),
|
|
8415
|
+
}), A = async (t, a) => {
|
|
8402
8416
|
await Ye.findOneAndUpdate({ user: t }, a, {
|
|
8403
8417
|
returnDocument: "after",
|
|
8404
8418
|
upsert: !0
|
|
8405
8419
|
});
|
|
8406
8420
|
}, bn = async (t, a) => {
|
|
8407
|
-
await
|
|
8421
|
+
await A(t, [
|
|
8408
8422
|
{
|
|
8409
8423
|
$set: {
|
|
8410
8424
|
berry: {
|
|
@@ -8413,14 +8427,14 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8413
8427
|
}
|
|
8414
8428
|
}
|
|
8415
8429
|
]);
|
|
8416
|
-
}, Cy = async (t, a) => {
|
|
8417
|
-
await N(t, { $set: { premium: a } });
|
|
8418
8430
|
}, By = async (t, a) => {
|
|
8419
|
-
await
|
|
8431
|
+
await A(t, { $set: { premium: a } });
|
|
8420
8432
|
}, Ry = async (t, a) => {
|
|
8433
|
+
await A(t, { $set: { booster: a } });
|
|
8434
|
+
}, $y = async (t, a) => {
|
|
8421
8435
|
const {
|
|
8422
8436
|
xp: { boost: s }
|
|
8423
|
-
} = await
|
|
8437
|
+
} = await Cy(t, [
|
|
8424
8438
|
{
|
|
8425
8439
|
$set: {
|
|
8426
8440
|
"xp.boost": {
|
|
@@ -8443,7 +8457,7 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8443
8457
|
return;
|
|
8444
8458
|
}
|
|
8445
8459
|
const s = Ui(a);
|
|
8446
|
-
await
|
|
8460
|
+
await A(t, [
|
|
8447
8461
|
{
|
|
8448
8462
|
$set: {
|
|
8449
8463
|
[`buffs.${a.target}`]: {
|
|
@@ -8531,10 +8545,10 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8531
8545
|
}
|
|
8532
8546
|
]);
|
|
8533
8547
|
}, ya = async (t, a) => {
|
|
8534
|
-
await
|
|
8548
|
+
await A(t, {
|
|
8535
8549
|
$pull: { [`buffs.${a.target}`]: { origin: a.origin } }
|
|
8536
8550
|
});
|
|
8537
|
-
},
|
|
8551
|
+
}, Ty = async (t, a, s, r) => {
|
|
8538
8552
|
const n = Xs(a), i = qr(Object.values(s)), d = Zs.find(
|
|
8539
8553
|
(w) => w.id === n.panoply
|
|
8540
8554
|
);
|
|
@@ -8549,18 +8563,18 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8549
8563
|
userInventory: r
|
|
8550
8564
|
}) => {
|
|
8551
8565
|
const n = s ?? await Wt(t, { buffs: 0, xp: 0 }), i = r ?? await qt(t, { itemList: 0, equipmentList: 0 }), c = await Ce(t, n, i) - n.hp;
|
|
8552
|
-
await
|
|
8566
|
+
await A(t, {
|
|
8553
8567
|
$set: { hp: n.hp + Math.floor(Math.min(a, c)) }
|
|
8554
8568
|
});
|
|
8555
|
-
},
|
|
8556
|
-
await
|
|
8569
|
+
}, Fy = async (t, a) => {
|
|
8570
|
+
await A(t, [
|
|
8557
8571
|
{
|
|
8558
8572
|
$set: { hp: { $max: [{ $add: ["$hp", -a] }, 0] } }
|
|
8559
8573
|
}
|
|
8560
8574
|
]);
|
|
8561
8575
|
}, Ve = async (t, a) => {
|
|
8562
8576
|
const s = await Ce(t);
|
|
8563
|
-
await
|
|
8577
|
+
await A(t, [
|
|
8564
8578
|
{
|
|
8565
8579
|
$set: {
|
|
8566
8580
|
hp: {
|
|
@@ -8574,21 +8588,21 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8574
8588
|
}
|
|
8575
8589
|
}
|
|
8576
8590
|
]);
|
|
8577
|
-
},
|
|
8591
|
+
}, Ey = async (t, a) => {
|
|
8578
8592
|
const s = await Ce(t), r = Object.fromEntries(
|
|
8579
8593
|
Object.entries(a).filter(([, n]) => n !== 0).map(([n, i]) => [`characteristics.${n}`, i])
|
|
8580
8594
|
);
|
|
8581
|
-
await
|
|
8595
|
+
await A(t, {
|
|
8582
8596
|
$inc: r
|
|
8583
8597
|
}), Ve(t, s);
|
|
8584
|
-
},
|
|
8598
|
+
}, Yy = async (t, a) => {
|
|
8585
8599
|
const s = await Ce(t), r = Object.fromEntries(
|
|
8586
8600
|
Object.entries(a).filter(([, n]) => n !== 0).map(([n, i]) => [`scrolls.${n}`, i])
|
|
8587
8601
|
);
|
|
8588
|
-
await
|
|
8602
|
+
await A(t, {
|
|
8589
8603
|
$inc: r
|
|
8590
8604
|
}), Ve(t, s);
|
|
8591
|
-
},
|
|
8605
|
+
}, Iy = async (t, a, s) => {
|
|
8592
8606
|
const r = await Ce(t, s), n = {
|
|
8593
8607
|
vitality: 0,
|
|
8594
8608
|
strength: 0,
|
|
@@ -8597,12 +8611,12 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8597
8611
|
intelligence: 0,
|
|
8598
8612
|
wisdom: 0
|
|
8599
8613
|
};
|
|
8600
|
-
a ? await
|
|
8614
|
+
a ? await A(t, {
|
|
8601
8615
|
$set: {
|
|
8602
8616
|
characteristics: n,
|
|
8603
8617
|
"resetCharacteristics.free": !1
|
|
8604
8618
|
}
|
|
8605
|
-
}) : await
|
|
8619
|
+
}) : await A(t, {
|
|
8606
8620
|
$set: {
|
|
8607
8621
|
characteristics: n,
|
|
8608
8622
|
"resetCharacteristics.nextAvailable": new Date(
|
|
@@ -8613,45 +8627,50 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8613
8627
|
berry: -1e8
|
|
8614
8628
|
}
|
|
8615
8629
|
}), Ve(t, r);
|
|
8616
|
-
},
|
|
8617
|
-
await
|
|
8618
|
-
},
|
|
8619
|
-
await
|
|
8630
|
+
}, Ay = async (t) => {
|
|
8631
|
+
await A(t, { $set: { "xp.voice.minutesInVoiceToday": 0 } });
|
|
8632
|
+
}, Py = async (t, a) => {
|
|
8633
|
+
await A(t, {
|
|
8620
8634
|
$inc: { "xp.voice.minutesInVoiceToday": a }
|
|
8621
8635
|
});
|
|
8622
|
-
},
|
|
8623
|
-
await
|
|
8636
|
+
}, Ny = async (t, a) => {
|
|
8637
|
+
await A(t, {
|
|
8624
8638
|
$set: { "xp.voice.lastConnection": a }
|
|
8625
8639
|
});
|
|
8626
|
-
},
|
|
8627
|
-
await
|
|
8640
|
+
}, Ly = async (t) => {
|
|
8641
|
+
await A(t, {
|
|
8628
8642
|
$inc: { workUnluckyStreak: 1 }
|
|
8629
8643
|
});
|
|
8630
|
-
},
|
|
8631
|
-
await
|
|
8644
|
+
}, jy = async (t) => {
|
|
8645
|
+
await A(t, {
|
|
8632
8646
|
$set: { workUnluckyStreak: 0 }
|
|
8633
8647
|
});
|
|
8634
|
-
},
|
|
8648
|
+
}, Hy = async (t, a) => {
|
|
8649
|
+
await A(t, {
|
|
8650
|
+
$set: { scam: a }
|
|
8651
|
+
});
|
|
8652
|
+
}, Mw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8635
8653
|
__proto__: null,
|
|
8636
8654
|
addBerry: bn,
|
|
8637
|
-
addCharacteristics:
|
|
8638
|
-
addMinutesInVoiceToday:
|
|
8639
|
-
addScrollCharacteristic:
|
|
8655
|
+
addCharacteristics: Ey,
|
|
8656
|
+
addMinutesInVoiceToday: Py,
|
|
8657
|
+
addScrollCharacteristic: Yy,
|
|
8640
8658
|
gainHp: Mn,
|
|
8641
|
-
incrementWorkUnluckyStreak:
|
|
8642
|
-
loseHp:
|
|
8659
|
+
incrementWorkUnluckyStreak: Ly,
|
|
8660
|
+
loseHp: Fy,
|
|
8643
8661
|
removeBuff: ya,
|
|
8644
|
-
resetCharacteristics:
|
|
8645
|
-
resetMinutesInVoiceToday:
|
|
8646
|
-
resetWorkUnluckyStreak:
|
|
8647
|
-
updateBoost:
|
|
8648
|
-
updateBooster:
|
|
8662
|
+
resetCharacteristics: Iy,
|
|
8663
|
+
resetMinutesInVoiceToday: Ay,
|
|
8664
|
+
resetWorkUnluckyStreak: jy,
|
|
8665
|
+
updateBoost: $y,
|
|
8666
|
+
updateBooster: Ry,
|
|
8649
8667
|
updateBuff: as,
|
|
8650
8668
|
updateHp: Ve,
|
|
8651
|
-
updateLastVoiceConnection:
|
|
8652
|
-
updatePanoplyBuff:
|
|
8653
|
-
updatePremium:
|
|
8654
|
-
|
|
8669
|
+
updateLastVoiceConnection: Ny,
|
|
8670
|
+
updatePanoplyBuff: Ty,
|
|
8671
|
+
updatePremium: By,
|
|
8672
|
+
updateScam: Hy
|
|
8673
|
+
}, Symbol.toStringTag, { value: "Module" })), Qy = async (t) => {
|
|
8655
8674
|
var s;
|
|
8656
8675
|
const a = [];
|
|
8657
8676
|
for (const r of Object.values(un)) {
|
|
@@ -8682,7 +8701,7 @@ const Ye = ((Es = T) == null ? void 0 : Es.UserMeta) || F("UserMeta", pt), _n =
|
|
|
8682
8701
|
);
|
|
8683
8702
|
ss.index({ user: 1 });
|
|
8684
8703
|
ss.post("findOneAndUpdate", async function(t) {
|
|
8685
|
-
await
|
|
8704
|
+
await Xh(t), await Qy(t);
|
|
8686
8705
|
});
|
|
8687
8706
|
var Ys;
|
|
8688
8707
|
const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory", ss), ve = async (t, a) => {
|
|
@@ -8692,7 +8711,7 @@ const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory",
|
|
|
8692
8711
|
});
|
|
8693
8712
|
}, re = async (t, a, s) => {
|
|
8694
8713
|
await ve(t, { $inc: { [`itemList.${a}`]: s } }), await Qt(t, [a]);
|
|
8695
|
-
},
|
|
8714
|
+
}, Wy = async (t, a) => {
|
|
8696
8715
|
await ve(t, {
|
|
8697
8716
|
$inc: Object.fromEntries(
|
|
8698
8717
|
Object.entries(a).filter(([, s]) => (s ?? 0) > 0).map(([s, r]) => [`itemList.${s}`, r])
|
|
@@ -8722,62 +8741,62 @@ const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory",
|
|
|
8722
8741
|
});
|
|
8723
8742
|
}, vn = async (t, a, s, r) => {
|
|
8724
8743
|
s !== 0 && (it(a) ? await kn(t, a, r) : await De(t, a, s));
|
|
8725
|
-
},
|
|
8744
|
+
}, Gy = async (t, a) => {
|
|
8726
8745
|
await ve(t, { $set: { [`itemList.${a}`]: 0 } });
|
|
8727
8746
|
}, rs = async (t, a) => {
|
|
8728
8747
|
await ve(t, { $push: { equipmentList: { $each: a } } }), await Qt(
|
|
8729
8748
|
t,
|
|
8730
8749
|
a.map((s) => s.id)
|
|
8731
8750
|
);
|
|
8732
|
-
},
|
|
8751
|
+
}, qy = async (t, a, s) => {
|
|
8733
8752
|
const r = await Ce(t);
|
|
8734
8753
|
await ve(t, {
|
|
8735
8754
|
$set: {
|
|
8736
8755
|
[`equippedItems.${a}`]: s
|
|
8737
8756
|
}
|
|
8738
8757
|
}), await Ve(t, r);
|
|
8739
|
-
},
|
|
8758
|
+
}, Vy = async (t, a) => {
|
|
8740
8759
|
const s = await Ce(t);
|
|
8741
8760
|
await ve(t, {
|
|
8742
8761
|
$set: {
|
|
8743
8762
|
[`equippedItems.${a}`]: null
|
|
8744
8763
|
}
|
|
8745
8764
|
}), await Ve(t, s);
|
|
8746
|
-
},
|
|
8765
|
+
}, zy = async (t, a, s, r, n) => {
|
|
8747
8766
|
for (const { itemId: c, size: f } of a)
|
|
8748
8767
|
await De(t, c, f * r);
|
|
8749
8768
|
const { itemId: i, size: d } = s;
|
|
8750
8769
|
it(i) ? await rs(t, [{ id: i, seed: n }]) : await re(t, i, d * r);
|
|
8751
|
-
},
|
|
8770
|
+
}, Xy = async (t, a, s, r, n) => {
|
|
8752
8771
|
await vn(t, a.id, r, n);
|
|
8753
8772
|
for (const { entityId: i, quantity: d } of s)
|
|
8754
8773
|
it(i) || await re(t, i, r * d);
|
|
8755
8774
|
await De(t, "tools", 1);
|
|
8756
|
-
},
|
|
8775
|
+
}, Zy = async (t, a, s, r) => {
|
|
8757
8776
|
await De(t, a, r * 4), await De(t, "enchanted_stone", r), await re(t, s, r);
|
|
8758
|
-
},
|
|
8777
|
+
}, Jy = async (t, a) => {
|
|
8759
8778
|
await ve(t, { $addToSet: { recipes: a } });
|
|
8760
8779
|
}, xn = async (t, a, s) => {
|
|
8761
8780
|
await re(t, a, s);
|
|
8762
8781
|
}, Sn = async (t, a) => {
|
|
8763
8782
|
a.forEach(async (s) => await xn(t, s.chest, s.size));
|
|
8764
|
-
},
|
|
8783
|
+
}, kw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8765
8784
|
__proto__: null,
|
|
8766
8785
|
addEquipments: rs,
|
|
8767
8786
|
addInventoryItem: re,
|
|
8768
|
-
addInventoryItems:
|
|
8769
|
-
craftItem:
|
|
8770
|
-
dismantleEntity:
|
|
8771
|
-
enchantItem:
|
|
8772
|
-
equip:
|
|
8787
|
+
addInventoryItems: Wy,
|
|
8788
|
+
craftItem: zy,
|
|
8789
|
+
dismantleEntity: Xy,
|
|
8790
|
+
enchantItem: Zy,
|
|
8791
|
+
equip: qy,
|
|
8773
8792
|
giveChest: xn,
|
|
8774
8793
|
giveChests: Sn,
|
|
8775
|
-
removeAllItemInventory:
|
|
8794
|
+
removeAllItemInventory: Gy,
|
|
8776
8795
|
removeEquipment: kn,
|
|
8777
8796
|
removeInventoryEntity: vn,
|
|
8778
8797
|
removeInventoryItem: De,
|
|
8779
|
-
unequip:
|
|
8780
|
-
unlockRecipe:
|
|
8798
|
+
unequip: Vy,
|
|
8799
|
+
unlockRecipe: Jy
|
|
8781
8800
|
}, Symbol.toStringTag, { value: "Module" })), Un = async (t) => await Gt.create({
|
|
8782
8801
|
user: t
|
|
8783
8802
|
}), qt = async (t, a = {}) => {
|
|
@@ -8788,37 +8807,37 @@ const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory",
|
|
|
8788
8807
|
a,
|
|
8789
8808
|
U(t.characteristics[a]) + t.scrolls[a]
|
|
8790
8809
|
])
|
|
8791
|
-
),
|
|
8810
|
+
), Ky = (t) => Date.now() - t.xp.lastMessageWithXp.getTime() > 60 * 1e3, is = (t) => {
|
|
8792
8811
|
const { boost: a } = t.xp;
|
|
8793
8812
|
return (a !== null && Date.now() < a.getTime() ? 0.2 : 0) + Math.max(t.premium ? 0.5 : 0, t.booster ? 0.25 : 0) + t.buffs.xp.global.reduce(
|
|
8794
8813
|
(s, { expireAt: r, startAt: n, multiplier: i }) => s + ((n ?? /* @__PURE__ */ new Date()) <= /* @__PURE__ */ new Date() && (!r || !Ee(r)) ? i : 0),
|
|
8795
8814
|
0
|
|
8796
8815
|
);
|
|
8797
|
-
},
|
|
8816
|
+
}, e0 = (t) => {
|
|
8798
8817
|
const a = t.trim().length, s = 2;
|
|
8799
8818
|
return a < 10 ? 10 * s : a > 300 ? 300 * s : a * s;
|
|
8800
|
-
},
|
|
8819
|
+
}, t0 = (t, a, s) => (a *= 1 + is(t), Math.ceil(a * s)), a0 = (t, a, s) => {
|
|
8801
8820
|
const r = s ? 1 : On(t);
|
|
8802
8821
|
return a <= 0 ? a : Math.ceil(a * (r || 1));
|
|
8803
|
-
},
|
|
8822
|
+
}, s0 = (t) => t.buffs.cooldown.work.reduce(
|
|
8804
8823
|
(a, { expireAt: s, startAt: r, multiplier: n }) => a + (/* @__PURE__ */ new Date() >= (r ?? /* @__PURE__ */ new Date()) && (!s || !Ee(s)) ? n : 0),
|
|
8805
8824
|
1
|
|
8806
|
-
),
|
|
8825
|
+
), r0 = (t) => t.buffs.drop.work.reduce(
|
|
8807
8826
|
(a, { expireAt: s, startAt: r, multiplier: n }) => a + (/* @__PURE__ */ new Date() >= (r ?? /* @__PURE__ */ new Date()) && (!s || !Ee(s)) ? n : 0),
|
|
8808
8827
|
1
|
|
8809
|
-
),
|
|
8828
|
+
), n0 = (t) => t.buffs.berry.work.reduce(
|
|
8810
8829
|
(a, { expireAt: s, startAt: r, multiplier: n }) => a + (/* @__PURE__ */ new Date() >= (r ?? /* @__PURE__ */ new Date()) && (!s || !Ee(s)) ? n : 0),
|
|
8811
8830
|
1
|
|
8812
8831
|
), On = (t) => t.buffs.berry.global.reduce(
|
|
8813
8832
|
(a, { expireAt: s, startAt: r, multiplier: n }) => a + (/* @__PURE__ */ new Date() >= (r ?? /* @__PURE__ */ new Date()) && (!s || !Ee(s)) ? n : 0),
|
|
8814
8833
|
1
|
|
8815
|
-
),
|
|
8834
|
+
), i0 = (t) => t.buffs.cooldown.casino.reduce(
|
|
8816
8835
|
(a, { expireAt: s, startAt: r, multiplier: n }) => a + (/* @__PURE__ */ new Date() >= (r ?? /* @__PURE__ */ new Date()) && (!s || !Ee(s)) ? n : 0),
|
|
8817
8836
|
1
|
|
8818
8837
|
), Ce = async (t, a, s) => {
|
|
8819
8838
|
const r = a ?? await Wt(t, { buffs: 0, xp: 0 }), n = s ?? await qt(t, { itemList: 0, equipmentList: 0 });
|
|
8820
8839
|
return ((ns(r).vitality ?? 0) + Ja(n).vitality) * Oi + Di;
|
|
8821
|
-
},
|
|
8840
|
+
}, l0 = async (t, a, s, r) => {
|
|
8822
8841
|
const n = s ?? await Wt(t, { buffs: 0, xp: 0 }), i = r ?? await qt(t, { itemList: 0, equipmentList: 0 }), d = ma(
|
|
8823
8842
|
ns(n),
|
|
8824
8843
|
Ja(i),
|
|
@@ -8835,7 +8854,7 @@ const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory",
|
|
|
8835
8854
|
return !1;
|
|
8836
8855
|
return !0;
|
|
8837
8856
|
}
|
|
8838
|
-
},
|
|
8857
|
+
}, o0 = async (t) => (await Ye.aggregate([
|
|
8839
8858
|
{
|
|
8840
8859
|
$setWindowFields: {
|
|
8841
8860
|
sortBy: { "xp.amount": -1 },
|
|
@@ -8846,7 +8865,7 @@ const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory",
|
|
|
8846
8865
|
},
|
|
8847
8866
|
{ $match: { _id: t } },
|
|
8848
8867
|
{ $project: { rank: 1 } }
|
|
8849
|
-
]))[0],
|
|
8868
|
+
]))[0], d0 = async (t) => (await Ye.aggregate([
|
|
8850
8869
|
{
|
|
8851
8870
|
$setWindowFields: {
|
|
8852
8871
|
sortBy: { berry: -1 },
|
|
@@ -8857,7 +8876,7 @@ const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory",
|
|
|
8857
8876
|
},
|
|
8858
8877
|
{ $match: { _id: t } },
|
|
8859
8878
|
{ $project: { rank: 1 } }
|
|
8860
|
-
]))[0],
|
|
8879
|
+
]))[0], c0 = (t) => {
|
|
8861
8880
|
const a = [
|
|
8862
8881
|
...t.buffs.xp.global,
|
|
8863
8882
|
...t.buffs.berry.global,
|
|
@@ -8870,24 +8889,24 @@ const Gt = ((Ys = T) == null ? void 0 : Ys.UserInventory) || F("UserInventory",
|
|
|
8870
8889
|
if (s < 0 && (!n || !Ee(n)) && (r ?? /* @__PURE__ */ new Date()) <= /* @__PURE__ */ new Date())
|
|
8871
8890
|
return !0;
|
|
8872
8891
|
return !1;
|
|
8873
|
-
},
|
|
8892
|
+
}, vw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8874
8893
|
__proto__: null,
|
|
8875
|
-
calcBerry:
|
|
8894
|
+
calcBerry: a0,
|
|
8876
8895
|
calcBerryGlobalBuff: On,
|
|
8877
|
-
calcBerryWorkBuff:
|
|
8878
|
-
calcCooldownCasinoBuff:
|
|
8879
|
-
calcCooldownWorkBuff:
|
|
8880
|
-
calcDropWorkBuff:
|
|
8881
|
-
calcMessageXp:
|
|
8882
|
-
calcXp:
|
|
8896
|
+
calcBerryWorkBuff: n0,
|
|
8897
|
+
calcCooldownCasinoBuff: i0,
|
|
8898
|
+
calcCooldownWorkBuff: s0,
|
|
8899
|
+
calcDropWorkBuff: r0,
|
|
8900
|
+
calcMessageXp: e0,
|
|
8901
|
+
calcXp: t0,
|
|
8883
8902
|
calcXpBoost: is,
|
|
8884
|
-
getBerryRank:
|
|
8885
|
-
getGlobalRank:
|
|
8903
|
+
getBerryRank: d0,
|
|
8904
|
+
getGlobalRank: o0,
|
|
8886
8905
|
getMaxHp: Ce,
|
|
8887
8906
|
getTotalCharacteristics: ns,
|
|
8888
|
-
hasCharacteristicRequirement:
|
|
8889
|
-
hasMalusBuff:
|
|
8890
|
-
isCooldownForXpPassed:
|
|
8907
|
+
hasCharacteristicRequirement: l0,
|
|
8908
|
+
hasMalusBuff: c0,
|
|
8909
|
+
isCooldownForXpPassed: Ky
|
|
8891
8910
|
}, Symbol.toStringTag, { value: "Module" })), Dn = new b({
|
|
8892
8911
|
user: {
|
|
8893
8912
|
type: b.Types.ObjectId,
|
|
@@ -8916,7 +8935,7 @@ const Vt = ((Is = T) == null ? void 0 : Is.UserCooldown) || F("UserCooldown", Dn
|
|
|
8916
8935
|
await Vt.updateOne({ user: t }, a, {
|
|
8917
8936
|
upsert: !0
|
|
8918
8937
|
});
|
|
8919
|
-
},
|
|
8938
|
+
}, u0 = async (t, a) => {
|
|
8920
8939
|
await zt(t, [
|
|
8921
8940
|
{
|
|
8922
8941
|
$set: {
|
|
@@ -8963,7 +8982,7 @@ const Vt = ((Is = T) == null ? void 0 : Is.UserCooldown) || F("UserCooldown", Dn
|
|
|
8963
8982
|
lockUserCommand: new Date(Date.now() + 2 * 3600 * 1e3)
|
|
8964
8983
|
}
|
|
8965
8984
|
}), await Mn(t, 1, {});
|
|
8966
|
-
},
|
|
8985
|
+
}, f0 = async (t, a, s, r) => {
|
|
8967
8986
|
await zt(t, {
|
|
8968
8987
|
$set: {
|
|
8969
8988
|
[`commands.${a}`]: new Date(Date.now() + s)
|
|
@@ -8973,13 +8992,13 @@ const Vt = ((Is = T) == null ? void 0 : Is.UserCooldown) || F("UserCooldown", Dn
|
|
|
8973
8992
|
`commands/${a}`,
|
|
8974
8993
|
new Date(Date.now() + s)
|
|
8975
8994
|
);
|
|
8976
|
-
},
|
|
8995
|
+
}, xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8977
8996
|
__proto__: null,
|
|
8978
8997
|
lockUserCommand: Bn,
|
|
8979
|
-
reduceRaidCooldown:
|
|
8998
|
+
reduceRaidCooldown: u0,
|
|
8980
8999
|
startRaidCooldown: Cn,
|
|
8981
|
-
useCommand:
|
|
8982
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9000
|
+
useCommand: f0
|
|
9001
|
+
}, Symbol.toStringTag, { value: "Module" })), Sw = [
|
|
8983
9002
|
"work",
|
|
8984
9003
|
"rps",
|
|
8985
9004
|
"blackjack",
|
|
@@ -8988,7 +9007,7 @@ const Vt = ((Is = T) == null ? void 0 : Is.UserCooldown) || F("UserCooldown", Dn
|
|
|
8988
9007
|
"dice"
|
|
8989
9008
|
], Rn = async (t) => await Vt.create({
|
|
8990
9009
|
user: t
|
|
8991
|
-
}),
|
|
9010
|
+
}), Uw = async (t, a = {}) => {
|
|
8992
9011
|
const s = await Vt.findOne({ user: t }, a);
|
|
8993
9012
|
return s || await Rn(t);
|
|
8994
9013
|
}, ls = new b(
|
|
@@ -9023,7 +9042,7 @@ const ze = ((As = T) == null ? void 0 : As.UserCrew) || F("UserCrew", ls), $n =
|
|
|
9023
9042
|
await ze.updateOne({ user: t }, a, {
|
|
9024
9043
|
upsert: !0
|
|
9025
9044
|
});
|
|
9026
|
-
},
|
|
9045
|
+
}, p0 = async (t, a) => {
|
|
9027
9046
|
await $n(t, {
|
|
9028
9047
|
$set: {
|
|
9029
9048
|
percent: a
|
|
@@ -9035,16 +9054,16 @@ const ze = ((As = T) == null ? void 0 : As.UserCrew) || F("UserCrew", ls), $n =
|
|
|
9035
9054
|
lastAllMembersDaily: /* @__PURE__ */ new Date()
|
|
9036
9055
|
}
|
|
9037
9056
|
});
|
|
9038
|
-
},
|
|
9057
|
+
}, Ow = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9039
9058
|
__proto__: null,
|
|
9040
9059
|
allMembersDailyComplete: Tn,
|
|
9041
|
-
updatePercent:
|
|
9042
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9060
|
+
updatePercent: p0
|
|
9061
|
+
}, Symbol.toStringTag, { value: "Module" })), m0 = (t) => ze.findOne({ user: t }), Dw = async (t, a, s, r) => await ze.create({
|
|
9043
9062
|
user: t,
|
|
9044
9063
|
crew: a,
|
|
9045
9064
|
percent: r,
|
|
9046
9065
|
permission: s
|
|
9047
|
-
}),
|
|
9066
|
+
}), Cw = (t) => ze.exists({ user: t }), Bw = async (t) => {
|
|
9048
9067
|
await ze.deleteOne({ user: t });
|
|
9049
9068
|
}, Fn = new b({
|
|
9050
9069
|
user: {
|
|
@@ -9065,12 +9084,12 @@ const ze = ((As = T) == null ? void 0 : As.UserCrew) || F("UserCrew", ls), $n =
|
|
|
9065
9084
|
});
|
|
9066
9085
|
Fn.index({ user: 1 });
|
|
9067
9086
|
var Ps;
|
|
9068
|
-
const os = ((Ps = T) == null ? void 0 : Ps.UserDailyReport) || F("UserDailyReport", Fn),
|
|
9087
|
+
const os = ((Ps = T) == null ? void 0 : Ps.UserDailyReport) || F("UserDailyReport", Fn), h0 = async (t, a) => {
|
|
9069
9088
|
await os.updateOne({ user: t }, a, {
|
|
9070
9089
|
upsert: !0
|
|
9071
9090
|
});
|
|
9072
|
-
},
|
|
9073
|
-
await
|
|
9091
|
+
}, y0 = async (t, a) => {
|
|
9092
|
+
await h0(t, {
|
|
9074
9093
|
$set: {
|
|
9075
9094
|
xpYesterday: a.meta.xp.amount,
|
|
9076
9095
|
berryYesterday: a.meta.berry,
|
|
@@ -9081,9 +9100,9 @@ const os = ((Ps = T) == null ? void 0 : Ps.UserDailyReport) || F("UserDailyRepor
|
|
|
9081
9100
|
previousMessageSent: a.questMeta.messageSent
|
|
9082
9101
|
}
|
|
9083
9102
|
});
|
|
9084
|
-
},
|
|
9103
|
+
}, Rw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9085
9104
|
__proto__: null,
|
|
9086
|
-
updateDailyReport:
|
|
9105
|
+
updateDailyReport: y0
|
|
9087
9106
|
}, Symbol.toStringTag, { value: "Module" })), En = new b({
|
|
9088
9107
|
user: {
|
|
9089
9108
|
type: b.Types.ObjectId,
|
|
@@ -9107,7 +9126,7 @@ const Xt = ((Ns = T) == null ? void 0 : Ns.UserGames) || F("UserGames", En), ds
|
|
|
9107
9126
|
await Xt.updateOne({ user: t }, a, {
|
|
9108
9127
|
upsert: !0
|
|
9109
9128
|
});
|
|
9110
|
-
},
|
|
9129
|
+
}, g0 = async (t, a, s, r) => {
|
|
9111
9130
|
await ds(t, {
|
|
9112
9131
|
$set: {
|
|
9113
9132
|
guess: {
|
|
@@ -9118,13 +9137,13 @@ const Xt = ((Ns = T) == null ? void 0 : Ns.UserGames) || F("UserGames", En), ds
|
|
|
9118
9137
|
}
|
|
9119
9138
|
}
|
|
9120
9139
|
});
|
|
9121
|
-
},
|
|
9140
|
+
}, w0 = async (t) => {
|
|
9122
9141
|
await ds(t, {
|
|
9123
9142
|
$set: {
|
|
9124
9143
|
guess: null
|
|
9125
9144
|
}
|
|
9126
9145
|
});
|
|
9127
|
-
},
|
|
9146
|
+
}, _0 = async (t) => {
|
|
9128
9147
|
await ds(t, {
|
|
9129
9148
|
$inc: {
|
|
9130
9149
|
"guess.tries": 1
|
|
@@ -9133,17 +9152,17 @@ const Xt = ((Ns = T) == null ? void 0 : Ns.UserGames) || F("UserGames", En), ds
|
|
|
9133
9152
|
"guess.lastGuess": Date.now()
|
|
9134
9153
|
}
|
|
9135
9154
|
});
|
|
9136
|
-
},
|
|
9155
|
+
}, $w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9137
9156
|
__proto__: null,
|
|
9138
|
-
resetGuessGame:
|
|
9139
|
-
setGuessGame:
|
|
9140
|
-
updateGuessGame:
|
|
9157
|
+
resetGuessGame: w0,
|
|
9158
|
+
setGuessGame: g0,
|
|
9159
|
+
updateGuessGame: _0
|
|
9141
9160
|
}, Symbol.toStringTag, { value: "Module" })), Yn = async (t) => await Xt.create({
|
|
9142
9161
|
user: t
|
|
9143
|
-
}),
|
|
9162
|
+
}), Tw = async (t, a) => {
|
|
9144
9163
|
const s = await Xt.findOne({ user: t }, a);
|
|
9145
9164
|
return s || await Yn(t);
|
|
9146
|
-
},
|
|
9165
|
+
}, b0 = async (t) => {
|
|
9147
9166
|
var s;
|
|
9148
9167
|
const a = [];
|
|
9149
9168
|
for (const r of Object.values(pn)) {
|
|
@@ -9173,7 +9192,7 @@ const Xt = ((Ns = T) == null ? void 0 : Ns.UserGames) || F("UserGames", En), ds
|
|
|
9173
9192
|
});
|
|
9174
9193
|
cs.index({ user: 1 });
|
|
9175
9194
|
cs.post("findOneAndUpdate", async function(t) {
|
|
9176
|
-
await
|
|
9195
|
+
await b0(t);
|
|
9177
9196
|
});
|
|
9178
9197
|
var Ls;
|
|
9179
9198
|
const Zt = ((Ls = T) == null ? void 0 : Ls.UserOrnaments) || F("UserOrnaments", cs), V = async (t, a) => {
|
|
@@ -9183,21 +9202,21 @@ const Zt = ((Ls = T) == null ? void 0 : Ls.UserOrnaments) || F("UserOrnaments",
|
|
|
9183
9202
|
});
|
|
9184
9203
|
}, us = async (t, a) => {
|
|
9185
9204
|
await V(t, { $addToSet: { unlockedTitles: a } });
|
|
9186
|
-
},
|
|
9205
|
+
}, M0 = async (t, a) => {
|
|
9187
9206
|
await V(t, {
|
|
9188
9207
|
$addToSet: { unlockedTitles: { $each: a } }
|
|
9189
9208
|
});
|
|
9190
|
-
},
|
|
9209
|
+
}, k0 = async (t, a) => {
|
|
9191
9210
|
await V(t, { $set: { selectedTitle: a } });
|
|
9192
9211
|
}, In = async (t, a) => {
|
|
9193
9212
|
await V(t, {
|
|
9194
9213
|
$addToSet: { unlockedBackgrounds: a }
|
|
9195
9214
|
});
|
|
9196
|
-
},
|
|
9215
|
+
}, v0 = async (t, a) => {
|
|
9197
9216
|
await V(t, {
|
|
9198
9217
|
$addToSet: { unlockedBackgrounds: { $each: a } }
|
|
9199
9218
|
});
|
|
9200
|
-
},
|
|
9219
|
+
}, x0 = async (t, a) => {
|
|
9201
9220
|
await V(t, {
|
|
9202
9221
|
$set: { selectedBackground: a }
|
|
9203
9222
|
});
|
|
@@ -9223,33 +9242,33 @@ const Zt = ((Ls = T) == null ? void 0 : Ls.UserOrnaments) || F("UserOrnaments",
|
|
|
9223
9242
|
await V(t, {
|
|
9224
9243
|
$addToSet: { unlockedProfileAssets: a }
|
|
9225
9244
|
});
|
|
9226
|
-
},
|
|
9245
|
+
}, S0 = async (t, a) => {
|
|
9227
9246
|
await V(t, {
|
|
9228
9247
|
$addToSet: { unlockedBags: a }
|
|
9229
9248
|
});
|
|
9230
|
-
},
|
|
9249
|
+
}, U0 = async (t, a) => {
|
|
9231
9250
|
await V(t, {
|
|
9232
9251
|
$set: { selectedBag: a }
|
|
9233
9252
|
});
|
|
9234
|
-
},
|
|
9253
|
+
}, Fw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9235
9254
|
__proto__: null,
|
|
9236
|
-
selectBackground:
|
|
9237
|
-
selectBag:
|
|
9238
|
-
selectTitle:
|
|
9255
|
+
selectBackground: x0,
|
|
9256
|
+
selectBag: U0,
|
|
9257
|
+
selectTitle: k0,
|
|
9239
9258
|
unlockBackground: In,
|
|
9240
|
-
unlockBackgrounds:
|
|
9259
|
+
unlockBackgrounds: v0,
|
|
9241
9260
|
unlockBadge: An,
|
|
9242
|
-
unlockBag:
|
|
9261
|
+
unlockBag: S0,
|
|
9243
9262
|
unlockFactionBadge: Pn,
|
|
9244
9263
|
unlockProfileAsset: Nn,
|
|
9245
9264
|
unlockTitle: us,
|
|
9246
|
-
unlockTitles:
|
|
9265
|
+
unlockTitles: M0
|
|
9247
9266
|
}, Symbol.toStringTag, { value: "Module" })), Ln = async (t) => await Zt.create({
|
|
9248
9267
|
user: t
|
|
9249
|
-
}),
|
|
9268
|
+
}), Ew = async (t, a) => {
|
|
9250
9269
|
const s = await Zt.findOne({ user: t }, a);
|
|
9251
9270
|
return s || await Ln(t);
|
|
9252
|
-
},
|
|
9271
|
+
}, O0 = async (t) => {
|
|
9253
9272
|
var s;
|
|
9254
9273
|
const a = [];
|
|
9255
9274
|
for (const r of Object.values(hn)) {
|
|
@@ -9279,7 +9298,7 @@ const Zt = ((Ls = T) == null ? void 0 : Ls.UserOrnaments) || F("UserOrnaments",
|
|
|
9279
9298
|
);
|
|
9280
9299
|
fs.index({ user: 1 });
|
|
9281
9300
|
fs.post("findOneAndUpdate", async function(t) {
|
|
9282
|
-
await
|
|
9301
|
+
await O0(t);
|
|
9283
9302
|
});
|
|
9284
9303
|
var js;
|
|
9285
9304
|
const Jt = ((js = T) == null ? void 0 : js.UserQuest) || F("UserQuest", fs), Bt = async (t, a) => {
|
|
@@ -9300,7 +9319,7 @@ const Jt = ((js = T) == null ? void 0 : js.UserQuest) || F("UserQuest", fs), Bt
|
|
|
9300
9319
|
}) : await Bt(t, {
|
|
9301
9320
|
$set: { lastFullComplete: /* @__PURE__ */ new Date(), streak: 1 }
|
|
9302
9321
|
});
|
|
9303
|
-
},
|
|
9322
|
+
}, Yw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9304
9323
|
__proto__: null,
|
|
9305
9324
|
completeDailyQuest: Hn,
|
|
9306
9325
|
completeQuest: jn,
|
|
@@ -9313,15 +9332,15 @@ const Jt = ((js = T) == null ? void 0 : js.UserQuest) || F("UserQuest", fs), Bt
|
|
|
9313
9332
|
}, rt = (t, a) => {
|
|
9314
9333
|
var s;
|
|
9315
9334
|
return (s = t.unlocked) == null ? void 0 : s[a];
|
|
9316
|
-
},
|
|
9335
|
+
}, D0 = (t, a, s) => a in t.obtainedRewards ? t.obtainedRewards[a].includes(s) : !1, C0 = (t, a) => t.obtainedRewards[a] ?? [], B0 = (t, a, s, r) => r === "include" ? s.every(
|
|
9317
9336
|
(n) => (t.obtainedConditions[a] ?? []).includes(n)
|
|
9318
9337
|
) : s.every(
|
|
9319
9338
|
(n) => !(t.obtainedConditions[a] ?? []).includes(n)
|
|
9320
|
-
),
|
|
9339
|
+
), Iw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9321
9340
|
__proto__: null,
|
|
9322
|
-
alreadyObtainedRaidReward:
|
|
9323
|
-
fulfillCondition:
|
|
9324
|
-
getObtainedRaidReward:
|
|
9341
|
+
alreadyObtainedRaidReward: D0,
|
|
9342
|
+
fulfillCondition: B0,
|
|
9343
|
+
getObtainedRaidReward: C0,
|
|
9325
9344
|
hasUnlockedRaid: rt
|
|
9326
9345
|
}, Symbol.toStringTag, { value: "Module" })), qn = new b(
|
|
9327
9346
|
{
|
|
@@ -9355,7 +9374,7 @@ const Kt = ((Hs = T) == null ? void 0 : Hs.UserRaid) || F("UserRaid", qn), Be =
|
|
|
9355
9374
|
});
|
|
9356
9375
|
}, nt = async (t, a) => {
|
|
9357
9376
|
await Be(t, { $set: { [`unlocked.${a}`]: !0 } });
|
|
9358
|
-
},
|
|
9377
|
+
}, R0 = async (t, a, s, r, n, i) => {
|
|
9359
9378
|
const d = Date.now();
|
|
9360
9379
|
return await Be(t, {
|
|
9361
9380
|
$set: {
|
|
@@ -9368,31 +9387,31 @@ const Kt = ((Hs = T) == null ? void 0 : Hs.UserRaid) || F("UserRaid", qn), Be =
|
|
|
9368
9387
|
}
|
|
9369
9388
|
}
|
|
9370
9389
|
}), await Cn(t, r, n, i), d;
|
|
9371
|
-
},
|
|
9390
|
+
}, $0 = async (t) => {
|
|
9372
9391
|
await Be(t, {
|
|
9373
9392
|
$unset: {
|
|
9374
9393
|
currentRaid: ""
|
|
9375
9394
|
}
|
|
9376
9395
|
});
|
|
9377
|
-
},
|
|
9396
|
+
}, T0 = async (t) => {
|
|
9378
9397
|
await Be(t, {
|
|
9379
9398
|
$set: {
|
|
9380
9399
|
"currentRaid.progression": []
|
|
9381
9400
|
}
|
|
9382
9401
|
});
|
|
9383
|
-
},
|
|
9402
|
+
}, F0 = async (t, a) => {
|
|
9384
9403
|
await Be(t, {
|
|
9385
9404
|
$push: {
|
|
9386
9405
|
"currentRaid.progression": a
|
|
9387
9406
|
}
|
|
9388
9407
|
});
|
|
9389
|
-
},
|
|
9408
|
+
}, E0 = async (t, a, s) => {
|
|
9390
9409
|
await Be(t, {
|
|
9391
9410
|
$addToSet: {
|
|
9392
9411
|
[`obtainedRewards.${a}`]: s
|
|
9393
9412
|
}
|
|
9394
9413
|
});
|
|
9395
|
-
},
|
|
9414
|
+
}, Y0 = async (t, a) => {
|
|
9396
9415
|
await Be(t, {
|
|
9397
9416
|
$inc: Object.fromEntries(
|
|
9398
9417
|
Ga(a).filter(([s]) => s !== "title" && s !== "condition").map(([s, r]) => [`currentRaid.rewards.${s}`, r])
|
|
@@ -9403,45 +9422,45 @@ const Kt = ((Hs = T) == null ? void 0 : Hs.UserRaid) || F("UserRaid", qn), Be =
|
|
|
9403
9422
|
}
|
|
9404
9423
|
} : {}
|
|
9405
9424
|
});
|
|
9406
|
-
},
|
|
9425
|
+
}, I0 = async (t, a, s) => {
|
|
9407
9426
|
await Be(t, {
|
|
9408
9427
|
$addToSet: {
|
|
9409
9428
|
[`obtainedConditions.${a}`]: s
|
|
9410
9429
|
}
|
|
9411
9430
|
});
|
|
9412
|
-
},
|
|
9431
|
+
}, Aw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9413
9432
|
__proto__: null,
|
|
9414
|
-
addRewardsToRaid:
|
|
9415
|
-
claimReward:
|
|
9416
|
-
progressRaid:
|
|
9417
|
-
resetRaid:
|
|
9418
|
-
resetRaidProgression:
|
|
9419
|
-
startRaid:
|
|
9433
|
+
addRewardsToRaid: Y0,
|
|
9434
|
+
claimReward: E0,
|
|
9435
|
+
progressRaid: F0,
|
|
9436
|
+
resetRaid: $0,
|
|
9437
|
+
resetRaidProgression: T0,
|
|
9438
|
+
startRaid: R0,
|
|
9420
9439
|
unlockRaid: nt,
|
|
9421
|
-
updateCondition:
|
|
9440
|
+
updateCondition: I0
|
|
9422
9441
|
}, Symbol.toStringTag, { value: "Module" })), Vn = async (t) => await Kt.create({
|
|
9423
9442
|
user: t
|
|
9424
9443
|
}), zn = async (t) => {
|
|
9425
9444
|
const a = await Kt.findOne({ user: t });
|
|
9426
9445
|
return a || await Vn(t);
|
|
9427
|
-
},
|
|
9446
|
+
}, A0 = (t, a, s, r) => {
|
|
9428
9447
|
var d;
|
|
9429
9448
|
if (it(a))
|
|
9430
9449
|
return !1;
|
|
9431
9450
|
let n = Js()[a];
|
|
9432
9451
|
const i = (d = t.limit) == null ? void 0 : d[a];
|
|
9433
9452
|
return r === "half" && a === "chest_2" && (n += 2), r === "full" && a === "chest_3" && (n += 1), t.lastShopId !== s ? !1 : !!(n && i && i >= n);
|
|
9434
|
-
},
|
|
9453
|
+
}, P0 = (t, a, s, r, n) => {
|
|
9435
9454
|
var c;
|
|
9436
9455
|
if (it(a))
|
|
9437
9456
|
return r;
|
|
9438
9457
|
let i = Js()[a];
|
|
9439
9458
|
const d = (c = t.limit) == null ? void 0 : c[a];
|
|
9440
9459
|
return n === "half" && a === "chest_2" && (i += 2), n === "full" && a === "chest_3" && (i += 1), i ? t.lastShopId !== s ? i : d ? i - d : Math.min(i, r) : r;
|
|
9441
|
-
},
|
|
9460
|
+
}, Pw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9442
9461
|
__proto__: null,
|
|
9443
|
-
getShopItemRest:
|
|
9444
|
-
isShopBuyLimitReached:
|
|
9462
|
+
getShopItemRest: P0,
|
|
9463
|
+
isShopBuyLimitReached: A0
|
|
9445
9464
|
}, Symbol.toStringTag, { value: "Module" })), Xn = new b(
|
|
9446
9465
|
{
|
|
9447
9466
|
user: {
|
|
@@ -9457,12 +9476,12 @@ const Kt = ((Hs = T) == null ? void 0 : Hs.UserRaid) || F("UserRaid", qn), Be =
|
|
|
9457
9476
|
);
|
|
9458
9477
|
Xn.index({ user: 1 });
|
|
9459
9478
|
var Qs;
|
|
9460
|
-
const ps = ((Qs = T) == null ? void 0 : Qs.UserShop) || F("UserShop", Xn),
|
|
9479
|
+
const ps = ((Qs = T) == null ? void 0 : Qs.UserShop) || F("UserShop", Xn), N0 = async (t, a) => {
|
|
9461
9480
|
await ps.updateOne({ user: t }, a, {
|
|
9462
9481
|
upsert: !0
|
|
9463
9482
|
});
|
|
9464
|
-
},
|
|
9465
|
-
await
|
|
9483
|
+
}, L0 = async (t, a, s, r) => {
|
|
9484
|
+
await N0(t, [
|
|
9466
9485
|
{
|
|
9467
9486
|
$set: {
|
|
9468
9487
|
limit: {
|
|
@@ -9487,9 +9506,9 @@ const ps = ((Qs = T) == null ? void 0 : Qs.UserShop) || F("UserShop", Xn), A0 =
|
|
|
9487
9506
|
}
|
|
9488
9507
|
}
|
|
9489
9508
|
]);
|
|
9490
|
-
},
|
|
9509
|
+
}, Nw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9491
9510
|
__proto__: null,
|
|
9492
|
-
increaseShopBuyLimit:
|
|
9511
|
+
increaseShopBuyLimit: L0
|
|
9493
9512
|
}, Symbol.toStringTag, { value: "Module" })), Z = {
|
|
9494
9513
|
localField: "_id",
|
|
9495
9514
|
foreignField: "user",
|
|
@@ -9564,12 +9583,12 @@ H.post("deleteOne", async function() {
|
|
|
9564
9583
|
await Gt.deleteOne({ user: t }), await Xt.deleteOne({ user: t }), await Zt.deleteOne({ user: t }), await Kt.deleteOne({ user: t }), await ze.deleteOne({ user: t }), await os.deleteOne({ user: t }), await ps.deleteOne({ user: t }), await Ye.deleteOne({ user: t }), await Jt.deleteOne({ user: t }), await be.deleteOne({ user: t }), await Vt.deleteOne({ user: t }), await Ht.deleteOne({ user: t });
|
|
9565
9584
|
});
|
|
9566
9585
|
var Ws;
|
|
9567
|
-
const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H),
|
|
9586
|
+
const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), j0 = (t) => J.create({
|
|
9568
9587
|
userId: t
|
|
9569
9588
|
}), ms = async (t, a = {}) => {
|
|
9570
|
-
const s = await
|
|
9571
|
-
return s || await
|
|
9572
|
-
},
|
|
9589
|
+
const s = await H0({ userId: t }, a);
|
|
9590
|
+
return s || await j0(t);
|
|
9591
|
+
}, H0 = (t, a = {}) => J.findOne(t, a), Q0 = () => J.aggregate([
|
|
9573
9592
|
{
|
|
9574
9593
|
$match: {
|
|
9575
9594
|
birthday: { $ne: null }
|
|
@@ -9626,7 +9645,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9626
9645
|
nextBirthday: 1
|
|
9627
9646
|
}
|
|
9628
9647
|
}
|
|
9629
|
-
]),
|
|
9648
|
+
]), W0 = async (t) => await ms(t, { birthday: 1 }), G0 = async (t, a) => (await J.aggregate([
|
|
9630
9649
|
{
|
|
9631
9650
|
$lookup: {
|
|
9632
9651
|
from: "usermetas",
|
|
@@ -9649,7 +9668,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9649
9668
|
rank: 1
|
|
9650
9669
|
}
|
|
9651
9670
|
}
|
|
9652
|
-
]))[0],
|
|
9671
|
+
]))[0], q0 = async (t) => J.aggregate([
|
|
9653
9672
|
{ $match: { faction: t } },
|
|
9654
9673
|
{
|
|
9655
9674
|
$lookup: {
|
|
@@ -9669,7 +9688,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9669
9688
|
"meta.xp.amount": 1
|
|
9670
9689
|
}
|
|
9671
9690
|
}
|
|
9672
|
-
]),
|
|
9691
|
+
]), V0 = async () => J.aggregate([
|
|
9673
9692
|
{
|
|
9674
9693
|
$lookup: {
|
|
9675
9694
|
from: "usermetas",
|
|
@@ -9688,7 +9707,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9688
9707
|
"meta.xp.amount": 1
|
|
9689
9708
|
}
|
|
9690
9709
|
}
|
|
9691
|
-
]),
|
|
9710
|
+
]), z0 = async () => J.aggregate([
|
|
9692
9711
|
{
|
|
9693
9712
|
$lookup: {
|
|
9694
9713
|
from: "usermetas",
|
|
@@ -9707,7 +9726,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9707
9726
|
"meta.berry": 1
|
|
9708
9727
|
}
|
|
9709
9728
|
}
|
|
9710
|
-
]),
|
|
9729
|
+
]), X0 = async () => J.aggregate([
|
|
9711
9730
|
{
|
|
9712
9731
|
$lookup: {
|
|
9713
9732
|
from: "userquests",
|
|
@@ -9731,16 +9750,16 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9731
9750
|
"quest.completed": 1
|
|
9732
9751
|
}
|
|
9733
9752
|
}
|
|
9734
|
-
]),
|
|
9753
|
+
]), Z0 = (t) => {
|
|
9735
9754
|
const { berry: a, xp: s } = t.meta, { voice: r, amount: n } = s, { unlockedBadges: i, unlockedBackgrounds: d, unlockedTitles: c } = t.ornaments, {
|
|
9736
9755
|
previousOrnament: f,
|
|
9737
9756
|
previousCompletedQuest: w,
|
|
9738
9757
|
xpYesterday: O,
|
|
9739
|
-
berryYesterday:
|
|
9758
|
+
berryYesterday: N,
|
|
9740
9759
|
previousMessageSent: Q
|
|
9741
9760
|
} = t.dailyReport;
|
|
9742
9761
|
return {
|
|
9743
|
-
berry: a -
|
|
9762
|
+
berry: a - N,
|
|
9744
9763
|
xp: n - O,
|
|
9745
9764
|
message: t.questMeta.messageSent - Q,
|
|
9746
9765
|
voice: _e(r.lastConnection, Wa()) ? r.minutesInVoiceToday : 0,
|
|
@@ -9752,7 +9771,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9752
9771
|
f.unlockedBackgrounds
|
|
9753
9772
|
)
|
|
9754
9773
|
};
|
|
9755
|
-
},
|
|
9774
|
+
}, J0 = () => J.aggregate([
|
|
9756
9775
|
{ $match: { birthday: { $ne: null } } },
|
|
9757
9776
|
{
|
|
9758
9777
|
$addFields: {
|
|
@@ -9776,7 +9795,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9776
9795
|
}
|
|
9777
9796
|
}
|
|
9778
9797
|
}
|
|
9779
|
-
]),
|
|
9798
|
+
]), K0 = async () => J.aggregate([
|
|
9780
9799
|
{ $match: { "settings.sendDailyReport": !0 } },
|
|
9781
9800
|
{
|
|
9782
9801
|
$lookup: {
|
|
@@ -9806,73 +9825,73 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9806
9825
|
]
|
|
9807
9826
|
}
|
|
9808
9827
|
}
|
|
9809
|
-
]),
|
|
9828
|
+
]), Lw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9810
9829
|
__proto__: null,
|
|
9811
|
-
getAllDailyReport:
|
|
9812
|
-
getBerryRanking:
|
|
9813
|
-
getDailyReport:
|
|
9814
|
-
getFactionRank:
|
|
9815
|
-
getFactionRanking:
|
|
9816
|
-
getGlobalRanking:
|
|
9817
|
-
getNextBirthdays:
|
|
9818
|
-
getSuccessRanking:
|
|
9819
|
-
getTodayAllBirthday:
|
|
9820
|
-
getUserBirthday:
|
|
9830
|
+
getAllDailyReport: K0,
|
|
9831
|
+
getBerryRanking: z0,
|
|
9832
|
+
getDailyReport: Z0,
|
|
9833
|
+
getFactionRank: G0,
|
|
9834
|
+
getFactionRanking: q0,
|
|
9835
|
+
getGlobalRanking: V0,
|
|
9836
|
+
getNextBirthdays: Q0,
|
|
9837
|
+
getSuccessRanking: X0,
|
|
9838
|
+
getTodayAllBirthday: J0,
|
|
9839
|
+
getUserBirthday: W0
|
|
9821
9840
|
}, Symbol.toStringTag, { value: "Module" })), xe = async (t, a, s = !1) => {
|
|
9822
9841
|
await J.updateOne(t, a, { upsert: s });
|
|
9823
9842
|
}, Zn = async (t, a) => {
|
|
9824
9843
|
await xe({ _id: t }, { $set: { canChooseFaction: a } });
|
|
9825
9844
|
}, Jn = async (t, a) => {
|
|
9826
9845
|
await xe({ _id: t }, { $set: { canChangeFaction: a } });
|
|
9827
|
-
},
|
|
9846
|
+
}, eg = async (t, a) => {
|
|
9828
9847
|
await xe({ userId: t }, { $set: { birthday: a } });
|
|
9829
|
-
},
|
|
9848
|
+
}, tg = async (t) => {
|
|
9830
9849
|
await xe({ userId: t }, { $set: { birthday: null } });
|
|
9831
|
-
},
|
|
9850
|
+
}, ag = async (t, a) => {
|
|
9832
9851
|
await xe(
|
|
9833
9852
|
{ userId: t },
|
|
9834
9853
|
{ $set: { "settings.sendDailyQuest": a } }
|
|
9835
9854
|
);
|
|
9836
|
-
},
|
|
9855
|
+
}, sg = async (t, a) => {
|
|
9837
9856
|
await xe(
|
|
9838
9857
|
{ userId: t },
|
|
9839
9858
|
{ $set: { "settings.sendDailyReport": a } }
|
|
9840
9859
|
);
|
|
9841
|
-
},
|
|
9860
|
+
}, rg = async (t, a) => {
|
|
9842
9861
|
await xe(
|
|
9843
9862
|
{ _id: t },
|
|
9844
9863
|
{ $set: { "settings.sort.inventory": a } }
|
|
9845
9864
|
);
|
|
9846
|
-
},
|
|
9865
|
+
}, ng = async (t, a, s) => {
|
|
9847
9866
|
await xe(
|
|
9848
9867
|
{ _id: t },
|
|
9849
9868
|
{ $set: { [`settings.reminder.${a}`]: s } }
|
|
9850
9869
|
);
|
|
9851
|
-
},
|
|
9870
|
+
}, ig = async (t, a) => {
|
|
9852
9871
|
await xe({ _id: t }, { $set: { faction: a } });
|
|
9853
|
-
},
|
|
9872
|
+
}, jw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9854
9873
|
__proto__: null,
|
|
9855
9874
|
canChangeFaction: Jn,
|
|
9856
9875
|
canChooseFaction: Zn,
|
|
9857
|
-
removeBirthday:
|
|
9858
|
-
setBirthday:
|
|
9859
|
-
updateFaction:
|
|
9860
|
-
updateInventorySort:
|
|
9861
|
-
updateReminderSettings:
|
|
9862
|
-
updateSendDailyQuest:
|
|
9863
|
-
updateSendDailyReport:
|
|
9864
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9876
|
+
removeBirthday: tg,
|
|
9877
|
+
setBirthday: eg,
|
|
9878
|
+
updateFaction: ig,
|
|
9879
|
+
updateInventorySort: rg,
|
|
9880
|
+
updateReminderSettings: ng,
|
|
9881
|
+
updateSendDailyQuest: ag,
|
|
9882
|
+
updateSendDailyReport: sg
|
|
9883
|
+
}, Symbol.toStringTag, { value: "Module" })), Hw = async (t) => {
|
|
9865
9884
|
await J.deleteOne({ userId: t });
|
|
9866
|
-
},
|
|
9885
|
+
}, lg = async (t) => await os.create({
|
|
9867
9886
|
user: t
|
|
9868
|
-
}),
|
|
9887
|
+
}), og = async (t) => await be.create({
|
|
9869
9888
|
user: t
|
|
9870
|
-
}),
|
|
9889
|
+
}), dg = async (t) => await ps.create({
|
|
9871
9890
|
user: t
|
|
9872
9891
|
}), Ss = (t, a) => {
|
|
9873
9892
|
switch (t) {
|
|
9874
9893
|
case "dailyReport":
|
|
9875
|
-
return
|
|
9894
|
+
return lg(a);
|
|
9876
9895
|
case "games":
|
|
9877
9896
|
return Yn(a);
|
|
9878
9897
|
case "inventory":
|
|
@@ -9886,9 +9905,9 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9886
9905
|
case "quest":
|
|
9887
9906
|
return Wn(a);
|
|
9888
9907
|
case "questMeta":
|
|
9889
|
-
return
|
|
9908
|
+
return og(a);
|
|
9890
9909
|
case "shop":
|
|
9891
|
-
return
|
|
9910
|
+
return dg(a);
|
|
9892
9911
|
case "cooldown":
|
|
9893
9912
|
return Rn(a);
|
|
9894
9913
|
case "reminder":
|
|
@@ -9898,7 +9917,7 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9898
9917
|
case "encyclopedia":
|
|
9899
9918
|
return en(a);
|
|
9900
9919
|
}
|
|
9901
|
-
},
|
|
9920
|
+
}, cg = async (t, a, s) => {
|
|
9902
9921
|
if (Array.isArray(a)) {
|
|
9903
9922
|
const r = await t.populate(a);
|
|
9904
9923
|
for (const n of a)
|
|
@@ -9925,13 +9944,13 @@ const J = ((Ws = T) == null ? void 0 : Ws.User) || F("User", H), N0 = (t) => J.c
|
|
|
9925
9944
|
});
|
|
9926
9945
|
Kn.index({ warnedUserId: 1 });
|
|
9927
9946
|
var Gs;
|
|
9928
|
-
const mt = ((Gs = T) == null ? void 0 : Gs.Warns) || F("Warns", Kn),
|
|
9947
|
+
const mt = ((Gs = T) == null ? void 0 : Gs.Warns) || F("Warns", Kn), ug = async (t) => await mt.find({ warnedUserId: t }), fg = async (t) => await mt.countDocuments({ warnedUserId: t }), Qw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9929
9948
|
__proto__: null,
|
|
9930
|
-
getUserWarnCount:
|
|
9931
|
-
getUserWarns:
|
|
9932
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9949
|
+
getUserWarnCount: fg,
|
|
9950
|
+
getUserWarns: ug
|
|
9951
|
+
}, Symbol.toStringTag, { value: "Module" })), Ww = async (t) => await mt.findOne({ warnedUserId: t }), Gw = async (t) => await mt.create({
|
|
9933
9952
|
...t
|
|
9934
|
-
}),
|
|
9953
|
+
}), qw = async (t) => await mt.findByIdAndDelete(t), pg = async (t) => {
|
|
9935
9954
|
var s;
|
|
9936
9955
|
const a = {};
|
|
9937
9956
|
for (const r of Object.values(cn)) {
|
|
@@ -9950,7 +9969,7 @@ const mt = ((Gs = T) == null ? void 0 : Gs.Warns) || F("Warns", Kn), dg = async
|
|
|
9950
9969
|
Object.values(a).forEach(([r, n]) => {
|
|
9951
9970
|
ce("crewUpdate", r, n);
|
|
9952
9971
|
});
|
|
9953
|
-
},
|
|
9972
|
+
}, mg = {
|
|
9954
9973
|
localField: "_id",
|
|
9955
9974
|
foreignField: "crew",
|
|
9956
9975
|
justOne: !0
|
|
@@ -9984,15 +10003,15 @@ const mt = ((Gs = T) == null ? void 0 : Gs.Warns) || F("Warns", Kn), dg = async
|
|
|
9984
10003
|
ea.index({ "meta.xp": -1 });
|
|
9985
10004
|
ea.virtual("quest", {
|
|
9986
10005
|
ref: "CrewQuest",
|
|
9987
|
-
...
|
|
10006
|
+
...mg
|
|
9988
10007
|
});
|
|
9989
10008
|
ea.post("findOneAndUpdate", async function(t) {
|
|
9990
|
-
await
|
|
10009
|
+
await pg(t);
|
|
9991
10010
|
});
|
|
9992
10011
|
var qs;
|
|
9993
|
-
const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea),
|
|
10012
|
+
const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), hg = (t, a) => Math.ceil(
|
|
9994
10013
|
a * (t.disintegration / 100) * (ei(t) || 1)
|
|
9995
|
-
), ei = (t) => /* @__PURE__ */ new Date() >= (t.meta.buffs.xp.expireAt ?? /* @__PURE__ */ new Date(0)) ? !1 : t.meta.buffs.xp.boost,
|
|
10014
|
+
), ei = (t) => /* @__PURE__ */ new Date() >= (t.meta.buffs.xp.expireAt ?? /* @__PURE__ */ new Date(0)) ? !1 : t.meta.buffs.xp.boost, yg = async (t) => (await ht.aggregate([
|
|
9996
10015
|
{
|
|
9997
10016
|
$setWindowFields: {
|
|
9998
10017
|
sortBy: { "meta.xp": -1 },
|
|
@@ -10011,14 +10030,14 @@ const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), pg = (t, a) =
|
|
|
10011
10030
|
rank: 1
|
|
10012
10031
|
}
|
|
10013
10032
|
}
|
|
10014
|
-
]))[0],
|
|
10033
|
+
]))[0], gg = async () => ht.aggregate([
|
|
10015
10034
|
{ $sort: { "meta.xp": -1 } },
|
|
10016
10035
|
{ $limit: 10 }
|
|
10017
|
-
]),
|
|
10036
|
+
]), Vw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10018
10037
|
__proto__: null,
|
|
10019
|
-
calcXp:
|
|
10020
|
-
getCrewRank:
|
|
10021
|
-
getCrewRanking:
|
|
10038
|
+
calcXp: hg,
|
|
10039
|
+
getCrewRank: yg,
|
|
10040
|
+
getCrewRanking: gg,
|
|
10022
10041
|
hasXpBuff: ei
|
|
10023
10042
|
}, Symbol.toStringTag, { value: "Module" })), le = async (t, a) => {
|
|
10024
10043
|
await ht.findOneAndUpdate({ _id: t }, a, {
|
|
@@ -10030,25 +10049,25 @@ const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), pg = (t, a) =
|
|
|
10030
10049
|
}) : await le(t, {
|
|
10031
10050
|
$addToSet: { "ornament.unlockedBadges": a.id }
|
|
10032
10051
|
});
|
|
10033
|
-
},
|
|
10052
|
+
}, wg = async (t, a, s) => {
|
|
10034
10053
|
await le(t, {
|
|
10035
10054
|
$inc: {
|
|
10036
10055
|
"meta.xp": a,
|
|
10037
10056
|
[`stats.${s.toHexString()}.xp`]: a
|
|
10038
10057
|
}
|
|
10039
10058
|
});
|
|
10040
|
-
},
|
|
10059
|
+
}, _g = async (t, a, s) => {
|
|
10041
10060
|
await le(t, {
|
|
10042
10061
|
$inc: {
|
|
10043
10062
|
"meta.berry": a,
|
|
10044
10063
|
[`stats.${s.toHexString()}.berry`]: a
|
|
10045
10064
|
}
|
|
10046
10065
|
});
|
|
10047
|
-
},
|
|
10066
|
+
}, bg = async (t, a) => {
|
|
10048
10067
|
await le(t, {
|
|
10049
10068
|
$inc: { limit: 1, "meta.berry": -a }
|
|
10050
10069
|
});
|
|
10051
|
-
},
|
|
10070
|
+
}, Mg = async (t, a) => {
|
|
10052
10071
|
await le(t, [
|
|
10053
10072
|
{
|
|
10054
10073
|
$set: {
|
|
@@ -10075,7 +10094,7 @@ const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), pg = (t, a) =
|
|
|
10075
10094
|
}
|
|
10076
10095
|
}
|
|
10077
10096
|
]);
|
|
10078
|
-
},
|
|
10097
|
+
}, kg = async (t, a) => {
|
|
10079
10098
|
await le(t, [
|
|
10080
10099
|
{
|
|
10081
10100
|
$set: {
|
|
@@ -10085,14 +10104,14 @@ const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), pg = (t, a) =
|
|
|
10085
10104
|
}
|
|
10086
10105
|
}
|
|
10087
10106
|
]);
|
|
10088
|
-
},
|
|
10107
|
+
}, vg = async (t, a) => {
|
|
10089
10108
|
await le(t, { $addToSet: { members: a } });
|
|
10090
|
-
},
|
|
10109
|
+
}, xg = async (t, a, s) => {
|
|
10091
10110
|
await le(t, {
|
|
10092
10111
|
$pull: { members: a },
|
|
10093
10112
|
$unset: { [`stats.${s}`]: 1 }
|
|
10094
10113
|
});
|
|
10095
|
-
},
|
|
10114
|
+
}, Sg = async (t, a) => {
|
|
10096
10115
|
const [s, r] = [a - 2, (a - 3) * 2 + 3];
|
|
10097
10116
|
await le(t, [
|
|
10098
10117
|
{
|
|
@@ -10108,21 +10127,21 @@ const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), pg = (t, a) =
|
|
|
10108
10127
|
}
|
|
10109
10128
|
}
|
|
10110
10129
|
]);
|
|
10111
|
-
},
|
|
10130
|
+
}, zw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10112
10131
|
__proto__: null,
|
|
10113
|
-
addBerry:
|
|
10114
|
-
addMember:
|
|
10115
|
-
addXp:
|
|
10116
|
-
addXpBuff:
|
|
10117
|
-
applyDisintegration:
|
|
10118
|
-
increaseLimit:
|
|
10119
|
-
removeMember:
|
|
10120
|
-
repair:
|
|
10132
|
+
addBerry: _g,
|
|
10133
|
+
addMember: vg,
|
|
10134
|
+
addXp: wg,
|
|
10135
|
+
addXpBuff: Mg,
|
|
10136
|
+
applyDisintegration: Sg,
|
|
10137
|
+
increaseLimit: bg,
|
|
10138
|
+
removeMember: xg,
|
|
10139
|
+
repair: kg,
|
|
10121
10140
|
unlockBadge: ti
|
|
10122
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10141
|
+
}, Symbol.toStringTag, { value: "Module" })), Xw = async (t, a = {}) => {
|
|
10123
10142
|
const s = await ht.findById(t, a);
|
|
10124
10143
|
return s || null;
|
|
10125
|
-
},
|
|
10144
|
+
}, Zw = async (t, {
|
|
10126
10145
|
name: a,
|
|
10127
10146
|
description: s,
|
|
10128
10147
|
channelId: r,
|
|
@@ -10139,17 +10158,17 @@ const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), pg = (t, a) =
|
|
|
10139
10158
|
if (!(s != null && s[a]) || !_e(s[a], /* @__PURE__ */ new Date()))
|
|
10140
10159
|
return !1;
|
|
10141
10160
|
return !0;
|
|
10142
|
-
},
|
|
10161
|
+
}, Jw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10143
10162
|
__proto__: null,
|
|
10144
10163
|
isAllDailyCompleted: ai
|
|
10145
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10164
|
+
}, Symbol.toStringTag, { value: "Module" })), Ug = async (t) => {
|
|
10146
10165
|
var r;
|
|
10147
10166
|
const a = {}, { crew: s } = await t.populate("crew");
|
|
10148
10167
|
for (const n of Object.values(dn)) {
|
|
10149
10168
|
const i = new n();
|
|
10150
10169
|
for (const d of s.members) {
|
|
10151
10170
|
const c = await ms(d, { _id: 1, crew: 1 }).then(
|
|
10152
|
-
(f) =>
|
|
10171
|
+
(f) => cg(f, "crew", { lastAllMembersDaily: 1 })
|
|
10153
10172
|
);
|
|
10154
10173
|
if (c.crew && ((r = i.onCrewQuestUpdate) != null && r.call(i, t, c.crew))) {
|
|
10155
10174
|
const f = await i.complete(c._id, {});
|
|
@@ -10186,7 +10205,7 @@ const ht = ((qs = T) == null ? void 0 : qs.Crew) || F("Crew", ea), pg = (t, a) =
|
|
|
10186
10205
|
);
|
|
10187
10206
|
hs.index({ crew: 1 });
|
|
10188
10207
|
hs.post("findOneAndUpdate", async function(t) {
|
|
10189
|
-
await
|
|
10208
|
+
await Ug(t);
|
|
10190
10209
|
});
|
|
10191
10210
|
var Vs;
|
|
10192
10211
|
const ys = ((Vs = T) == null ? void 0 : Vs.CrewQuest) || F("CrewQuest", hs), ta = async (t, a) => {
|
|
@@ -10206,28 +10225,28 @@ const ys = ((Vs = T) == null ? void 0 : Vs.CrewQuest) || F("CrewQuest", hs), ta
|
|
|
10206
10225
|
}
|
|
10207
10226
|
}
|
|
10208
10227
|
]);
|
|
10209
|
-
},
|
|
10228
|
+
}, Og = async (t, a) => {
|
|
10210
10229
|
await ta(t, {
|
|
10211
10230
|
$set: {
|
|
10212
10231
|
"meta.actualVoiceMembers.amount": a,
|
|
10213
10232
|
"meta.actualVoiceMembers.connectedAt": /* @__PURE__ */ new Date()
|
|
10214
10233
|
}
|
|
10215
10234
|
});
|
|
10216
|
-
},
|
|
10235
|
+
}, Dg = async (t, a) => {
|
|
10217
10236
|
await ta(t, {
|
|
10218
10237
|
$set: {
|
|
10219
10238
|
"meta.maxVoiceMembers": a
|
|
10220
10239
|
}
|
|
10221
10240
|
});
|
|
10222
|
-
},
|
|
10241
|
+
}, Kw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10223
10242
|
__proto__: null,
|
|
10224
10243
|
completeDailyQuest: ri,
|
|
10225
10244
|
completeQuest: si,
|
|
10226
|
-
setActualVoiceMembers:
|
|
10227
|
-
setMaxVoiceMembers:
|
|
10245
|
+
setActualVoiceMembers: Og,
|
|
10246
|
+
setMaxVoiceMembers: Dg
|
|
10228
10247
|
}, Symbol.toStringTag, { value: "Module" })), ni = async (t) => await ys.create({
|
|
10229
10248
|
crew: t
|
|
10230
|
-
}),
|
|
10249
|
+
}), e_ = async (t) => {
|
|
10231
10250
|
const a = await ys.findOne({ crew: t });
|
|
10232
10251
|
return a || await ni(t);
|
|
10233
10252
|
}, Us = (t, a) => {
|
|
@@ -10235,7 +10254,7 @@ const ys = ((Vs = T) == null ? void 0 : Vs.CrewQuest) || F("CrewQuest", hs), ta
|
|
|
10235
10254
|
case "quest":
|
|
10236
10255
|
return ni(a);
|
|
10237
10256
|
}
|
|
10238
|
-
},
|
|
10257
|
+
}, t_ = async (t, a, s) => {
|
|
10239
10258
|
if (Array.isArray(a)) {
|
|
10240
10259
|
const r = await t.populate(a);
|
|
10241
10260
|
for (const n of a)
|
|
@@ -10254,31 +10273,31 @@ const ys = ((Vs = T) == null ? void 0 : Vs.CrewQuest) || F("CrewQuest", hs), ta
|
|
|
10254
10273
|
t._id
|
|
10255
10274
|
)), r;
|
|
10256
10275
|
}
|
|
10257
|
-
},
|
|
10276
|
+
}, a_ = (t) => {
|
|
10258
10277
|
ci(t);
|
|
10259
10278
|
};
|
|
10260
|
-
class
|
|
10279
|
+
class s_ extends ui.ObjectId {
|
|
10261
10280
|
}
|
|
10262
10281
|
export {
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10282
|
+
Wh as ALL_QUESTS,
|
|
10283
|
+
cw as BET_MAX_VALUE,
|
|
10284
|
+
dw as BET_MIN_VALUE,
|
|
10285
|
+
iu as BackgroundShopItem,
|
|
10286
|
+
lu as BoostXpShopItem,
|
|
10287
|
+
uu as BottleShopItem,
|
|
10288
|
+
Sw as COOLDOWN_COMMANDS,
|
|
10289
|
+
ou as ChestShopItem,
|
|
10271
10290
|
dn as CrewQuestQuests,
|
|
10272
10291
|
cn as CrewQuests,
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10292
|
+
uw as EDITO_READ,
|
|
10293
|
+
cu as EquipmentShopItem,
|
|
10294
|
+
s_ as ObjectId,
|
|
10295
|
+
du as ObjectShopItem,
|
|
10296
|
+
fw as QUEST_ASSET_IMAGES,
|
|
10278
10297
|
o as Quest,
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10298
|
+
fu as RepairShopItem,
|
|
10299
|
+
pu as StoreShopItem,
|
|
10300
|
+
mu as TitleShopItem,
|
|
10282
10301
|
an as UserDailyQuests,
|
|
10283
10302
|
un as UserInventoryQuests,
|
|
10284
10303
|
fn as UserMetaQuests,
|
|
@@ -10286,120 +10305,120 @@ export {
|
|
|
10286
10305
|
mn as UserQuestMetaQuests,
|
|
10287
10306
|
hn as UserQuestQuests,
|
|
10288
10307
|
_a as UserRepetableQuests,
|
|
10289
|
-
|
|
10290
|
-
|
|
10308
|
+
Lg as banExists,
|
|
10309
|
+
Ig as banGetters,
|
|
10291
10310
|
ot as banModel,
|
|
10292
10311
|
Ks as betModel,
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10312
|
+
gw as completeCrewQuest,
|
|
10313
|
+
yw as completeDailyQuest,
|
|
10314
|
+
ww as completeRepeatableQuest,
|
|
10315
|
+
a_ as connectToServices,
|
|
10316
|
+
Ag as createBan,
|
|
10317
|
+
Hg as createBet,
|
|
10318
|
+
Zw as createCrew,
|
|
10300
10319
|
ni as createCrewQuest,
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10320
|
+
Wg as createInvitations,
|
|
10321
|
+
aw as createReminder,
|
|
10322
|
+
nu as createSettings,
|
|
10323
|
+
Dw as createUserCrew,
|
|
10324
|
+
Gw as createWarn,
|
|
10325
|
+
Vw as crewGetters,
|
|
10307
10326
|
ht as crewModel,
|
|
10308
|
-
|
|
10327
|
+
Jw as crewQuestGetters,
|
|
10309
10328
|
ys as crewQuestModel,
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10329
|
+
Kw as crewQuestUpdates,
|
|
10330
|
+
zw as crewUpdates,
|
|
10331
|
+
Ng as deleteBan,
|
|
10332
|
+
Gg as deleteInvitations,
|
|
10333
|
+
Hw as deleteUserById,
|
|
10334
|
+
Bw as deleteUserCrewById,
|
|
10335
|
+
qw as deleteWarn,
|
|
10317
10336
|
ce as emitQuestEvent,
|
|
10318
10337
|
Ct as emitRaidEvent,
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10338
|
+
Ww as finWarnById,
|
|
10339
|
+
Pg as findBan,
|
|
10340
|
+
jg as findBetById,
|
|
10341
|
+
Xw as findCrewById,
|
|
10342
|
+
e_ as findCrewQuest,
|
|
10343
|
+
Qg as findInvitations,
|
|
10344
|
+
tw as findReminder,
|
|
10345
|
+
Vg as findSettingsByGuildId,
|
|
10346
|
+
ku as findShop,
|
|
10347
|
+
Zg as findShopByType,
|
|
10348
|
+
H0 as findUser,
|
|
10330
10349
|
ms as findUserById,
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10350
|
+
Uw as findUserCooldown,
|
|
10351
|
+
m0 as findUserCrew,
|
|
10352
|
+
iw as findUserEncyclopedia,
|
|
10353
|
+
Tw as findUserGames,
|
|
10335
10354
|
qt as findUserInventory,
|
|
10336
10355
|
Wt as findUserMeta,
|
|
10337
|
-
|
|
10356
|
+
Ew as findUserOrnaments,
|
|
10338
10357
|
Gn as findUserQuest,
|
|
10339
10358
|
zn as findUserRaid,
|
|
10340
|
-
|
|
10341
|
-
|
|
10359
|
+
hw as getBadgeEmojisFromId,
|
|
10360
|
+
mw as getQuestBadgeEmojis,
|
|
10342
10361
|
Ma as invitationsModel,
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10362
|
+
lw as onQuestEvent,
|
|
10363
|
+
_w as onRaidEvent,
|
|
10364
|
+
t_ as populateCrew,
|
|
10365
|
+
cg as populateUser,
|
|
10366
|
+
ow as questCanvas,
|
|
10367
|
+
Kg as reminderGetters,
|
|
10349
10368
|
qe as reminderModel,
|
|
10350
|
-
|
|
10369
|
+
ew as reminderUpdates,
|
|
10351
10370
|
qa as settingsModel,
|
|
10352
|
-
|
|
10353
|
-
|
|
10371
|
+
qg as settingsUpdates,
|
|
10372
|
+
zg as shopGetters,
|
|
10354
10373
|
Va as shopModel,
|
|
10355
|
-
|
|
10374
|
+
Xg as shopUpdates,
|
|
10356
10375
|
zt as updateUserCooldown,
|
|
10357
10376
|
$n as updateUserCrew,
|
|
10358
|
-
|
|
10359
|
-
|
|
10377
|
+
h0 as updateUserDailyReport,
|
|
10378
|
+
Hu as updateUserEncyclopedia,
|
|
10360
10379
|
ds as updateUserGames,
|
|
10361
10380
|
ve as updateUserInventory,
|
|
10362
|
-
|
|
10381
|
+
A as updateUserMeta,
|
|
10363
10382
|
V as updateUserOrnaments,
|
|
10364
10383
|
Bt as updateUserQuest,
|
|
10365
10384
|
v as updateUserQuestMeta,
|
|
10366
10385
|
Be as updateUserRaid,
|
|
10367
|
-
|
|
10368
|
-
|
|
10386
|
+
N0 as updateUserShop,
|
|
10387
|
+
Jg as userCooldownGetters,
|
|
10369
10388
|
Vt as userCooldownModel,
|
|
10370
|
-
|
|
10371
|
-
|
|
10389
|
+
xw as userCooldownUpdates,
|
|
10390
|
+
Cw as userCrewExists,
|
|
10372
10391
|
ze as userCrewModel,
|
|
10373
|
-
|
|
10392
|
+
Ow as userCrewUpdates,
|
|
10374
10393
|
os as userDailyReportModel,
|
|
10375
|
-
|
|
10376
|
-
|
|
10394
|
+
Rw as userDailyReportUpdates,
|
|
10395
|
+
rw as userEncyclopediaGetters,
|
|
10377
10396
|
Ht as userEncyclopediaModel,
|
|
10378
|
-
|
|
10397
|
+
nw as userEncyclopediaUpdates,
|
|
10379
10398
|
Xt as userGamesModel,
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10399
|
+
$w as userGamesUpdates,
|
|
10400
|
+
Lw as userGetters,
|
|
10401
|
+
sw as userInventoryGetters,
|
|
10383
10402
|
Gt as userInventoryModel,
|
|
10384
|
-
|
|
10385
|
-
|
|
10403
|
+
kw as userInventoryUpdates,
|
|
10404
|
+
vw as userMetaGetters,
|
|
10386
10405
|
Ye as userMetaModel,
|
|
10387
|
-
|
|
10406
|
+
Mw as userMetaUpdates,
|
|
10388
10407
|
J as userModel,
|
|
10389
10408
|
Zt as userOrnamentsModel,
|
|
10390
|
-
|
|
10391
|
-
|
|
10409
|
+
Fw as userOrnamentsUpdates,
|
|
10410
|
+
pw as userQuestGetters,
|
|
10392
10411
|
be as userQuestMetaModel,
|
|
10393
|
-
|
|
10412
|
+
bw as userQuestMetaUpdates,
|
|
10394
10413
|
Jt as userQuestModel,
|
|
10395
|
-
|
|
10396
|
-
|
|
10414
|
+
Yw as userQuestUpdates,
|
|
10415
|
+
Iw as userRaidGetters,
|
|
10397
10416
|
Kt as userRaidModel,
|
|
10398
|
-
|
|
10399
|
-
|
|
10417
|
+
Aw as userRaidUpdates,
|
|
10418
|
+
Pw as userShopGetters,
|
|
10400
10419
|
ps as userShopModel,
|
|
10401
|
-
|
|
10402
|
-
|
|
10403
|
-
|
|
10420
|
+
Nw as userShopUpdates,
|
|
10421
|
+
jw as userUpdates,
|
|
10422
|
+
Qw as warnGetters,
|
|
10404
10423
|
mt as warnModel
|
|
10405
10424
|
};
|