isaacscript-common 86.1.0 → 87.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/classes/ModUpgraded.js +1 -1
  2. package/dist/classes/features/other/CustomTrapdoors.d.ts +4 -4
  3. package/dist/classes/features/other/CustomTrapdoors.js +4 -4
  4. package/dist/classes/features/other/customStages/gridEntities.d.ts.map +1 -1
  5. package/dist/classes/features/other/customStages/gridEntities.js +6 -1
  6. package/dist/classes/features/other/customStages/gridEntities.lua +33 -24
  7. package/dist/classes/features/other/extraConsoleCommands/commands.d.ts +4 -0
  8. package/dist/classes/features/other/extraConsoleCommands/commands.d.ts.map +1 -1
  9. package/dist/classes/features/other/extraConsoleCommands/commands.js +13 -2
  10. package/dist/classes/features/other/extraConsoleCommands/commands.lua +9 -0
  11. package/dist/functions/nextStage.d.ts.map +1 -1
  12. package/dist/functions/nextStage.js +3 -0
  13. package/dist/functions/nextStage.lua +5 -0
  14. package/dist/functions/stats.d.ts.map +1 -1
  15. package/dist/functions/stats.js +3 -0
  16. package/dist/functions/stats.lua +5 -0
  17. package/dist/index.rollup.d.ts +4 -4
  18. package/dist/isaacscript-common.lua +53 -25
  19. package/dist/types/Decrement.d.ts.map +1 -1
  20. package/dist/types/HasFunction.d.ts.map +1 -1
  21. package/package.json +2 -2
  22. package/src/classes/ModUpgraded.ts +1 -1
  23. package/src/classes/features/other/CustomTrapdoors.ts +4 -4
  24. package/src/classes/features/other/customStages/gridEntities.ts +8 -2
  25. package/src/classes/features/other/extraConsoleCommands/commands.ts +11 -0
  26. package/src/functions/nextStage.ts +4 -0
  27. package/src/functions/stats.ts +4 -0
  28. package/src/types/Decrement.ts +2 -3
  29. package/src/types/HasFunction.ts +7 -6
