isaacscript-common 2.1.0 → 2.2.0

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.
Files changed (81) hide show
  1. package/README.md +1 -1
  2. package/classes/DefaultMap.d.ts +1 -1
  3. package/classes/ModUpgraded.d.ts +8 -2
  4. package/constants.d.ts +5 -5
  5. package/constants.lua +1 -1
  6. package/{constantsMax.d.ts → constantsFirstLast.d.ts} +0 -0
  7. package/{constantsMax.lua → constantsFirstLast.lua} +0 -0
  8. package/enums/HealthType.d.ts +2 -2
  9. package/enums/ModCallbackCustom.d.ts +753 -2
  10. package/features/debugDisplay/exports.d.ts +36 -36
  11. package/features/deployJSONRoom.d.ts +1 -1
  12. package/features/extraConsoleCommands/commandsDisplay.d.ts +18 -18
  13. package/features/extraConsoleCommands/init.d.ts +3 -2
  14. package/features/extraConsoleCommands/init.lua +76 -76
  15. package/features/extraConsoleCommands/{commands.d.ts → listCommands.d.ts} +17 -17
  16. package/features/extraConsoleCommands/{commands.lua → listCommands.lua} +9 -9
  17. package/features/{isPonyActive.d.ts → ponyDetection.d.ts} +0 -0
  18. package/features/{isPonyActive.lua → ponyDetection.lua} +2 -2
  19. package/features/{preventCollectibleRotate.d.ts → preventCollectibleRotation.d.ts} +1 -1
  20. package/features/{preventCollectibleRotate.lua → preventCollectibleRotation.lua} +3 -3
  21. package/features/saveDataManager/exports.d.ts +13 -10
  22. package/features/saveDataManager/load.d.ts +1 -1
  23. package/features/saveDataManager/main.d.ts +1 -1
  24. package/features/saveDataManager/maps.d.ts +1 -1
  25. package/features/saveDataManager/save.d.ts +1 -1
  26. package/functions/cards.lua +5 -5
  27. package/functions/character.lua +2 -2
  28. package/functions/chargeBar.d.ts +1 -1
  29. package/functions/collectibleCacheFlag.d.ts +4 -4
  30. package/functions/collectibleSet.lua +2 -2
  31. package/functions/collectibles.lua +5 -5
  32. package/functions/enums.d.ts +3 -3
  33. package/functions/jsonRoom.d.ts +1 -1
  34. package/functions/pills.lua +9 -9
  35. package/functions/playerDataStructures.d.ts +51 -0
  36. package/functions/playerDataStructures.lua +4 -0
  37. package/functions/playerHealth.d.ts +1 -1
  38. package/functions/pocketItems.d.ts +1 -1
  39. package/functions/run.lua +2 -2
  40. package/functions/spawnCollectible.lua +3 -3
  41. package/functions/trinketGive.d.ts +1 -1
  42. package/functions/trinkets.lua +5 -5
  43. package/functions/utils.d.ts +2 -2
  44. package/index.d.ts +14 -13
  45. package/index.lua +12 -12
  46. package/initFeatures.lua +6 -6
  47. package/{types → interfaces}/AddCallbackParameterCustom.d.ts +0 -0
  48. package/{types → interfaces}/AddCallbackParameterCustom.lua +0 -0
  49. package/{types → interfaces}/ChargeBarSprites.d.ts +0 -0
  50. package/{types → interfaces}/ChargeBarSprites.lua +0 -0
  51. package/{types → interfaces}/JSONDoor.d.ts +1 -0
  52. package/{types → interfaces}/JSONDoor.lua +0 -0
  53. package/{types → interfaces}/JSONEntity.d.ts +1 -0
  54. package/{types → interfaces}/JSONEntity.lua +0 -0
  55. package/{types → interfaces}/JSONRoom.d.ts +1 -5
  56. package/{types → interfaces}/JSONRoom.lua +0 -0
  57. package/{types → interfaces}/JSONRooms.d.ts +0 -0
  58. package/{types → interfaces}/JSONRooms.lua +0 -0
  59. package/{types → interfaces}/JSONSpawn.d.ts +1 -0
  60. package/{types → interfaces}/JSONSpawn.lua +0 -0
  61. package/{types → interfaces}/PlayerHealth.d.ts +1 -0
  62. package/{types → interfaces}/PlayerHealth.lua +0 -0
  63. package/{types → interfaces}/PocketItemDescription.d.ts +1 -0
  64. package/{types → interfaces}/PocketItemDescription.lua +0 -0
  65. package/interfaces/SaveData.d.ts +29 -0
  66. package/{types → interfaces}/SaveData.lua +0 -0
  67. package/{types → interfaces}/TrinketSituation.d.ts +1 -0
  68. package/{types → interfaces}/TrinketSituation.lua +0 -0
  69. package/{types → interfaces}/private/TSTLClassMetatable.d.ts +0 -0
  70. package/{types → interfaces}/private/TSTLClassMetatable.lua +0 -0
  71. package/maps/cardMap.lua +85 -85
  72. package/maps/characterMap.lua +58 -58
  73. package/maps/pillEffectMap.lua +39 -39
  74. package/maps/roomTypeMap.lua +12 -12
  75. package/objects/callbackRegisterFunctions.d.ts +1 -1
  76. package/objects/roomTypeNames.lua +1 -1
  77. package/package.json +1 -1
  78. package/types/PickingUpItem.d.ts +12 -2
  79. package/types/PickingUpItem.lua +3 -0
  80. package/upgradeMod.d.ts +2 -1
  81. package/types/SaveData.d.ts +0 -28
