isaacscript-common 2.1.0 → 2.3.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/README.md +1 -1
- package/classes/DefaultMap.d.ts +1 -1
- package/classes/ModUpgraded.d.ts +8 -2
- package/constants.d.ts +5 -5
- package/constants.lua +1 -1
- package/{constantsMax.d.ts → constantsFirstLast.d.ts} +0 -0
- package/{constantsMax.lua → constantsFirstLast.lua} +0 -0
- package/enums/HealthType.d.ts +2 -2
- package/enums/ModCallbackCustom.d.ts +753 -2
- package/features/debugDisplay/exports.d.ts +36 -36
- package/features/deployJSONRoom.d.ts +1 -1
- package/features/extraConsoleCommands/commandsDisplay.d.ts +18 -18
- package/features/extraConsoleCommands/init.d.ts +3 -2
- package/features/extraConsoleCommands/init.lua +76 -76
- package/features/extraConsoleCommands/{commands.d.ts → listCommands.d.ts} +17 -17
- package/features/extraConsoleCommands/{commands.lua → listCommands.lua} +9 -9
- package/features/{isPonyActive.d.ts → ponyDetection.d.ts} +0 -0
- package/features/{isPonyActive.lua → ponyDetection.lua} +2 -2
- package/features/{preventCollectibleRotate.d.ts → preventCollectibleRotation.d.ts} +1 -1
- package/features/{preventCollectibleRotate.lua → preventCollectibleRotation.lua} +3 -3
- package/features/saveDataManager/exports.d.ts +13 -10
- package/features/saveDataManager/load.d.ts +1 -1
- package/features/saveDataManager/main.d.ts +1 -1
- package/features/saveDataManager/maps.d.ts +1 -1
- package/features/saveDataManager/save.d.ts +1 -1
- package/functions/cards.lua +5 -5
- package/functions/character.lua +2 -2
- package/functions/chargeBar.d.ts +1 -1
- package/functions/collectibleCacheFlag.d.ts +4 -4
- package/functions/collectibleSet.lua +2 -2
- package/functions/collectibles.lua +5 -5
- package/functions/enums.d.ts +3 -3
- package/functions/jsonRoom.d.ts +1 -1
- package/functions/language.d.ts +7 -1
- package/functions/language.lua +2 -11
- package/functions/pills.lua +9 -9
- package/functions/playerDataStructures.d.ts +51 -0
- package/functions/playerDataStructures.lua +4 -0
- package/functions/playerHealth.d.ts +1 -1
- package/functions/pocketItems.d.ts +1 -1
- package/functions/run.lua +2 -2
- package/functions/spawnCollectible.lua +3 -3
- package/functions/trinketGive.d.ts +1 -1
- package/functions/trinkets.lua +5 -5
- package/functions/utils.d.ts +2 -2
- package/index.d.ts +14 -13
- package/index.lua +12 -12
- package/initFeatures.lua +6 -6
- package/{types → interfaces}/AddCallbackParameterCustom.d.ts +0 -0
- package/{types → interfaces}/AddCallbackParameterCustom.lua +0 -0
- package/{types → interfaces}/ChargeBarSprites.d.ts +0 -0
- package/{types → interfaces}/ChargeBarSprites.lua +0 -0
- package/{types → interfaces}/JSONDoor.d.ts +1 -0
- package/{types → interfaces}/JSONDoor.lua +0 -0
- package/{types → interfaces}/JSONEntity.d.ts +1 -0
- package/{types → interfaces}/JSONEntity.lua +0 -0
- package/{types → interfaces}/JSONRoom.d.ts +1 -5
- package/{types → interfaces}/JSONRoom.lua +0 -0
- package/{types → interfaces}/JSONRooms.d.ts +0 -0
- package/{types → interfaces}/JSONRooms.lua +0 -0
- package/{types → interfaces}/JSONSpawn.d.ts +1 -0
- package/{types → interfaces}/JSONSpawn.lua +0 -0
- package/{types → interfaces}/PlayerHealth.d.ts +1 -0
- package/{types → interfaces}/PlayerHealth.lua +0 -0
- package/{types → interfaces}/PocketItemDescription.d.ts +1 -0
- package/{types → interfaces}/PocketItemDescription.lua +0 -0
- package/interfaces/SaveData.d.ts +29 -0
- package/{types → interfaces}/SaveData.lua +0 -0
- package/{types → interfaces}/TrinketSituation.d.ts +1 -0
- package/{types → interfaces}/TrinketSituation.lua +0 -0
- package/{types → interfaces}/private/TSTLClassMetatable.d.ts +0 -0
- package/{types → interfaces}/private/TSTLClassMetatable.lua +0 -0
- package/maps/cardMap.lua +85 -85
- package/maps/characterMap.lua +58 -58
- package/maps/pillEffectMap.lua +39 -39
- package/maps/roomTypeMap.lua +12 -12
- package/objects/LRoomShapeToRectangles.d.ts +1 -1
- package/objects/callbackRegisterFunctions.d.ts +1 -1
- package/objects/colors.d.ts +8 -8
- package/objects/languageNames.d.ts +4 -0
- package/objects/languageNames.lua +13 -0
- package/objects/roomTypeNames.lua +1 -1
- package/package.json +3 -3
- package/types/PickingUpItem.d.ts +12 -2
- package/types/PickingUpItem.lua +3 -0
- package/upgradeMod.d.ts +2 -1
- package/types/SaveData.d.ts +0 -28
|
@@ -1,199 +1,199 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/**
|
|
3
|
-
* After using the "
|
|
3
|
+
* After using the "playerDisplay" console command, text will be drawn on each player for debugging
|
|
4
4
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
5
5
|
* should be drawn.
|
|
6
6
|
*/
|
|
7
7
|
export declare function setPlayerDisplay(textCallback: (player: EntityPlayer) => string): void;
|
|
8
8
|
/**
|
|
9
|
-
* After using the "
|
|
9
|
+
* After using the "tearDisplay" console command, text will be drawn on each tear for debugging
|
|
10
10
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
11
11
|
* should be drawn.
|
|
12
12
|
*/
|
|
13
13
|
export declare function setTearDisplay(textCallback: (tear: EntityTear) => string): void;
|
|
14
14
|
/**
|
|
15
|
-
* After using the "
|
|
15
|
+
* After using the "familiarDisplay" console command, text will be drawn on each familiar for
|
|
16
16
|
* debugging purposes. Use this function to specify a callback function that will returns the string
|
|
17
17
|
* that should be drawn.
|
|
18
18
|
*/
|
|
19
19
|
export declare function setFamiliarDisplay(textCallback: (familiar: EntityFamiliar) => string): void;
|
|
20
20
|
/**
|
|
21
|
-
* After using the "
|
|
21
|
+
* After using the "bombDisplay" console command, text will be drawn on each bomb for debugging
|
|
22
22
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
23
23
|
* should be drawn.
|
|
24
24
|
*/
|
|
25
25
|
export declare function setBombDisplay(textCallback: (bomb: EntityBomb) => string): void;
|
|
26
26
|
/**
|
|
27
|
-
* After using the "
|
|
27
|
+
* After using the "pickupDisplay" console command, text will be drawn on each pickup for debugging
|
|
28
28
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
29
29
|
* should be drawn.
|
|
30
30
|
*/
|
|
31
31
|
export declare function setPickupDisplay(textCallback: (pickup: EntityPickup) => string): void;
|
|
32
32
|
/**
|
|
33
|
-
* After using the "
|
|
33
|
+
* After using the "slotDisplay" console command, text will be drawn on each slot for debugging
|
|
34
34
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
35
35
|
* should be drawn.
|
|
36
36
|
*/
|
|
37
37
|
export declare function setSlotDisplay(textCallback: (slot: Entity) => string): void;
|
|
38
38
|
/**
|
|
39
|
-
* After using the "
|
|
39
|
+
* After using the "laserDisplay" console command, text will be drawn on each laser for debugging
|
|
40
40
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
41
41
|
* should be drawn.
|
|
42
42
|
*/
|
|
43
43
|
export declare function setLaserDisplay(textCallback: (laser: EntityLaser) => string): void;
|
|
44
44
|
/**
|
|
45
|
-
* After using the "
|
|
45
|
+
* After using the "knifeDisplay" console command, text will be drawn on each knife for debugging
|
|
46
46
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
47
47
|
* should be drawn.
|
|
48
48
|
*/
|
|
49
49
|
export declare function setKnifeDisplay(textCallback: (knife: EntityKnife) => string): void;
|
|
50
50
|
/**
|
|
51
|
-
* After using the "
|
|
51
|
+
* After using the "projectileDisplay" console command, text will be drawn on each projectile for
|
|
52
52
|
* debugging purposes. Use this function to specify a callback function that will returns the string
|
|
53
53
|
* that should be drawn.
|
|
54
54
|
*/
|
|
55
55
|
export declare function setProjectileDisplay(textCallback: (projectile: EntityProjectile) => string): void;
|
|
56
56
|
/**
|
|
57
|
-
* After using the "
|
|
57
|
+
* After using the "effectDisplay" console command, text will be drawn on each effect for debugging
|
|
58
58
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
59
59
|
* should be drawn.
|
|
60
60
|
*/
|
|
61
61
|
export declare function setEffectDisplay(textCallback: (effect: EntityEffect) => string): void;
|
|
62
62
|
/**
|
|
63
|
-
* After using the "
|
|
63
|
+
* After using the "npcDisplay" console command, text will be drawn on each NPC for debugging
|
|
64
64
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
65
65
|
* should be drawn.
|
|
66
66
|
*/
|
|
67
67
|
export declare function setNPCDisplay(textCallback: (npc: EntityNPC) => string): void;
|
|
68
68
|
/**
|
|
69
|
-
* After using the "
|
|
69
|
+
* After using the "rockDisplay" console command, text will be drawn on each rock for debugging
|
|
70
70
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
71
71
|
* should be drawn.
|
|
72
72
|
*/
|
|
73
73
|
export declare function setRockDisplay(textCallback: (rock: GridEntityRock) => string): void;
|
|
74
74
|
/**
|
|
75
|
-
* After using the "
|
|
75
|
+
* After using the "pitDisplay" console command, text will be drawn on each pit for debugging
|
|
76
76
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
77
77
|
* should be drawn.
|
|
78
78
|
*/
|
|
79
79
|
export declare function setPitDisplay(textCallback: (pit: GridEntityPit) => string): void;
|
|
80
80
|
/**
|
|
81
|
-
* After using the "
|
|
81
|
+
* After using the "spikesDisplay" console command, text will be drawn on each spikes for debugging
|
|
82
82
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
83
83
|
* should be drawn.
|
|
84
84
|
*/
|
|
85
85
|
export declare function setSpikesDisplay(textCallback: (spikes: GridEntitySpikes) => string): void;
|
|
86
86
|
/**
|
|
87
|
-
* After using the "
|
|
87
|
+
* After using the "tntDisplay" console command, text will be drawn on each TNT for debugging
|
|
88
88
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
89
89
|
* should be drawn.
|
|
90
90
|
*/
|
|
91
91
|
export declare function setTNTDisplay(textCallback: (tnt: GridEntityTNT) => string): void;
|
|
92
92
|
/**
|
|
93
|
-
* After using the "
|
|
93
|
+
* After using the "poopDisplay" console command, text will be drawn on each poop for debugging
|
|
94
94
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
95
95
|
* should be drawn.
|
|
96
96
|
*/
|
|
97
97
|
export declare function setPoopDisplay(textCallback: (poop: GridEntityPoop) => string): void;
|
|
98
98
|
/**
|
|
99
|
-
* After using the "
|
|
99
|
+
* After using the "poopDisplay" console command, text will be drawn on each poop for debugging
|
|
100
100
|
* purposes. Use this function to specify a callback function that will returns the string that
|
|
101
101
|
* should be drawn.
|
|
102
102
|
*/
|
|
103
103
|
export declare function setDoorDisplay(textCallback: (door: GridEntityDoor) => string): void;
|
|
104
104
|
/**
|
|
105
|
-
* After using the "
|
|
105
|
+
* After using the "pressurePlateDisplay" console command, text will be drawn on each pressure plate
|
|
106
106
|
* for debugging purposes. Use this function to specify a callback function that will returns the
|
|
107
107
|
* string that should be drawn.
|
|
108
108
|
*/
|
|
109
109
|
export declare function setPressurePlateDisplay(textCallback: (pressurePlate: GridEntityPressurePlate) => string): void;
|
|
110
110
|
/**
|
|
111
111
|
* Toggles the debug display for players. This is the function that runs when you use the
|
|
112
|
-
* "
|
|
112
|
+
* "playerDisplay" custom console command.
|
|
113
113
|
*/
|
|
114
114
|
export declare function togglePlayerDisplay(): void;
|
|
115
115
|
/**
|
|
116
116
|
* Toggles the debug display for tears. This is the function that runs when you use the
|
|
117
|
-
* "
|
|
117
|
+
* "tearDisplay" custom console command.
|
|
118
118
|
*/
|
|
119
119
|
export declare function toggleTearDisplay(): void;
|
|
120
120
|
/**
|
|
121
121
|
* Toggles the debug display for familiars. This is the function that runs when you use the
|
|
122
|
-
* "
|
|
122
|
+
* "familiarDisplay" custom console command.
|
|
123
123
|
*/
|
|
124
124
|
export declare function toggleFamiliarDisplay(): void;
|
|
125
125
|
/**
|
|
126
126
|
* Toggles the debug display for bombs. This is the function that runs when you use the
|
|
127
|
-
* "
|
|
127
|
+
* "bombDisplay" custom console command.
|
|
128
128
|
*/
|
|
129
129
|
export declare function toggleBombDisplay(): void;
|
|
130
130
|
/**
|
|
131
131
|
* Toggles the debug display for pickups. This is the function that runs when you use the
|
|
132
|
-
* "
|
|
132
|
+
* "pickupDisplay" custom console command.
|
|
133
133
|
*/
|
|
134
134
|
export declare function togglePickupDisplay(): void;
|
|
135
135
|
/**
|
|
136
136
|
* Toggles the debug display for slots. This is the function that runs when you use the
|
|
137
|
-
* "
|
|
137
|
+
* "slotDisplay" custom console command.
|
|
138
138
|
*/
|
|
139
139
|
export declare function toggleSlotDisplay(): void;
|
|
140
140
|
/**
|
|
141
141
|
* Toggles the debug display for lasers. This is the function that runs when you use the
|
|
142
|
-
* "
|
|
142
|
+
* "laserDisplay" custom console command.
|
|
143
143
|
*/
|
|
144
144
|
export declare function toggleLaserDisplay(): void;
|
|
145
145
|
/**
|
|
146
146
|
* Toggles the debug display for knives. This is the function that runs when you use the
|
|
147
|
-
* "
|
|
147
|
+
* "knifeDisplay" custom console command.
|
|
148
148
|
*/
|
|
149
149
|
export declare function toggleKnifeDisplay(): void;
|
|
150
150
|
/**
|
|
151
151
|
* Toggles the debug display for projectiles. This is the function that runs when you use the
|
|
152
|
-
* "
|
|
152
|
+
* "projectileDisplay" custom console command.
|
|
153
153
|
*/
|
|
154
154
|
export declare function toggleProjectileDisplay(): void;
|
|
155
155
|
/**
|
|
156
156
|
* Toggles the debug display for effects. This is the function that runs when you use the
|
|
157
|
-
* "
|
|
157
|
+
* "effectDisplay" custom console command.
|
|
158
158
|
*/
|
|
159
159
|
export declare function toggleEffectDisplay(): void;
|
|
160
160
|
/**
|
|
161
|
-
* Toggles the debug display for NPCs. This is the function that runs when you use the "
|
|
161
|
+
* Toggles the debug display for NPCs. This is the function that runs when you use the "npcDisplay"
|
|
162
162
|
* custom console command.
|
|
163
163
|
*/
|
|
164
164
|
export declare function toggleNPCDisplay(): void;
|
|
165
165
|
/**
|
|
166
166
|
* Toggles the debug display for rocks. This is the function that runs when you use the
|
|
167
|
-
* "
|
|
167
|
+
* "rockDisplay" custom console command.
|
|
168
168
|
*/
|
|
169
169
|
export declare function toggleRockDisplay(): void;
|
|
170
170
|
/**
|
|
171
|
-
* Toggles the debug display for pits. This is the function that runs when you use the "
|
|
171
|
+
* Toggles the debug display for pits. This is the function that runs when you use the "pitDisplay"
|
|
172
172
|
* custom console command.
|
|
173
173
|
*/
|
|
174
174
|
export declare function togglePitDisplay(): void;
|
|
175
175
|
/**
|
|
176
176
|
* Toggles the debug display for spikes. This is the function that runs when you use the
|
|
177
|
-
* "
|
|
177
|
+
* "spikesDisplay" custom console command.
|
|
178
178
|
*/
|
|
179
179
|
export declare function toggleSpikesDisplay(): void;
|
|
180
180
|
/**
|
|
181
|
-
* Toggles the debug display for TNT. This is the function that runs when you use the "
|
|
181
|
+
* Toggles the debug display for TNT. This is the function that runs when you use the "tntDisplay"
|
|
182
182
|
* custom console command.
|
|
183
183
|
*/
|
|
184
184
|
export declare function toggleTNTDisplay(): void;
|
|
185
185
|
/**
|
|
186
|
-
* Toggles the debug display for poop. This is the function that runs when you use the "
|
|
186
|
+
* Toggles the debug display for poop. This is the function that runs when you use the "poopDisplay"
|
|
187
187
|
* custom console command.
|
|
188
188
|
*/
|
|
189
189
|
export declare function togglePoopDisplay(): void;
|
|
190
190
|
/**
|
|
191
191
|
* Toggles the debug display for doors. This is the function that runs when you use the
|
|
192
|
-
* "
|
|
192
|
+
* "doorDisplay" custom console command.
|
|
193
193
|
*/
|
|
194
194
|
export declare function toggleDoorDisplay(): void;
|
|
195
195
|
/**
|
|
196
196
|
* Toggles the debug display for pressure plates. This is the function that runs when you use the
|
|
197
|
-
* "
|
|
197
|
+
* "pressurePlateDisplay" custom console command.
|
|
198
198
|
*/
|
|
199
199
|
export declare function togglePressurePlateDisplay(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { JSONRoom } from "../
|
|
2
|
+
import { JSONRoom } from "../interfaces/JSONRoom";
|
|
3
3
|
/**
|
|
4
4
|
* Helper function to deconstruct a vanilla room and set up a custom room in its place.
|
|
5
5
|
* Specifically, this will clear the current room of all entities and grid entities, and then spawn
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* the text that you want to appear.
|
|
6
6
|
*/
|
|
7
7
|
export declare function bombDisplay(): void;
|
|
8
|
-
/** Alias for the "
|
|
8
|
+
/** Alias for the "bombDisplay" command. */
|
|
9
9
|
export declare function bombsDisplay(): void;
|
|
10
10
|
/**
|
|
11
11
|
* Toggles custom text to appear next to every door. Useful for debugging.
|
|
@@ -14,7 +14,7 @@ export declare function bombsDisplay(): void;
|
|
|
14
14
|
* assign the text that you want to appear.
|
|
15
15
|
*/
|
|
16
16
|
export declare function doorDisplay(): void;
|
|
17
|
-
/** Alias for the "
|
|
17
|
+
/** Alias for the "doorDisplay" command. */
|
|
18
18
|
export declare function doorsDisplay(): void;
|
|
19
19
|
/**
|
|
20
20
|
* Toggles custom text to appear next to every effect. Useful for debugging.
|
|
@@ -23,7 +23,7 @@ export declare function doorsDisplay(): void;
|
|
|
23
23
|
* the text that you want to appear.
|
|
24
24
|
*/
|
|
25
25
|
export declare function effectDisplay(): void;
|
|
26
|
-
/** Alias for the "
|
|
26
|
+
/** Alias for the "effectDisplay" command. */
|
|
27
27
|
export declare function effectsDisplay(): void;
|
|
28
28
|
/**
|
|
29
29
|
* Toggles custom text to appear next to every familiar. Useful for debugging.
|
|
@@ -32,7 +32,7 @@ export declare function effectsDisplay(): void;
|
|
|
32
32
|
* assign the text that you want to appear.
|
|
33
33
|
*/
|
|
34
34
|
export declare function familiarDisplay(): void;
|
|
35
|
-
/** Alias for the "
|
|
35
|
+
/** Alias for the "familiarDisplay" command. */
|
|
36
36
|
export declare function familiarsDisplay(): void;
|
|
37
37
|
/**
|
|
38
38
|
* Toggles custom text to appear next to every knife. Useful for debugging.
|
|
@@ -41,7 +41,7 @@ export declare function familiarsDisplay(): void;
|
|
|
41
41
|
* the text that you want to appear.
|
|
42
42
|
*/
|
|
43
43
|
export declare function knifeDisplay(): void;
|
|
44
|
-
/** Alias for the "
|
|
44
|
+
/** Alias for the "knifeDisplay" command. */
|
|
45
45
|
export declare function knivesDisplay(): void;
|
|
46
46
|
/**
|
|
47
47
|
* Toggles custom text to appear next to every laser. Useful for debugging.
|
|
@@ -50,7 +50,7 @@ export declare function knivesDisplay(): void;
|
|
|
50
50
|
* the text that you want to appear.
|
|
51
51
|
*/
|
|
52
52
|
export declare function laserDisplay(): void;
|
|
53
|
-
/** Alias for the "
|
|
53
|
+
/** Alias for the "laserDisplay" command. */
|
|
54
54
|
export declare function lasersDisplay(): void;
|
|
55
55
|
/**
|
|
56
56
|
* Toggles custom text to appear next to every NPC. Useful for debugging.
|
|
@@ -59,7 +59,7 @@ export declare function lasersDisplay(): void;
|
|
|
59
59
|
* the text that you want to appear.
|
|
60
60
|
*/
|
|
61
61
|
export declare function npcDisplay(): void;
|
|
62
|
-
/** Alias for the "
|
|
62
|
+
/** Alias for the "npcDisplay" command. */
|
|
63
63
|
export declare function npcsDisplay(): void;
|
|
64
64
|
/**
|
|
65
65
|
* Toggles custom text to appear next to every pickup. Useful for debugging.
|
|
@@ -68,7 +68,7 @@ export declare function npcsDisplay(): void;
|
|
|
68
68
|
* the text that you want to appear.
|
|
69
69
|
*/
|
|
70
70
|
export declare function pickupDisplay(): void;
|
|
71
|
-
/** Alias for the "
|
|
71
|
+
/** Alias for the "pickupDisplay" command. */
|
|
72
72
|
export declare function pickupsDisplay(): void;
|
|
73
73
|
/**
|
|
74
74
|
* Toggles custom text to appear next to every pit. Useful for debugging.
|
|
@@ -77,7 +77,7 @@ export declare function pickupsDisplay(): void;
|
|
|
77
77
|
* assign the text that you want to appear.
|
|
78
78
|
*/
|
|
79
79
|
export declare function pitDisplay(): void;
|
|
80
|
-
/** Alias for the "
|
|
80
|
+
/** Alias for the "pitDisplay" command. */
|
|
81
81
|
export declare function pitsDisplay(): void;
|
|
82
82
|
/**
|
|
83
83
|
* Toggles custom text to appear next to every player. Useful for debugging.
|
|
@@ -86,7 +86,7 @@ export declare function pitsDisplay(): void;
|
|
|
86
86
|
* the text that you want to appear.
|
|
87
87
|
*/
|
|
88
88
|
export declare function playerDisplay(): void;
|
|
89
|
-
/** Alias for the "
|
|
89
|
+
/** Alias for the "playerDisplay" command. */
|
|
90
90
|
export declare function playersDisplay(): void;
|
|
91
91
|
/**
|
|
92
92
|
* Toggles custom text to appear next to every poop. Useful for debugging.
|
|
@@ -95,7 +95,7 @@ export declare function playersDisplay(): void;
|
|
|
95
95
|
* assign the text that you want to appear.
|
|
96
96
|
*/
|
|
97
97
|
export declare function poopDisplay(): void;
|
|
98
|
-
/** Alias for the "
|
|
98
|
+
/** Alias for the "poopDisplay" command. */
|
|
99
99
|
export declare function poopsDisplay(): void;
|
|
100
100
|
/**
|
|
101
101
|
* Toggles custom text to appear next to every pressure plate. Useful for debugging.
|
|
@@ -104,7 +104,7 @@ export declare function poopsDisplay(): void;
|
|
|
104
104
|
* function to assign the text that you want to appear.
|
|
105
105
|
*/
|
|
106
106
|
export declare function pressurePlateDisplay(): void;
|
|
107
|
-
/** Alias for the "
|
|
107
|
+
/** Alias for the "pressurePlateDisplay" command. */
|
|
108
108
|
export declare function pressurePlatesDisplay(): void;
|
|
109
109
|
/**
|
|
110
110
|
* Toggles custom text to appear next to every projectile. Useful for debugging.
|
|
@@ -113,7 +113,7 @@ export declare function pressurePlatesDisplay(): void;
|
|
|
113
113
|
* assign the text that you want to appear.
|
|
114
114
|
*/
|
|
115
115
|
export declare function projectileDisplay(): void;
|
|
116
|
-
/** Alias for the "
|
|
116
|
+
/** Alias for the "projectileDisplay" command. */
|
|
117
117
|
export declare function projectilesDisplay(): void;
|
|
118
118
|
/**
|
|
119
119
|
* Toggles custom text to appear next to every rock. Useful for debugging.
|
|
@@ -122,7 +122,7 @@ export declare function projectilesDisplay(): void;
|
|
|
122
122
|
* assign the text that you want to appear.
|
|
123
123
|
*/
|
|
124
124
|
export declare function rockDisplay(): void;
|
|
125
|
-
/** Alias for the "
|
|
125
|
+
/** Alias for the "rockDisplay" command. */
|
|
126
126
|
export declare function rocksDisplay(): void;
|
|
127
127
|
/**
|
|
128
128
|
* Toggles custom text to appear next to every slot. Useful for debugging.
|
|
@@ -131,9 +131,9 @@ export declare function rocksDisplay(): void;
|
|
|
131
131
|
* the text that you want to appear.
|
|
132
132
|
*/
|
|
133
133
|
export declare function slotDisplay(): void;
|
|
134
|
-
/** Alias for the "
|
|
134
|
+
/** Alias for the "slotDisplay" command. */
|
|
135
135
|
export declare function slotsDisplay(): void;
|
|
136
|
-
/** Alias for the "
|
|
136
|
+
/** Alias for the "spikesDisplay" command. */
|
|
137
137
|
export declare function spikeDisplay(): void;
|
|
138
138
|
/**
|
|
139
139
|
* Toggles custom text to appear next to every spikes. Useful for debugging.
|
|
@@ -149,7 +149,7 @@ export declare function spikesDisplay(): void;
|
|
|
149
149
|
* the text that you want to appear.
|
|
150
150
|
*/
|
|
151
151
|
export declare function tearDisplay(): void;
|
|
152
|
-
/** Alias for the "
|
|
152
|
+
/** Alias for the "tearDisplay" command. */
|
|
153
153
|
export declare function tearsDisplay(): void;
|
|
154
154
|
/**
|
|
155
155
|
* Toggles custom text to appear next to every TNT. Useful for debugging.
|
|
@@ -158,5 +158,5 @@ export declare function tearsDisplay(): void;
|
|
|
158
158
|
* assign the text that you want to appear.
|
|
159
159
|
*/
|
|
160
160
|
export declare function tntDisplay(): void;
|
|
161
|
-
/** Alias for the "
|
|
161
|
+
/** Alias for the "tntDisplay" command. */
|
|
162
162
|
export declare function tntsDisplay(): void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ModUpgraded } from "../../classes/ModUpgraded";
|
|
2
2
|
/**
|
|
3
|
-
* Enables extra console commands which are useful for debugging. See the
|
|
4
|
-
*
|
|
3
|
+
* Enables extra console commands which are useful for debugging. See [the
|
|
4
|
+
* docs](https://isaacscript.github.io/isaacscript-common/features/extraConsoleCommands_listCommands)
|
|
5
|
+
* for the specific commands that are added.
|
|
5
6
|
*/
|
|
6
7
|
export declare function enableExtraConsoleCommands(mod: ModUpgraded): void;
|
|
7
8
|
/**
|
|
@@ -20,8 +20,8 @@ local ____debugDisplay = require("features.debugDisplay.debugDisplay")
|
|
|
20
20
|
local debugDisplayInit = ____debugDisplay.debugDisplayInit
|
|
21
21
|
local ____exports = require("features.saveDataManager.exports")
|
|
22
22
|
local saveDataManager = ____exports.saveDataManager
|
|
23
|
-
local commands = require("features.extraConsoleCommands.commands")
|
|
24
23
|
local commandsDisplay = require("features.extraConsoleCommands.commandsDisplay")
|
|
24
|
+
local commands = require("features.extraConsoleCommands.listCommands")
|
|
25
25
|
local ____v = require("features.extraConsoleCommands.v")
|
|
26
26
|
local v = ____v.default
|
|
27
27
|
function featureEnabled(self)
|
|
@@ -104,30 +104,30 @@ function ____exports.removeConsoleCommand(self, commandName)
|
|
|
104
104
|
commandFunctionsMap:delete(commandName)
|
|
105
105
|
end
|
|
106
106
|
commandFunctionsMap:set("1hp", commands.oneHP)
|
|
107
|
-
commandFunctionsMap:set("
|
|
107
|
+
commandFunctionsMap:set("addCharges", commands.addCharges)
|
|
108
108
|
commandFunctionsMap:set("angel", commands.angel)
|
|
109
109
|
commandFunctionsMap:set("ascent", commands.ascent)
|
|
110
110
|
commandFunctionsMap:set("bedroom", commands.bedroom)
|
|
111
111
|
commandFunctionsMap:set("bh", commands.bh)
|
|
112
112
|
commandFunctionsMap:set("blackhearts", commands.blackHearts)
|
|
113
|
-
commandFunctionsMap:set("
|
|
114
|
-
commandFunctionsMap:set("
|
|
113
|
+
commandFunctionsMap:set("blackMarket", commands.blackMarket)
|
|
114
|
+
commandFunctionsMap:set("bloodCharges", commands.bloodCharges)
|
|
115
115
|
commandFunctionsMap:set("bm", commands.bm)
|
|
116
116
|
commandFunctionsMap:set("bomb", commands.bomb)
|
|
117
|
-
commandFunctionsMap:set("
|
|
118
|
-
commandFunctionsMap:set("
|
|
117
|
+
commandFunctionsMap:set("bombDisplay", commandsDisplay.bombDisplay)
|
|
118
|
+
commandFunctionsMap:set("bombsDisplay", commandsDisplay.bombsDisplay)
|
|
119
119
|
commandFunctionsMap:set("bombs", commands.bombs)
|
|
120
|
-
commandFunctionsMap:set("
|
|
120
|
+
commandFunctionsMap:set("boneHearts", commands.boneHearts)
|
|
121
121
|
commandFunctionsMap:set("boss", commands.boss)
|
|
122
|
-
commandFunctionsMap:set("
|
|
123
|
-
commandFunctionsMap:set("
|
|
122
|
+
commandFunctionsMap:set("bossRush", commands.bossRush)
|
|
123
|
+
commandFunctionsMap:set("brokenHearts", commands.brokenHearts)
|
|
124
124
|
commandFunctionsMap:set("card", commands.card)
|
|
125
125
|
commandFunctionsMap:set("cards", commands.cards)
|
|
126
126
|
commandFunctionsMap:set("cc", commands.cc)
|
|
127
|
-
commandFunctionsMap:set("
|
|
127
|
+
commandFunctionsMap:set("chaosCardTears", commands.chaosCardTears)
|
|
128
128
|
commandFunctionsMap:set("character", commands.characterCommand)
|
|
129
129
|
commandFunctionsMap:set("charge", commands.charge)
|
|
130
|
-
commandFunctionsMap:set("
|
|
130
|
+
commandFunctionsMap:set("cleanBedroom", commands.cleanBedroom)
|
|
131
131
|
commandFunctionsMap:set("coin", commands.coin)
|
|
132
132
|
commandFunctionsMap:set("coins", commands.coins)
|
|
133
133
|
commandFunctionsMap:set("crawlspace", commands.crawlspace)
|
|
@@ -136,114 +136,114 @@ commandFunctionsMap:set("d6", commands.d6)
|
|
|
136
136
|
commandFunctionsMap:set("damage", commands.damage)
|
|
137
137
|
commandFunctionsMap:set("dd", commands.dd)
|
|
138
138
|
commandFunctionsMap:set("devil", commands.devil)
|
|
139
|
-
commandFunctionsMap:set("
|
|
140
|
-
commandFunctionsMap:set("
|
|
141
|
-
commandFunctionsMap:set("
|
|
142
|
-
commandFunctionsMap:set("
|
|
139
|
+
commandFunctionsMap:set("dirtyBedroom", commands.dirtyBedroom)
|
|
140
|
+
commandFunctionsMap:set("disableCurses", commands.disableCurses)
|
|
141
|
+
commandFunctionsMap:set("doorDisplay", commandsDisplay.doorDisplay)
|
|
142
|
+
commandFunctionsMap:set("doorsDisplay", commandsDisplay.doorsDisplay)
|
|
143
143
|
commandFunctionsMap:set("down", commands.down)
|
|
144
144
|
commandFunctionsMap:set("dungeon", commands.dungeon)
|
|
145
|
-
commandFunctionsMap:set("
|
|
145
|
+
commandFunctionsMap:set("effectDisplay", commandsDisplay.effectDisplay)
|
|
146
146
|
commandFunctionsMap:set("effects", commands.effects)
|
|
147
|
-
commandFunctionsMap:set("
|
|
147
|
+
commandFunctionsMap:set("effectsDisplay", commandsDisplay.effectsDisplay)
|
|
148
148
|
commandFunctionsMap:set("eh", commands.eh)
|
|
149
149
|
commandFunctionsMap:set("error", commands.error)
|
|
150
|
-
commandFunctionsMap:set("
|
|
151
|
-
commandFunctionsMap:set("
|
|
152
|
-
commandFunctionsMap:set("
|
|
150
|
+
commandFunctionsMap:set("eternalHearts", commands.eternalHearts)
|
|
151
|
+
commandFunctionsMap:set("familiarDisplay", commandsDisplay.familiarDisplay)
|
|
152
|
+
commandFunctionsMap:set("familiarsDisplay", commandsDisplay.familiarsDisplay)
|
|
153
153
|
commandFunctionsMap:set("fool", commands.fool)
|
|
154
|
-
commandFunctionsMap:set("
|
|
155
|
-
commandFunctionsMap:set("
|
|
156
|
-
commandFunctionsMap:set("
|
|
157
|
-
commandFunctionsMap:set("
|
|
158
|
-
commandFunctionsMap:set("
|
|
159
|
-
commandFunctionsMap:set("
|
|
160
|
-
commandFunctionsMap:set("
|
|
161
|
-
commandFunctionsMap:set("
|
|
154
|
+
commandFunctionsMap:set("getPosition", commands.getPosition)
|
|
155
|
+
commandFunctionsMap:set("gigaBomb", commands.gigaBomb)
|
|
156
|
+
commandFunctionsMap:set("goldBomb", commands.goldBomb)
|
|
157
|
+
commandFunctionsMap:set("goldHearts", commands.goldHearts)
|
|
158
|
+
commandFunctionsMap:set("goldKey", commands.goldKey)
|
|
159
|
+
commandFunctionsMap:set("goldenBomb", commands.goldenBomb)
|
|
160
|
+
commandFunctionsMap:set("goldenHearts", commands.goldenHearts)
|
|
161
|
+
commandFunctionsMap:set("goldenKey", commands.goldenKey)
|
|
162
162
|
commandFunctionsMap:set("grid", commands.grid)
|
|
163
163
|
commandFunctionsMap:set("grid2", commands.grid2)
|
|
164
|
-
commandFunctionsMap:set("
|
|
164
|
+
commandFunctionsMap:set("gridEntities", commands.gridEntities)
|
|
165
165
|
commandFunctionsMap:set("h", commands.h)
|
|
166
166
|
commandFunctionsMap:set("hearts", commands.hearts)
|
|
167
167
|
commandFunctionsMap:set("hitboxes", commands.hitboxes)
|
|
168
|
-
commandFunctionsMap:set("
|
|
168
|
+
commandFunctionsMap:set("iAmError", commands.iAmError)
|
|
169
169
|
commandFunctionsMap:set("key", commands.key)
|
|
170
170
|
commandFunctionsMap:set("keys", commands.keys)
|
|
171
|
-
commandFunctionsMap:set("
|
|
172
|
-
commandFunctionsMap:set("
|
|
173
|
-
commandFunctionsMap:set("
|
|
174
|
-
commandFunctionsMap:set("
|
|
171
|
+
commandFunctionsMap:set("knifeDisplay", commandsDisplay.knifeDisplay)
|
|
172
|
+
commandFunctionsMap:set("knivesDisplay", commandsDisplay.knivesDisplay)
|
|
173
|
+
commandFunctionsMap:set("laserDisplay", commandsDisplay.laserDisplay)
|
|
174
|
+
commandFunctionsMap:set("lasersDisplay", commandsDisplay.lasersDisplay)
|
|
175
175
|
commandFunctionsMap:set("left", commands.left)
|
|
176
176
|
commandFunctionsMap:set("library", commands.library)
|
|
177
177
|
commandFunctionsMap:set("list", commands.list)
|
|
178
|
-
commandFunctionsMap:set("
|
|
179
|
-
commandFunctionsMap:set("
|
|
180
|
-
commandFunctionsMap:set("
|
|
181
|
-
commandFunctionsMap:set("
|
|
178
|
+
commandFunctionsMap:set("listAll", commands.listAll)
|
|
179
|
+
commandFunctionsMap:set("listGrid", commands.listGrid)
|
|
180
|
+
commandFunctionsMap:set("listGridAll", commands.listGridAll)
|
|
181
|
+
commandFunctionsMap:set("lowHP", commands.lowHP)
|
|
182
182
|
commandFunctionsMap:set("luck", commands.luck)
|
|
183
183
|
commandFunctionsMap:set("map", commands.map)
|
|
184
|
-
commandFunctionsMap:set("
|
|
184
|
+
commandFunctionsMap:set("maxHearts", commands.maxHearts)
|
|
185
185
|
commandFunctionsMap:set("mh", commands.mh)
|
|
186
186
|
commandFunctionsMap:set("miniboss", commands.miniboss)
|
|
187
|
-
commandFunctionsMap:set("
|
|
188
|
-
commandFunctionsMap:set("
|
|
189
|
-
commandFunctionsMap:set("
|
|
190
|
-
commandFunctionsMap:set("
|
|
191
|
-
commandFunctionsMap:set("
|
|
187
|
+
commandFunctionsMap:set("noCurses", commands.noCurses)
|
|
188
|
+
commandFunctionsMap:set("npcDisplay", commandsDisplay.npcDisplay)
|
|
189
|
+
commandFunctionsMap:set("npcsDisplay", commandsDisplay.npcsDisplay)
|
|
190
|
+
commandFunctionsMap:set("pickupDisplay", commandsDisplay.pickupDisplay)
|
|
191
|
+
commandFunctionsMap:set("pickupsDisplay", commandsDisplay.pickupsDisplay)
|
|
192
192
|
commandFunctionsMap:set("pill", commands.pill)
|
|
193
193
|
commandFunctionsMap:set("pills", commands.pills)
|
|
194
|
-
commandFunctionsMap:set("
|
|
195
|
-
commandFunctionsMap:set("
|
|
194
|
+
commandFunctionsMap:set("pitDisplay", commandsDisplay.pitDisplay)
|
|
195
|
+
commandFunctionsMap:set("pitsDisplay", commandsDisplay.pitsDisplay)
|
|
196
196
|
commandFunctionsMap:set("planetarium", commands.planetarium)
|
|
197
|
-
commandFunctionsMap:set("
|
|
198
|
-
commandFunctionsMap:set("
|
|
199
|
-
commandFunctionsMap:set("
|
|
197
|
+
commandFunctionsMap:set("playerDisplay", commandsDisplay.playerDisplay)
|
|
198
|
+
commandFunctionsMap:set("playersDisplay", commandsDisplay.playersDisplay)
|
|
199
|
+
commandFunctionsMap:set("playSound", commands.playSound)
|
|
200
200
|
commandFunctionsMap:set("pocket", commands.pocket)
|
|
201
|
-
commandFunctionsMap:set("
|
|
202
|
-
commandFunctionsMap:set("
|
|
203
|
-
commandFunctionsMap:set("
|
|
201
|
+
commandFunctionsMap:set("poopDisplay", commandsDisplay.poopDisplay)
|
|
202
|
+
commandFunctionsMap:set("poopMana", commands.poopMana)
|
|
203
|
+
commandFunctionsMap:set("poopsDisplay", commandsDisplay.poopsDisplay)
|
|
204
204
|
commandFunctionsMap:set("position", commands.positionCommand)
|
|
205
|
-
commandFunctionsMap:set("
|
|
206
|
-
commandFunctionsMap:set("
|
|
207
|
-
commandFunctionsMap:set("
|
|
208
|
-
commandFunctionsMap:set("
|
|
209
|
-
commandFunctionsMap:set("
|
|
205
|
+
commandFunctionsMap:set("pressurePlateDisplay", commandsDisplay.pressurePlateDisplay)
|
|
206
|
+
commandFunctionsMap:set("pressurePlatesDisplay", commandsDisplay.pressurePlatesDisplay)
|
|
207
|
+
commandFunctionsMap:set("projectileDisplay", commandsDisplay.projectileDisplay)
|
|
208
|
+
commandFunctionsMap:set("projectilesDisplay", commandsDisplay.projectilesDisplay)
|
|
209
|
+
commandFunctionsMap:set("redHearts", commands.redHearts)
|
|
210
210
|
commandFunctionsMap:set("rh", commands.rh)
|
|
211
211
|
commandFunctionsMap:set("right", commands.right)
|
|
212
|
-
commandFunctionsMap:set("
|
|
213
|
-
commandFunctionsMap:set("
|
|
212
|
+
commandFunctionsMap:set("rockDisplay", commandsDisplay.rockDisplay)
|
|
213
|
+
commandFunctionsMap:set("rocksDisplay", commandsDisplay.rocksDisplay)
|
|
214
214
|
commandFunctionsMap:set("room", commands.roomCommand)
|
|
215
|
-
commandFunctionsMap:set("
|
|
215
|
+
commandFunctionsMap:set("rottenHearts", commands.rottenHearts)
|
|
216
216
|
commandFunctionsMap:set("s", commands.s)
|
|
217
217
|
commandFunctionsMap:set("sacrifice", commands.sacrifice)
|
|
218
218
|
commandFunctionsMap:set("secret", commands.secret)
|
|
219
|
-
commandFunctionsMap:set("
|
|
219
|
+
commandFunctionsMap:set("seedStick", commands.seedStick)
|
|
220
220
|
commandFunctionsMap:set("seeds", commands.seedsCommand)
|
|
221
|
-
commandFunctionsMap:set("
|
|
222
|
-
commandFunctionsMap:set("
|
|
221
|
+
commandFunctionsMap:set("setCharges", commands.setCharges)
|
|
222
|
+
commandFunctionsMap:set("setPosition", commands.setPosition)
|
|
223
223
|
commandFunctionsMap:set("sh", commands.sh)
|
|
224
224
|
commandFunctionsMap:set("shop", commands.shop)
|
|
225
|
-
commandFunctionsMap:set("
|
|
226
|
-
commandFunctionsMap:set("
|
|
225
|
+
commandFunctionsMap:set("slotDisplay", commandsDisplay.slotDisplay)
|
|
226
|
+
commandFunctionsMap:set("slotsDisplay", commandsDisplay.slotsDisplay)
|
|
227
227
|
commandFunctionsMap:set("smelt", commands.smelt)
|
|
228
|
-
commandFunctionsMap:set("
|
|
229
|
-
commandFunctionsMap:set("
|
|
228
|
+
commandFunctionsMap:set("soulCharges", commands.soulCharges)
|
|
229
|
+
commandFunctionsMap:set("soulHearts", commands.soulHearts)
|
|
230
230
|
commandFunctionsMap:set("sound", commands.sound)
|
|
231
231
|
commandFunctionsMap:set("sounds", commands.sounds)
|
|
232
232
|
commandFunctionsMap:set("spam", commands.spam)
|
|
233
|
-
commandFunctionsMap:set("
|
|
233
|
+
commandFunctionsMap:set("spawnGoldenTrinket", commands.spawnGoldenTrinket)
|
|
234
234
|
commandFunctionsMap:set("speed", commands.speed)
|
|
235
|
-
commandFunctionsMap:set("
|
|
236
|
-
commandFunctionsMap:set("
|
|
235
|
+
commandFunctionsMap:set("spikeDisplay", commandsDisplay.spikeDisplay)
|
|
236
|
+
commandFunctionsMap:set("spikesDisplay", commandsDisplay.spikesDisplay)
|
|
237
237
|
commandFunctionsMap:set("supersecret", commands.superSecret)
|
|
238
|
-
commandFunctionsMap:set("
|
|
239
|
-
commandFunctionsMap:set("
|
|
238
|
+
commandFunctionsMap:set("startingRoom", commands.startingRoom)
|
|
239
|
+
commandFunctionsMap:set("tearDisplay", commandsDisplay.tearDisplay)
|
|
240
240
|
commandFunctionsMap:set("tears", commands.tears)
|
|
241
|
-
commandFunctionsMap:set("
|
|
242
|
-
commandFunctionsMap:set("
|
|
243
|
-
commandFunctionsMap:set("
|
|
241
|
+
commandFunctionsMap:set("tearsDisplay", commandsDisplay.tearsDisplay)
|
|
242
|
+
commandFunctionsMap:set("tntDisplay", commandsDisplay.tntDisplay)
|
|
243
|
+
commandFunctionsMap:set("tntsDisplay", commandsDisplay.tntsDisplay)
|
|
244
244
|
commandFunctionsMap:set("trapdoor", commands.trapdoorCommand)
|
|
245
245
|
commandFunctionsMap:set("treasure", commands.treasure)
|
|
246
|
-
commandFunctionsMap:set("
|
|
246
|
+
commandFunctionsMap:set("ultraSecret", commands.ultraSecret)
|
|
247
247
|
commandFunctionsMap:set("up", commands.up)
|
|
248
248
|
commandFunctionsMap:set("warp", commands.warp)
|
|
249
249
|
return ____exports
|