@@ -79,7 +79,7 @@ class ModUpgraded {
79
79
  Isaac.DebugString(`${signature} - START`);
80
80
  // @ts-expect-error The compiler is not smart enough to know that the callback args should
81
81
  // match the callback.
82
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, n/no-callback-literal
82
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
83
83
  const returnValue = callback(...callbackArgs);
84
84
  const elapsedTime = (0, debugFunctions_1.getElapsedTimeSince)(startTime);
85
85
  if (this.timeThreshold === undefined ||
@@ -48,10 +48,10 @@ export declare class CustomTrapdoors extends Feature {
48
48
  *
49
49
  * In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
50
50
  *
51
- * @param destinationName The integer that identifies the type of custom trapdoor. It should
52
- * correspond to a local `CustomTrapdoorType` enum in your mod. The integer
53
- * can be any unique value and can safely overlap with values chosen by
54
- * other mods.
51
+ * @param destinationName The name that identifies the type of custom trapdoor. It should
52
+ * correspond to a local `CustomTrapdoorType` enum in your mod. It can be
53
+ * any unique value and can safely overlap with values chosen by other
54
+ * mods.
55
55
  * @param destinationFunc A function that takes the player to the destination that you want.
56
56
  * Inside this function, use the `setStage` or `setCustomStage` helper
57
57
  * functions, or do something completely custom.
@@ -452,10 +452,10 @@ class CustomTrapdoors extends Feature_1.Feature {
452
452
  *
453
453
  * In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
454
454
  *
455
- * @param destinationName The integer that identifies the type of custom trapdoor. It should
456
- * correspond to a local `CustomTrapdoorType` enum in your mod. The integer
457
- * can be any unique value and can safely overlap with values chosen by
458
- * other mods.
455
+ * @param destinationName The name that identifies the type of custom trapdoor. It should
456
+ * correspond to a local `CustomTrapdoorType` enum in your mod. It can be
457
+ * any unique value and can safely overlap with values chosen by other
458
+ * mods.
459
459
  * @param destinationFunc A function that takes the player to the destination that you want.
460
460
  * Inside this function, use the `setStage` or `setCustomStage` helper
461
461
  * functions, or do something completely custom.
@@ -1 +1 @@
1
- {"version":3,"file":"gridEntities.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/customStages/gridEntities.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,2CAA2C;AAC3C,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoCN;AAED,qCAAqC;AACrC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAqDN;AAED,oCAAoC;AACpC,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoBN;AAED,sCAAsC;AACtC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoBN;AAuDD,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,OAAO,EACrB,eAAe,EAAE,eAAe,GAC/B,IAAI,CA8BN"}
1
+ {"version":3,"file":"gridEntities.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/customStages/gridEntities.ts"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,2CAA2C;AAC3C,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoCN;AAED,qCAAqC;AACrC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAyDN;AAED,oCAAoC;AACpC,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoBN;AAED,sCAAsC;AACtC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoBN;AAyDD,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,OAAO,EACrB,eAAe,EAAE,eAAe,GAC/B,IAAI,CA8BN"}
@@ -72,6 +72,9 @@ function setCustomRockGraphics(customStage, gridEntity) {
72
72
  }
73
73
  break;
74
74
  }
75
+ default: {
76
+ break;
77
+ }
75
78
  }
76
79
  }
77
80
  exports.setCustomRockGraphics = setCustomRockGraphics;
@@ -151,8 +154,10 @@ function getNewDoorPNGPath(customStage, fileName) {
151
154
  case "gfx/grid/door_15_bossrushdoor.anm2": {
152
155
  return customStage.doorPNGPaths?.bossRush;
153
156
  }
157
+ default: {
158
+ return undefined;
159
+ }
154
160
  }
155
- return undefined;
156
161
  }
157
162
  function convertVanillaTrapdoors(customStage, gridEntity, isFirstFloor, customTrapdoors) {
158
163
  const gridEntityType = gridEntity.GetType();
@@ -13,86 +13,90 @@ local ____constants = require("classes.features.other.customStages.constants")
13
13
  local DEFAULT_BASE_STAGE = ____constants.DEFAULT_BASE_STAGE
14
14
  function getNewDoorPNGPath(self, customStage, fileName)
15
15
  repeat
16
- local ____switch26 = fileName
17
- local ____cond26 = ____switch26 == "gfx/grid/door_01_normaldoor.anm2"
18
- if ____cond26 then
16
+ local ____switch27 = fileName
17
+ local ____cond27 = ____switch27 == "gfx/grid/door_01_normaldoor.anm2"
18
+ if ____cond27 then
19
19
  do
20
20
  local ____opt_0 = customStage.doorPNGPaths
21
21
  return ____opt_0 and ____opt_0.normal
22
22
  end
23
23
  end
24
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_02_treasureroomdoor.anm2"
25
- if ____cond26 then
24
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_02_treasureroomdoor.anm2"
25
+ if ____cond27 then
26
26
  do
27
27
  local ____opt_2 = customStage.doorPNGPaths
28
28
  return ____opt_2 and ____opt_2.treasureRoom
29
29
  end
30
30
  end
31
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_03_ambushroomdoor.anm2"
32
- if ____cond26 then
31
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_03_ambushroomdoor.anm2"
32
+ if ____cond27 then
33
33
  do
34
34
  local ____opt_4 = customStage.doorPNGPaths
35
35
  return ____opt_4 and ____opt_4.normalChallengeRoom
36
36
  end
37
37
  end
38
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_04_selfsacrificeroomdoor.anm2"
39
- if ____cond26 then
38
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_04_selfsacrificeroomdoor.anm2"
39
+ if ____cond27 then
40
40
  do
41
41
  local ____opt_6 = customStage.doorPNGPaths
42
42
  return ____opt_6 and ____opt_6.curseRoom
43
43
  end
44
44
  end
45
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_05_arcaderoomdoor.anm2"
46
- if ____cond26 then
45
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_05_arcaderoomdoor.anm2"
46
+ if ____cond27 then
47
47
  do
48
48
  local ____opt_8 = customStage.doorPNGPaths
49
49
  return ____opt_8 and ____opt_8.arcade
50
50
  end
51
51
  end
52
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_07_devilroomdoor.anm2"
53
- if ____cond26 then
52
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_07_devilroomdoor.anm2"
53
+ if ____cond27 then
54
54
  do
55
55
  local ____opt_10 = customStage.doorPNGPaths
56
56
  return ____opt_10 and ____opt_10.devilRoom
57
57
  end
58
58
  end
59
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_07_holyroomdoor.anm2"
60
- if ____cond26 then
59
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_07_holyroomdoor.anm2"
60
+ if ____cond27 then
61
61
  do
62
62
  local ____opt_12 = customStage.doorPNGPaths
63
63
  return ____opt_12 and ____opt_12.angelRoom
64
64
  end
65
65
  end
66
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_08_holeinwall.anm2"
67
- if ____cond26 then
66
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_08_holeinwall.anm2"
67
+ if ____cond27 then
68
68
  do
69
69
  local ____opt_14 = customStage.doorPNGPaths
70
70
  return ____opt_14 and ____opt_14.secretRoom
71
71
  end
72
72
  end
73
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_09_bossambushroomdoor.anm2"
74
- if ____cond26 then
73
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_09_bossambushroomdoor.anm2"
74
+ if ____cond27 then
75
75
  do
76
76
  local ____opt_16 = customStage.doorPNGPaths
77
77
  return ____opt_16 and ____opt_16.bossChallengeRoom
78
78
  end
79
79
  end
80
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_10_bossroomdoor.anm2"
81
- if ____cond26 then
80
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_10_bossroomdoor.anm2"
81
+ if ____cond27 then
82
82
  do
83
83
  local ____opt_18 = customStage.doorPNGPaths
84
84
  return ____opt_18 and ____opt_18.bossRoom
85
85
  end
86
86
  end
87
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_15_bossrushdoor.anm2"
88
- if ____cond26 then
87
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_15_bossrushdoor.anm2"
88
+ if ____cond27 then
89
89
  do
90
90
  local ____opt_20 = customStage.doorPNGPaths
91
91
  return ____opt_20 and ____opt_20.bossRush
92
92
  end
93
93
  end
94
+ do
95
+ do
96
+ return nil
97
+ end
98
+ end
94
99
  until true
95
- return nil
96
100
  end
97
101
  --- For `GridEntityType.DECORATION` (1).
98
102
  function ____exports.setCustomDecorationGraphics(self, customStage, gridEntity)
@@ -155,6 +159,11 @@ function ____exports.setCustomRockGraphics(self, customStage, gridEntity)
155
159
  break
156
160
  end
157
161
  end
162
+ do
163
+ do
164
+ break
165
+ end
166
+ end
158
167
  until true
159
168
  end
160
169
  --- For `GridEntityType.PIT` (7).
@@ -167,6 +167,8 @@ export declare function goldBomb(): void;
167
167
  export declare function goldHearts(params: string): void;
168
168
  /** Alias for the "goldenKey" command. */
169
169
  export declare function goldKey(): void;
170
+ /** Alias for the "goldenPill" command. */
171
+ export declare function goldPill(): void;
170
172
  /** Alias for the "spawnGoldenTrinket" command. */
171
173
  export declare function goldTrinket(params: string): void;
172
174
  /** Gives the player a golden bomb. */
@@ -178,6 +180,8 @@ export declare function goldenBomb(): void;
178
180
  export declare function goldenHearts(params: string): void;
179
181
  /** Gives the player a golden key. */
180
182
  export declare function goldenKey(): void;
183
+ /** Gives the player a golden pill. */
184
+ export declare function goldenPill(): void;
181
185
  /** Alias for the "spawnGoldenTrinket" command. */
182
186
  export declare function goldenTrinket(params: string): void;
183
187
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/extraConsoleCommands/commands.ts"],"names":[],"mappings":"AAiJA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAuC/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED,+CAA+C;AAC/C,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED,4CAA4C;AAC5C,wBAAgB,KAAK,IAAI,IAAI,CAG5B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAcjD;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,IAAI,IAAI,CAEzB;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA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,IAAI,CA+BjE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,UAAQ,GAAG,IAAI,CAqCnE;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAsB1C;AAED,uDAAuD;AACvD,wBAAgB,MAAM,IAAI,IAAI,CAM7B;AAED,4CAA4C;AAC5C,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAkB1C;AAED,wCAAwC;AACxC,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,6CAA6C;AAC7C,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,4CAA4C;AAC5C,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE5C;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,8CAA8C;AAC9C,wBAAgB,OAAO,IAAI,IAAI,CAG9B;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC;AAED,yCAAyC;AACzC,wBAAgB,EAAE,IAAI,IAAI,CAEzB"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/extraConsoleCommands/commands.ts"],"names":[],"mappings":"AAiJA;;;;GAIG;AACH,wBAAgB,UA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AAI,CAE5B;AAED,6CAA6C;AAC7C,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,4CAA4C;AAC5C,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE5C;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,8CAA8C;AAC9C,wBAAgB,OAAO,IAAI,IAAI,CAG9B;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC;AAED,yCAAyC;AACzC,wBAAgB,EAAE,IAAI,IAAI,CAEzB"}
@@ -2,8 +2,8 @@
2
2
  // cspell:ignore addcharges
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.getPosition = exports.getCharge = exports.getChallenge = exports.fool = exports.flight = exports.flies = exports.eternalHearts = exports.errorRoom = exports.effects = exports.dungeon = exports.down = exports.dogma = exports.disableCurses = exports.dirtyBedroom = exports.devilRoom = exports.dd = exports.darkness = exports.damage = exports.dadsNote = exports.d6 = exports.d20 = exports.cursed = exports.crawlSpace = exports.collectible = exports.coins = exports.coin = exports.cleanBedroom = exports.charge = exports.character = exports.chaosCardTears = exports.cc = exports.cards = exports.card = exports.brokenHearts = exports.bossRush = exports.bossRoom = exports.bossNextRoom = exports.boss = exports.boneHearts = exports.bombs = exports.bomb = exports.bm = exports.bloodCharges = exports.blind = exports.blackMarket = exports.blackHearts = exports.bedroom = exports.ascent = exports.angelRoom = exports.addCharges = void 0;
5
- exports.reloadRoom = exports.redHearts = exports.position = exports.poopMana = exports.poop = exports.pocket = exports.playSound = exports.planetarium = exports.pills = exports.pill = exports.oneHP = exports.noCurses = exports.music = exports.miniboss = exports.megaSatan = exports.maze = exports.maxHearts = exports.map = exports.mana = exports.luck = exports.lowHP = exports.lost = exports.listGridAll = exports.listGrid = exports.listAll = exports.list = exports.library = exports.left = exports.labyrinth = exports.keys = exports.key = exports.iAmErrorRoom = exports.hush = exports.horse = exports.hitboxes = exports.hearts = exports.gridEntities = exports.gridCosts = exports.grid2 = exports.grid = exports.goldenTrinket = exports.goldenKey = exports.goldenHearts = exports.goldenBomb = exports.goldTrinket = exports.goldKey = exports.goldHearts = exports.goldBomb = exports.gigaBomb = exports.giant = void 0;
6
- exports.xl = exports.warp = exports.up = exports.unseed = exports.unknown = exports.ultraSecretRoom = exports.trinket = exports.treasureRoom = exports.trapdoor = exports.tests = exports.tears = exports.superSecretRoom = exports.startingRoom = exports.startRoom = exports.spikes = exports.speed = exports.spawnTrinketAt = exports.spawnTrinket = exports.spawnGoldenTrinketAt = exports.spawnGoldenTrinket = exports.spawnGoldTrinket = exports.spawnCollectibleAt = exports.spawnCollectible = exports.spam = exports.sounds = exports.sound = exports.soulHearts = exports.soulCharges = exports.smelt = exports.shop = exports.setPosition = exports.setCharges = exports.seeds = exports.seedStick = exports.secretShop = exports.secretRoom = exports.sacrificeRoom = exports.s = exports.runTests = exports.rottenHearts = exports.room = exports.right = void 0;
5
+ exports.position = exports.poopMana = exports.poop = exports.pocket = exports.playSound = exports.planetarium = exports.pills = exports.pill = exports.oneHP = exports.noCurses = exports.music = exports.miniboss = exports.megaSatan = exports.maze = exports.maxHearts = exports.map = exports.mana = exports.luck = exports.lowHP = exports.lost = exports.listGridAll = exports.listGrid = exports.listAll = exports.list = exports.library = exports.left = exports.labyrinth = exports.keys = exports.key = exports.iAmErrorRoom = exports.hush = exports.horse = exports.hitboxes = exports.hearts = exports.gridEntities = exports.gridCosts = exports.grid2 = exports.grid = exports.goldenTrinket = exports.goldenPill = exports.goldenKey = exports.goldenHearts = exports.goldenBomb = exports.goldTrinket = exports.goldPill = exports.goldKey = exports.goldHearts = exports.goldBomb = exports.gigaBomb = exports.giant = void 0;
6
+ exports.xl = exports.warp = exports.up = exports.unseed = exports.unknown = exports.ultraSecretRoom = exports.trinket = exports.treasureRoom = exports.trapdoor = exports.tests = exports.tears = exports.superSecretRoom = exports.startingRoom = exports.startRoom = exports.spikes = exports.speed = exports.spawnTrinketAt = exports.spawnTrinket = exports.spawnGoldenTrinketAt = exports.spawnGoldenTrinket = exports.spawnGoldTrinket = exports.spawnCollectibleAt = exports.spawnCollectible = exports.spam = exports.sounds = exports.sound = exports.soulHearts = exports.soulCharges = exports.smelt = exports.shop = exports.setPosition = exports.setCharges = exports.seeds = exports.seedStick = exports.secretShop = exports.secretRoom = exports.sacrificeRoom = exports.s = exports.runTests = exports.rottenHearts = exports.room = exports.right = exports.reloadRoom = exports.redHearts = void 0;
7
7
  const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