@@ -1,199 +1,199 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
2
  /**
3
- * After using the "playerdisplay" console command, text will be drawn on each player for debugging
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 "teardisplay" console command, text will be drawn on each tear for debugging
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 "familiardisplay" console command, text will be drawn on each familiar for
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 "bombdisplay" console command, text will be drawn on each bomb for debugging
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 "pickupdisplay" console command, text will be drawn on each pickup for debugging
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 "slotdisplay" console command, text will be drawn on each slot for debugging
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 "laserdisplay" console command, text will be drawn on each laser for debugging
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 "knifedisplay" console command, text will be drawn on each knife for debugging
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 "projectiledisplay" console command, text will be drawn on each projectile for
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 "effectdisplay" console command, text will be drawn on each effect for debugging
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 "npcdisplay" console command, text will be drawn on each NPC for debugging
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 "rockdisplay" console command, text will be drawn on each rock for debugging
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 "pitdisplay" console command, text will be drawn on each pit for debugging
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 "spikesdisplay" console command, text will be drawn on each spikes for debugging
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 "tntdisplay" console command, text will be drawn on each TNT for debugging
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 "poopdisplay" console command, text will be drawn on each poop for debugging
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 "poopdisplay" console command, text will be drawn on each poop for debugging
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 "pressureplatedisplay" console command, text will be drawn on each pressure plate
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
- * "playerdisplay" custom console command.
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
- * "teardisplay" custom console command.
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
- * "familiardisplay" custom console command.
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
- * "bombdisplay" custom console command.
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
- * "pickupdisplay" custom console command.
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
- * "slotdisplay" custom console command.
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
- * "laserdisplay" custom console command.
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
- * "knifedisplay" custom console command.
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
- * "projectiledisplay" custom console command.
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
- * "effectdisplay" custom console command.
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 "npcdisplay"
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
- * "rockdisplay" custom console command.
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 "pitdisplay"
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
- * "spikesdisplay" custom console command.
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 "tntdisplay"
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 "poopdisplay"
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
- * "doordisplay" custom console command.
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
- * "pressureplatedisplay" custom console command.
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 "../types/JSONRoom";
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 "bombdisplay" command. */
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 "doordisplay" function. */
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 "effectdisplay" function. */
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 "familiardisplay" command. */
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 "knifedisplay" command. */
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 "laserdisplay" command. */
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 "npcdisplay" command. */
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 "pickupdisplay" command. */
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 "pitdisplay" function. */
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 "playerdisplay" command. */
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 "poopdisplay" function. */
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 "pressureplatedisplay" function. */
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 "projectiledisplay" command. */
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 "rockdisplay" function. */
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 "slotdisplay" command. */
134
+ /** Alias for the "slotDisplay" command. */
135
135
  export declare function slotsDisplay(): void;
