isaacscript-common 69.5.0 → 71.0.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.
- package/dist/index.rollup.d.ts +16 -0
- package/dist/isaacscript-common.lua +183 -40
- package/dist/src/functions/challenges.d.ts +15 -1
- package/dist/src/functions/challenges.d.ts.map +1 -1
- package/dist/src/functions/challenges.lua +18 -0
- package/dist/src/objects/challengeBosses.d.ts +2 -0
- package/dist/src/objects/challengeBosses.d.ts.map +1 -1
- package/dist/src/objects/challengeBosses.lua +4 -2
- package/dist/src/objects/challengeCharacters.d.ts +5 -1
- package/dist/src/objects/challengeCharacters.d.ts.map +1 -1
- package/dist/src/objects/challengeCharacters.lua +4 -2
- package/dist/src/objects/challengeCollectibles.d.ts +56 -0
- package/dist/src/objects/challengeCollectibles.d.ts.map +1 -0
- package/dist/src/objects/challengeCollectibles.lua +80 -0
- package/dist/src/objects/challengeNames.lua +1 -1
- package/dist/src/objects/challengeTrinkets.d.ts +56 -0
- package/dist/src/objects/challengeTrinkets.d.ts.map +1 -0
- package/dist/src/objects/challengeTrinkets.lua +57 -0
- package/package.json +2 -2
- package/src/classes/ModFeature.ts +1 -1
- package/src/functions/challenges.ts +32 -1
- package/src/objects/challengeBosses.ts +3 -1
- package/src/objects/challengeCharacters.ts +6 -2
- package/src/objects/challengeCollectibles.ts +298 -0
- package/src/objects/challengeNames.ts +1 -1
- package/src/objects/challengeTrinkets.ts +56 -0
package/dist/index.rollup.d.ts
CHANGED
|
@@ -5060,6 +5060,13 @@ export declare function getChallengeBoss(challenge: Challenge): BossID;
|
|
|
5060
5060
|
*/
|
|
5061
5061
|
export declare function getChallengeCharacter(challenge: Challenge): PlayerType;
|
|
5062
5062
|
|
|
5063
|
+
/**
|
|
5064
|
+
* Get the extra starting collectibles for a challenge. This will only work for vanilla challenges.
|
|
5065
|
+
*
|
|
5066
|
+
* For modded challenges, an empty array will be returned.
|
|
5067
|
+
*/
|
|
5068
|
+
export declare function getChallengeCollectibles(challenge: Challenge): readonly CollectibleType[];
|
|
5069
|
+
|
|
5063
5070
|
/**
|
|
5064
5071
|
* Get the proper name for a `Challenge` enum. This will only work for vanilla challenges.
|
|
5065
5072
|
*
|
|
@@ -5067,6 +5074,15 @@ export declare function getChallengeCharacter(challenge: Challenge): PlayerType;
|
|
|
5067
5074
|
*/
|
|
5068
5075
|
export declare function getChallengeName(challenge: Challenge): string;
|
|
5069
5076
|
|
|
5077
|
+
/**
|
|
5078
|
+
* Get the extra starting trinket for a challenge. This will only work for vanilla challenges.
|
|
5079
|
+
*
|
|
5080
|
+
* If a challenge does not grant a starting trinket, `undefined` will be returned.
|
|
5081
|
+
*
|
|
5082
|
+
* For modded challenges, `undefined` will be returned.
|
|
5083
|
+
*/
|
|
5084
|
+
export declare function getChallengeTrinket(challenge: Challenge): TrinketType | undefined;
|
|
5085
|
+
|
|
5070
5086
|
/** Helper function to get the numerical damage multiplier for a character. */
|
|
5071
5087
|
export declare function getCharacterDamageMultiplier(character: PlayerType, hasWhoreOfBabylon?: boolean): float;
|
|
5072
5088
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common
|
|
3
|
+
isaacscript-common 71.0.0
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -10787,8 +10787,8 @@ ____exports.SoundEffect.TEAR_IMPACTS = 150
|
|
|
10787
10787
|
____exports.SoundEffect[____exports.SoundEffect.TEAR_IMPACTS] = "TEAR_IMPACTS"
|
|
10788
10788
|
____exports.SoundEffect.TEARS_FIRE = 153
|
|
10789
10789
|
____exports.SoundEffect[____exports.SoundEffect.TEARS_FIRE] = "TEARS_FIRE"
|
|
10790
|
-
____exports.SoundEffect.
|
|
10791
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
10790
|
+
____exports.SoundEffect.UNLOCK_DOOR = 156
|
|
10791
|
+
____exports.SoundEffect[____exports.SoundEffect.UNLOCK_DOOR] = "UNLOCK_DOOR"
|
|
10792
10792
|
____exports.SoundEffect.VAMP_GULP = 157
|
|
10793
10793
|
____exports.SoundEffect[____exports.SoundEffect.VAMP_GULP] = "VAMP_GULP"
|
|
10794
10794
|
____exports.SoundEffect.WHEEZY_COUGH = 158
|
|
@@ -10821,8 +10821,8 @@ ____exports.SoundEffect.LIGHT_BOLT_CHARGE = 173
|
|
|
10821
10821
|
____exports.SoundEffect[____exports.SoundEffect.LIGHT_BOLT_CHARGE] = "LIGHT_BOLT_CHARGE"
|
|
10822
10822
|
____exports.SoundEffect.BLOOD_BANK_TOUCHED = 174
|
|
10823
10823
|
____exports.SoundEffect[____exports.SoundEffect.BLOOD_BANK_TOUCHED] = "BLOOD_BANK_TOUCHED"
|
|
10824
|
-
____exports.SoundEffect.
|
|
10825
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
10824
|
+
____exports.SoundEffect.PINKING_SHEARS = 175
|
|
10825
|
+
____exports.SoundEffect[____exports.SoundEffect.PINKING_SHEARS] = "PINKING_SHEARS"
|
|
10826
10826
|
____exports.SoundEffect.BLOOD_SHOOT = 178
|
|
10827
10827
|
____exports.SoundEffect[____exports.SoundEffect.BLOOD_SHOOT] = "BLOOD_SHOOT"
|
|
10828
10828
|
____exports.SoundEffect.BOIL_HATCH = 181
|
|
@@ -11035,8 +11035,8 @@ ____exports.SoundEffect.BERKANO = 331
|
|
|
11035
11035
|
____exports.SoundEffect[____exports.SoundEffect.BERKANO] = "BERKANO"
|
|
11036
11036
|
____exports.SoundEffect.BOMBS_ARE_KEY = 332
|
|
11037
11037
|
____exports.SoundEffect[____exports.SoundEffect.BOMBS_ARE_KEY] = "BOMBS_ARE_KEY"
|
|
11038
|
-
____exports.SoundEffect.
|
|
11039
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11038
|
+
____exports.SoundEffect.CARD_AGAINST_HUMANITY = 333
|
|
11039
|
+
____exports.SoundEffect[____exports.SoundEffect.CARD_AGAINST_HUMANITY] = "CARD_AGAINST_HUMANITY"
|
|
11040
11040
|
____exports.SoundEffect.CHAOS_CARD = 334
|
|
11041
11041
|
____exports.SoundEffect[____exports.SoundEffect.CHAOS_CARD] = "CHAOS_CARD"
|
|
11042
11042
|
____exports.SoundEffect.CREDIT_CARD = 335
|
|
@@ -11127,8 +11127,8 @@ ____exports.SoundEffect.HERMIT = 377
|
|
|
11127
11127
|
____exports.SoundEffect[____exports.SoundEffect.HERMIT] = "HERMIT"
|
|
11128
11128
|
____exports.SoundEffect.HIEROPHANT = 378
|
|
11129
11129
|
____exports.SoundEffect[____exports.SoundEffect.HIEROPHANT] = "HIEROPHANT"
|
|
11130
|
-
____exports.SoundEffect.
|
|
11131
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11130
|
+
____exports.SoundEffect.HIGH_PRIESTESS = 379
|
|
11131
|
+
____exports.SoundEffect[____exports.SoundEffect.HIGH_PRIESTESS] = "HIGH_PRIESTESS"
|
|
11132
11132
|
____exports.SoundEffect.LOVERS = 380
|
|
11133
11133
|
____exports.SoundEffect[____exports.SoundEffect.LOVERS] = "LOVERS"
|
|
11134
11134
|
____exports.SoundEffect.MAGICIAN = 381
|
|
@@ -11143,14 +11143,14 @@ ____exports.SoundEffect.TOWER = 385
|
|
|
11143
11143
|
____exports.SoundEffect[____exports.SoundEffect.TOWER] = "TOWER"
|
|
11144
11144
|
____exports.SoundEffect.WORLD = 386
|
|
11145
11145
|
____exports.SoundEffect[____exports.SoundEffect.WORLD] = "WORLD"
|
|
11146
|
-
____exports.SoundEffect.
|
|
11147
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11148
|
-
____exports.SoundEffect.
|
|
11149
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11150
|
-
____exports.SoundEffect.
|
|
11151
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11152
|
-
____exports.SoundEffect.
|
|
11153
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11146
|
+
____exports.SoundEffect.TWO_OF_CLUBS = 387
|
|
11147
|
+
____exports.SoundEffect[____exports.SoundEffect.TWO_OF_CLUBS] = "TWO_OF_CLUBS"
|
|
11148
|
+
____exports.SoundEffect.TWO_OF_DIAMONDS = 388
|
|
11149
|
+
____exports.SoundEffect[____exports.SoundEffect.TWO_OF_DIAMONDS] = "TWO_OF_DIAMONDS"
|
|
11150
|
+
____exports.SoundEffect.TWO_OF_HEARTS = 389
|
|
11151
|
+
____exports.SoundEffect[____exports.SoundEffect.TWO_OF_HEARTS] = "TWO_OF_HEARTS"
|
|
11152
|
+
____exports.SoundEffect.TWO_OF_SPADES = 390
|
|
11153
|
+
____exports.SoundEffect[____exports.SoundEffect.TWO_OF_SPADES] = "TWO_OF_SPADES"
|
|
11154
11154
|
____exports.SoundEffect.WHEEL_OF_FORTUNE = 391
|
|
11155
11155
|
____exports.SoundEffect[____exports.SoundEffect.WHEEL_OF_FORTUNE] = "WHEEL_OF_FORTUNE"
|
|
11156
11156
|
____exports.SoundEffect.RAGMAN_1 = 392
|
|
@@ -11173,12 +11173,12 @@ ____exports.SoundEffect.DICE_SHARD = 400
|
|
|
11173
11173
|
____exports.SoundEffect[____exports.SoundEffect.DICE_SHARD] = "DICE_SHARD"
|
|
11174
11174
|
____exports.SoundEffect.EMERGENCY = 401
|
|
11175
11175
|
____exports.SoundEffect[____exports.SoundEffect.EMERGENCY] = "EMERGENCY"
|
|
11176
|
-
____exports.SoundEffect.
|
|
11177
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11178
|
-
____exports.SoundEffect.
|
|
11179
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11180
|
-
____exports.SoundEffect.
|
|
11181
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11176
|
+
____exports.SoundEffect.INFESTED_EXCLAMATION = 402
|
|
11177
|
+
____exports.SoundEffect[____exports.SoundEffect.INFESTED_EXCLAMATION] = "INFESTED_EXCLAMATION"
|
|
11178
|
+
____exports.SoundEffect.INFESTED_QUESTION = 403
|
|
11179
|
+
____exports.SoundEffect[____exports.SoundEffect.INFESTED_QUESTION] = "INFESTED_QUESTION"
|
|
11180
|
+
____exports.SoundEffect.GET_OUT_OF_JAIL_CARD = 404
|
|
11181
|
+
____exports.SoundEffect[____exports.SoundEffect.GET_OUT_OF_JAIL_CARD] = "GET_OUT_OF_JAIL_CARD"
|
|
11182
11182
|
____exports.SoundEffect.LARGER = 405
|
|
11183
11183
|
____exports.SoundEffect[____exports.SoundEffect.LARGER] = "LARGER"
|
|
11184
11184
|
____exports.SoundEffect.PERCS = 406
|
|
@@ -11193,8 +11193,8 @@ ____exports.SoundEffect.RETRO = 410
|
|
|
11193
11193
|
____exports.SoundEffect[____exports.SoundEffect.RETRO] = "RETRO"
|
|
11194
11194
|
____exports.SoundEffect.SMALL = 411
|
|
11195
11195
|
____exports.SoundEffect[____exports.SoundEffect.SMALL] = "SMALL"
|
|
11196
|
-
____exports.SoundEffect.
|
|
11197
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11196
|
+
____exports.SoundEffect.QUESTION_MARKS = 412
|
|
11197
|
+
____exports.SoundEffect[____exports.SoundEffect.QUESTION_MARKS] = "QUESTION_MARKS"
|
|
11198
11198
|
____exports.SoundEffect.DANGLE_WHISTLE = 413
|
|
11199
11199
|
____exports.SoundEffect[____exports.SoundEffect.DANGLE_WHISTLE] = "DANGLE_WHISTLE"
|
|
11200
11200
|
____exports.SoundEffect.LITTLE_HORN_COUGH = 414
|
|
@@ -11253,8 +11253,8 @@ ____exports.SoundEffect.ULTRA_GREED_SPINNING = 440
|
|
|
11253
11253
|
____exports.SoundEffect[____exports.SoundEffect.ULTRA_GREED_SPINNING] = "ULTRA_GREED_SPINNING"
|
|
11254
11254
|
____exports.SoundEffect.DOG_BARK = 441
|
|
11255
11255
|
____exports.SoundEffect[____exports.SoundEffect.DOG_BARK] = "DOG_BARK"
|
|
11256
|
-
____exports.SoundEffect.
|
|
11257
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11256
|
+
____exports.SoundEffect.DOG_HOWL = 442
|
|
11257
|
+
____exports.SoundEffect[____exports.SoundEffect.DOG_HOWL] = "DOG_HOWL"
|
|
11258
11258
|
____exports.SoundEffect.X_LAX = 443
|
|
11259
11259
|
____exports.SoundEffect[____exports.SoundEffect.X_LAX] = "X_LAX"
|
|
11260
11260
|
____exports.SoundEffect.WRONG = 444
|
|
@@ -11263,14 +11263,14 @@ ____exports.SoundEffect.VURP = 445
|
|
|
11263
11263
|
____exports.SoundEffect[____exports.SoundEffect.VURP] = "VURP"
|
|
11264
11264
|
____exports.SoundEffect.SUNSHINE = 446
|
|
11265
11265
|
____exports.SoundEffect[____exports.SoundEffect.SUNSHINE] = "SUNSHINE"
|
|
11266
|
-
____exports.SoundEffect.
|
|
11267
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11266
|
+
____exports.SoundEffect.ACE_OF_SPADES = 447
|
|
11267
|
+
____exports.SoundEffect[____exports.SoundEffect.ACE_OF_SPADES] = "ACE_OF_SPADES"
|
|
11268
11268
|
____exports.SoundEffect.HORF = 448
|
|
11269
11269
|
____exports.SoundEffect[____exports.SoundEffect.HORF] = "HORF"
|
|
11270
11270
|
____exports.SoundEffect.HOLY_CARD = 449
|
|
11271
11271
|
____exports.SoundEffect[____exports.SoundEffect.HOLY_CARD] = "HOLY_CARD"
|
|
11272
|
-
____exports.SoundEffect.
|
|
11273
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11272
|
+
____exports.SoundEffect.ACE_OF_HEARTS = 450
|
|
11273
|
+
____exports.SoundEffect[____exports.SoundEffect.ACE_OF_HEARTS] = "ACE_OF_HEARTS"
|
|
11274
11274
|
____exports.SoundEffect.GULP = 451
|
|
11275
11275
|
____exports.SoundEffect[____exports.SoundEffect.GULP] = "GULP"
|
|
11276
11276
|
____exports.SoundEffect.FRIENDS = 452
|
|
@@ -11279,10 +11279,10 @@ ____exports.SoundEffect.EXCITED = 453
|
|
|
11279
11279
|
____exports.SoundEffect[____exports.SoundEffect.EXCITED] = "EXCITED"
|
|
11280
11280
|
____exports.SoundEffect.DROWSY = 454
|
|
11281
11281
|
____exports.SoundEffect[____exports.SoundEffect.DROWSY] = "DROWSY"
|
|
11282
|
-
____exports.SoundEffect.
|
|
11283
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11284
|
-
____exports.SoundEffect.
|
|
11285
|
-
____exports.SoundEffect[____exports.SoundEffect.
|
|
11282
|
+
____exports.SoundEffect.ACE_OF_DIAMONDS = 455
|
|
11283
|
+
____exports.SoundEffect[____exports.SoundEffect.ACE_OF_DIAMONDS] = "ACE_OF_DIAMONDS"
|
|
11284
|
+
____exports.SoundEffect.ACE_OF_CLUBS = 456
|
|
11285
|
+
____exports.SoundEffect[____exports.SoundEffect.ACE_OF_CLUBS] = "ACE_OF_CLUBS"
|
|
11286
11286
|
____exports.SoundEffect.BLACK_RUNE = 457
|
|
11287
11287
|
____exports.SoundEffect[____exports.SoundEffect.BLACK_RUNE] = "BLACK_RUNE"
|
|
11288
11288
|
____exports.SoundEffect.PING_PONG = 458
|
|
@@ -15339,8 +15339,8 @@ ____exports.Challenge.CURSED = 10
|
|
|
15339
15339
|
____exports.Challenge[____exports.Challenge.CURSED] = "CURSED"
|
|
15340
15340
|
____exports.Challenge.GLASS_CANNON = 11
|
|
15341
15341
|
____exports.Challenge[____exports.Challenge.GLASS_CANNON] = "GLASS_CANNON"
|
|
15342
|
-
____exports.Challenge.
|
|
15343
|
-
____exports.Challenge[____exports.Challenge.
|
|
15342
|
+
____exports.Challenge.WHEN_LIFE_GIVES_YOU_LEMONS = 12
|
|
15343
|
+
____exports.Challenge[____exports.Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = "WHEN_LIFE_GIVES_YOU_LEMONS"
|
|
15344
15344
|
____exports.Challenge.BEANS = 13
|
|
15345
15345
|
____exports.Challenge[____exports.Challenge.BEANS] = "BEANS"
|
|
15346
15346
|
____exports.Challenge.ITS_IN_THE_CARDS = 14
|
|
@@ -54684,7 +54684,7 @@ ____exports.CHALLENGE_BOSSES = {
|
|
|
54684
54684
|
[Challenge.DEMO_MAN] = BossID.MOMS_HEART,
|
|
54685
54685
|
[Challenge.CURSED] = BossID.MOM,
|
|
54686
54686
|
[Challenge.GLASS_CANNON] = BossID.SATAN,
|
|
54687
|
-
[Challenge.
|
|
54687
|
+
[Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = BossID.MOM,
|
|
54688
54688
|
[Challenge.BEANS] = BossID.MOM,
|
|
54689
54689
|
[Challenge.ITS_IN_THE_CARDS] = BossID.MOM,
|
|
54690
54690
|
[Challenge.SLOW_ROLL] = BossID.MOM,
|
|
@@ -54740,7 +54740,7 @@ ____exports.CHALLENGE_CHARACTERS = {
|
|
|
54740
54740
|
[Challenge.DEMO_MAN] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
54741
54741
|
[Challenge.CURSED] = PlayerType.MAGDALENE,
|
|
54742
54742
|
[Challenge.GLASS_CANNON] = PlayerType.JUDAS,
|
|
54743
|
-
[Challenge.
|
|
54743
|
+
[Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
54744
54744
|
[Challenge.BEANS] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
54745
54745
|
[Challenge.ITS_IN_THE_CARDS] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
54746
54746
|
[Challenge.SLOW_ROLL] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
@@ -54775,6 +54775,84 @@ ____exports.CHALLENGE_CHARACTERS = {
|
|
|
54775
54775
|
[Challenge.RED_REDEMPTION] = PlayerType.JACOB_B,
|
|
54776
54776
|
[Challenge.DELETE_THIS] = ____exports.DEFAULT_CHALLENGE_CHARACTER
|
|
54777
54777
|
}
|
|
54778
|
+
return ____exports
|
|
54779
|
+
end,
|
|
54780
|
+
["src.objects.challengeCollectibles"] = function(...)
|
|
54781
|
+
local ____exports = {}
|
|
54782
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
54783
|
+
local Challenge = ____isaac_2Dtypescript_2Ddefinitions.Challenge
|
|
54784
|
+
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
54785
|
+
____exports.CHALLENGE_COLLECTIBLES = {
|
|
54786
|
+
[Challenge.NULL] = {},
|
|
54787
|
+
[Challenge.PITCH_BLACK] = {},
|
|
54788
|
+
[Challenge.HIGH_BROW] = {CollectibleType.NUMBER_ONE, CollectibleType.BUTT_BOMBS, CollectibleType.E_COLI, CollectibleType.FLUSH},
|
|
54789
|
+
[Challenge.HEAD_TRAUMA] = {CollectibleType.SMALL_ROCK, CollectibleType.IRON_BAR, CollectibleType.TINY_PLANET, CollectibleType.SOY_MILK},
|
|
54790
|
+
[Challenge.DARKNESS_FALLS] = {CollectibleType.PENTAGRAM, CollectibleType.RAZOR_BLADE, CollectibleType.SACRIFICIAL_DAGGER, CollectibleType.DARK_MATTER},
|
|
54791
|
+
[Challenge.TANK] = {CollectibleType.BUCKET_OF_LARD, CollectibleType.INFAMY, CollectibleType.THUNDER_THIGHS},
|
|
54792
|
+
[Challenge.SOLAR_SYSTEM] = {CollectibleType.HALO_OF_FLIES, CollectibleType.TRANSCENDENCE, CollectibleType.DISTANT_ADMIRATION, CollectibleType.FOREVER_ALONE},
|
|
54793
|
+
[Challenge.SUICIDE_KING] = {CollectibleType.MY_REFLECTION, CollectibleType.MR_MEGA, CollectibleType.IPECAC},
|
|
54794
|
+
[Challenge.CAT_GOT_YOUR_TONGUE] = {CollectibleType.GUPPYS_TAIL, CollectibleType.GUPPYS_HEAD, CollectibleType.GUPPYS_HAIRBALL},
|
|
54795
|
+
[Challenge.DEMO_MAN] = {CollectibleType.DR_FETUS, CollectibleType.REMOTE_DETONATOR},
|
|
54796
|
+
[Challenge.CURSED] = {CollectibleType.RAW_LIVER, CollectibleType.COMPASS, CollectibleType.TREASURE_MAP, CollectibleType.BLUE_MAP},
|
|
54797
|
+
[Challenge.GLASS_CANNON] = {CollectibleType.LOKIS_HORNS, CollectibleType.EPIC_FETUS},
|
|
54798
|
+
[Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = {CollectibleType.LEMON_MISHAP, CollectibleType.NINE_VOLT, CollectibleType.HABIT},
|
|
54799
|
+
[Challenge.BEANS] = {
|
|
54800
|
+
CollectibleType.BEAN,
|
|
54801
|
+
CollectibleType.NINE_VOLT,
|
|
54802
|
+
CollectibleType.BLACK_BEAN,
|
|
54803
|
+
CollectibleType.PYRO,
|
|
54804
|
+
CollectibleType.BUTT_BOMBS
|
|
54805
|
+
},
|
|
54806
|
+
[Challenge.ITS_IN_THE_CARDS] = {CollectibleType.BATTERY, CollectibleType.DECK_OF_CARDS, CollectibleType.NINE_VOLT, CollectibleType.STARTER_DECK},
|
|
54807
|
+
[Challenge.SLOW_ROLL] = {CollectibleType.MY_REFLECTION, CollectibleType.CUPIDS_ARROW, CollectibleType.POLYPHEMUS},
|
|
54808
|
+
[Challenge.COMPUTER_SAVY] = {CollectibleType.SPOON_BENDER, CollectibleType.TECHNOLOGY, CollectibleType.TECHNOLOGY_2},
|
|
54809
|
+
[Challenge.WAKA_WAKA] = {CollectibleType.ANTI_GRAVITY, CollectibleType.STRANGE_ATTRACTOR},
|
|
54810
|
+
[Challenge.HOST] = {CollectibleType.MULLIGAN, CollectibleType.SPIDERBABY},
|
|
54811
|
+
[Challenge.FAMILY_MAN] = {
|
|
54812
|
+
CollectibleType.BROTHER_BOBBY,
|
|
54813
|
+
CollectibleType.SISTER_MAGGY,
|
|
54814
|
+
CollectibleType.DADS_KEY,
|
|
54815
|
+
CollectibleType.BFFS,
|
|
54816
|
+
CollectibleType.ROTTEN_BABY
|
|
54817
|
+
},
|
|
54818
|
+
[Challenge.PURIST] = {},
|
|
54819
|
+
[Challenge.XXXXXXXXL] = {},
|
|
54820
|
+
[Challenge.SPEED] = {},
|
|
54821
|
+
[Challenge.BLUE_BOMBER] = {CollectibleType.BROTHER_BOBBY, CollectibleType.KAMIKAZE, CollectibleType.MR_MEGA, CollectibleType.PYROMANIAC},
|
|
54822
|
+
[Challenge.PAY_TO_PLAY] = {CollectibleType.SACK_OF_PENNIES, CollectibleType.MONEY_EQUALS_POWER},
|
|
54823
|
+
[Challenge.HAVE_A_HEART] = {CollectibleType.CHARM_OF_THE_VAMPIRE},
|
|
54824
|
+
[Challenge.I_RULE] = {CollectibleType.LADDER, CollectibleType.MOMS_KNIFE, CollectibleType.TRINITY_SHIELD, CollectibleType.BOOMERANG},
|
|
54825
|
+
[Challenge.BRAINS] = {CollectibleType.BOBS_BRAIN, CollectibleType.BOBS_BRAIN, CollectibleType.BOBS_BRAIN, CollectibleType.THUNDER_THIGHS},
|
|
54826
|
+
[Challenge.PRIDE_DAY] = {CollectibleType.RAINBOW_BABY, CollectibleType.THREE_DOLLAR_BILL},
|
|
54827
|
+
[Challenge.ONANS_STREAK] = {CollectibleType.CHOCOLATE_MILK},
|
|
54828
|
+
[Challenge.GUARDIAN] = {CollectibleType.HOLY_GRAIL, CollectibleType.ISAACS_HEART, CollectibleType.PUNCHING_BAG, CollectibleType.SPEAR_OF_DESTINY},
|
|
54829
|
+
[Challenge.BACKASSWARDS] = {},
|
|
54830
|
+
[Challenge.APRILS_FOOL] = {},
|
|
54831
|
+
[Challenge.POKEY_MANS] = {CollectibleType.MOMS_EYESHADOW, CollectibleType.FRIEND_BALL},
|
|
54832
|
+
[Challenge.ULTRA_HARD] = {CollectibleType.BOOK_OF_REVELATIONS, CollectibleType.CAFFEINE_PILL},
|
|
54833
|
+
[Challenge.PONG] = {CollectibleType.CUPIDS_ARROW, CollectibleType.RUBBER_CEMENT},
|
|
54834
|
+
[Challenge.SCAT_MAN] = {
|
|
54835
|
+
CollectibleType.SKATOLE,
|
|
54836
|
+
CollectibleType.POOP,
|
|
54837
|
+
CollectibleType.NINE_VOLT,
|
|
54838
|
+
CollectibleType.BUTT_BOMBS,
|
|
54839
|
+
CollectibleType.BUTT_BOMBS,
|
|
54840
|
+
CollectibleType.BUTT_BOMBS,
|
|
54841
|
+
CollectibleType.E_COLI,
|
|
54842
|
+
CollectibleType.BFFS,
|
|
54843
|
+
CollectibleType.THUNDER_THIGHS,
|
|
54844
|
+
CollectibleType.DIRTY_MIND
|
|
54845
|
+
},
|
|
54846
|
+
[Challenge.BLOODY_MARY] = {CollectibleType.BOOK_OF_BELIAL, CollectibleType.BLOOD_BAG, CollectibleType.ANEMIC, CollectibleType.BLOOD_OATH},
|
|
54847
|
+
[Challenge.BAPTISM_BY_FIRE] = {CollectibleType.GUPPYS_PAW, CollectibleType.SCHOOLBAG, CollectibleType.URN_OF_SOULS},
|
|
54848
|
+
[Challenge.ISAACS_AWAKENING] = {CollectibleType.TRINITY_SHIELD, CollectibleType.SPIRIT_SWORD, CollectibleType.MOMS_BRACELET},
|
|
54849
|
+
[Challenge.SEEING_DOUBLE] = {245},
|
|
54850
|
+
[Challenge.PICA_RUN] = {CollectibleType.MOMS_PURSE, CollectibleType.MOMS_BOX, CollectibleType.MARBLES},
|
|
54851
|
+
[Challenge.HOT_POTATO] = {},
|
|
54852
|
+
[Challenge.CANTRIPPED] = {},
|
|
54853
|
+
[Challenge.RED_REDEMPTION] = {CollectibleType.DADS_KEY},
|
|
54854
|
+
[Challenge.DELETE_THIS] = {CollectibleType.TMTRAINER}
|
|
54855
|
+
}
|
|
54778
54856
|
return ____exports
|
|
54779
54857
|
end,
|
|
54780
54858
|
["src.objects.challengeNames"] = function(...)
|
|
@@ -54795,7 +54873,7 @@ ____exports.CHALLENGE_NAMES = {
|
|
|
54795
54873
|
[Challenge.DEMO_MAN] = "Demo Man",
|
|
54796
54874
|
[Challenge.CURSED] = "Cursed!",
|
|
54797
54875
|
[Challenge.GLASS_CANNON] = "Glass Cannon",
|
|
54798
|
-
[Challenge.
|
|
54876
|
+
[Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = "When Life Gives You Lemons",
|
|
54799
54877
|
[Challenge.BEANS] = "Beans!",
|
|
54800
54878
|
[Challenge.ITS_IN_THE_CARDS] = "It's In The Cards",
|
|
54801
54879
|
[Challenge.SLOW_ROLL] = "Slow Roll",
|
|
@@ -54830,6 +54908,61 @@ ____exports.CHALLENGE_NAMES = {
|
|
|
54830
54908
|
[Challenge.RED_REDEMPTION] = "Red Redemption",
|
|
54831
54909
|
[Challenge.DELETE_THIS] = "DELETE THIS"
|
|
54832
54910
|
}
|
|
54911
|
+
return ____exports
|
|
54912
|
+
end,
|
|
54913
|
+
["src.objects.challengeTrinkets"] = function(...)
|
|
54914
|
+
local ____exports = {}
|
|
54915
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
54916
|
+
local Challenge = ____isaac_2Dtypescript_2Ddefinitions.Challenge
|
|
54917
|
+
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
54918
|
+
____exports.CHALLENGE_TRINKETS = {
|
|
54919
|
+
[Challenge.NULL] = nil,
|
|
54920
|
+
[Challenge.PITCH_BLACK] = nil,
|
|
54921
|
+
[Challenge.HIGH_BROW] = TrinketType.PETRIFIED_POOP,
|
|
54922
|
+
[Challenge.HEAD_TRAUMA] = nil,
|
|
54923
|
+
[Challenge.DARKNESS_FALLS] = nil,
|
|
54924
|
+
[Challenge.TANK] = nil,
|
|
54925
|
+
[Challenge.SOLAR_SYSTEM] = nil,
|
|
54926
|
+
[Challenge.SUICIDE_KING] = nil,
|
|
54927
|
+
[Challenge.CAT_GOT_YOUR_TONGUE] = nil,
|
|
54928
|
+
[Challenge.DEMO_MAN] = TrinketType.MATCH_STICK,
|
|
54929
|
+
[Challenge.CURSED] = TrinketType.CHILDS_HEART,
|
|
54930
|
+
[Challenge.GLASS_CANNON] = nil,
|
|
54931
|
+
[Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = nil,
|
|
54932
|
+
[Challenge.BEANS] = nil,
|
|
54933
|
+
[Challenge.ITS_IN_THE_CARDS] = nil,
|
|
54934
|
+
[Challenge.SLOW_ROLL] = nil,
|
|
54935
|
+
[Challenge.COMPUTER_SAVY] = nil,
|
|
54936
|
+
[Challenge.WAKA_WAKA] = nil,
|
|
54937
|
+
[Challenge.HOST] = TrinketType.TICK,
|
|
54938
|
+
[Challenge.FAMILY_MAN] = nil,
|
|
54939
|
+
[Challenge.PURIST] = nil,
|
|
54940
|
+
[Challenge.XXXXXXXXL] = nil,
|
|
54941
|
+
[Challenge.SPEED] = nil,
|
|
54942
|
+
[Challenge.BLUE_BOMBER] = nil,
|
|
54943
|
+
[Challenge.PAY_TO_PLAY] = nil,
|
|
54944
|
+
[Challenge.HAVE_A_HEART] = nil,
|
|
54945
|
+
[Challenge.I_RULE] = nil,
|
|
54946
|
+
[Challenge.BRAINS] = nil,
|
|
54947
|
+
[Challenge.PRIDE_DAY] = TrinketType.RAINBOW_WORM,
|
|
54948
|
+
[Challenge.ONANS_STREAK] = nil,
|
|
54949
|
+
[Challenge.GUARDIAN] = nil,
|
|
54950
|
+
[Challenge.BACKASSWARDS] = nil,
|
|
54951
|
+
[Challenge.APRILS_FOOL] = nil,
|
|
54952
|
+
[Challenge.POKEY_MANS] = nil,
|
|
54953
|
+
[Challenge.ULTRA_HARD] = nil,
|
|
54954
|
+
[Challenge.PONG] = nil,
|
|
54955
|
+
[Challenge.SCAT_MAN] = TrinketType.MYSTERIOUS_CANDY,
|
|
54956
|
+
[Challenge.BLOODY_MARY] = TrinketType.CHILDS_HEART,
|
|
54957
|
+
[Challenge.BAPTISM_BY_FIRE] = TrinketType.MAGGYS_FAITH,
|
|
54958
|
+
[Challenge.ISAACS_AWAKENING] = nil,
|
|
54959
|
+
[Challenge.SEEING_DOUBLE] = nil,
|
|
54960
|
+
[Challenge.PICA_RUN] = nil,
|
|
54961
|
+
[Challenge.HOT_POTATO] = nil,
|
|
54962
|
+
[Challenge.CANTRIPPED] = nil,
|
|
54963
|
+
[Challenge.RED_REDEMPTION] = nil,
|
|
54964
|
+
[Challenge.DELETE_THIS] = nil
|
|
54965
|
+
}
|
|
54833
54966
|
return ____exports
|
|
54834
54967
|
end,
|
|
54835
54968
|
["src.functions.challenges"] = function(...)
|
|
@@ -54844,9 +54977,13 @@ local DEFAULT_CHALLENGE_BOSS_ID = ____challengeBosses.DEFAULT_CHALLENGE_BOSS_ID
|
|
|
54844
54977
|
local ____challengeCharacters = require("src.objects.challengeCharacters")
|
|
54845
54978
|
local CHALLENGE_CHARACTERS = ____challengeCharacters.CHALLENGE_CHARACTERS
|
|
54846
54979
|
local DEFAULT_CHALLENGE_CHARACTER = ____challengeCharacters.DEFAULT_CHALLENGE_CHARACTER
|
|
54980
|
+
local ____challengeCollectibles = require("src.objects.challengeCollectibles")
|
|
54981
|
+
local CHALLENGE_COLLECTIBLES = ____challengeCollectibles.CHALLENGE_COLLECTIBLES
|
|
54847
54982
|
local ____challengeNames = require("src.objects.challengeNames")
|
|
54848
54983
|
local CHALLENGE_NAMES = ____challengeNames.CHALLENGE_NAMES
|
|
54849
54984
|
local DEFAULT_CHALLENGE_NAME = ____challengeNames.DEFAULT_CHALLENGE_NAME
|
|
54985
|
+
local ____challengeTrinkets = require("src.objects.challengeTrinkets")
|
|
54986
|
+
local CHALLENGE_TRINKETS = ____challengeTrinkets.CHALLENGE_TRINKETS
|
|
54850
54987
|
local ____log = require("src.functions.log")
|
|
54851
54988
|
local log = ____log.log
|
|
54852
54989
|
function ____exports.onAnyChallenge(self)
|
|
@@ -54868,10 +55005,16 @@ function ____exports.getChallengeCharacter(self, challenge)
|
|
|
54868
55005
|
local challengeCharacter = CHALLENGE_CHARACTERS[challenge]
|
|
54869
55006
|
return challengeCharacter or DEFAULT_CHALLENGE_CHARACTER
|
|
54870
55007
|
end
|
|
55008
|
+
function ____exports.getChallengeCollectibles(self, challenge)
|
|
55009
|
+
return CHALLENGE_COLLECTIBLES[challenge]
|
|
55010
|
+
end
|
|
54871
55011
|
function ____exports.getChallengeName(self, challenge)
|
|
54872
55012
|
local challengeName = CHALLENGE_NAMES[challenge]
|
|
54873
55013
|
return challengeName or DEFAULT_CHALLENGE_NAME
|
|
54874
55014
|
end
|
|
55015
|
+
function ____exports.getChallengeTrinket(self, challenge)
|
|
55016
|
+
return CHALLENGE_TRINKETS[challenge]
|
|
55017
|
+
end
|
|
54875
55018
|
function ____exports.onChallenge(self, ...)
|
|
54876
55019
|
local challenges = {...}
|
|
54877
55020
|
local challenge = Isaac.GetChallenge()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BossID, PlayerType } from "isaac-typescript-definitions";
|
|
1
|
+
import type { BossID, CollectibleType, PlayerType, TrinketType } from "isaac-typescript-definitions";
|
|
2
2
|
import { Challenge } from "isaac-typescript-definitions";
|
|
3
3
|
/**
|
|
4
4
|
* Helper function to clear the current challenge, which will restart the run on a new random
|
|
@@ -24,12 +24,26 @@ export declare function getChallengeBoss(challenge: Challenge): BossID;
|
|
|
24
24
|
* For modded challenges, `PlayerType.ISAAC` (0) will be returned.
|
|
25
25
|
*/
|
|
26
26
|
export declare function getChallengeCharacter(challenge: Challenge): PlayerType;
|
|
27
|
+
/**
|
|
28
|
+
* Get the extra starting collectibles for a challenge. This will only work for vanilla challenges.
|
|
29
|
+
*
|
|
30
|
+
* For modded challenges, an empty array will be returned.
|
|
31
|
+
*/
|
|
32
|
+
export declare function getChallengeCollectibles(challenge: Challenge): readonly CollectibleType[];
|
|
27
33
|
/**
|
|
28
34
|
* Get the proper name for a `Challenge` enum. This will only work for vanilla challenges.
|
|
29
35
|
*
|
|
30
36
|
* For modded challenges, "Unknown" will be returned.
|
|
31
37
|
*/
|
|
32
38
|
export declare function getChallengeName(challenge: Challenge): string;
|
|
39
|
+
/**
|
|
40
|
+
* Get the extra starting trinket for a challenge. This will only work for vanilla challenges.
|
|
41
|
+
*
|
|
42
|
+
* If a challenge does not grant a starting trinket, `undefined` will be returned.
|
|
43
|
+
*
|
|
44
|
+
* For modded challenges, `undefined` will be returned.
|
|
45
|
+
*/
|
|
46
|
+
export declare function getChallengeTrinket(challenge: Challenge): TrinketType | undefined;
|
|
33
47
|
/** Helper function to see if the player is playing any challenge. */
|
|
34
48
|
export declare function onAnyChallenge(): boolean;
|
|
35
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"challenges.d.ts","sourceRoot":"","sources":["../../../src/functions/challenges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"challenges.d.ts","sourceRoot":"","sources":["../../../src/functions/challenges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,eAAe,EACf,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAiBzD;;;;;;;GAOG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAQrC;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAK7D;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,SAAS,GAAG,UAAU,CAKtE;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,SAAS,GACnB,SAAS,eAAe,EAAE,CAE5B;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAK7D;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,SAAS,GACnB,WAAW,GAAG,SAAS,CAEzB;AAED,qEAAqE;AACrE,wBAAgB,cAAc,IAAI,OAAO,CAGxC;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,GAAG,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO,CAG/D;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI,CAQvD"}
|
|
@@ -9,9 +9,13 @@ local DEFAULT_CHALLENGE_BOSS_ID = ____challengeBosses.DEFAULT_CHALLENGE_BOSS_ID
|
|
|
9
9
|
local ____challengeCharacters = require("src.objects.challengeCharacters")
|
|
10
10
|
local CHALLENGE_CHARACTERS = ____challengeCharacters.CHALLENGE_CHARACTERS
|
|
11
11
|
local DEFAULT_CHALLENGE_CHARACTER = ____challengeCharacters.DEFAULT_CHALLENGE_CHARACTER
|
|
12
|
+
local ____challengeCollectibles = require("src.objects.challengeCollectibles")
|
|
13
|
+
local CHALLENGE_COLLECTIBLES = ____challengeCollectibles.CHALLENGE_COLLECTIBLES
|
|
12
14
|
local ____challengeNames = require("src.objects.challengeNames")
|
|
13
15
|
local CHALLENGE_NAMES = ____challengeNames.CHALLENGE_NAMES
|
|
14
16
|
local DEFAULT_CHALLENGE_NAME = ____challengeNames.DEFAULT_CHALLENGE_NAME
|
|
17
|
+
local ____challengeTrinkets = require("src.objects.challengeTrinkets")
|
|
18
|
+
local CHALLENGE_TRINKETS = ____challengeTrinkets.CHALLENGE_TRINKETS
|
|
15
19
|
local ____log = require("src.functions.log")
|
|
16
20
|
local log = ____log.log
|
|
17
21
|
--- Helper function to see if the player is playing any challenge.
|
|
@@ -49,6 +53,12 @@ function ____exports.getChallengeCharacter(self, challenge)
|
|
|
49
53
|
local challengeCharacter = CHALLENGE_CHARACTERS[challenge]
|
|
50
54
|
return challengeCharacter or DEFAULT_CHALLENGE_CHARACTER
|
|
51
55
|
end
|
|
56
|
+
--- Get the extra starting collectibles for a challenge. This will only work for vanilla challenges.
|
|
57
|
+
--
|
|
58
|
+
-- For modded challenges, an empty array will be returned.
|
|
59
|
+
function ____exports.getChallengeCollectibles(self, challenge)
|
|
60
|
+
return CHALLENGE_COLLECTIBLES[challenge]
|
|
61
|
+
end
|
|
52
62
|
--- Get the proper name for a `Challenge` enum. This will only work for vanilla challenges.
|
|
53
63
|
--
|
|
54
64
|
-- For modded challenges, "Unknown" will be returned.
|
|
@@ -56,6 +66,14 @@ function ____exports.getChallengeName(self, challenge)
|
|
|
56
66
|
local challengeName = CHALLENGE_NAMES[challenge]
|
|
57
67
|
return challengeName or DEFAULT_CHALLENGE_NAME
|
|
58
68
|
end
|
|
69
|
+
--- Get the extra starting trinket for a challenge. This will only work for vanilla challenges.
|
|
70
|
+
--
|
|
71
|
+
-- If a challenge does not grant a starting trinket, `undefined` will be returned.
|
|
72
|
+
--
|
|
73
|
+
-- For modded challenges, `undefined` will be returned.
|
|
74
|
+
function ____exports.getChallengeTrinket(self, challenge)
|
|
75
|
+
return CHALLENGE_TRINKETS[challenge]
|
|
76
|
+
end
|
|
59
77
|
--- Helper function to check to see if the player is playing a particular challenge.
|
|
60
78
|
--
|
|
61
79
|
-- This function is variadic, meaning that you can specify as many challenges as you want to check
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BossID } from "isaac-typescript-definitions";
|
|
2
2
|
export declare const DEFAULT_CHALLENGE_BOSS_ID = BossID.MOM;
|
|
3
3
|
/**
|
|
4
|
+
* Contains the boss goal for each challenge.
|
|
5
|
+
*
|
|
4
6
|
* Taken from the "challenges.xml" file.
|
|
5
7
|
*
|
|
6
8
|
* @see https://bindingofisaacrebirth.fandom.com/wiki/Challenges
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"challengeBosses.d.ts","sourceRoot":"","sources":["../../../src/objects/challengeBosses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAa,MAAM,8BAA8B,CAAC;AAEjE,eAAO,MAAM,yBAAyB,aAAa,CAAC;AAEpD
|
|
1
|
+
{"version":3,"file":"challengeBosses.d.ts","sourceRoot":"","sources":["../../../src/objects/challengeBosses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAa,MAAM,8BAA8B,CAAC;AAEjE,eAAO,MAAM,yBAAyB,aAAa,CAAC;AAEpD;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CiB,CAAC"}
|
|
@@ -3,7 +3,9 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
3
3
|
local BossID = ____isaac_2Dtypescript_2Ddefinitions.BossID
|
|
4
4
|
local Challenge = ____isaac_2Dtypescript_2Ddefinitions.Challenge
|
|
5
5
|
____exports.DEFAULT_CHALLENGE_BOSS_ID = BossID.MOM
|
|
6
|
-
---
|
|
6
|
+
--- Contains the boss goal for each challenge.
|
|
7
|
+
--
|
|
8
|
+
-- Taken from the "challenges.xml" file.
|
|
7
9
|
--
|
|
8
10
|
-- @see https ://bindingofisaacrebirth.fandom.com/wiki/Challenges
|
|
9
11
|
____exports.CHALLENGE_BOSSES = {
|
|
@@ -19,7 +21,7 @@ ____exports.CHALLENGE_BOSSES = {
|
|
|
19
21
|
[Challenge.DEMO_MAN] = BossID.MOMS_HEART,
|
|
20
22
|
[Challenge.CURSED] = BossID.MOM,
|
|
21
23
|
[Challenge.GLASS_CANNON] = BossID.SATAN,
|
|
22
|
-
[Challenge.
|
|
24
|
+
[Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = BossID.MOM,
|
|
23
25
|
[Challenge.BEANS] = BossID.MOM,
|
|
24
26
|
[Challenge.ITS_IN_THE_CARDS] = BossID.MOM,
|
|
25
27
|
[Challenge.SLOW_ROLL] = BossID.MOM,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { PlayerType } from "isaac-typescript-definitions";
|
|
2
2
|
export declare const DEFAULT_CHALLENGE_CHARACTER = PlayerType.ISAAC;
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Contains the starting character for each challenge.
|
|
5
|
+
*
|
|
6
|
+
* Taken from the "challenges.xml" file.
|
|
7
|
+
*/
|
|
4
8
|
export declare const CHALLENGE_CHARACTERS: {
|
|
5
9
|
readonly 0: PlayerType.ISAAC;
|
|
6
10
|
readonly 1: PlayerType.ISAAC;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"challengeCharacters.d.ts","sourceRoot":"","sources":["../../../src/objects/challengeCharacters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,2BAA2B,mBAAmB,CAAC;AAE5D
|
|
1
|
+
{"version":3,"file":"challengeCharacters.d.ts","sourceRoot":"","sources":["../../../src/objects/challengeCharacters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,2BAA2B,mBAAmB,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CiB,CAAC"}
|
|
@@ -3,7 +3,9 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
3
3
|
local Challenge = ____isaac_2Dtypescript_2Ddefinitions.Challenge
|
|
4
4
|
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
5
5
|
____exports.DEFAULT_CHALLENGE_CHARACTER = PlayerType.ISAAC
|
|
6
|
-
---
|
|
6
|
+
--- Contains the starting character for each challenge.
|
|
7
|
+
--
|
|
8
|
+
-- Taken from the "challenges.xml" file.
|
|
7
9
|
____exports.CHALLENGE_CHARACTERS = {
|
|
8
10
|
[Challenge.NULL] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
9
11
|
[Challenge.PITCH_BLACK] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
@@ -17,7 +19,7 @@ ____exports.CHALLENGE_CHARACTERS = {
|
|
|
17
19
|
[Challenge.DEMO_MAN] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
18
20
|
[Challenge.CURSED] = PlayerType.MAGDALENE,
|
|
19
21
|
[Challenge.GLASS_CANNON] = PlayerType.JUDAS,
|
|
20
|
-
[Challenge.
|
|
22
|
+
[Challenge.WHEN_LIFE_GIVES_YOU_LEMONS] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
21
23
|
[Challenge.BEANS] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
22
24
|
[Challenge.ITS_IN_THE_CARDS] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
23
25
|
[Challenge.SLOW_ROLL] = ____exports.DEFAULT_CHALLENGE_CHARACTER,
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { CollectibleType } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Contains the extra starting collectibles for each challenge. Challenges that do not grant extra
|
|
4
|
+
* starting collectibles are represented by an empty array.
|
|
5
|
+
*
|
|
6
|
+
* Taken from the "challenges.xml" file.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CHALLENGE_COLLECTIBLES: {
|
|
9
|
+
readonly 0: readonly [];
|
|
10
|
+
readonly 1: readonly [];
|
|
11
|
+
readonly 2: readonly [CollectibleType.NUMBER_ONE, CollectibleType.BUTT_BOMBS, CollectibleType.E_COLI, CollectibleType.FLUSH];
|
|
12
|
+
readonly 3: readonly [CollectibleType.SMALL_ROCK, CollectibleType.IRON_BAR, CollectibleType.TINY_PLANET, CollectibleType.SOY_MILK];
|
|
13
|
+
readonly 4: readonly [CollectibleType.PENTAGRAM, CollectibleType.RAZOR_BLADE, CollectibleType.SACRIFICIAL_DAGGER, CollectibleType.DARK_MATTER];
|
|
14
|
+
readonly 5: readonly [CollectibleType.BUCKET_OF_LARD, CollectibleType.INFAMY, CollectibleType.THUNDER_THIGHS];
|
|
15
|
+
readonly 6: readonly [CollectibleType.HALO_OF_FLIES, CollectibleType.TRANSCENDENCE, CollectibleType.DISTANT_ADMIRATION, CollectibleType.FOREVER_ALONE];
|
|
16
|
+
readonly 7: readonly [CollectibleType.MY_REFLECTION, CollectibleType.MR_MEGA, CollectibleType.IPECAC];
|
|
17
|
+
readonly 8: readonly [CollectibleType.GUPPYS_TAIL, CollectibleType.GUPPYS_HEAD, CollectibleType.GUPPYS_HAIRBALL];
|
|
18
|
+
readonly 9: readonly [CollectibleType.DR_FETUS, CollectibleType.REMOTE_DETONATOR];
|
|
19
|
+
readonly 10: readonly [CollectibleType.RAW_LIVER, CollectibleType.COMPASS, CollectibleType.TREASURE_MAP, CollectibleType.BLUE_MAP];
|
|
20
|
+
readonly 11: readonly [CollectibleType.LOKIS_HORNS, CollectibleType.EPIC_FETUS];
|
|
21
|
+
readonly 12: readonly [CollectibleType.LEMON_MISHAP, CollectibleType.NINE_VOLT, CollectibleType.HABIT];
|
|
22
|
+
readonly 13: readonly [CollectibleType.BEAN, CollectibleType.NINE_VOLT, CollectibleType.BLACK_BEAN, CollectibleType.PYRO, CollectibleType.BUTT_BOMBS];
|
|
23
|
+
readonly 14: readonly [CollectibleType.BATTERY, CollectibleType.DECK_OF_CARDS, CollectibleType.NINE_VOLT, CollectibleType.STARTER_DECK];
|
|
24
|
+
readonly 15: readonly [CollectibleType.MY_REFLECTION, CollectibleType.CUPIDS_ARROW, CollectibleType.POLYPHEMUS];
|
|
25
|
+
readonly 16: readonly [CollectibleType.SPOON_BENDER, CollectibleType.TECHNOLOGY, CollectibleType.TECHNOLOGY_2];
|
|
26
|
+
readonly 17: readonly [CollectibleType.ANTI_GRAVITY, CollectibleType.STRANGE_ATTRACTOR];
|
|
27
|
+
readonly 18: readonly [CollectibleType.MULLIGAN, CollectibleType.SPIDERBABY];
|
|
28
|
+
readonly 19: readonly [CollectibleType.BROTHER_BOBBY, CollectibleType.SISTER_MAGGY, CollectibleType.DADS_KEY, CollectibleType.BFFS, CollectibleType.ROTTEN_BABY];
|
|
29
|
+
readonly 20: readonly [];
|
|
30
|
+
readonly 21: readonly [];
|
|
31
|
+
readonly 22: readonly [];
|
|
32
|
+
readonly 23: readonly [CollectibleType.BROTHER_BOBBY, CollectibleType.KAMIKAZE, CollectibleType.MR_MEGA, CollectibleType.PYROMANIAC];
|
|
33
|
+
readonly 24: readonly [CollectibleType.SACK_OF_PENNIES, CollectibleType.MONEY_EQUALS_POWER];
|
|
34
|
+
readonly 25: readonly [CollectibleType.CHARM_OF_THE_VAMPIRE];
|
|
35
|
+
readonly 26: readonly [CollectibleType.LADDER, CollectibleType.MOMS_KNIFE, CollectibleType.TRINITY_SHIELD, CollectibleType.BOOMERANG];
|
|
36
|
+
readonly 27: readonly [CollectibleType.BOBS_BRAIN, CollectibleType.BOBS_BRAIN, CollectibleType.BOBS_BRAIN, CollectibleType.THUNDER_THIGHS];
|
|
37
|
+
readonly 28: readonly [CollectibleType.RAINBOW_BABY, CollectibleType.THREE_DOLLAR_BILL];
|
|
38
|
+
readonly 29: readonly [CollectibleType.CHOCOLATE_MILK];
|
|
39
|
+
readonly 30: readonly [CollectibleType.HOLY_GRAIL, CollectibleType.ISAACS_HEART, CollectibleType.PUNCHING_BAG, CollectibleType.SPEAR_OF_DESTINY];
|
|
40
|
+
readonly 31: readonly [];
|
|
41
|
+
readonly 32: readonly [];
|
|
42
|
+
readonly 33: readonly [CollectibleType.MOMS_EYESHADOW, CollectibleType.FRIEND_BALL];
|
|
43
|
+
readonly 34: readonly [CollectibleType.BOOK_OF_REVELATIONS, CollectibleType.CAFFEINE_PILL];
|
|
44
|
+
readonly 35: readonly [CollectibleType.CUPIDS_ARROW, CollectibleType.RUBBER_CEMENT];
|
|
45
|
+
readonly 36: readonly [CollectibleType.SKATOLE, CollectibleType.POOP, CollectibleType.NINE_VOLT, CollectibleType.BUTT_BOMBS, CollectibleType.BUTT_BOMBS, CollectibleType.BUTT_BOMBS, CollectibleType.E_COLI, CollectibleType.BFFS, CollectibleType.THUNDER_THIGHS, CollectibleType.DIRTY_MIND];
|
|
46
|
+
readonly 37: readonly [CollectibleType.BOOK_OF_BELIAL, CollectibleType.BLOOD_BAG, CollectibleType.ANEMIC, CollectibleType.BLOOD_OATH];
|
|
47
|
+
readonly 38: readonly [CollectibleType.GUPPYS_PAW, CollectibleType.SCHOOLBAG, CollectibleType.URN_OF_SOULS];
|
|
48
|
+
readonly 39: readonly [CollectibleType.TRINITY_SHIELD, CollectibleType.SPIRIT_SWORD, CollectibleType.MOMS_BRACELET];
|
|
49
|
+
readonly 40: readonly [245];
|
|
50
|
+
readonly 41: readonly [CollectibleType.MOMS_PURSE, CollectibleType.MOMS_BOX, CollectibleType.MARBLES];
|
|
51
|
+
readonly 42: readonly [];
|
|
52
|
+
readonly 43: readonly [];
|
|
53
|
+
readonly 44: readonly [CollectibleType.DADS_KEY];
|
|
54
|
+
readonly 45: readonly [CollectibleType.TMTRAINER];
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=challengeCollectibles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"challengeCollectibles.d.ts","sourceRoot":"","sources":["../../../src/objects/challengeCollectibles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiS+B,CAAC"}
|