isaacscript-common 1.0.597 → 1.0.601
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/postFlip.lua +1 -2
- package/dist/callbacks/postPurchase.lua +7 -6
- package/dist/callbacks/preBerserkDeath.lua +3 -1
- package/dist/callbacks/preNewLevel.lua +7 -5
- package/dist/callbacks/subscriptions/{PreNewLevel.d.ts → preNewLevel.d.ts} +0 -0
- package/dist/callbacks/subscriptions/{PreNewLevel.lua → preNewLevel.lua} +0 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.lua +16 -0
- package/dist/features/getCollectibleItemPoolType.d.ts +2 -2
- package/dist/features/saveDataManager/exports.lua +5 -0
- package/dist/features/sirenHelpers.lua +3 -1
- package/dist/functions/array.d.ts +5 -2
- package/dist/functions/array.lua +26 -31
- package/dist/functions/collectibles.d.ts +5 -0
- package/dist/functions/collectibles.lua +11 -11
- package/dist/functions/entity.d.ts +16 -10
- package/dist/functions/entity.lua +34 -31
- package/dist/functions/gridEntity.lua +7 -6
- package/dist/functions/input.d.ts +2 -2
- package/dist/functions/jsonRoom.lua +1 -2
- package/dist/functions/log.d.ts +4 -4
- package/dist/functions/log.lua +15 -18
- package/dist/functions/player.d.ts +5 -0
- package/dist/functions/player.lua +14 -9
- package/dist/functions/pocketItems.lua +4 -6
- package/dist/functions/rooms.lua +26 -33
- package/dist/functions/transformations.lua +3 -1
- package/dist/functions/trinkets.lua +4 -12
- package/dist/types/CallbackParametersCustom.d.ts +1 -1
- package/dist/types/ModUpgraded.lua +3 -5
- package/package.json +2 -2
- package/dist/callbacks/postSlot.d.ts +0 -2
- package/dist/callbacks/postSlot.lua +0 -48
- package/dist/callbacks/postSlotRender.d.ts +0 -2
- package/dist/callbacks/postSlotRender.lua +0 -20
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered - Copy.d.ts +0 -5
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered - Copy.lua +0 -26
- package/dist/cardNameMap.d.ts +0 -2
- package/dist/cardNameMap.lua +0 -5
- package/dist/collectibleNameMap.d.ts +0 -2
- package/dist/collectibleNameMap.lua +0 -5
- package/dist/collectibleSet.d.ts +0 -1
- package/dist/collectibleSet.lua +0 -22
- package/dist/functions/card.d.ts +0 -25
- package/dist/functions/card.lua +0 -41
- package/dist/functions/items.d.ts +0 -9
- package/dist/functions/items.lua +0 -9
- package/dist/functions/localization.d.ts +0 -2
- package/dist/functions/localization.lua +0 -8
- package/dist/functions/sound.d.ts +0 -7
- package/dist/functions/sound.lua +0 -7
- package/dist/gridEntityMap.d.ts +0 -2
- package/dist/gridEntityMap.lua +0 -5
- package/dist/maps/roomTypeToItemPoolMap.d.ts +0 -2
- package/dist/maps/roomTypeToItemPoolMap.lua +0 -19
- package/dist/maps/transformationMap.d.ts +0 -5
- package/dist/maps/transformationMap.lua +0 -56
- package/dist/patchPrintFunction.d.ts +0 -1
- package/dist/patchPrintFunction.lua +0 -45
- package/dist/pillEffectNameMap.d.ts +0 -2
- package/dist/pillEffectNameMap.lua +0 -5
- package/dist/transformationMap.d.ts +0 -5
- package/dist/transformationMap.lua +0 -56
- package/dist/trinketNameMap.d.ts +0 -2
- package/dist/trinketNameMap.lua +0 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/** Helper function to get the enum name for the specified `Controller` value. */
|
|
3
3
|
export declare function controllerToString(controller: Controller): string;
|
|
4
|
-
/** Iterates over all
|
|
4
|
+
/** Iterates over all inputs to determine if a particular button is pressed (i.e. held down). */
|
|
5
5
|
export declare function isActionPressedOnAnyInput(buttonAction: ButtonAction): boolean;
|
|
6
6
|
/**
|
|
7
|
-
* Iterates over all
|
|
7
|
+
* Iterates over all inputs to determine if a particular button is triggered (i.e. held down and
|
|
8
8
|
* then released).
|
|
9
9
|
*/
|
|
10
10
|
export declare function isActionTriggeredOnAnyInput(buttonAction: ButtonAction): boolean;
|
|
@@ -30,8 +30,7 @@ function getJSONRoomWithChosenWeight(self, jsonRooms, chosenWeight)
|
|
|
30
30
|
end
|
|
31
31
|
chosenWeight = chosenWeight - roomWeight
|
|
32
32
|
end
|
|
33
|
-
error("Failed to get a room with chosen weight: " .. tostring(chosenWeight))
|
|
34
|
-
return jsonRooms[1]
|
|
33
|
+
return error("Failed to get a room with chosen weight: " .. tostring(chosenWeight))
|
|
35
34
|
end
|
|
36
35
|
function ____exports.getJSONRoomOfVariant(self, jsonRooms, variant)
|
|
37
36
|
for ____, jsonRoom in ipairs(jsonRooms) do
|
package/dist/functions/log.d.ts
CHANGED
|
@@ -24,15 +24,15 @@ export declare function logAllGameStateFlags(this: void): void;
|
|
|
24
24
|
* Helper function for printing out every projectile flag that is turned on. Helpful when debugging.
|
|
25
25
|
*/
|
|
26
26
|
export declare function logAllProjectileFlags(this: void, flags: int): void;
|
|
27
|
-
/** Helper function for printing out every use flag that is turned on. Helpful when debugging. */
|
|
28
|
-
export declare function logAllTearFlags(this: void, flags: int): void;
|
|
29
|
-
/** Helper function for printing out every use flag that is turned on. Helpful when debugging. */
|
|
30
|
-
export declare function logAllUseFlags(this: void, flags: int): void;
|
|
31
27
|
/**
|
|
32
28
|
* Helper function for printing out every seed effect (i.e. Easter Egg) that is turned on for the
|
|
33
29
|
* particular run.
|
|
34
30
|
*/
|
|
35
31
|
export declare function logAllSeedEffects(this: void): void;
|
|
32
|
+
/** Helper function for printing out every use flag that is turned on. Helpful when debugging. */
|
|
33
|
+
export declare function logAllTearFlags(this: void, flags: int): void;
|
|
34
|
+
/** Helper function for printing out every use flag that is turned on. Helpful when debugging. */
|
|
35
|
+
export declare function logAllUseFlags(this: void, flags: int): void;
|
|
36
36
|
export declare function logArray<T>(this: void, array: T[]): void;
|
|
37
37
|
export declare function logColor(this: void, color: Color): void;
|
|
38
38
|
export declare function logEntity(this: void, entity: Entity): void;
|
package/dist/functions/log.lua
CHANGED
|
@@ -38,11 +38,9 @@ function ____exports.logAllFlags(flags, flagEnum, description)
|
|
|
38
38
|
____exports.log(("Logging all " .. description) .. "flags:")
|
|
39
39
|
local hasNoFlags = true
|
|
40
40
|
local i = 1
|
|
41
|
-
for
|
|
42
|
-
local key = ____value[1]
|
|
43
|
-
local value = ____value[2]
|
|
41
|
+
for key, value in pairs(flagEnum) do
|
|
44
42
|
if hasFlag(nil, flags, value) then
|
|
45
|
-
____exports.log((((((" " .. tostring(i)) .. ") Has flag: ") .. key) .. " (") .. tostring(value)) .. ")")
|
|
43
|
+
____exports.log((((((" " .. tostring(i)) .. ") Has flag: ") .. tostring(key)) .. " (") .. tostring(value)) .. ")")
|
|
46
44
|
hasNoFlags = false
|
|
47
45
|
end
|
|
48
46
|
i = i + 1
|
|
@@ -62,9 +60,7 @@ function ____exports.logAllGameStateFlags()
|
|
|
62
60
|
____exports.log("Logging all game state flags:")
|
|
63
61
|
local hasNoFlags = true
|
|
64
62
|
local i = 1
|
|
65
|
-
for
|
|
66
|
-
local key = ____value[1]
|
|
67
|
-
local value = ____value[2]
|
|
63
|
+
for key, value in pairs(GameStateFlag) do
|
|
68
64
|
local gameStateFlag = value
|
|
69
65
|
local flagValue = game:GetStateFlag(gameStateFlag)
|
|
70
66
|
if flagValue then
|
|
@@ -80,21 +76,13 @@ end
|
|
|
80
76
|
function ____exports.logAllProjectileFlags(flags)
|
|
81
77
|
____exports.logAllFlags(flags, ProjectileFlags, "projectile")
|
|
82
78
|
end
|
|
83
|
-
function ____exports.logAllTearFlags(flags)
|
|
84
|
-
____exports.logAllFlags(flags, TearFlags, "tear")
|
|
85
|
-
end
|
|
86
|
-
function ____exports.logAllUseFlags(flags)
|
|
87
|
-
____exports.logAllFlags(flags, UseFlag, "use")
|
|
88
|
-
end
|
|
89
79
|
function ____exports.logAllSeedEffects()
|
|
90
80
|
local game = Game()
|
|
91
81
|
local seeds = game:GetSeeds()
|
|
92
82
|
____exports.log("Logging all seed effects:")
|
|
93
83
|
local hasNoSeedEffects = true
|
|
94
84
|
local i = 1
|
|
95
|
-
for
|
|
96
|
-
local key = ____value[1]
|
|
97
|
-
local value = ____value[2]
|
|
85
|
+
for key, value in pairs(SeedEffect) do
|
|
98
86
|
local seedEffect = value
|
|
99
87
|
if seeds:HasSeedEffect(seedEffect) then
|
|
100
88
|
____exports.log((((((" " .. tostring(i)) .. ") ") .. key) .. " (") .. tostring(value)) .. ")")
|
|
@@ -106,6 +94,12 @@ function ____exports.logAllSeedEffects()
|
|
|
106
94
|
____exports.log(" n/a (no seed effects)")
|
|
107
95
|
end
|
|
108
96
|
end
|
|
97
|
+
function ____exports.logAllTearFlags(flags)
|
|
98
|
+
____exports.logAllFlags(flags, TearFlags, "tear")
|
|
99
|
+
end
|
|
100
|
+
function ____exports.logAllUseFlags(flags)
|
|
101
|
+
____exports.logAllFlags(flags, UseFlag, "use")
|
|
102
|
+
end
|
|
109
103
|
function ____exports.logArray(array)
|
|
110
104
|
local arrayString = arrayToString(nil, array)
|
|
111
105
|
____exports.log("Array: " .. arrayString)
|
|
@@ -148,7 +142,7 @@ function ____exports.logTemporaryEffects(player)
|
|
|
148
142
|
do
|
|
149
143
|
local effect = effectsList:Get(i)
|
|
150
144
|
if effect == nil then
|
|
151
|
-
goto
|
|
145
|
+
goto __continue36
|
|
152
146
|
end
|
|
153
147
|
if effect.Item:IsCollectible() then
|
|
154
148
|
local collectibleName = getCollectibleName(nil, effect.Item.ID)
|
|
@@ -162,7 +156,7 @@ function ____exports.logTemporaryEffects(player)
|
|
|
162
156
|
____exports.log(((" " .. tostring(i + 1)) .. ") Unknown type of temporary effect: ") .. tostring(effect.Item.ID))
|
|
163
157
|
end
|
|
164
158
|
end
|
|
165
|
-
::
|
|
159
|
+
::__continue36::
|
|
166
160
|
i = i + 1
|
|
167
161
|
end
|
|
168
162
|
end
|
|
@@ -185,6 +179,8 @@ function ____exports.setLogFunctionsGlobal(self)
|
|
|
185
179
|
globals.logAllFlags = ____exports.logAllFlags
|
|
186
180
|
globals.logAllGameStateFlags = ____exports.logAllGameStateFlags
|
|
187
181
|
globals.logAllProjectileFlags = ____exports.logAllProjectileFlags
|
|
182
|
+
globals.logAllSeedEffects = ____exports.logAllSeedEffects
|
|
183
|
+
globals.logAllTearFlags = ____exports.logAllTearFlags
|
|
188
184
|
globals.logAllUseFlags = ____exports.logAllUseFlags
|
|
189
185
|
globals.logArray = ____exports.logArray
|
|
190
186
|
globals.logColor = ____exports.logColor
|
|
@@ -192,6 +188,7 @@ function ____exports.setLogFunctionsGlobal(self)
|
|
|
192
188
|
globals.logKColor = ____exports.logKColor
|
|
193
189
|
globals.logMap = ____exports.logMap
|
|
194
190
|
globals.logTable = ____exports.logTable
|
|
191
|
+
globals.logTemporaryEffects = ____exports.logTemporaryEffects
|
|
195
192
|
globals.logSet = ____exports.logSet
|
|
196
193
|
globals.logVector = ____exports.logVector
|
|
197
194
|
end
|
|
@@ -195,6 +195,11 @@ export declare function isJacobOrEsau(player: EntityPlayer): boolean;
|
|
|
195
195
|
export declare function isKeeper(player: EntityPlayer): boolean;
|
|
196
196
|
/** Helper function for detecting when a player is The Lost or Tainted Lost. */
|
|
197
197
|
export declare function isLost(player: EntityPlayer): boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Helper function for detecting when a player is one of the characters that can take free Devil
|
|
200
|
+
* Deals. (e.g. The Lost, Tainted Lost, etc.)
|
|
201
|
+
*/
|
|
202
|
+
export declare function canTakeFreeDevilDeals(player: EntityPlayer): boolean;
|
|
198
203
|
/** Helper function for detecting when a player is Tainted Lazarus or Dead Tainted Lazarus. */
|
|
199
204
|
export declare function isTaintedLazarus(player: EntityPlayer): boolean;
|
|
200
205
|
export declare function removeCollectibleCostume(player: EntityPlayer, collectibleType: CollectibleType | int): void;
|
|
@@ -4,6 +4,7 @@ local ____exports = {}
|
|
|
4
4
|
local EXCLUDED_CHARACTERS
|
|
5
5
|
local ____constants = require("constants")
|
|
6
6
|
local CHARACTERS_WITH_BLACK_HEART_FROM_ETERNAL_HEART = ____constants.CHARACTERS_WITH_BLACK_HEART_FROM_ETERNAL_HEART
|
|
7
|
+
local CHARACTERS_WITH_FREE_DEVIL_DEALS = ____constants.CHARACTERS_WITH_FREE_DEVIL_DEALS
|
|
7
8
|
local CHARACTERS_WITH_NO_RED_HEARTS = ____constants.CHARACTERS_WITH_NO_RED_HEARTS
|
|
8
9
|
local CHARACTERS_WITH_NO_SOUL_HEARTS = ____constants.CHARACTERS_WITH_NO_SOUL_HEARTS
|
|
9
10
|
local LOST_STYLE_PLAYER_TYPES = ____constants.LOST_STYLE_PLAYER_TYPES
|
|
@@ -400,6 +401,10 @@ function ____exports.isLost(self, player)
|
|
|
400
401
|
local character = player:GetPlayerType()
|
|
401
402
|
return character == PlayerType.PLAYER_THELOST or character == PlayerType.PLAYER_THELOST_B
|
|
402
403
|
end
|
|
404
|
+
function ____exports.canTakeFreeDevilDeals(self, player)
|
|
405
|
+
local character = player:GetPlayerType()
|
|
406
|
+
return CHARACTERS_WITH_FREE_DEVIL_DEALS:has(character)
|
|
407
|
+
end
|
|
403
408
|
function ____exports.isTaintedLazarus(self, player)
|
|
404
409
|
local character = player:GetPlayerType()
|
|
405
410
|
return character == PlayerType.PLAYER_LAZARUS_B or character == PlayerType.PLAYER_LAZARUS2_B
|
|
@@ -445,9 +450,9 @@ function ____exports.setActiveItem(self, player, collectibleType, activeSlot, ch
|
|
|
445
450
|
itemPool:RemoveCollectible(collectibleType)
|
|
446
451
|
end
|
|
447
452
|
repeat
|
|
448
|
-
local
|
|
449
|
-
local
|
|
450
|
-
if
|
|
453
|
+
local ____switch118 = activeSlot
|
|
454
|
+
local ____cond118 = ____switch118 == ActiveSlot.SLOT_PRIMARY
|
|
455
|
+
if ____cond118 then
|
|
451
456
|
do
|
|
452
457
|
if primaryCollectibleType ~= CollectibleType.COLLECTIBLE_NULL then
|
|
453
458
|
player:RemoveCollectible(primaryCollectibleType)
|
|
@@ -456,8 +461,8 @@ function ____exports.setActiveItem(self, player, collectibleType, activeSlot, ch
|
|
|
456
461
|
break
|
|
457
462
|
end
|
|
458
463
|
end
|
|
459
|
-
|
|
460
|
-
if
|
|
464
|
+
____cond118 = ____cond118 or ____switch118 == ActiveSlot.SLOT_SECONDARY
|
|
465
|
+
if ____cond118 then
|
|
461
466
|
do
|
|
462
467
|
if primaryCollectibleType ~= CollectibleType.COLLECTIBLE_NULL then
|
|
463
468
|
player:RemoveCollectible(primaryCollectibleType)
|
|
@@ -472,16 +477,16 @@ function ____exports.setActiveItem(self, player, collectibleType, activeSlot, ch
|
|
|
472
477
|
break
|
|
473
478
|
end
|
|
474
479
|
end
|
|
475
|
-
|
|
476
|
-
if
|
|
480
|
+
____cond118 = ____cond118 or ____switch118 == ActiveSlot.SLOT_POCKET
|
|
481
|
+
if ____cond118 then
|
|
477
482
|
do
|
|
478
483
|
player:SetPocketActiveItem(collectibleType, activeSlot, keepInPools)
|
|
479
484
|
player:SetActiveCharge(charge, activeSlot)
|
|
480
485
|
break
|
|
481
486
|
end
|
|
482
487
|
end
|
|
483
|
-
|
|
484
|
-
if
|
|
488
|
+
____cond118 = ____cond118 or ____switch118 == ActiveSlot.SLOT_POCKET2
|
|
489
|
+
if ____cond118 then
|
|
485
490
|
do
|
|
486
491
|
player:SetPocketActiveItem(collectibleType, activeSlot, keepInPools)
|
|
487
492
|
break
|
|
@@ -57,11 +57,9 @@ function ____exports.hasOpenPocketItemSlot(self, player)
|
|
|
57
57
|
return false
|
|
58
58
|
end
|
|
59
59
|
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
end
|
|
65
|
-
return false
|
|
60
|
+
return __TS__ArraySome(
|
|
61
|
+
pocketItems,
|
|
62
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.EMPTY end
|
|
63
|
+
)
|
|
66
64
|
end
|
|
67
65
|
return ____exports
|
package/dist/functions/rooms.lua
CHANGED
|
@@ -93,11 +93,11 @@ function ____exports.changeRoom(self, roomGridIndex)
|
|
|
93
93
|
game:ChangeRoom(roomGridIndex)
|
|
94
94
|
end
|
|
95
95
|
function ____exports.getAllRoomGridIndexes(self)
|
|
96
|
-
local
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
local rooms = ____exports.getRooms(nil)
|
|
97
|
+
return __TS__ArrayMap(
|
|
98
|
+
rooms,
|
|
99
|
+
function(____, roomDescriptor) return roomDescriptor.SafeGridIndex end
|
|
100
|
+
)
|
|
101
101
|
end
|
|
102
102
|
function ____exports.getCurrentDimension(self)
|
|
103
103
|
local game = Game()
|
|
@@ -119,21 +119,22 @@ function ____exports.getCurrentDimension(self)
|
|
|
119
119
|
dimension = dimension + 1
|
|
120
120
|
end
|
|
121
121
|
end
|
|
122
|
-
error("Failed to get the current dimension using the starting room index of: " .. tostring(startingRoomGridIndex))
|
|
123
|
-
return 0
|
|
122
|
+
return error("Failed to get the current dimension using the starting room index of: " .. tostring(startingRoomGridIndex))
|
|
124
123
|
end
|
|
125
124
|
function ____exports.getRoomDataType(self, roomGridIndex)
|
|
126
125
|
local roomData = ____exports.getRoomData(nil, roomGridIndex)
|
|
127
126
|
return roomData == nil and -1 or roomData.Type
|
|
128
127
|
end
|
|
129
128
|
function ____exports.getRoomGridIndexesForType(self, roomType)
|
|
130
|
-
local
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
129
|
+
local rooms = ____exports.getRooms(nil)
|
|
130
|
+
local matchingRooms = __TS__ArrayFilter(
|
|
131
|
+
rooms,
|
|
132
|
+
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomDescriptor.Data.Type == roomType end
|
|
133
|
+
)
|
|
134
|
+
return __TS__ArrayMap(
|
|
135
|
+
matchingRooms,
|
|
136
|
+
function(____, roomDescriptor) return roomDescriptor.SafeGridIndex end
|
|
137
|
+
)
|
|
137
138
|
end
|
|
138
139
|
function ____exports.getRoomItemPoolType(self)
|
|
139
140
|
local game = Game()
|
|
@@ -246,23 +247,15 @@ function ____exports.isAllRoomsClear(self, onlyCheckRoomTypes)
|
|
|
246
247
|
____temp_0 = __TS__New(Set, onlyCheckRoomTypes)
|
|
247
248
|
end
|
|
248
249
|
local roomTypeWhitelist = ____temp_0
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
end
|
|
259
|
-
if not roomDescriptor.Clear then
|
|
260
|
-
return false
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
::__continue49::
|
|
264
|
-
end
|
|
265
|
-
return true
|
|
250
|
+
local rooms = ____exports.getRooms(nil)
|
|
251
|
+
local matchingRooms = roomTypeWhitelist == nil and rooms or __TS__ArrayFilter(
|
|
252
|
+
rooms,
|
|
253
|
+
function(____, roomDescriptor) return roomDescriptor.Data ~= nil and roomTypeWhitelist:has(roomDescriptor.Data.Type) end
|
|
254
|
+
)
|
|
255
|
+
return __TS__ArrayEvery(
|
|
256
|
+
matchingRooms,
|
|
257
|
+
function(____, roomDescriptor) return roomDescriptor.Clear end
|
|
258
|
+
)
|
|
266
259
|
end
|
|
267
260
|
function ____exports.isRedKeyRoom(self, roomGridIndex)
|
|
268
261
|
local roomDescriptor = ____exports.getRoomDescriptor(nil, roomGridIndex)
|
|
@@ -296,12 +289,12 @@ function ____exports.setRoomCleared(self)
|
|
|
296
289
|
for ____, door in ipairs(getDoors(nil)) do
|
|
297
290
|
do
|
|
298
291
|
if isHiddenSecretRoomDoor(nil, door) then
|
|
299
|
-
goto
|
|
292
|
+
goto __continue55
|
|
300
293
|
end
|
|
301
294
|
openDoorFast(nil, door)
|
|
302
295
|
door.ExtraVisible = false
|
|
303
296
|
end
|
|
304
|
-
::
|
|
297
|
+
::__continue55::
|
|
305
298
|
end
|
|
306
299
|
sfx:Stop(SoundEffect.SOUND_DOOR_HEAVY_OPEN)
|
|
307
300
|
game:ShakeScreen(0)
|
|
@@ -6,6 +6,8 @@ local TRANSFORMATIONS_NOT_BASED_ON_ITEMS = ____transformationMaps.TRANSFORMATION
|
|
|
6
6
|
local TRANSFORMATION_TO_ITEMS_MAP = ____transformationMaps.TRANSFORMATION_TO_ITEMS_MAP
|
|
7
7
|
local ____transformationNameMap = require("maps.transformationNameMap")
|
|
8
8
|
local TRANSFORMATION_NAME_MAP = ____transformationNameMap.TRANSFORMATION_NAME_MAP
|
|
9
|
+
local ____array = require("functions.array")
|
|
10
|
+
local arrayCopy = ____array.arrayCopy
|
|
9
11
|
function ____exports.getPlayerNumTransformationCollectibles(self, player, playerForm)
|
|
10
12
|
if TRANSFORMATIONS_NOT_BASED_ON_ITEMS:has(playerForm) then
|
|
11
13
|
error(("The transformation of " .. tostring(playerForm)) .. " cannot be tracked by this function.")
|
|
@@ -22,7 +24,7 @@ function ____exports.getPlayerNumTransformationCollectibles(self, player, player
|
|
|
22
24
|
end
|
|
23
25
|
function ____exports.getTransformationsForItem(self, collectibleType)
|
|
24
26
|
local transformations = ITEM_TO_TRANSFORMATION_MAP:get(collectibleType)
|
|
25
|
-
return transformations == nil and ({}) or (
|
|
27
|
+
return transformations == nil and ({}) or arrayCopy(nil, transformations)
|
|
26
28
|
end
|
|
27
29
|
function ____exports.getTransformationName(self, transformation)
|
|
28
30
|
local defaultName = "Unknown"
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
require("lualib_bundle");
|
|
3
2
|
local ____exports = {}
|
|
4
3
|
local ____constants = require("constants")
|
|
5
4
|
local GOLDEN_TRINKET_SHIFT = ____constants.GOLDEN_TRINKET_SHIFT
|
|
@@ -7,6 +6,8 @@ local ____trinketDescriptionMap = require("maps.trinketDescriptionMap")
|
|
|
7
6
|
local TRINKET_DESCRIPTION_MAP = ____trinketDescriptionMap.TRINKET_DESCRIPTION_MAP
|
|
8
7
|
local ____trinketNameMap = require("maps.trinketNameMap")
|
|
9
8
|
local TRINKET_NAME_MAP = ____trinketNameMap.TRINKET_NAME_MAP
|
|
9
|
+
local ____entity = require("functions.entity")
|
|
10
|
+
local getPickups = ____entity.getPickups
|
|
10
11
|
local ____trinketGive = require("functions.trinketGive")
|
|
11
12
|
local giveTrinketsBack = ____trinketGive.giveTrinketsBack
|
|
12
13
|
local temporarilyRemoveTrinkets = ____trinketGive.temporarilyRemoveTrinkets
|
|
@@ -27,22 +28,13 @@ function ____exports.getOpenTrinketSlot(self, player)
|
|
|
27
28
|
end
|
|
28
29
|
return trinket1 == TrinketType.TRINKET_NULL and 1 or nil
|
|
29
30
|
end
|
|
30
|
-
error("The player has an unknown number of trinket slots: " .. tostring(maxTrinkets))
|
|
31
|
-
return nil
|
|
31
|
+
return error("The player has an unknown number of trinket slots: " .. tostring(maxTrinkets))
|
|
32
32
|
end
|
|
33
33
|
function ____exports.getTrinkets(self, matchingSubType)
|
|
34
34
|
if matchingSubType == nil then
|
|
35
35
|
matchingSubType = -1
|
|
36
36
|
end
|
|
37
|
-
|
|
38
|
-
local collectibles = {}
|
|
39
|
-
for ____, entity in ipairs(entities) do
|
|
40
|
-
local pickup = entity:ToPickup()
|
|
41
|
-
if pickup ~= nil then
|
|
42
|
-
__TS__ArrayPush(collectibles, pickup)
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
return collectibles
|
|
37
|
+
return getPickups(nil, PickupVariant.PICKUP_TRINKET, matchingSubType)
|
|
46
38
|
end
|
|
47
39
|
function ____exports.getTrinketDescription(self, trinketType)
|
|
48
40
|
local itemConfig = Isaac.GetItemConfig()
|
|
@@ -43,7 +43,7 @@ import { PostTrinketBreakCallbackType } from "../callbacks/subscriptions/postTri
|
|
|
43
43
|
import { PreBerserkDeathCallbackType } from "../callbacks/subscriptions/preBerserkDeath";
|
|
44
44
|
import { PreCustomReviveCallbackType } from "../callbacks/subscriptions/preCustomRevive";
|
|
45
45
|
import { PreItemPickupCallbackType } from "../callbacks/subscriptions/preItemPickup";
|
|
46
|
-
import { PreNewLevelCallbackType } from "../callbacks/subscriptions/
|
|
46
|
+
import { PreNewLevelCallbackType } from "../callbacks/subscriptions/preNewLevel";
|
|
47
47
|
import { ModCallbacksCustom } from "./ModCallbacksCustom";
|
|
48
48
|
export interface CallbackParametersCustom {
|
|
49
49
|
[ModCallbacksCustom.MC_POST_GAME_STARTED_REORDERED]: [
|
|
@@ -90,8 +90,8 @@ local ____preCustomRevive = require("callbacks.subscriptions.preCustomRevive")
|
|
|
90
90
|
local preCustomReviveRegister = ____preCustomRevive.preCustomReviveRegister
|
|
91
91
|
local ____preItemPickup = require("callbacks.subscriptions.preItemPickup")
|
|
92
92
|
local preItemPickupRegister = ____preItemPickup.preItemPickupRegister
|
|
93
|
-
local
|
|
94
|
-
local preNewLevelRegister =
|
|
93
|
+
local ____preNewLevel = require("callbacks.subscriptions.preNewLevel")
|
|
94
|
+
local preNewLevelRegister = ____preNewLevel.preNewLevelRegister
|
|
95
95
|
local ____log = require("functions.log")
|
|
96
96
|
local getDebugPrependString = ____log.getDebugPrependString
|
|
97
97
|
local ____util = require("functions.util")
|
|
@@ -384,9 +384,7 @@ function getCallbackRegisterFunction(self, callbackID)
|
|
|
384
384
|
do
|
|
385
385
|
do
|
|
386
386
|
ensureAllCases(nil, callbackID)
|
|
387
|
-
error(("The custom callback ID of \"" .. tostring(callbackID)) .. "\" is not valid.")
|
|
388
|
-
return function()
|
|
389
|
-
end
|
|
387
|
+
return error(("The custom callback ID of \"" .. tostring(callbackID)) .. "\" is not valid.")
|
|
390
388
|
end
|
|
391
389
|
end
|
|
392
390
|
until true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.601",
|
|
4
4
|
"description": "Helper functions for IsaacScript mods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dist/**/*.d.ts"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"isaac-typescript-definitions": "^1.0.
|
|
28
|
+
"isaac-typescript-definitions": "^1.0.332",
|
|
29
29
|
"isaacscript-lint": "^1.0.79",
|
|
30
30
|
"isaacscript-tsconfig": "^1.1.8",
|
|
31
31
|
"typedoc": "^0.22.11",
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
require("lualib_bundle");
|
|
3
|
-
local ____exports = {}
|
|
4
|
-
local hasSubscriptions, postUpdate, postNewRoom, checkNewEntity, v
|
|
5
|
-
local ____exports = require("features.saveDataManager.exports")
|
|
6
|
-
local saveDataManager = ____exports.saveDataManager
|
|
7
|
-
local postSlotInit = require("callbacks.subscriptions.postSlotInit")
|
|
8
|
-
local postSlotUpdate = require("callbacks.subscriptions.postSlotUpdate")
|
|
9
|
-
function hasSubscriptions(self)
|
|
10
|
-
return postSlotInit:hasSubscriptions() or postSlotUpdate:hasSubscriptions()
|
|
11
|
-
end
|
|
12
|
-
function postUpdate(self)
|
|
13
|
-
if not hasSubscriptions(nil) then
|
|
14
|
-
return
|
|
15
|
-
end
|
|
16
|
-
local slots = Isaac.FindByType(EntityType.ENTITY_SLOT)
|
|
17
|
-
for ____, slot in ipairs(slots) do
|
|
18
|
-
checkNewEntity(nil, slot)
|
|
19
|
-
postSlotUpdate:fire(slot)
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
function postNewRoom(self)
|
|
23
|
-
if not hasSubscriptions(nil) then
|
|
24
|
-
return
|
|
25
|
-
end
|
|
26
|
-
local slots = Isaac.FindByType(EntityType.ENTITY_SLOT)
|
|
27
|
-
for ____, slot in ipairs(slots) do
|
|
28
|
-
checkNewEntity(nil, slot)
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
function checkNewEntity(self, slot)
|
|
32
|
-
local ptrHash = GetPtrHash(slot)
|
|
33
|
-
if not v.room.initializedSlots:has(ptrHash) then
|
|
34
|
-
v.room.initializedSlots:add(ptrHash)
|
|
35
|
-
postSlotInit:fire(slot)
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
v = {
|
|
39
|
-
room = {
|
|
40
|
-
initializedSlots = __TS__New(Set)
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
function ____exports.postSlotCallbacksInit(self, mod)
|
|
44
|
-
saveDataManager(nil, "postSlot", v, hasSubscriptions)
|
|
45
|
-
mod:AddCallback(ModCallbacks.MC_POST_UPDATE, postUpdate)
|
|
46
|
-
mod:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, postNewRoom)
|
|
47
|
-
end
|
|
48
|
-
return ____exports
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
local ____exports = {}
|
|
3
|
-
local hasSubscriptions, postRender
|
|
4
|
-
local postSlotRender = require("callbacks.subscriptions.postSlotRender")
|
|
5
|
-
function hasSubscriptions(self)
|
|
6
|
-
return postSlotRender:hasSubscriptions()
|
|
7
|
-
end
|
|
8
|
-
function postRender(self)
|
|
9
|
-
if not hasSubscriptions(nil) then
|
|
10
|
-
return
|
|
11
|
-
end
|
|
12
|
-
local slots = Isaac.FindByType(EntityType.ENTITY_SLOT)
|
|
13
|
-
for ____, slot in ipairs(slots) do
|
|
14
|
-
postSlotRender:fire(slot)
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
function ____exports.postSlotRenderCallbackInit(self, mod)
|
|
18
|
-
mod:AddCallback(ModCallbacks.MC_POST_RENDER, postRender)
|
|
19
|
-
end
|
|
20
|
-
return ____exports
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
export declare type PostPlayerUpdateReorderedCallbackType = (player: EntityPlayer) => void;
|
|
3
|
-
export declare function hasSubscriptions(): boolean;
|
|
4
|
-
export declare function register(callback: PostPlayerUpdateReorderedCallbackType, playerVariant?: PlayerVariant): void;
|
|
5
|
-
export declare function fire(player: EntityPlayer): void;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
require("lualib_bundle");
|
|
3
|
-
local ____exports = {}
|
|
4
|
-
local subscriptions = {}
|
|
5
|
-
function ____exports.hasSubscriptions(self)
|
|
6
|
-
return #subscriptions > 0
|
|
7
|
-
end
|
|
8
|
-
function ____exports.register(self, callback, playerVariant)
|
|
9
|
-
__TS__ArrayPush(subscriptions, {callback, playerVariant})
|
|
10
|
-
end
|
|
11
|
-
function ____exports.fire(self, player)
|
|
12
|
-
for ____, ____value in ipairs(subscriptions) do
|
|
13
|
-
local callback
|
|
14
|
-
callback = ____value[1]
|
|
15
|
-
local playerVariant
|
|
16
|
-
playerVariant = ____value[2]
|
|
17
|
-
do
|
|
18
|
-
if (playerVariant ~= nil) and (playerVariant ~= player.Variant) then
|
|
19
|
-
goto __continue5
|
|
20
|
-
end
|
|
21
|
-
callback(nil, player)
|
|
22
|
-
end
|
|
23
|
-
::__continue5::
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
return ____exports
|
package/dist/cardNameMap.d.ts
DELETED
package/dist/cardNameMap.lua
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
require("lualib_bundle");
|
|
3
|
-
local ____exports = {}
|
|
4
|
-
____exports.CARD_NAME_MAP = __TS__New(Map, {{Card.CARD_FOOL, "0 - The Fool"}, {Card.CARD_MAGICIAN, "I - The Magician"}, {Card.CARD_HIGH_PRIESTESS, "II - The High Priestess"}, {Card.CARD_EMPRESS, "III - The Empress"}, {Card.CARD_EMPEROR, "IV - The Emperor"}, {Card.CARD_HIEROPHANT, "V - The Hierophant"}, {Card.CARD_LOVERS, "VI - The Lovers"}, {Card.CARD_CHARIOT, "VII - The Chariot"}, {Card.CARD_JUSTICE, "VIII - Justice"}, {Card.CARD_HERMIT, "IX - The Hermit"}, {Card.CARD_WHEEL_OF_FORTUNE, "X - Wheel of Fortune"}, {Card.CARD_STRENGTH, "XI - Strength"}, {Card.CARD_HANGED_MAN, "XII - The Hanged Man"}, {Card.CARD_DEATH, "XIII - Death"}, {Card.CARD_TEMPERANCE, "XIV - Temperance"}, {Card.CARD_DEVIL, "XV - The Devil"}, {Card.CARD_TOWER, "XVI - The Tower"}, {Card.CARD_STARS, "XVII - The Stars"}, {Card.CARD_MOON, "XVIII - The Moon"}, {Card.CARD_SUN, "XIX - The Sun"}, {Card.CARD_JUDGEMENT, "XX - Judgement"}, {Card.CARD_WORLD, "XXI - The World"}, {Card.CARD_CLUBS_2, "2 of Clubs"}, {Card.CARD_DIAMONDS_2, "2 of Diamonds"}, {Card.CARD_SPADES_2, "2 of Spades"}, {Card.CARD_HEARTS_2, "2 of Hearts"}, {Card.CARD_ACE_OF_CLUBS, "Ace of Clubs"}, {Card.CARD_ACE_OF_DIAMONDS, "Ace of Diamonds"}, {Card.CARD_ACE_OF_SPADES, "Ace of Spades"}, {Card.CARD_ACE_OF_HEARTS, "Ace of Hearts"}, {Card.CARD_JOKER, "Joker"}, {Card.RUNE_HAGALAZ, "Hagalaz"}, {Card.RUNE_JERA, "Jera"}, {Card.RUNE_EHWAZ, "Ehwaz"}, {Card.RUNE_DAGAZ, "Dagaz"}, {Card.RUNE_ANSUZ, "Ansuz"}, {Card.RUNE_PERTHRO, "Perthro"}, {Card.RUNE_BERKANO, "Berkano"}, {Card.RUNE_ALGIZ, "Algiz"}, {Card.RUNE_BLANK, "Blank Rune"}, {Card.RUNE_BLACK, "Black Rune"}, {Card.CARD_CHAOS, "Chaos Card"}, {Card.CARD_CREDIT, "Credit Card"}, {Card.CARD_RULES, "Rules Card"}, {Card.CARD_HUMANITY, "A Card Against Humanity"}, {Card.CARD_SUICIDE_KING, "Suicide King"}, {Card.CARD_GET_OUT_OF_JAIL, "Get Out Of Jail Free Card"}, {Card.CARD_QUESTIONMARK, "? Card"}, {Card.CARD_DICE_SHARD, "Dice Shard"}, {Card.CARD_EMERGENCY_CONTACT, "Emergency Contact"}, {Card.CARD_HOLY, "Holy Card"}, {Card.CARD_HUGE_GROWTH, "Huge Growth"}, {Card.CARD_ANCIENT_RECALL, "Ancient Recall"}, {Card.CARD_ERA_WALK, "Era Walk"}, {Card.RUNE_SHARD, "Rune Shard"}, {Card.CARD_REVERSE_FOOL, "0 - The Fool?"}, {Card.CARD_REVERSE_MAGICIAN, "I - The Magician?"}, {Card.CARD_REVERSE_HIGH_PRIESTESS, "II - The High Priestess?"}, {Card.CARD_REVERSE_EMPRESS, "III - The Empress?"}, {Card.CARD_REVERSE_EMPEROR, "IV - The Emperor?"}, {Card.CARD_REVERSE_HIEROPHANT, "V - The Hierophant?"}, {Card.CARD_REVERSE_LOVERS, "VI - The Lovers?"}, {Card.CARD_REVERSE_CHARIOT, "VII - The Chariot?"}, {Card.CARD_REVERSE_JUSTICE, "VIII - Justice?"}, {Card.CARD_REVERSE_HERMIT, "IX - The Hermit?"}, {Card.CARD_REVERSE_WHEEL_OF_FORTUNE, "X - Wheel of Fortune?"}, {Card.CARD_REVERSE_STRENGTH, "XI - Strength?"}, {Card.CARD_REVERSE_HANGED_MAN, "XII - The Hanged Man?"}, {Card.CARD_REVERSE_DEATH, "XIII - Death?"}, {Card.CARD_REVERSE_TEMPERANCE, "XIV - Temperance?"}, {Card.CARD_REVERSE_DEVIL, "XV - The Devil?"}, {Card.CARD_REVERSE_TOWER, "XVI - The Tower?"}, {Card.CARD_REVERSE_STARS, "XVII - The Stars?"}, {Card.CARD_REVERSE_MOON, "XVIII - The Moon?"}, {Card.CARD_REVERSE_SUN, "XIX - The Sun?"}, {Card.CARD_REVERSE_JUDGEMENT, "XX - Judgement?"}, {Card.CARD_REVERSE_WORLD, "XXI - The World?"}, {Card.CARD_CRACKED_KEY, "Cracked Key"}, {Card.CARD_QUEEN_OF_HEARTS, "Queen of Hearts"}, {Card.CARD_WILD, "Wild Card"}, {Card.CARD_SOUL_ISAAC, "Soul of Isaac"}, {Card.CARD_SOUL_MAGDALENE, "Soul of Magdalene"}, {Card.CARD_SOUL_CAIN, "Soul of Cain"}, {Card.CARD_SOUL_JUDAS, "Soul of Judas"}, {Card.CARD_SOUL_BLUEBABY, "Soul of ???"}, {Card.CARD_SOUL_EVE, "Soul of Eve"}, {Card.CARD_SOUL_SAMSON, "Soul of Samson"}, {Card.CARD_SOUL_AZAZEL, "Soul of Azazel"}, {Card.CARD_SOUL_LAZARUS, "Soul of Lazarus"}, {Card.CARD_SOUL_EDEN, "Soul of Eden"}, {Card.CARD_SOUL_LOST, "Soul of the Lost"}, {Card.CARD_SOUL_LILITH, "Soul of Lilith"}, {Card.CARD_SOUL_KEEPER, "Soul of the Keeper"}, {Card.CARD_SOUL_APOLLYON, "Soul of Apollyon"}, {Card.CARD_SOUL_FORGOTTEN, "Soul of the Forgotten"}, {Card.CARD_SOUL_BETHANY, "Soul of Bethany"}, {Card.CARD_SOUL_JACOB, "Soul of Jacob and Esau"}})
|
|
5
|
-
return ____exports
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
require("lualib_bundle");
|
|
3
|
-
local ____exports = {}
|
|
4
|
-
____exports.COLLECTIBLE_NAME_MAP = __TS__New(Map, {{1, "The Sad Onion"}, {2, "The Inner Eye"}, {3, "Spoon Bender"}, {4, "Cricket's Head"}, {5, "My Reflection"}, {6, "Number One"}, {7, "Blood of the Martyr"}, {8, "Brother Bobby"}, {9, "Skatole"}, {10, "Halo of Flies"}, {11, "1up!"}, {12, "Magic Mushroom"}, {13, "The Virus"}, {14, "Roid Rage"}, {15, "<3"}, {16, "Raw Liver"}, {17, "Skeleton Key"}, {18, "A Dollar"}, {19, "Boom!"}, {20, "Transcendence"}, {21, "The Compass"}, {22, "Lunch"}, {23, "Dinner"}, {24, "Dessert"}, {25, "Breakfast"}, {26, "Rotten Meat"}, {27, "Wooden Spoon"}, {28, "The Belt"}, {29, "Mom's Underwear"}, {30, "Mom's Heels"}, {31, "Mom's Lipstick"}, {32, "Wire Coat Hanger"}, {33, "The Bible"}, {34, "The Book of Belial"}, {35, "The Necronomicon"}, {36, "The Poop"}, {37, "Mr. Boom"}, {38, "Tammy's Head"}, {39, "Mom's Bra"}, {40, "Kamikaze!"}, {41, "Mom's Pad"}, {42, "Bob's Rotten Head"}, {44, "Teleport!"}, {45, "Yum Heart"}, {46, "Lucky Foot"}, {47, "Doctor's Remote"}, {48, "Cupid's Arrow"}, {49, "Shoop da Whoop!"}, {50, "Steven"}, {51, "Pentagram"}, {52, "Dr. Fetus"}, {53, "Magneto"}, {54, "Treasure Map"}, {55, "Mom's Eye"}, {56, "Lemon Mishap"}, {57, "Distant Admiration"}, {58, "Book of Shadows"}, {60, "The Ladder"}, {62, "Charm of the Vampire"}, {63, "The Battery"}, {64, "Steam Sale"}, {65, "Anarchist Cookbook"}, {66, "The Hourglass"}, {67, "Sister Maggy"}, {68, "Technology"}, {69, "Chocolate Milk"}, {70, "Growth Hormones"}, {71, "Mini Mush"}, {72, "Rosary"}, {73, "Cube of Meat"}, {74, "A Quarter"}, {75, "PHD"}, {76, "X-Ray Vision"}, {77, "My Little Unicorn"}, {78, "Book of Revelations"}, {79, "The Mark"}, {80, "The Pact"}, {81, "Dead Cat"}, {82, "Lord of the Pit"}, {83, "The Nail"}, {84, "We Need To Go Deeper!"}, {85, "Deck of Cards"}, {86, "Monstro's Tooth"}, {87, "Loki's Horns"}, {88, "Little Chubby"}, {89, "Spider Bite"}, {90, "The Small Rock"}, {91, "Spelunker Hat"}, {92, "Super Bandage"}, {93, "The Gamekid"}, {94, "Sack of Pennies"}, {95, "Robo-Baby"}, {96, "Little C.H.A.D."}, {97, "The Book of Sin"}, {98, "The Relic"}, {99, "Little Gish"}, {100, "Little Steven"}, {101, "The Halo"}, {102, "Mom's Bottle of Pills"}, {103, "The Common Cold"}, {104, "The Parasite"}, {105, "The D6"}, {106, "Mr. Mega"}, {107, "The Pinking Shears"}, {108, "The Wafer"}, {109, "Money = Power"}, {110, "Mom's Contacts"}, {111, "The Bean"}, {112, "Guardian Angel"}, {113, "Demon Baby"}, {114, "Mom's Knife"}, {115, "Ouija Board"}, {116, "9 Volt"}, {117, "Dead Bird"}, {118, "Brimstone"}, {119, "Blood Bag"}, {120, "Odd Mushroom"}, {121, "Odd Mushroom"}, {122, "Whore of Babylon"}, {123, "Monster Manual"}, {124, "Dead Sea Scrolls"}, {125, "Bobby-Bomb"}, {126, "Razor Blade"}, {127, "Forget Me Now"}, {128, "Forever Alone"}, {129, "Bucket of Lard"}, {130, "A Pony"}, {131, "Bomb Bag"}, {132, "A Lump of Coal"}, {133, "Guppy's Paw"}, {134, "Guppy's Tail"}, {135, "IV Bag"}, {136, "Best Friend"}, {137, "Remote Detonator"}, {138, "Stigmata"}, {139, "Mom's Purse"}, {140, "Bob's Curse"}, {141, "Pageant Boy"}, {142, "Scapular"}, {143, "Speed Ball"}, {144, "Bum Friend"}, {145, "Guppy's Head"}, {146, "Prayer Card"}, {147, "Notched Axe"}, {148, "Infestation"}, {149, "Ipecac"}, {150, "Tough Love"}, {151, "The Mulligan"}, {152, "Technology 2"}, {153, "Mutant Spider"}, {154, "Chemical Peel"}, {155, "The Peeper"}, {156, "Habit"}, {157, "Bloody Lust"}, {158, "Crystal Ball"}, {159, "Spirit of the Night"}, {160, "Crack the Sky"}, {161, "Ankh"}, {162, "Celtic Cross"}, {163, "Ghost Baby"}, {164, "The Candle"}, {165, "Cat-o-nine-tails"}, {166, "D20"}, {167, "Harlequin Baby"}, {168, "Epic Fetus"}, {169, "Polyphemus"}, {170, "Daddy Longlegs"}, {171, "Spider Butt"}, {172, "Sacrificial Dagger"}, {173, "Mitre"}, {174, "Rainbow Baby"}, {175, "Dad's Key"}, {176, "Stem Cells"}, {177, "Portable Slot"}, {178, "Holy Water"}, {179, "Fate"}, {180, "The Black Bean"}, {181, "White Pony"}, {182, "Sacred Heart"}, {183, "Tooth Picks"}, {184, "Holy Grail"}, {185, "Dead Dove"}, {186, "Blood Rights"}, {187, "Guppy's Hairball"}, {188, "Abel"}, {189, "SMB Super Fan"}, {190, "Pyro"}, {191, "3 Dollar Bill"}, {192, "Telepathy For Dummies"}, {193, "MEAT!"}, {194, "Magic 8 Ball"}, {195, "Mom's Coin Purse"}, {196, "Squeezy"}, {197, "Jesus Juice"}, {198, "Box"}, {199, "Mom's Key"}, {200, "Mom's Eyeshadow"}, {201, "Iron Bar"}, {202, "Midas' Touch"}, {203, "Humbleing Bundle"}, {204, "Fanny Pack"}, {205, "Sharp Plug"}, {206, "Guillotine"}, {207, "Ball of Bandages"}, {208, "Champion Belt"}, {209, "Butt Bombs"}, {210, "Gnawed Leaf"}, {211, "Spiderbaby"}, {212, "Guppy's Collar"}, {213, "Lost Contact"}, {214, "Anemic"}, {215, "Goat Head"}, {216, "Ceremonial Robes"}, {217, "Mom's Wig"}, {218, "Placenta"}, {219, "Old Bandage"}, {220, "Sad Bombs"}, {221, "Rubber Cement"}, {222, "Anti-Gravity"}, {223, "Pyromaniac"}, {224, "Cricket's Body"}, {225, "Gimpy"}, {226, "Black Lotus"}, {227, "Piggy Bank"}, {228, "Mom's Perfume"}, {229, "Monstro's Lung"}, {230, "Abaddon"}, {231, "Ball of Tar"}, {232, "Stop Watch"}, {233, "Tiny Planet"}, {234, "Infestation 2"}, {236, "E. Coli"}, {237, "Death's Touch"}, {238, "Key Piece 1"}, {239, "Key Piece 2"}, {240, "Experimental Treatment"}, {241, "Contract from Below"}, {242, "Infamy"}, {243, "Trinity Shield"}, {244, "Tech.5"}, {245, "20/20"}, {246, "Blue Map"}, {247, "BFFS!"}, {248, "Hive Mind"}, {249, "There's Options"}, {250, "BOGO Bombs"}, {251, "Starter Deck"}, {252, "Little Baggy"}, {253, "Magic Scab"}, {254, "Blood Clot"}, {255, "Screw"}, {256, "Hot Bombs"}, {257, "Fire Mind"}, {258, "Missing No."}, {259, "Dark Matter"}, {260, "Black Candle"}, {261, "Proptosis"}, {262, "Missing Page 2"}, {263, "Clear Rune"}, {264, "Smart Fly"}, {265, "Dry Baby"}, {266, "Juicy Sack"}, {267, "Robo-Baby 2.0"}, {268, "Rotten Baby"}, {269, "Headless Baby"}, {270, "Leech"}, {271, "Mystery Sack"}, {272, "BBF"}, {273, "Bob's Brain"}, {274, "Best Bud"}, {275, "Lil Brimstone"}, {276, "Isaac's Heart"}, {277, "Lil Haunt"}, {278, "Dark Bum"}, {279, "Big Fan"}, {280, "Sissy Longlegs"}, {281, "Punching Bag"}, {282, "How to Jump"}, {283, "D100"}, {284, "D4"}, {285, "D10"}, {286, "Blank Card"}, {287, "Book of Secrets"}, {288, "Box of Spiders"}, {289, "Red Candle"}, {290, "The Jar"}, {291, "Flush!"}, {292, "Satanic Bible"}, {293, "Head of Krampus"}, {294, "Butter Bean"}, {295, "Magic Fingers"}, {296, "Converter"}, {297, "Pandora's Box"}, {298, "Unicorn Stump"}, {299, "Taurus"}, {300, "Aries"}, {301, "Cancer"}, {302, "Leo"}, {303, "Virgo"}, {304, "Libra"}, {305, "Scorpio"}, {306, "Sagittarius"}, {307, "Capricorn"}, {308, "Aquarius"}, {309, "Pisces"}, {310, "Eve's Mascara"}, {311, "Judas' Shadow"}, {312, "Maggy's Bow"}, {313, "Holy Mantle"}, {314, "Thunder Thighs"}, {315, "Strange Attractor"}, {316, "Cursed Eye"}, {317, "Mysterious Liquid"}, {318, "Gemini"}, {319, "Cain's Other Eye"}, {320, "???'s Only Friend"}, {321, "Samson's Chains"}, {322, "Mongo Baby"}, {323, "Isaac's Tears"}, {324, "Undefined"}, {325, "Scissors"}, {326, "Breath of Life"}, {327, "The Polaroid"}, {328, "The Negative"}, {329, "The Ludovico Technique"}, {330, "Soy Milk"}, {331, "Godhead"}, {332, "Lazarus' Rags"}, {333, "The Mind"}, {334, "The Body"}, {335, "The Soul"}, {336, "Dead Onion"}, {337, "Broken Watch"}, {338, "The Boomerang"}, {339, "Safety Pin"}, {340, "Caffeine Pill"}, {341, "Torn Photo"}, {342, "Blue Cap"}, {343, "Latch Key"}, {344, "Match Book"}, {345, "Synthoil"}, {346, "A Snack"}, {347, "Diplopia"}, {348, "Placebo"}, {349, "Wooden Nickel"}, {350, "Toxic Shock"}, {351, "Mega Bean"}, {352, "Glass Cannon"}, {353, "Bomber Boy"}, {354, "Crack Jacks"}, {355, "Mom's Pearls"}, {356, "Car Battery"}, {357, "Box of Friends"}, {358, "The Wiz"}, {359, "8 Inch Nails"}, {360, "Incubus"}, {361, "Fate's Reward"}, {362, "Lil Chest"}, {363, "Sworn Protector"}, {364, "Friend Zone"}, {365, "Lost Fly"}, {366, "Scatter Bombs"}, {367, "Sticky Bombs"}, {368, "Epiphora"}, {369, "Continuum"}, {370, "Mr. Dolly"}, {371, "Curse of the Tower"}, {372, "Charged Baby"}, {373, "Dead Eye"}, {374, "Holy Light"}, {375, "Host Hat"}, {376, "Restock"}, {377, "Bursting Sack"}, {378, "Number Two"}, {379, "Pupula Duplex"}, {380, "Pay To Play"}, {381, "Eden's Blessing"}, {382, "Friendly Ball"}, {383, "Tear Detonator"}, {384, "Lil Gurdy"}, {385, "Bumbo"}, {386, "D12"}, {387, "Censer"}, {388, "Key Bum"}, {389, "Rune Bag"}, {390, "Seraphim"}, {391, "Betrayal"}, {392, "Zodiac"}, {393, "Serpent's Kiss"}, {394, "Marked"}, {395, "Tech X"}, {396, "Ventricle Razor"}, {397, "Tractor Beam"}, {398, "God's Flesh"}, {399, "Maw of the Void"}, {400, "Spear of Destiny"}, {401, "Explosivo"}, {402, "Chaos"}, {403, "Spider Mod"}, {404, "Farting Baby"}, {405, "GB Bug"}, {406, "D8"}, {407, "Purity"}, {408, "Athame"}, {409, "Empty Vessel"}, {410, "Evil Eye"}, {411, "Lusty Blood"}, {412, "Cambion Conception"}, {413, "Immaculate Conception"}, {414, "More Options"}, {415, "Crown of Light"}, {416, "Deep Pockets"}, {417, "Succubus"}, {418, "Fruit Cake"}, {419, "Teleport 2.0"}, {420, "Black Powder"}, {421, "Kidney Bean"}, {422, "Glowing Hour Glass"}, {423, "Circle of Protection"}, {424, "Sack Head"}, {425, "Night Light"}, {426, "Obsessed Fan"}, {427, "Mine Crafter"}, {428, "PJs"}, {429, "Head of the Keeper"}, {430, "Papa Fly"}, {431, "Multidimensional Baby"}, {432, "Glitter Bombs"}, {433, "My Shadow"}, {434, "Jar of Flies"}, {435, "Lil Loki"}, {436, "Milk!"}, {437, "D7"}, {438, "Binky"}, {439, "Mom's Box"}, {440, "Kidney Stone"}, {441, "Mega Blast"}, {442, "Dark Prince's Crown"}, {443, "Apple!"}, {444, "Lead Pencil"}, {445, "Dog Tooth"}, {446, "Dead Tooth"}, {447, "Linger Bean"}, {448, "Shard of Glass"}, {449, "Metal Plate"}, {450, "Eye of Greed"}, {451, "Tarot Cloth"}, {452, "Varicose Veins"}, {453, "Compound Fracture"}, {454, "Polydactyly"}, {455, "Dad's Lost Coin"}, {456, "Midnight Snack"}, {457, "Cone Head"}, {458, "Belly Button"}, {459, "Sinus Infection"}, {460, "Glaucoma"}, {461, "Parasitoid"}, {462, "Eye of Belial"}, {463, "Sulfuric Acid"}, {464, "Glyph of Balance"}, {465, "Analog Stick"}, {466, "Contagion"}, {467, "Finger!"}, {468, "Shade"}, {469, "Depression"}, {470, "Hushy"}, {471, "Lil Monstro"}, {472, "King Baby"}, {473, "Big Chubby"}, {474, "Broken Glass Cannon"}, {475, "Plan C"}, {476, "D1"}, {477, "Void"}, {478, "Pause"}, {479, "Smelter"}, {480, "Compost"}, {481, "Dataminer"}, {482, "Clicker"}, {483, "Mama Mega!"}, {484, "Wait What?"}, {485, "Crooked Penny"}, {486, "Dull Razor"}, {487, "Potato Peeler"}, {488, "Metronome"}, {489, "D infinity"}, {490, "Eden's Soul"}, {491, "Acid Baby"}, {492, "YO LISTEN!"}, {493, "Adrenaline"}, {494, "Jacob's Ladder"}, {495, "Ghost Pepper"}, {496, "Euthanasia"}, {497, "Camo Undies"}, {498, "Duality"}, {499, "Eucharist"}, {500, "Sack of Sacks"}, {501, "Greed's Gullet"}, {502, "Large Zit"}, {503, "Little Horn"}, {504, "Brown Nugget"}, {505, "Poke Go"}, {506, "Backstabber"}, {507, "Sharp Straw"}, {508, "Mom's Razor"}, {509, "Bloodshot Eye"}, {510, "Delirious"}, {511, "Angry Fly"}, {512, "Black Hole"}, {513, "Bozo"}, {514, "Broken Modem"}, {515, "Mystery Gift"}, {516, "Sprinkler"}, {517, "Fast Bombs"}, {518, "Buddy in a Box"}, {519, "Lil Delirium"}, {520, "Jumper Cables"}, {521, "Coupon"}, {522, "Telekinesis"}, {523, "Moving Box"}, {524, "Technology Zero"}, {525, "Leprosy"}, {526, "7 Seals"}, {527, "Mr. ME!"}, {528, "Angelic Prism"}, {529, "Pop!"}, {530, "Death's List"}, {531, "Haemolacria"}, {532, "Lachryphagy"}, {533, "Trisagion"}, {534, "Schoolbag"}, {535, "Blanket"}, {536, "Sacrificial Altar"}, {537, "Lil Spewer"}, {538, "Marbles"}, {539, "Mystery Egg"}, {540, "Flat Stone"}, {541, "Marrow"}, {542, "Slipped Rib"}, {543, "Hallowed Ground"}, {544, "Pointy Rib"}, {545, "Book of the Dead"}, {546, "Dad's Ring"}, {547, "Divorce Papers"}, {548, "Jaw Bone"}, {549, "Brittle Bones"}, {550, "Broken Shovel"}, {551, "Broken Shovel"}, {552, "Mom's Shovel"}, {553, "Mucormycosis"}, {554, "2Spooky"}, {555, "Golden Razor"}, {556, "Sulfur"}, {557, "Fortune Cookie"}, {558, "Eye Sore"}, {559, "120 Volt"}, {560, "It Hurts"}, {561, "Almond Milk"}, {562, "Rock Bottom"}, {563, "Nancy Bombs"}, {564, "A Bar of Soap"}, {565, "Blood Puppy"}, {566, "Dream Catcher"}, {567, "Paschal Candle"}, {568, "Divine Intervention"}, {569, "Blood Oath"}, {570, "Playdough Cookie"}, {571, "Orphan Socks"}, {572, "Eye of the Occult"}, {573, "Immaculate Heart"}, {574, "Monstrance"}, {575, "The Intruder"}, {576, "Dirty Mind"}, {577, "Damocles"}, {578, "Free Lemonade"}, {579, "Spirit Sword"}, {580, "Red Key"}, {581, "Psy Fly"}, {582, "Wavy Cap"}, {583, "Rocket in a Jar"}, {584, "Book of Virtues"}, {585, "Alabaster Box"}, {586, "The Stairway"}, {588, "Sol"}, {589, "Luna"}, {590, "Mercurius"}, {591, "Venus"}, {592, "Terra"}, {593, "Mars"}, {594, "Jupiter"}, {595, "Saturnus"}, {596, "Uranus"}, {597, "Neptunus"}, {598, "Pluto"}, {599, "Voodoo Head"}, {600, "Eye Drops"}, {601, "Act of Contrition"}, {602, "Member Card"}, {603, "Battery Pack"}, {604, "Mom's Bracelet"}, {605, "The Scooper"}, {606, "Ocular Rift"}, {607, "Boiled Baby"}, {608, "Freezer Baby"}, {609, "Eternal D6"}, {610, "Bird Cage"}, {611, "Larynx"}, {612, "Lost Soul"}, {614, "Blood Bombs"}, {615, "Lil Dumpy"}, {616, "Bird's Eye"}, {617, "Lodestone"}, {618, "Rotten Tomato"}, {619, "Birthright"}, {621, "Red Stew"}, {622, "Genesis"}, {623, "Sharp Key"}, {624, "Booster Pack"}, {625, "Mega Mush"}, {626, "Knife Piece 1"}, {627, "Knife Piece 2"}, {628, "Death Certificate"}, {629, "Bot Fly"}, {631, "Meat Cleaver"}, {632, "Evil Charm"}, {633, "Dogma"}, {634, "Purgatory"}, {635, "Stitches"}, {636, "R Key"}, {637, "Knockout Drops"}, {638, "Eraser"}, {639, "Yuck Heart"}, {640, "Urn of Souls"}, {641, "Akeldama"}, {642, "Magic Skin"}, {643, "Revelation"}, {644, "Consolation Prize"}, {645, "Tinytoma"}, {646, "Brimstone Bombs"}, {647, "4.5 Volt"}, {649, "Fruity Plum"}, {650, "Plum Flute"}, {651, "Star of Bethlehem"}, {652, "Cube Baby"}, {653, "Vade Retro"}, {654, "False PHD"}, {655, "Spin to Win"}, {656, "Damocles"}, {657, "Vasculitis"}, {658, "Giant Cell"}, {659, "Tropicamide"}, {660, "Card Reading"}, {661, "Quints"}, {663, "Tooth and Nail"}, {664, "Binge Eater"}, {665, "Guppy's Eye"}, {667, "Strawman"}, {668, "Dad's Note"}, {669, "Sausage"}, {670, "Options?"}, {671, "Candy Heart"}, {672, "A Pound of Flesh"}, {673, "Redemption"}, {674, "Spirit Shackles"}, {675, "Cracked Orb"}, {676, "Empty Heart"}, {677, "Astral Projection"}, {678, "C Section"}, {679, "Lil Abaddon"}, {680, "Montezuma's Revenge"}, {681, "Lil Portal"}, {682, "Worm Friend"}, {683, "Bone Spurs"}, {684, "Hungry Soul"}, {685, "Jar of Wisps"}, {686, "Soul Locket"}, {687, "Friend Finder"}, {688, "Inner Child"}, {689, "Glitched Crown"}, {690, "Belly Jelly"}, {691, "Sacred Orb"}, {692, "Sanguine Bond"}, {693, "The Swarm"}, {694, "Heartbreak"}, {695, "Bloody Gust"}, {696, "Salvation"}, {697, "Vanishing Twin"}, {698, "Twisted Pair"}, {699, "Azazel's Rage"}, {700, "Echo Chamber"}, {701, "Isaac's Tomb"}, {702, "Vengeful Spirit"}, {703, "Esau Jr."}, {704, "Berserk!"}, {705, "Dark Arts"}, {706, "Abyss"}, {707, "Supper"}, {708, "Stapler"}, {709, "Suplex!"}, {710, "Bag of Crafting"}, {711, "Flip"}, {712, "Lemegeton"}, {713, "Sumptorium"}, {714, "Recall"}, {715, "Hold"}, {716, "Keeper's Sack"}, {717, "Keeper's Kin"}, {719, "Keeper's Box"}, {720, "Everything Jar"}, {721, "TMTRAINER"}, {722, "Anima Sola"}, {723, "Spindown Dice"}, {724, "Hypercoagulation"}, {725, "IBS"}, {726, "Hemoptysis"}, {727, "Ghost Bombs"}, {728, "Gello"}, {729, "Decap Attack"}, {730, "Glass Eye"}, {731, "Stye"}, {732, "Mom's Ring"}})
|
|
5
|
-
return ____exports
|
package/dist/collectibleSet.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COLLECTIBLE_SET: Set<number>;
|