136
- /** Alias for the "spikesdisplay" function. */
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 "teardisplay" command. */
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 "tntdisplay" function. */
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 `isaacscript-common`
4
- * documentation for details on the commands that are added.
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("addcharges", commands.addCharges)
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("blackmarket", commands.blackMarket)
114
- commandFunctionsMap:set("bloodcharges", commands.bloodCharges)
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("bombdisplay", commandsDisplay.bombDisplay)
118
- commandFunctionsMap:set("bombsdisplay", commandsDisplay.bombsDisplay)
117
+ commandFunctionsMap:set("bombDisplay", commandsDisplay.bombDisplay)
118
+ commandFunctionsMap:set("bombsDisplay", commandsDisplay.bombsDisplay)
119
119
  commandFunctionsMap:set("bombs", commands.bombs)
120
- commandFunctionsMap:set("bonehearts", commands.boneHearts)
120
+ commandFunctionsMap:set("boneHearts", commands.boneHearts)
121
121
  commandFunctionsMap:set("boss", commands.boss)
122
- commandFunctionsMap:set("bossrush", commands.bossRush)
123
- commandFunctionsMap:set("brokenhearts", commands.brokenHearts)
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("chaoscardtears", commands.chaosCardTears)
127
+ commandFunctionsMap:set("chaosCardTears", commands.chaosCardTears)
128
128
  commandFunctionsMap:set("character", commands.characterCommand)
129
129
  commandFunctionsMap:set("charge", commands.charge)
130
- commandFunctionsMap:set("cleanbedroom", commands.cleanBedroom)
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("dirtybedroom", commands.dirtyBedroom)
140
- commandFunctionsMap:set("disablecurses", commands.disableCurses)
141
- commandFunctionsMap:set("doordisplay", commandsDisplay.doorDisplay)
142
- commandFunctionsMap:set("doorsdisplay", commandsDisplay.doorsDisplay)
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("effectdisplay", commandsDisplay.effectDisplay)
145
+ commandFunctionsMap:set("effectDisplay", commandsDisplay.effectDisplay)
146
146
  commandFunctionsMap:set("effects", commands.effects)
147
- commandFunctionsMap:set("effectsdisplay", commandsDisplay.effectsDisplay)
147
+ commandFunctionsMap:set("effectsDisplay", commandsDisplay.effectsDisplay)
148
148
  commandFunctionsMap:set("eh", commands.eh)
149
149
  commandFunctionsMap:set("error", commands.error)
150
- commandFunctionsMap:set("eternalhearts", commands.eternalHearts)
151
- commandFunctionsMap:set("familiardisplay", commandsDisplay.familiarDisplay)
152
- commandFunctionsMap:set("familiarsdisplay", commandsDisplay.familiarsDisplay)
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("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)
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("gridentities", commands.gridEntities)
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("iamerror", commands.iAmError)
168
+ commandFunctionsMap:set("iAmError", commands.iAmError)
169
169
  commandFunctionsMap:set("key", commands.key)
170
170
  commandFunctionsMap:set("keys", commands.keys)
171
- commandFunctionsMap:set("knifedisplay", commandsDisplay.knifeDisplay)
172
- commandFunctionsMap:set("knivesdisplay", commandsDisplay.knivesDisplay)
173
- commandFunctionsMap:set("laserdisplay", commandsDisplay.laserDisplay)
174
- commandFunctionsMap:set("lasersdisplay", commandsDisplay.lasersDisplay)
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("listall", commands.listAll)
179
- commandFunctionsMap:set("listgrid", commands.listGrid)
180
- commandFunctionsMap:set("listgridall", commands.listGridAll)
181
- commandFunctionsMap:set("lowhp", commands.lowHP)
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("maxhearts", commands.maxHearts)
184
+ commandFunctionsMap:set("maxHearts", commands.maxHearts)
185
185
  commandFunctionsMap:set("mh", commands.mh)
186
186
  commandFunctionsMap:set("miniboss", commands.miniboss)
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)
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("pitdisplay", commandsDisplay.pitDisplay)
195
- commandFunctionsMap:set("pitsdisplay", commandsDisplay.pitsDisplay)
194
+ commandFunctionsMap:set("pitDisplay", commandsDisplay.pitDisplay)
195
+ commandFunctionsMap:set("pitsDisplay", commandsDisplay.pitsDisplay)
196
196
  commandFunctionsMap:set("planetarium", commands.planetarium)
