@ianlucas/cs2-lib 7.1.0 → 7.2.1-beta.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/economy-constants.d.mts +15 -15
- package/dist/economy-container.d.mts +2 -2
- package/dist/translations/bulgarian.mjs +389 -49
- package/dist/translations/czech.mjs +1 -1
- package/dist/translations/danish.mjs +1 -1
- package/dist/translations/dutch.mjs +1 -1
- package/dist/translations/finnish.mjs +1 -1
- package/dist/translations/french.mjs +1 -1
- package/dist/translations/german.mjs +7 -7
- package/dist/translations/indonesian.mjs +1 -1
- package/dist/translations/italian.mjs +2 -2
- package/dist/translations/japanese.mjs +2 -2
- package/dist/translations/koreana.mjs +2 -2
- package/dist/translations/latam.mjs +1 -1
- package/dist/translations/polish.mjs +1 -1
- package/dist/translations/romanian.mjs +1 -1
- package/dist/translations/russian.mjs +1 -1
- package/dist/translations/spanish.mjs +991 -991
- package/dist/translations/swedish.mjs +3 -3
- package/dist/translations/tchinese.mjs +1 -1
- package/dist/translations/thai.mjs +1 -1
- package/dist/translations/turkish.mjs +1 -1
- package/dist/translations/ukrainian.mjs +1 -1
- package/dist/translations/vietnamese.mjs +1 -1
- package/package.json +6 -6
|
@@ -6,31 +6,31 @@ declare const CS2_MIN_STATTRAK = 0;
|
|
|
6
6
|
declare const CS2_MAX_STATTRAK = 999999;
|
|
7
7
|
declare const CS2_MIN_WEAR = 0;
|
|
8
8
|
declare const CS2_MAX_WEAR = 1;
|
|
9
|
-
declare const CS2_DEFAULT_MIN_WEAR =
|
|
10
|
-
declare const CS2_DEFAULT_MAX_WEAR =
|
|
9
|
+
declare const CS2_DEFAULT_MIN_WEAR = .06;
|
|
10
|
+
declare const CS2_DEFAULT_MAX_WEAR = .8;
|
|
11
11
|
declare const CS2_MIN_FACTORY_NEW_WEAR: number;
|
|
12
|
-
declare const CS2_MAX_FACTORY_NEW_WEAR =
|
|
13
|
-
declare const CS2_MIN_MINIMAL_WEAR_WEAR =
|
|
14
|
-
declare const CS2_MAX_MINIMAL_WEAR_WEAR =
|
|
15
|
-
declare const CS2_MIN_FIELD_TESTED_WEAR =
|
|
16
|
-
declare const CS2_MAX_FIELD_TESTED_WEAR =
|
|
17
|
-
declare const CS2_MIN_WELL_WORN_WEAR =
|
|
18
|
-
declare const CS2_MAX_WELL_WORN_WEAR =
|
|
19
|
-
declare const CS2_MIN_BATTLE_SCARRED_WEAR =
|
|
12
|
+
declare const CS2_MAX_FACTORY_NEW_WEAR = .07;
|
|
13
|
+
declare const CS2_MIN_MINIMAL_WEAR_WEAR = .070001;
|
|
14
|
+
declare const CS2_MAX_MINIMAL_WEAR_WEAR = .15;
|
|
15
|
+
declare const CS2_MIN_FIELD_TESTED_WEAR = .150001;
|
|
16
|
+
declare const CS2_MAX_FIELD_TESTED_WEAR = .37;
|
|
17
|
+
declare const CS2_MIN_WELL_WORN_WEAR = .370001;
|
|
18
|
+
declare const CS2_MAX_WELL_WORN_WEAR = .44;
|
|
19
|
+
declare const CS2_MIN_BATTLE_SCARRED_WEAR = .440001;
|
|
20
20
|
declare const CS2_MAX_BATTLE_SCARRED_WEAR: number;
|
|
21
21
|
declare const CS2_MIN_SEED = 1;
|
|
22
|
-
declare const CS2_MAX_SEED =
|
|
22
|
+
declare const CS2_MAX_SEED = 1e3;
|
|
23
23
|
declare const CS2_MIN_STICKER_WEAR = 0;
|
|
24
|
-
declare const CS2_MAX_STICKER_WEAR =
|
|
24
|
+
declare const CS2_MAX_STICKER_WEAR = .9;
|
|
25
25
|
declare const CS2_MIN_STICKER_ROTATION = 0;
|
|
26
26
|
declare const CS2_MAX_STICKER_ROTATION = 359;
|
|
27
27
|
declare const CS2_MIN_KEYCHAIN_SEED = 1;
|
|
28
|
-
declare const CS2_MAX_KEYCHAIN_SEED =
|
|
28
|
+
declare const CS2_MAX_KEYCHAIN_SEED = 1e5;
|
|
29
29
|
declare const CS2_MAX_STICKERS = 5;
|
|
30
30
|
declare const CS2_MAX_PATCHES = 5;
|
|
31
31
|
declare const CS2_MAX_KEYCHAINS = 1;
|
|
32
|
-
declare const CS2_STICKER_WEAR_FACTOR =
|
|
33
|
-
declare const CS2_WEAR_FACTOR =
|
|
32
|
+
declare const CS2_STICKER_WEAR_FACTOR = .1;
|
|
33
|
+
declare const CS2_WEAR_FACTOR = 1e-6;
|
|
34
34
|
declare const CS2_NAMETAG_RE: RegExp;
|
|
35
35
|
declare const CS2_CONTRACT_TOOL_DEF = 62;
|
|
36
36
|
declare const CS2_NAMETAG_TOOL_DEF = 1200;
|
|
@@ -57,8 +57,8 @@ declare const CS2RarityColorOrder: {
|
|
|
57
57
|
readonly "#e4ae39": 7;
|
|
58
58
|
};
|
|
59
59
|
declare const CS2_RARITY_COLOR_DEFAULT = 0;
|
|
60
|
-
declare const CS2_BASE_ODD =
|
|
61
|
-
declare const CS2_STATTRAK_ODD =
|
|
60
|
+
declare const CS2_BASE_ODD = .8;
|
|
61
|
+
declare const CS2_STATTRAK_ODD = .1;
|
|
62
62
|
declare function randomFloat(min: number, max: number): number;
|
|
63
63
|
declare function randomInt(min: number, max: number): number;
|
|
64
64
|
declare function randomBoolean(): boolean;
|