@modlock/modlock 0.1.64 → 0.1.68
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/console.d.ts +44 -0
- package/curve.d.ts +18 -9
- package/entities.d.ts +10000 -9169
- package/entities.js +29879 -8910
- package/host.gen.d.ts +96 -15
- package/index.d.ts +2 -1
- package/index.js +627 -95
- package/item-id.d.ts +2 -0
- package/items.d.ts +24 -0
- package/items.gen.d.ts +3 -0
- package/package.json +6 -6
- package/timer.d.ts +2 -1
- package/ui.d.ts +31 -7
package/console.d.ts
CHANGED
|
@@ -1075,6 +1075,7 @@ export interface Variables {
|
|
|
1075
1075
|
citadel_forge_sentry_gold_reward_bonus_per_minute: number;
|
|
1076
1076
|
/** Player Fow Vision Range. */
|
|
1077
1077
|
citadel_fow_player_range: number;
|
|
1078
|
+
/** Set to Enable StreetBrawl. */
|
|
1078
1079
|
citadel_gamemode_streetbrawl_enabled: boolean;
|
|
1079
1080
|
citadel_gg_call_time: number;
|
|
1080
1081
|
citadel_gold_bonus_scale_for_familiar_infest: number;
|
|
@@ -1093,6 +1094,21 @@ export interface Variables {
|
|
|
1093
1094
|
citadel_gun_iron_sights_threshold: number;
|
|
1094
1095
|
/** Max spread penalty you can incur from taking damage. */
|
|
1095
1096
|
citadel_gun_max_spread_penalty: number;
|
|
1097
|
+
/** When set, players drop all their candy when they die. */
|
|
1098
|
+
citadel_halloween_candy_death_drop: boolean;
|
|
1099
|
+
/** When set, getting hit by a heavy melee knocks candy out of the victim. */
|
|
1100
|
+
citadel_halloween_candy_heavy_melee_drop: boolean;
|
|
1101
|
+
/** Minimum candy a heavy melee knocks out. */
|
|
1102
|
+
citadel_halloween_candy_heavy_melee_drop_count: number;
|
|
1103
|
+
/** Seconds before the victim can pick their knocked out candy back up. */
|
|
1104
|
+
citadel_halloween_candy_heavy_melee_drop_lockout: number;
|
|
1105
|
+
/**
|
|
1106
|
+
* Fraction of the victim's held candy a heavy melee knocks out, rounded down
|
|
1107
|
+
* (never less than citadel_halloween_candy_heavy_melee_drop_count).
|
|
1108
|
+
*/
|
|
1109
|
+
citadel_halloween_candy_heavy_melee_drop_percent: number;
|
|
1110
|
+
/** Candy given to every player at the start of each Street Brawl round. */
|
|
1111
|
+
citadel_halloween_candy_street_brawl_round_grant: number;
|
|
1096
1112
|
/** Which hero do we spawn when we spawn and enemy or ally hero. */
|
|
1097
1113
|
citadel_hero_demo_hero_spawn: string;
|
|
1098
1114
|
/** Do we start withough troopers when launching the hero demo map. */
|
|
@@ -1735,6 +1751,16 @@ export interface Variables {
|
|
|
1735
1751
|
*/
|
|
1736
1752
|
citadel_rr_killstreak_for_death_line: number;
|
|
1737
1753
|
citadel_sat_volume_desat_amount: number;
|
|
1754
|
+
/**
|
|
1755
|
+
* Max extra secure rate (fraction of baseline) for a player behind the enemy
|
|
1756
|
+
* team's average net worth.
|
|
1757
|
+
*/
|
|
1758
|
+
citadel_secure_gold_behind_max_bonus: number;
|
|
1759
|
+
/**
|
|
1760
|
+
* Net worth deficit vs the enemy team's average (fraction of that average) at
|
|
1761
|
+
* which the secure rate bonus is maxed.
|
|
1762
|
+
*/
|
|
1763
|
+
citadel_secure_gold_behind_max_delta: number;
|
|
1738
1764
|
citadel_secure_gold_fixed: number;
|
|
1739
1765
|
citadel_secure_gold_fixed_growth: number;
|
|
1740
1766
|
citadel_secure_gold_percent: number;
|
|
@@ -1923,6 +1949,17 @@ export interface Variables {
|
|
|
1923
1949
|
* net worth players each period.
|
|
1924
1950
|
*/
|
|
1925
1951
|
citadel_tick_gold_comeback_redirect_payout: number;
|
|
1952
|
+
/**
|
|
1953
|
+
* Tick gold payout multiplier for a team at or beyond
|
|
1954
|
+
* citadel_tick_gold_deficit_max_ratio behind in net worth. Ramps from 1 at
|
|
1955
|
+
* parity.
|
|
1956
|
+
*/
|
|
1957
|
+
citadel_tick_gold_deficit_max_multiplier: number;
|
|
1958
|
+
/**
|
|
1959
|
+
* Enemy team net worth / our team net worth at which
|
|
1960
|
+
* citadel_tick_gold_deficit_max_multiplier is reached.
|
|
1961
|
+
*/
|
|
1962
|
+
citadel_tick_gold_deficit_max_ratio: number;
|
|
1926
1963
|
citadel_tick_gold_payout_for_lowest: number;
|
|
1927
1964
|
citadel_tick_gold_payout_for_second_lowest: number;
|
|
1928
1965
|
/**
|
|
@@ -6549,6 +6586,8 @@ export interface Commands {
|
|
|
6549
6586
|
citadel_enable_duplicate_heroes: true;
|
|
6550
6587
|
/** Enables the first capture point found within 20m. */
|
|
6551
6588
|
citadel_enable_nearby_capture_point: true;
|
|
6589
|
+
/** Prints the active events and the map overrides applied at load. */
|
|
6590
|
+
citadel_event_state_dump: true;
|
|
6552
6591
|
/** Draws the LOS check generated by our fibonacci sphere trace algorithm. */
|
|
6553
6592
|
citadel_fibonacci_sphere_trace: true;
|
|
6554
6593
|
/** Request a flame graph dump. */
|
|
@@ -6568,6 +6607,11 @@ export interface Commands {
|
|
|
6568
6607
|
citadel_force_spawn_idol: true;
|
|
6569
6608
|
/** <gold> [unsecure=0|1] Give gold value to all players. */
|
|
6570
6609
|
citadel_give_gold: true;
|
|
6610
|
+
/**
|
|
6611
|
+
* Gives you candy for the eat Halloween candy ability. Usage:
|
|
6612
|
+
* citadel_give_halloween_candy <count>.
|
|
6613
|
+
*/
|
|
6614
|
+
citadel_give_halloween_candy: true;
|
|
6571
6615
|
/**
|
|
6572
6616
|
* Gives you N random breakable permanent buffs at once, the same way a
|
|
6573
6617
|
* Sinner's Sacrifice jackpot does. Usage: citadel_give_permanent_buffs
|
package/curve.d.ts
CHANGED
|
@@ -12,10 +12,13 @@ export interface LerpShape {
|
|
|
12
12
|
/**
|
|
13
13
|
* Ease maps the fraction of a span played, 0 to 1, to the fraction moved. An
|
|
14
14
|
* ease with a lerp shape is one the game draws itself, so a move with it
|
|
15
|
-
* plays as one lerp.
|
|
15
|
+
* plays as one lerp. It is a record rather than a function with a property,
|
|
16
|
+
* which scriptc cannot read.
|
|
16
17
|
*/
|
|
17
18
|
export interface Ease {
|
|
18
|
-
|
|
19
|
+
/** at returns the fraction moved a fraction t of the way through. */
|
|
20
|
+
readonly at: (t: number) => number;
|
|
21
|
+
/** lerp is the shape the game draws the ease with, if it can. */
|
|
19
22
|
readonly lerp?: LerpShape;
|
|
20
23
|
}
|
|
21
24
|
/** ease holds the common easing curves. */
|
|
@@ -27,20 +30,26 @@ export declare const ease: {
|
|
|
27
30
|
/** gain is the game's gain curve; see LerpShape. */
|
|
28
31
|
readonly gain: (g: number) => Ease;
|
|
29
32
|
/** in starts slow and speeds up. */
|
|
30
|
-
readonly in:
|
|
33
|
+
readonly in: Ease;
|
|
31
34
|
/** out starts fast and slows to a stop. */
|
|
32
|
-
readonly out:
|
|
35
|
+
readonly out: Ease;
|
|
33
36
|
/** inOut starts and ends slow. */
|
|
34
|
-
readonly inOut:
|
|
37
|
+
readonly inOut: Ease;
|
|
35
38
|
/** sine starts and ends slow, more gently than inOut. */
|
|
36
|
-
readonly sine:
|
|
39
|
+
readonly sine: Ease;
|
|
37
40
|
/** back passes its end a little and settles back onto it. */
|
|
38
|
-
readonly back:
|
|
41
|
+
readonly back: Ease;
|
|
39
42
|
/** elastic overshoots its end and rings down onto it. */
|
|
40
|
-
readonly elastic:
|
|
43
|
+
readonly elastic: Ease;
|
|
41
44
|
/** bounce drops onto its end and bounces to rest. */
|
|
42
|
-
readonly bounce:
|
|
45
|
+
readonly bounce: Ease;
|
|
43
46
|
};
|
|
47
|
+
/**
|
|
48
|
+
* shaped is the ease that moves by at, drawn by the game with lerp when it has
|
|
49
|
+
* one. It declares its result, so every ease has the one layout scriptc
|
|
50
|
+
* gives Ease.
|
|
51
|
+
*/
|
|
52
|
+
export declare function shaped(at: (t: number) => number, lerp?: LerpShape): Ease;
|
|
44
53
|
/** CameraSpan is one piece of a curve. */
|
|
45
54
|
export interface CameraSpan {
|
|
46
55
|
/** duration is how long the span plays, in seconds. */
|