197
- commandFunctionsMap:set("playerdisplay", commandsDisplay.playerDisplay)
198
- commandFunctionsMap:set("playersdisplay", commandsDisplay.playersDisplay)
199
- commandFunctionsMap:set("playsound", commands.playSound)
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("poopdisplay", commandsDisplay.poopDisplay)
202
- commandFunctionsMap:set("poopmana", commands.poopMana)
203
- commandFunctionsMap:set("poopsdisplay", commandsDisplay.poopsDisplay)
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("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)
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("rockdisplay", commandsDisplay.rockDisplay)
213
- commandFunctionsMap:set("rocksdisplay", commandsDisplay.rocksDisplay)
212
+ commandFunctionsMap:set("rockDisplay", commandsDisplay.rockDisplay)
213
+ commandFunctionsMap:set("rocksDisplay", commandsDisplay.rocksDisplay)
214
214
  commandFunctionsMap:set("room", commands.roomCommand)
215
- commandFunctionsMap:set("rottenhearts", commands.rottenHearts)
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("seedstick", commands.seedStick)
219
+ commandFunctionsMap:set("seedStick", commands.seedStick)
220
220
  commandFunctionsMap:set("seeds", commands.seedsCommand)
221
- commandFunctionsMap:set("setcharges", commands.setCharges)
222
- commandFunctionsMap:set("setposition", commands.setPosition)
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("slotdisplay", commandsDisplay.slotDisplay)
226
- commandFunctionsMap:set("slotsdisplay", commandsDisplay.slotsDisplay)
225
+ commandFunctionsMap:set("slotDisplay", commandsDisplay.slotDisplay)
226
+ commandFunctionsMap:set("slotsDisplay", commandsDisplay.slotsDisplay)
227
227
  commandFunctionsMap:set("smelt", commands.smelt)
228
- commandFunctionsMap:set("soulcharges", commands.soulCharges)
229
- commandFunctionsMap:set("soulhearts", commands.soulHearts)
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("spawngoldentrinket", commands.spawnGoldenTrinket)
233
+ commandFunctionsMap:set("spawnGoldenTrinket", commands.spawnGoldenTrinket)
234
234
  commandFunctionsMap:set("speed", commands.speed)
235
- commandFunctionsMap:set("spikedisplay", commandsDisplay.spikeDisplay)
236
- commandFunctionsMap:set("spikesdisplay", commandsDisplay.spikesDisplay)
235
+ commandFunctionsMap:set("spikeDisplay", commandsDisplay.spikeDisplay)
236
+ commandFunctionsMap:set("spikesDisplay", commandsDisplay.spikesDisplay)
237
237
  commandFunctionsMap:set("supersecret", commands.superSecret)
238
- commandFunctionsMap:set("startingroom", commands.startingRoom)
239
- commandFunctionsMap:set("teardisplay", commandsDisplay.tearDisplay)
238
+ commandFunctionsMap:set("startingRoom", commands.startingRoom)
239
+ commandFunctionsMap:set("tearDisplay", commandsDisplay.tearDisplay)
240
240
  commandFunctionsMap:set("tears", commands.tears)
241
- commandFunctionsMap:set("tearsdisplay", commandsDisplay.tearsDisplay)
242
- commandFunctionsMap:set("tntdisplay", commandsDisplay.tntDisplay)
243
- commandFunctionsMap:set("tntsdisplay", commandsDisplay.tntsDisplay)
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("ultrasecret", commands.ultraSecret)
246
+ commandFunctionsMap:set("ultraSecret", commands.ultraSecret)
247
247
  commandFunctionsMap:set("up", commands.up)
248
248
  commandFunctionsMap:set("warp", commands.warp)
249
249
  return ____exports