8
8
  const cachedEnumValues_1 = require("../../../../cachedEnumValues");
9
9
  const cachedClasses_1 = require("../../../../core/cachedClasses");
@@ -617,6 +617,11 @@ function goldKey() {
617
617
  goldenKey();
618
618
  }
619
619
  exports.goldKey = goldKey;
620
+ /** Alias for the "goldenPill" command. */
621
+ function goldPill() {
622
+ goldenPill();
623
+ }
624
+ exports.goldPill = goldPill;
620
625
  /** Alias for the "spawnGoldenTrinket" command. */
621
626
  function goldTrinket(params) {
622
627
  spawnGoldenTrinket(params);
@@ -642,6 +647,12 @@ function goldenKey() {
642
647
  player.AddGoldenKey();
643
648
  }
644
649
  exports.goldenKey = goldenKey;
650
+ /** Gives the player a golden pill. */
651
+ function goldenPill() {
652
+ const player = Isaac.GetPlayer();
653
+ player.AddPill(isaac_typescript_definitions_1.PillColor.GOLD);
654
+ }
655
+ exports.goldenPill = goldenPill;
645
656
  /** Alias for the "spawnGoldenTrinket" command. */
646
657
  function goldenTrinket(params) {
647
658
  spawnGoldenTrinket(params);
@@ -183,6 +183,11 @@ function ____exports.goldenKey(self)
183
183
  local player = Isaac.GetPlayer()
184
184
  player:AddGoldenKey()
185
185
  end
186
+ --- Gives the player a golden pill.
187
+ function ____exports.goldenPill(self)
188
+ local player = Isaac.GetPlayer()
189
+ player:AddPill(PillColor.GOLD)
190
+ end
186
191
  --- Alias for the "debug 2" command. Useful for seeing the grid costs of each tile in the room.
187
192
  function ____exports.gridCosts(self)
188
193
  Isaac.ExecuteCommand("debug 2")
@@ -851,6 +856,10 @@ end
851
856
  function ____exports.goldKey(self)
852
857
  ____exports.goldenKey(nil)
853
858
  end
859
+ --- Alias for the "goldenPill" command.
860
+ function ____exports.goldPill(self)
861
+ ____exports.goldenPill(nil)
862
+ end
854
863
  --- Alias for the "spawnGoldenTrinket" command.
855
864
  function ____exports.goldTrinket(self, params)
856
865
  ____exports.spawnGoldenTrinket(nil, params)
@@ -1 +1 @@
1
- {"version":3,"file":"nextStage.d.ts","sourceRoot":"","sources":["../../src/functions/nextStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,UAAU,CA4FzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,UAAQ,GAAG,SAAS,CAiF3D"}
1
+ {"version":3,"file":"nextStage.d.ts","sourceRoot":"","sources":["../../src/functions/nextStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,UAAU,CAgGzC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,UAAQ,GAAG,SAAS,CAiF3D"}
@@ -50,6 +50,9 @@ function getNextStage() {
50
50
  // e.g. From Basement 1 to Downpour 1, from Basement 2 to Downpour 2, etc.
51
51
  return stage;
52
52
  }
53
+ default: {
54
+ break;
55
+ }
53
56
  }
54
57
  // 2
55
58
  if (repentanceStage && stage === isaac_typescript_definitions_1.LevelStage.BASEMENT_2) {
@@ -58,6 +58,11 @@ function ____exports.getNextStage(self)
58
58
  return stage
59
59
  end
60
60
  end
61
+ do
62
+ do
63
+ break
64
+ end
65
+ end
61
66
  until true
62
67
  if repentanceStage and stage == LevelStage.BASEMENT_2 then
63
68
  return LevelStage.CAVES_2
@@ -1 +1 @@
1
- {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/functions/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAc7D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,GACb,IAAI,CA4CN;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAE7E;AAED,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,CAAC,SAAS,UAAU,EAChD,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,CAAC,GACZ,WAAW,CAAC,CAAC,CAAC,CAGhB;AAED,2DAA2D;AAC3D,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,WAAW,CAgBhE"}
1
+ {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/functions/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAc7D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,YAAY,EACpB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,GACb,IAAI,CAgDN;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAE7E;AAED,oFAAoF;AACpF,wBAAgB,aAAa,CAAC,CAAC,SAAS,UAAU,EAChD,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,CAAC,GACZ,WAAW,CAAC,CAAC,CAAC,CAGhB;AAED,2DAA2D;AAC3D,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,WAAW,CAgBhE"}
@@ -64,6 +64,9 @@ function addPlayerStat(player, cacheFlag, amount) {
64
64
  player.Luck += amount;
65
65
  break;
66
66
  }
67
+ default: {
68
+ break;
69
+ }
67
70
  }
68
71
  }
69
72
  exports.addPlayerStat = addPlayerStat;
@@ -98,6 +98,11 @@ function ____exports.addPlayerStat(self, player, cacheFlag, amount)
98
98
  break
99
99
  end
100
100
  end
101
+ do
102
+ do
103
+ break
104
+ end
105
+ end
101
106
  until true
102
107
  end
103
108
  --- Returns the starting stat that Isaac (the default character) starts with. For example, if you
@@ -2885,10 +2885,10 @@ declare class CustomTrapdoors extends Feature {
2885
2885
  *
2886
2886
  * In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
2887
2887
  *
2888
- * @param destinationName The integer that identifies the type of custom trapdoor. It should
2889
- * correspond to a local `CustomTrapdoorType` enum in your mod. The integer
2890
- * can be any unique value and can safely overlap with values chosen by
2891
- * other mods.
2888
+ * @param destinationName The name that identifies the type of custom trapdoor. It should
2889
+ * correspond to a local `CustomTrapdoorType` enum in your mod. It can be
2890
+ * any unique value and can safely overlap with values chosen by other
2891
+ * mods.
2892
2892
  * @param destinationFunc A function that takes the player to the destination that you want.
2893
2893
  * Inside this function, use the `setStage` or `setCustomStage` helper
2894
2894
  * functions, or do something completely custom.
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 86.0.0
3
+ isaacscript-common 87.0.0
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -36481,6 +36481,11 @@ function ____exports.addPlayerStat(self, player, cacheFlag, amount)
36481
36481
  break
36482
36482
  end
36483
36483
  end
36484
+ do
36485
+ do
36486
+ break
36487
+ end
36488
+ end
36484
36489
  until true
36485
36490
  end
36486
36491
  --- Returns the starting stat that Isaac (the default character) starts with. For example, if you
@@ -48957,6 +48962,11 @@ function ____exports.getNextStage(self)
48957
48962
  return stage
48958
48963
  end
48959
48964
  end
48965
+ do
48966
+ do
48967
+ break
48968
+ end
48969
+ end
48960
48970
  until true
48961
48971
  if repentanceStage and stage == LevelStage.BASEMENT_2 then
48962
48972
  return LevelStage.CAVES_2
@@ -50181,86 +50191,90 @@ local ____constants = require("classes.features.other.customStages.constants")
50181
50191
  local DEFAULT_BASE_STAGE = ____constants.DEFAULT_BASE_STAGE
50182
50192
  function getNewDoorPNGPath(self, customStage, fileName)
50183
50193
  repeat
50184
- local ____switch26 = fileName
50185
- local ____cond26 = ____switch26 == "gfx/grid/door_01_normaldoor.anm2"
50186
- if ____cond26 then
50194
+ local ____switch27 = fileName
50195
+ local ____cond27 = ____switch27 == "gfx/grid/door_01_normaldoor.anm2"
50196
+ if ____cond27 then
50187
50197
  do
50188
50198
  local ____opt_0 = customStage.doorPNGPaths
50189
50199
  return ____opt_0 and ____opt_0.normal
50190
50200
  end
50191
50201
  end
50192
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_02_treasureroomdoor.anm2"
50193
- if ____cond26 then
50202
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_02_treasureroomdoor.anm2"
50203
+ if ____cond27 then
50194
50204
  do
50195
50205
  local ____opt_2 = customStage.doorPNGPaths
50196
50206
  return ____opt_2 and ____opt_2.treasureRoom
50197
50207
  end
50198
50208
  end
50199
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_03_ambushroomdoor.anm2"
50200
- if ____cond26 then
50209
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_03_ambushroomdoor.anm2"
50210
+ if ____cond27 then
50201
50211
  do
50202
50212
  local ____opt_4 = customStage.doorPNGPaths
50203
50213
  return ____opt_4 and ____opt_4.normalChallengeRoom
50204
50214
  end
50205
50215
  end
50206
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_04_selfsacrificeroomdoor.anm2"
50207
- if ____cond26 then
50216
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_04_selfsacrificeroomdoor.anm2"
50217
+ if ____cond27 then
50208
50218
  do
50209
50219
  local ____opt_6 = customStage.doorPNGPaths
50210
50220
  return ____opt_6 and ____opt_6.curseRoom
50211
50221
  end
50212
50222
  end
50213
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_05_arcaderoomdoor.anm2"
50214
- if ____cond26 then
50223
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_05_arcaderoomdoor.anm2"
50224
+ if ____cond27 then
50215
50225
  do
50216
50226
  local ____opt_8 = customStage.doorPNGPaths
50217
50227
  return ____opt_8 and ____opt_8.arcade
50218
50228
  end
50219
50229
  end
50220
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_07_devilroomdoor.anm2"
50221
- if ____cond26 then
50230
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_07_devilroomdoor.anm2"
50231
+ if ____cond27 then
50222
50232
  do
50223
50233
  local ____opt_10 = customStage.doorPNGPaths
50224
50234
  return ____opt_10 and ____opt_10.devilRoom
50225
50235
  end
50226
50236
  end
50227
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_07_holyroomdoor.anm2"
50228
- if ____cond26 then
50237
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_07_holyroomdoor.anm2"
50238
+ if ____cond27 then
50229
50239
  do
50230
50240
  local ____opt_12 = customStage.doorPNGPaths
50231
50241
  return ____opt_12 and ____opt_12.angelRoom
50232
50242
  end
50233
50243
  end
50234
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_08_holeinwall.anm2"
50235
- if ____cond26 then
50244
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_08_holeinwall.anm2"
50245
+ if ____cond27 then
50236
50246
  do
50237
50247
  local ____opt_14 = customStage.doorPNGPaths
50238
50248
  return ____opt_14 and ____opt_14.secretRoom
50239
50249
  end
50240
50250
  end
50241
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_09_bossambushroomdoor.anm2"
50242
- if ____cond26 then
50251
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_09_bossambushroomdoor.anm2"
50252
+ if ____cond27 then
50243
50253
  do
50244
50254
  local ____opt_16 = customStage.doorPNGPaths
50245
50255
  return ____opt_16 and ____opt_16.bossChallengeRoom
50246
50256
  end
50247
50257
  end
50248
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_10_bossroomdoor.anm2"
50249
- if ____cond26 then
50258
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_10_bossroomdoor.anm2"
50259
+ if ____cond27 then
50250
50260
  do
50251
50261
  local ____opt_18 = customStage.doorPNGPaths
50252
50262
  return ____opt_18 and ____opt_18.bossRoom
50253
50263
  end
50254
50264
  end
50255
- ____cond26 = ____cond26 or ____switch26 == "gfx/grid/door_15_bossrushdoor.anm2"
50256
- if ____cond26 then
50265
+ ____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_15_bossrushdoor.anm2"
50266
+ if ____cond27 then
50257
50267
  do
50258
50268
  local ____opt_20 = customStage.doorPNGPaths
50259
50269
  return ____opt_20 and ____opt_20.bossRush
50260
50270
  end
50261
50271
  end
50272
+ do
50273
+ do
50274
+ return nil
50275
+ end
50276
+ end
50262
50277
  until true
50263
- return nil
50264
50278
  end
50265
50279
  --- For `GridEntityType.DECORATION` (1).
50266
50280
  function ____exports.setCustomDecorationGraphics(self, customStage, gridEntity)
@@ -50323,6 +50337,11 @@ function ____exports.setCustomRockGraphics(self, customStage, gridEntity)
50323
50337
  break
50324
50338
  end
50325
50339
  end
50340
+ do
50341
+ do
50342
+ break
50343
+ end
50344
+ end
50326
50345
  until true
50327
50346
  end
50328
50347
  --- For `GridEntityType.PIT` (7).
@@ -60956,6 +60975,11 @@ function ____exports.goldenKey(self)
60956
60975
  local player = Isaac.GetPlayer()
60957
60976
  player:AddGoldenKey()
60958
60977
  end
60978
+ --- Gives the player a golden pill.
60979
+ function ____exports.goldenPill(self)
60980
+ local player = Isaac.GetPlayer()
60981
+ player:AddPill(PillColor.GOLD)
60982
+ end
60959
60983
  --- Alias for the "debug 2" command. Useful for seeing the grid costs of each tile in the room.
60960
60984
  function ____exports.gridCosts(self)
60961
60985
  Isaac.ExecuteCommand("debug 2")
@@ -61624,6 +61648,10 @@ end
61624
61648
  function ____exports.goldKey(self)
61625
61649
  ____exports.goldenKey(nil)
61626
61650
  end
61651
+ --- Alias for the "goldenPill" command.
61652
+ function ____exports.goldPill(self)
61653
+ ____exports.goldenPill(nil)
61654
+ end
61627
61655
  --- Alias for the "spawnGoldenTrinket" command.
61628
61656
  function ____exports.goldTrinket(self, params)
61629
61657
  ____exports.spawnGoldenTrinket(nil, params)
@@ -1 +1 @@
1
- {"version":3,"file":"Decrement.d.ts","sourceRoot":"","sources":["../../src/types/Decrement.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC,GAC1E,CAAC,CAAC,QAAQ,CAAC,GACX,KAAK,CAAC;AAEV,KAAK,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,GACxE,CAAC,GACD,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"Decrement.d.ts","sourceRoot":"","sources":["../../src/types/Decrement.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,MAAM,IACpC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;AAE7D,KAAK,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,GACxE,CAAC,GACD,GAAG,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HasFunction.d.ts","sourceRoot":"","sources":["../../src/types/HasFunction.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS;KAE1D,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,QAAQ,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC;CACzD,GACG,KAAK,GACL,CAAC,CAAC"}
1
+ {"version":3,"file":"HasFunction.d.ts","sourceRoot":"","sources":["../../src/types/HasFunction.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,MAAM,MAAM,WAAW,CAAC,CAAC,IACvB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,SAAS;KAE7B,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,QAAQ,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC;CACzD,GACG,KAAK,GACL,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "86.1.0",
3
+ "version": "87.1.0",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -37,6 +37,6 @@
37
37
  "lint": "tsx --tsconfig ./scripts/tsconfig.json ./scripts/lint.mts"
38
38
  },
39
39
  "dependencies": {
40
- "isaac-typescript-definitions": "^40.1.0"
40
+ "isaac-typescript-definitions": "^41.0.0"
41
41
  }
42
42
  }
@@ -114,7 +114,7 @@ export class ModUpgraded implements Mod {
114
114
 
115
115
  // @ts-expect-error The compiler is not smart enough to know that the callback args should
116
116
  // match the callback.
117
- // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, n/no-callback-literal
117
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
118
118
  const returnValue = callback(...callbackArgs);
119
119
 
120
120
  const elapsedTime = getElapsedTimeSince(startTime);
@@ -670,10 +670,10 @@ export class CustomTrapdoors extends Feature {
670
670
  *
671
671
  * In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
672
672
  *
673
- * @param destinationName The integer that identifies the type of custom trapdoor. It should
674
- * correspond to a local `CustomTrapdoorType` enum in your mod. The integer
675
- * can be any unique value and can safely overlap with values chosen by
676
- * other mods.
673
+ * @param destinationName The name that identifies the type of custom trapdoor. It should
674
+ * correspond to a local `CustomTrapdoorType` enum in your mod. It can be
675
+ * any unique value and can safely overlap with values chosen by other
676
+ * mods.
677
677
  * @param destinationFunc A function that takes the player to the destination that you want.
678
678
  * Inside this function, use the `setStage` or `setCustomStage` helper
679
679
  * functions, or do something completely custom.
@@ -104,6 +104,10 @@ export function setCustomRockGraphics(
104
104
 
105
105
  break;
106
106
  }
107
+
108
+ default: {
109
+ break;
110
+ }
107
111
  }
108
112
  }
109
113
 
@@ -207,9 +211,11 @@ function getNewDoorPNGPath(
207
211
  case "gfx/grid/door_15_bossrushdoor.anm2": {
208
212
  return customStage.doorPNGPaths?.bossRush;
209
213
  }
210
- }
211
214
 
212
- return undefined;
215
+ default: {
216
+ return undefined;
217
+ }
218
+ }
213
219
  }
214
220
 
215
221
  export function convertVanillaTrapdoors(
@@ -767,6 +767,11 @@ export function goldKey(): void {
767
767
  goldenKey();
768
768
  }
769
769
 
770
+ /** Alias for the "goldenPill" command. */
771
+ export function goldPill(): void {
772
+ goldenPill();
773
+ }
774
+
770
775
  /** Alias for the "spawnGoldenTrinket" command. */
771
776
  export function goldTrinket(params: string): void {
772
777
  spawnGoldenTrinket(params);
@@ -792,6 +797,12 @@ export function goldenKey(): void {
792
797
  player.AddGoldenKey();
793
798
  }
794
799
 
800
+ /** Gives the player a golden pill. */
801
+ export function goldenPill(): void {
802
+ const player = Isaac.GetPlayer();
803
+ player.AddPill(PillColor.GOLD);
804
+ }
805
+
795
806
  /** Alias for the "spawnGoldenTrinket" command. */
796
807
  export function goldenTrinket(params: string): void {
797
808
  spawnGoldenTrinket(params);
@@ -68,6 +68,10 @@ export function getNextStage(): LevelStage {
68
68
  // e.g. From Basement 1 to Downpour 1, from Basement 2 to Downpour 2, etc.
69
69
  return stage;
70
70
  }
71
+
72
+ default: {
73
+ break;
74
+ }
71
75
  }
72
76
 
73
77
  // 2
@@ -76,6 +76,10 @@ export function addPlayerStat(
76
76
  player.Luck += amount;
77
77
  break;
78
78
  }
79
+
80
+ default: {
81
+ break;
82
+ }
79
83
  }
80
84
  }
81
85
 
@@ -3,9 +3,8 @@
3
3
  *
4
4
  * From: https://stackoverflow.com/questions/54243431/typescript-increment-number-type
5
5
  */
6
- export type Decrement<N extends number> = Arr<N> extends [unknown, ...infer U]
7
- ? U["length"]
8
- : never;
6
+ export type Decrement<N extends number> =
7
+ Arr<N> extends [unknown, ...infer U] ? U["length"] : never;
9
8
 
10
9
  type Arr<N extends number, T extends unknown[] = []> = T["length"] extends N
11
10
  ? T
@@ -1,7 +1,8 @@
1
1
  /** Helper type to check if an object or class has one or more functions/methods. */
2
- export type HasFunction<T> = Record<string, unknown> extends {
3
- // eslint-disable-next-line @typescript-eslint/ban-types
4
- [K in keyof T as T[K] extends Function ? K : never]-?: 1;
5
- }
6
- ? never
7
- : T;
2
+ export type HasFunction<T> =
3
+ Record<string, unknown> extends {
4
+ // eslint-disable-next-line @typescript-eslint/ban-types
5
+ [K in keyof T as T[K] extends Function ? K : never]-?: 1;
6
+ }
7
+ ? never
8
+ : T;