isaacscript-common 9.8.1 → 9.8.4
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/callbacks/postPlayerFatalDamage.lua +1 -1
- package/dist/features/debugDisplay/debugDisplay.lua +1 -6
- package/dist/features/extraConsoleCommands/init.lua +51 -160
- package/dist/features/extraConsoleCommands/listCommands.d.ts +25 -9
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +70 -30
- package/dist/features/extraConsoleCommands/v.d.ts +8 -0
- package/dist/features/extraConsoleCommands/v.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/v.lua +11 -1
- package/dist/functions/charge.lua +2 -2
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +3 -0
- package/package.json +2 -2
- package/src/callbacks/postPlayerFatalDamage.ts +1 -1
- package/src/features/debugDisplay/debugDisplay.ts +1 -1
- package/src/features/extraConsoleCommands/init.ts +58 -266
- package/src/features/extraConsoleCommands/listCommands.ts +97 -39
- package/src/features/extraConsoleCommands/v.ts +9 -0
- package/src/functions/charge.ts +2 -2
- package/src/functions/log.ts +3 -0
|
@@ -90,7 +90,7 @@ function preUseItemBible(self, _collectibleType, _rng, player, _useFlags, _activ
|
|
|
90
90
|
end
|
|
91
91
|
v = {run = {playersLastDamageGameFrame = __TS__New(Map)}}
|
|
92
92
|
function ____exports.postPlayerFatalDamageInit(self, mod)
|
|
93
|
-
saveDataManager(nil, "postPlayerFatalDamage", v)
|
|
93
|
+
saveDataManager(nil, "postPlayerFatalDamage", v, hasSubscriptions)
|
|
94
94
|
mod:AddCallback(ModCallback.ENTITY_TAKE_DMG, entityTakeDmgPlayer, EntityType.PLAYER)
|
|
95
95
|
mod:AddCallback(ModCallback.PRE_USE_ITEM, preUseItemBible, CollectibleType.BIBLE)
|
|
96
96
|
end
|
|
@@ -157,12 +157,7 @@ end
|
|
|
157
157
|
-- initialized.
|
|
158
158
|
function ____exports.debugDisplayInit(self, mod)
|
|
159
159
|
setDebugDisplayEnabled(nil)
|
|
160
|
-
saveDataManager(
|
|
161
|
-
nil,
|
|
162
|
-
"debugDisplay",
|
|
163
|
-
v,
|
|
164
|
-
function() return false end
|
|
165
|
-
)
|
|
160
|
+
saveDataManager(nil, "debugDisplay", v, false)
|
|
166
161
|
mod:AddCallback(ModCallback.POST_FAMILIAR_RENDER, postFamiliarRender)
|
|
167
162
|
mod:AddCallback(ModCallback.POST_NPC_RENDER, postNPCRender)
|
|
168
163
|
mod:AddCallback(ModCallback.POST_PLAYER_RENDER, postPlayerRender)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
2
|
local Map = ____lualib.Map
|
|
3
|
+
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
3
4
|
local ____exports = {}
|
|
4
|
-
local
|
|
5
|
+
local initCommandMap, initCallbacks, postUpdate, evaluateCacheFireDelay, evaluateCacheSpeed, evaluateCacheFlying, entityTakeDmgPlayer, postCurseEval, executeCmd, postFireTear
|
|
5
6
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
7
|
local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
|
|
7
8
|
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
@@ -12,6 +13,7 @@ local TearVariant = ____isaac_2Dtypescript_2Ddefinitions.TearVariant
|
|
|
12
13
|
local ____constants = require("core.constants")
|
|
13
14
|
local MAX_SPEED_STAT = ____constants.MAX_SPEED_STAT
|
|
14
15
|
local ____flag = require("functions.flag")
|
|
16
|
+
local addFlag = ____flag.addFlag
|
|
15
17
|
local bitFlags = ____flag.bitFlags
|
|
16
18
|
local ____map = require("functions.map")
|
|
17
19
|
local getMapPartialMatch = ____map.getMapPartialMatch
|
|
@@ -26,157 +28,17 @@ local commands = require("features.extraConsoleCommands.listCommands")
|
|
|
26
28
|
local ____v = require("features.extraConsoleCommands.v")
|
|
27
29
|
local v = ____v.default
|
|
28
30
|
local extraConsoleCommandsFunctionMap = ____v.extraConsoleCommandsFunctionMap
|
|
29
|
-
function
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
extraConsoleCommandsFunctionMap:set("bomb", commands.bomb)
|
|
41
|
-
extraConsoleCommandsFunctionMap:set("bombDisplay", commandsDisplay.bombDisplay)
|
|
42
|
-
extraConsoleCommandsFunctionMap:set("bombsDisplay", commandsDisplay.bombsDisplay)
|
|
43
|
-
extraConsoleCommandsFunctionMap:set("bombs", commands.bombs)
|
|
44
|
-
extraConsoleCommandsFunctionMap:set("boneHearts", commands.boneHearts)
|
|
45
|
-
extraConsoleCommandsFunctionMap:set("boss", commands.boss)
|
|
46
|
-
extraConsoleCommandsFunctionMap:set("bossNextRoom", commands.bossNextRoom)
|
|
47
|
-
extraConsoleCommandsFunctionMap:set("bossRoom", commands.bossRoom)
|
|
48
|
-
extraConsoleCommandsFunctionMap:set("bossRush", commands.bossRush)
|
|
49
|
-
extraConsoleCommandsFunctionMap:set("brokenHearts", commands.brokenHearts)
|
|
50
|
-
extraConsoleCommandsFunctionMap:set("card", commands.card)
|
|
51
|
-
extraConsoleCommandsFunctionMap:set("cards", commands.cards)
|
|
52
|
-
extraConsoleCommandsFunctionMap:set("cc", commands.cc)
|
|
53
|
-
extraConsoleCommandsFunctionMap:set("getChallenge", commands.getChallenge)
|
|
54
|
-
extraConsoleCommandsFunctionMap:set("chaosCardTears", commands.chaosCardTears)
|
|
55
|
-
extraConsoleCommandsFunctionMap:set("character", commands.characterCommand)
|
|
56
|
-
extraConsoleCommandsFunctionMap:set("charge", commands.charge)
|
|
57
|
-
extraConsoleCommandsFunctionMap:set("cleanBedroom", commands.cleanBedroom)
|
|
58
|
-
extraConsoleCommandsFunctionMap:set("coin", commands.coin)
|
|
59
|
-
extraConsoleCommandsFunctionMap:set("coins", commands.coins)
|
|
60
|
-
extraConsoleCommandsFunctionMap:set("crawlSpace", commands.crawlSpace)
|
|
61
|
-
extraConsoleCommandsFunctionMap:set("d20", commands.d20)
|
|
62
|
-
extraConsoleCommandsFunctionMap:set("d6", commands.d6)
|
|
63
|
-
extraConsoleCommandsFunctionMap:set("dadsNote", commands.dadsNote)
|
|
64
|
-
extraConsoleCommandsFunctionMap:set("damage", commands.damage)
|
|
65
|
-
extraConsoleCommandsFunctionMap:set("dd", commands.dd)
|
|
66
|
-
extraConsoleCommandsFunctionMap:set("devilRoom", commands.devilRoom)
|
|
67
|
-
extraConsoleCommandsFunctionMap:set("dirtyBedroom", commands.dirtyBedroom)
|
|
68
|
-
extraConsoleCommandsFunctionMap:set("disableCurses", commands.disableCurses)
|
|
69
|
-
extraConsoleCommandsFunctionMap:set("doorDisplay", commandsDisplay.doorDisplay)
|
|
70
|
-
extraConsoleCommandsFunctionMap:set("doorsDisplay", commandsDisplay.doorsDisplay)
|
|
71
|
-
extraConsoleCommandsFunctionMap:set("down", commands.down)
|
|
72
|
-
extraConsoleCommandsFunctionMap:set("dungeon", commands.dungeon)
|
|
73
|
-
extraConsoleCommandsFunctionMap:set("effectDisplay", commandsDisplay.effectDisplay)
|
|
74
|
-
extraConsoleCommandsFunctionMap:set("effects", commands.effects)
|
|
75
|
-
extraConsoleCommandsFunctionMap:set("effectsDisplay", commandsDisplay.effectsDisplay)
|
|
76
|
-
extraConsoleCommandsFunctionMap:set("eh", commands.eh)
|
|
77
|
-
extraConsoleCommandsFunctionMap:set("errorRoom", commands.errorRoom)
|
|
78
|
-
extraConsoleCommandsFunctionMap:set("eternalHearts", commands.eternalHearts)
|
|
79
|
-
extraConsoleCommandsFunctionMap:set("familiarDisplay", commandsDisplay.familiarDisplay)
|
|
80
|
-
extraConsoleCommandsFunctionMap:set("familiarsDisplay", commandsDisplay.familiarsDisplay)
|
|
81
|
-
extraConsoleCommandsFunctionMap:set("flight", commands.flight)
|
|
82
|
-
extraConsoleCommandsFunctionMap:set("fool", commands.fool)
|
|
83
|
-
extraConsoleCommandsFunctionMap:set("getPosition", commands.getPosition)
|
|
84
|
-
extraConsoleCommandsFunctionMap:set("gigaBomb", commands.gigaBomb)
|
|
85
|
-
extraConsoleCommandsFunctionMap:set("goldBomb", commands.goldBomb)
|
|
86
|
-
extraConsoleCommandsFunctionMap:set("goldHearts", commands.goldHearts)
|
|
87
|
-
extraConsoleCommandsFunctionMap:set("goldKey", commands.goldKey)
|
|
88
|
-
extraConsoleCommandsFunctionMap:set("goldenBomb", commands.goldenBomb)
|
|
89
|
-
extraConsoleCommandsFunctionMap:set("goldenHearts", commands.goldenHearts)
|
|
90
|
-
extraConsoleCommandsFunctionMap:set("goldenKey", commands.goldenKey)
|
|
91
|
-
extraConsoleCommandsFunctionMap:set("grid", commands.grid)
|
|
92
|
-
extraConsoleCommandsFunctionMap:set("grid2", commands.grid2)
|
|
93
|
-
extraConsoleCommandsFunctionMap:set("gridCosts", commands.gridCosts)
|
|
94
|
-
extraConsoleCommandsFunctionMap:set("gridEntities", commands.gridEntities)
|
|
95
|
-
extraConsoleCommandsFunctionMap:set("hearts", commands.hearts)
|
|
96
|
-
extraConsoleCommandsFunctionMap:set("hitboxes", commands.hitboxes)
|
|
97
|
-
extraConsoleCommandsFunctionMap:set("iAmErrorRoom", commands.iAmErrorRoom)
|
|
98
|
-
extraConsoleCommandsFunctionMap:set("key", commands.key)
|
|
99
|
-
extraConsoleCommandsFunctionMap:set("keys", commands.keys)
|
|
100
|
-
extraConsoleCommandsFunctionMap:set("knifeDisplay", commandsDisplay.knifeDisplay)
|
|
101
|
-
extraConsoleCommandsFunctionMap:set("knivesDisplay", commandsDisplay.knivesDisplay)
|
|
102
|
-
extraConsoleCommandsFunctionMap:set("laserDisplay", commandsDisplay.laserDisplay)
|
|
103
|
-
extraConsoleCommandsFunctionMap:set("lasersDisplay", commandsDisplay.lasersDisplay)
|
|
104
|
-
extraConsoleCommandsFunctionMap:set("left", commands.left)
|
|
105
|
-
extraConsoleCommandsFunctionMap:set("library", commands.library)
|
|
106
|
-
extraConsoleCommandsFunctionMap:set("list", commands.list)
|
|
107
|
-
extraConsoleCommandsFunctionMap:set("listAll", commands.listAll)
|
|
108
|
-
extraConsoleCommandsFunctionMap:set("listGrid", commands.listGrid)
|
|
109
|
-
extraConsoleCommandsFunctionMap:set("listGridAll", commands.listGridAll)
|
|
110
|
-
extraConsoleCommandsFunctionMap:set("lowHP", commands.lowHP)
|
|
111
|
-
extraConsoleCommandsFunctionMap:set("luck", commands.luck)
|
|
112
|
-
extraConsoleCommandsFunctionMap:set("mana", commands.mana)
|
|
113
|
-
extraConsoleCommandsFunctionMap:set("map", commands.map)
|
|
114
|
-
extraConsoleCommandsFunctionMap:set("maxHearts", commands.maxHearts)
|
|
115
|
-
extraConsoleCommandsFunctionMap:set("miniboss", commands.miniboss)
|
|
116
|
-
extraConsoleCommandsFunctionMap:set("noCurses", commands.noCurses)
|
|
117
|
-
extraConsoleCommandsFunctionMap:set("npcDisplay", commandsDisplay.npcDisplay)
|
|
118
|
-
extraConsoleCommandsFunctionMap:set("npcsDisplay", commandsDisplay.npcsDisplay)
|
|
119
|
-
extraConsoleCommandsFunctionMap:set("pickupDisplay", commandsDisplay.pickupDisplay)
|
|
120
|
-
extraConsoleCommandsFunctionMap:set("pickupsDisplay", commandsDisplay.pickupsDisplay)
|
|
121
|
-
extraConsoleCommandsFunctionMap:set("pill", commands.pill)
|
|
122
|
-
extraConsoleCommandsFunctionMap:set("pills", commands.pills)
|
|
123
|
-
extraConsoleCommandsFunctionMap:set("pitDisplay", commandsDisplay.pitDisplay)
|
|
124
|
-
extraConsoleCommandsFunctionMap:set("pitsDisplay", commandsDisplay.pitsDisplay)
|
|
125
|
-
extraConsoleCommandsFunctionMap:set("planetarium", commands.planetarium)
|
|
126
|
-
extraConsoleCommandsFunctionMap:set("playerDisplay", commandsDisplay.playerDisplay)
|
|
127
|
-
extraConsoleCommandsFunctionMap:set("playersDisplay", commandsDisplay.playersDisplay)
|
|
128
|
-
extraConsoleCommandsFunctionMap:set("playSound", commands.playSound)
|
|
129
|
-
extraConsoleCommandsFunctionMap:set("pocket", commands.pocket)
|
|
130
|
-
extraConsoleCommandsFunctionMap:set("poopDisplay", commandsDisplay.poopDisplay)
|
|
131
|
-
extraConsoleCommandsFunctionMap:set("poopMana", commands.poopMana)
|
|
132
|
-
extraConsoleCommandsFunctionMap:set("poopsDisplay", commandsDisplay.poopsDisplay)
|
|
133
|
-
extraConsoleCommandsFunctionMap:set("position", commands.positionCommand)
|
|
134
|
-
extraConsoleCommandsFunctionMap:set("pressurePlateDisplay", commandsDisplay.pressurePlateDisplay)
|
|
135
|
-
extraConsoleCommandsFunctionMap:set("pressurePlatesDisplay", commandsDisplay.pressurePlatesDisplay)
|
|
136
|
-
extraConsoleCommandsFunctionMap:set("projectileDisplay", commandsDisplay.projectileDisplay)
|
|
137
|
-
extraConsoleCommandsFunctionMap:set("projectilesDisplay", commandsDisplay.projectilesDisplay)
|
|
138
|
-
extraConsoleCommandsFunctionMap:set("redHearts", commands.redHearts)
|
|
139
|
-
extraConsoleCommandsFunctionMap:set("right", commands.right)
|
|
140
|
-
extraConsoleCommandsFunctionMap:set("rockDisplay", commandsDisplay.rockDisplay)
|
|
141
|
-
extraConsoleCommandsFunctionMap:set("rocksDisplay", commandsDisplay.rocksDisplay)
|
|
142
|
-
extraConsoleCommandsFunctionMap:set("room", commands.roomCommand)
|
|
143
|
-
extraConsoleCommandsFunctionMap:set("rottenHearts", commands.rottenHearts)
|
|
144
|
-
extraConsoleCommandsFunctionMap:set("runTests", commands.runTests)
|
|
145
|
-
extraConsoleCommandsFunctionMap:set("s", commands.s)
|
|
146
|
-
extraConsoleCommandsFunctionMap:set("sacrificeRoom", commands.sacrificeRoom)
|
|
147
|
-
extraConsoleCommandsFunctionMap:set("secretRoom", commands.secretRoom)
|
|
148
|
-
extraConsoleCommandsFunctionMap:set("seedStick", commands.seedStick)
|
|
149
|
-
extraConsoleCommandsFunctionMap:set("seeds", commands.seedsCommand)
|
|
150
|
-
extraConsoleCommandsFunctionMap:set("setCharges", commands.setCharges)
|
|
151
|
-
extraConsoleCommandsFunctionMap:set("setPosition", commands.setPosition)
|
|
152
|
-
extraConsoleCommandsFunctionMap:set("shop", commands.shop)
|
|
153
|
-
extraConsoleCommandsFunctionMap:set("slotDisplay", commandsDisplay.slotDisplay)
|
|
154
|
-
extraConsoleCommandsFunctionMap:set("slotsDisplay", commandsDisplay.slotsDisplay)
|
|
155
|
-
extraConsoleCommandsFunctionMap:set("smelt", commands.smelt)
|
|
156
|
-
extraConsoleCommandsFunctionMap:set("soulCharges", commands.soulCharges)
|
|
157
|
-
extraConsoleCommandsFunctionMap:set("soulHearts", commands.soulHearts)
|
|
158
|
-
extraConsoleCommandsFunctionMap:set("sound", commands.sound)
|
|
159
|
-
extraConsoleCommandsFunctionMap:set("sounds", commands.sounds)
|
|
160
|
-
extraConsoleCommandsFunctionMap:set("spam", commands.spam)
|
|
161
|
-
extraConsoleCommandsFunctionMap:set("spawnGoldenTrinket", commands.spawnGoldenTrinket)
|
|
162
|
-
extraConsoleCommandsFunctionMap:set("speed", commands.speed)
|
|
163
|
-
extraConsoleCommandsFunctionMap:set("spikeDisplay", commandsDisplay.spikeDisplay)
|
|
164
|
-
extraConsoleCommandsFunctionMap:set("spikesDisplay", commandsDisplay.spikesDisplay)
|
|
165
|
-
extraConsoleCommandsFunctionMap:set("superSecretRoom", commands.superSecretRoom)
|
|
166
|
-
extraConsoleCommandsFunctionMap:set("startingRoom", commands.startingRoom)
|
|
167
|
-
extraConsoleCommandsFunctionMap:set("startRoom", commands.startRoom)
|
|
168
|
-
extraConsoleCommandsFunctionMap:set("tearDisplay", commandsDisplay.tearDisplay)
|
|
169
|
-
extraConsoleCommandsFunctionMap:set("tears", commands.tears)
|
|
170
|
-
extraConsoleCommandsFunctionMap:set("tearsDisplay", commandsDisplay.tearsDisplay)
|
|
171
|
-
extraConsoleCommandsFunctionMap:set("tests", commands.tests)
|
|
172
|
-
extraConsoleCommandsFunctionMap:set("tntDisplay", commandsDisplay.tntDisplay)
|
|
173
|
-
extraConsoleCommandsFunctionMap:set("tntsDisplay", commandsDisplay.tntsDisplay)
|
|
174
|
-
extraConsoleCommandsFunctionMap:set("trapdoor", commands.trapdoorCommand)
|
|
175
|
-
extraConsoleCommandsFunctionMap:set("treasureRoom", commands.treasureRoom)
|
|
176
|
-
extraConsoleCommandsFunctionMap:set("ultraSecretRoom", commands.ultraSecretRoom)
|
|
177
|
-
extraConsoleCommandsFunctionMap:set("unseed", commands.unseed)
|
|
178
|
-
extraConsoleCommandsFunctionMap:set("up", commands.up)
|
|
179
|
-
extraConsoleCommandsFunctionMap:set("warp", commands.warp)
|
|
31
|
+
function initCommandMap(self)
|
|
32
|
+
for ____, ____value in ipairs(__TS__ObjectEntries(commands)) do
|
|
33
|
+
local funcName = ____value[1]
|
|
34
|
+
local func = ____value[2]
|
|
35
|
+
extraConsoleCommandsFunctionMap:set(funcName, func)
|
|
36
|
+
end
|
|
37
|
+
for ____, ____value in ipairs(__TS__ObjectEntries(commandsDisplay)) do
|
|
38
|
+
local funcName = ____value[1]
|
|
39
|
+
local func = ____value[2]
|
|
40
|
+
extraConsoleCommandsFunctionMap:set(funcName, func)
|
|
41
|
+
end
|
|
180
42
|
end
|
|
181
43
|
function initCallbacks(self, mod)
|
|
182
44
|
mod:AddCallback(ModCallback.POST_UPDATE, postUpdate)
|
|
@@ -216,7 +78,41 @@ function entityTakeDmgPlayer(self, _entity, _damageAmount, _damageFlags, _damage
|
|
|
216
78
|
return nil
|
|
217
79
|
end
|
|
218
80
|
function postCurseEval(self, curses)
|
|
219
|
-
|
|
81
|
+
if v.persistent.disableCurses then
|
|
82
|
+
return bitFlags(nil, LevelCurse.NONE)
|
|
83
|
+
end
|
|
84
|
+
local newCurses = curses
|
|
85
|
+
if v.persistent.darkness then
|
|
86
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.DARKNESS)
|
|
87
|
+
end
|
|
88
|
+
if v.persistent.labyrinth then
|
|
89
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.LABYRINTH)
|
|
90
|
+
end
|
|
91
|
+
if v.persistent.lost then
|
|
92
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.LOST)
|
|
93
|
+
end
|
|
94
|
+
if v.persistent.unknown then
|
|
95
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.UNKNOWN)
|
|
96
|
+
end
|
|
97
|
+
if v.persistent.cursed then
|
|
98
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.CURSED)
|
|
99
|
+
end
|
|
100
|
+
if v.persistent.maze then
|
|
101
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.MAZE)
|
|
102
|
+
end
|
|
103
|
+
if v.persistent.blind then
|
|
104
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.BLIND)
|
|
105
|
+
end
|
|
106
|
+
if v.persistent.giant then
|
|
107
|
+
newCurses = addFlag(nil, newCurses, LevelCurse.GIANT)
|
|
108
|
+
end
|
|
109
|
+
local ____temp_0
|
|
110
|
+
if curses == newCurses then
|
|
111
|
+
____temp_0 = nil
|
|
112
|
+
else
|
|
113
|
+
____temp_0 = newCurses
|
|
114
|
+
end
|
|
115
|
+
return ____temp_0
|
|
220
116
|
end
|
|
221
117
|
function executeCmd(self, command, params)
|
|
222
118
|
local resultTuple = getMapPartialMatch(nil, command, extraConsoleCommandsFunctionMap)
|
|
@@ -238,13 +134,8 @@ function postFireTear(self, tear)
|
|
|
238
134
|
end
|
|
239
135
|
end
|
|
240
136
|
function ____exports.extraConsoleCommandsInit(self, mod)
|
|
241
|
-
saveDataManager(
|
|
242
|
-
|
|
243
|
-
"extraConsoleCommands",
|
|
244
|
-
v,
|
|
245
|
-
function() return false end
|
|
246
|
-
)
|
|
247
|
-
initMap(nil)
|
|
137
|
+
saveDataManager(nil, "extraConsoleCommands", v, false)
|
|
138
|
+
initCommandMap(nil)
|
|
248
139
|
initCallbacks(nil, mod)
|
|
249
140
|
debugDisplayInit(nil, mod)
|
|
250
141
|
end
|
|
@@ -22,6 +22,8 @@ export declare function bh(params: string): void;
|
|
|
22
22
|
export declare function blackHearts(params: string): void;
|
|
23
23
|
/** Warps to the Black Market for the floor. */
|
|
24
24
|
export declare function blackMarket(): void;
|
|
25
|
+
/** Toggles permanent Curse of the Blind. */
|
|
26
|
+
export declare function blind(): void;
|
|
25
27
|
/**
|
|
26
28
|
* Gives a blood charge. This only affects Bethany. Provide a number to give a custom amount of
|
|
27
29
|
* charges. (You can use negative numbers to remove charges.)
|
|
@@ -69,8 +71,6 @@ export declare function card(params: string): void;
|
|
|
69
71
|
export declare function cards(): void;
|
|
70
72
|
/** Alias for the "chaosCardTears" command. */
|
|
71
73
|
export declare function cc(): void;
|
|
72
|
-
/** Displays the current challenge, if any. */
|
|
73
|
-
export declare function getChallenge(): void;
|
|
74
74
|
/**
|
|
75
75
|
* Toggles Chaos Card tears for the player. Useful for killing enemies very fast without using
|
|
76
76
|
* "debug 10".
|
|
@@ -84,7 +84,7 @@ export declare function chaosCardTears(): void;
|
|
|
84
84
|
* - character 2 - Restarts as Cain.
|
|
85
85
|
* - character ta - Restarts as Tainted Azazel.
|
|
86
86
|
*/
|
|
87
|
-
export declare function
|
|
87
|
+
export declare function character(params: string): void;
|
|
88
88
|
/** Alias for the "addCharges" command. */
|
|
89
89
|
export declare function charge(params: string): void;
|
|
90
90
|
/** Warps to the first Clean Bedroom on the floor. */
|
|
@@ -101,6 +101,8 @@ export declare function coin(params: string): void;
|
|
|
101
101
|
export declare function coins(params: string): void;
|
|
102
102
|
/** Creates a crawl space next to the player. */
|
|
103
103
|
export declare function crawlSpace(): void;
|
|
104
|
+
/** Toggles permanent Curse of the Cursed. */
|
|
105
|
+
export declare function cursed(): void;
|
|
104
106
|
/** Uses the D20. */
|
|
105
107
|
export declare function d20(): void;
|
|
106
108
|
/** Uses the D6. */
|
|
@@ -109,6 +111,8 @@ export declare function d6(): void;
|
|
|
109
111
|
export declare function dadsNote(): void;
|
|
110
112
|
/** Toggles extremely high-damage tears for the player. */
|
|
111
113
|
export declare function damage(): void;
|
|
114
|
+
/** Toggles permanent Curse of Darkness. */
|
|
115
|
+
export declare function darkness(): void;
|
|
112
116
|
/** Alias for the "devil" command. */
|
|
113
117
|
export declare function dd(): void;
|
|
114
118
|
/**
|
|
@@ -139,8 +143,12 @@ export declare function eternalHearts(params: string): void;
|
|
|
139
143
|
export declare function flight(params: string): void;
|
|
140
144
|
/** Alias for the "startingRoom" command. */
|
|
141
145
|
export declare function fool(): void;
|
|
146
|
+
/** Displays the current challenge, if any. */
|
|
147
|
+
export declare function getChallenge(): void;
|
|
142
148
|
/** Prints the current position of all players. */
|
|
143
149
|
export declare function getPosition(): void;
|
|
150
|
+
/** Toggles permanent Curse of the Giant. */
|
|
151
|
+
export declare function giant(): void;
|
|
144
152
|
/**
|
|
145
153
|
* Gives a Giga Bomb. Provide a number to give a custom amount of Giga Bombs. (You can use negative
|
|
146
154
|
* numbers to remove bombs.)
|
|
@@ -191,6 +199,8 @@ export declare function key(params: string): void;
|
|
|
191
199
|
* to remove keys.)
|
|
192
200
|
*/
|
|
193
201
|
export declare function keys(params: string): void;
|
|
202
|
+
/** Toggles permanent Curse of the Labyrinth. */
|
|
203
|
+
export declare function labyrinth(): void;
|
|
194
204
|
/** Moves the player 0.5 units left. Provide a number to move a custom amount of units. */
|
|
195
205
|
export declare function left(params: string): void;
|
|
196
206
|
/** Warps to the first Library on the floor. */
|
|
@@ -221,6 +231,8 @@ export declare function listGrid(params: string): void;
|
|
|
221
231
|
* specific `GridEntityType`.
|
|
222
232
|
*/
|
|
223
233
|
export declare function listGridAll(params: string): void;
|
|
234
|
+
/** Toggles permanent Curse of the Lost. */
|
|
235
|
+
export declare function lost(): void;
|
|
224
236
|
/** Alias for the "1hp" command. */
|
|
225
237
|
export declare function lowHP(): void;
|
|
226
238
|
/** Alias for "debug 9". */
|
|
@@ -234,6 +246,8 @@ export declare function map(): void;
|
|
|
234
246
|
* use negative numbers to remove heart containers.)
|
|
235
247
|
*/
|
|
236
248
|
export declare function maxHearts(params: string): void;
|
|
249
|
+
/** Toggles permanent Curse of the Maze. */
|
|
250
|
+
export declare function maze(): void;
|
|
237
251
|
/** Warps to the first Miniboss Room on the floor. */
|
|
238
252
|
export declare function miniboss(): void;
|
|
239
253
|
/** Alias for the "disableCurses" command. */
|
|
@@ -264,13 +278,13 @@ export declare function pocket(params: string): void;
|
|
|
264
278
|
*/
|
|
265
279
|
export declare function poopMana(params: string): void;
|
|
266
280
|
/** Alias for the "getPosition" command. */
|
|
267
|
-
export declare function
|
|
281
|
+
export declare function position(): void;
|
|
268
282
|
/** Alias for the "hearts" command. */
|
|
269
283
|
export declare function redHearts(params: string): void;
|
|
270
284
|
/** Moves the player 0.5 units right. Provide a number to move a custom amount of units. */
|
|
271
285
|
export declare function right(params: string): void;
|
|
272
286
|
/** Logs information about the room to the "log.txt" file. */
|
|
273
|
-
export declare function
|
|
287
|
+
export declare function room(): void;
|
|
274
288
|
/**
|
|
275
289
|
* Gives a rotten heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
276
290
|
* numbers to remove hearts.)
|
|
@@ -299,7 +313,7 @@ export declare function secretRoom(): void;
|
|
|
299
313
|
/** Changes to a seeded run, using the seed of the current run. */
|
|
300
314
|
export declare function seedStick(): void;
|
|
301
315
|
/** Logs all of the current run's seed effects to the "log.txt" file. */
|
|
302
|
-
export declare function
|
|
316
|
+
export declare function seeds(): void;
|
|
303
317
|
/**
|
|
304
318
|
* Sets a charge to the player's specified active item. You must provide the active slot number and
|
|
305
319
|
* the number of charges to set.
|
|
@@ -344,10 +358,10 @@ export declare function spam(): void;
|
|
|
344
358
|
export declare function spawnGoldenTrinket(params: string): void;
|
|
345
359
|
/** Toggles maximum movement speed and flight for the player. */
|
|
346
360
|
export declare function speed(): void;
|
|
347
|
-
/** Warps to the starting room of the floor. */
|
|
348
|
-
export declare function startingRoom(): void;
|
|
349
361
|
/** Alias for the "startingRoom" command. */
|
|
350
362
|
export declare function startRoom(): void;
|
|
363
|
+
/** Warps to the starting room of the floor. */
|
|
364
|
+
export declare function startingRoom(): void;
|
|
351
365
|
/** Warps to the first Super Secret Room on the floor. */
|
|
352
366
|
export declare function superSecretRoom(): void;
|
|
353
367
|
/**
|
|
@@ -358,11 +372,13 @@ export declare function tears(): void;
|
|
|
358
372
|
/** Alias for the "runTests" command. */
|
|
359
373
|
export declare function tests(): void;
|
|
360
374
|
/** Creates a trapdoor next to the player. */
|
|
361
|
-
export declare function
|
|
375
|
+
export declare function trapdoor(): void;
|
|
362
376
|
/** Warps to the first Treasure Room on the floor. */
|
|
363
377
|
export declare function treasureRoom(): void;
|
|
364
378
|
/** Warps to the first Ultra Secret Room on the floor. */
|
|
365
379
|
export declare function ultraSecretRoom(): void;
|
|
380
|
+
/** Toggles permanent Curse of the Unknown. */
|
|
381
|
+
export declare function unknown(): void;
|
|
366
382
|
/** If currently on a set seed, changes to an unseeded state and restarts the game. */
|
|
367
383
|
export declare function unseed(): void;
|
|
368
384
|
/** Moves the player 0.5 units up. Provide a number to move a custom amount of units. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AAyHA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED,2CAA2C;AAC3C,w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