isaacscript-common 87.0.0 → 87.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/features/other/customStages/gridEntities.d.ts.map +1 -1
- package/dist/classes/features/other/customStages/gridEntities.js +6 -1
- package/dist/classes/features/other/customStages/gridEntities.lua +33 -24
- package/dist/classes/features/other/extraConsoleCommands/commands.d.ts +4 -0
- package/dist/classes/features/other/extraConsoleCommands/commands.d.ts.map +1 -1
- package/dist/classes/features/other/extraConsoleCommands/commands.js +13 -2
- package/dist/classes/features/other/extraConsoleCommands/commands.lua +9 -0
- package/dist/functions/nextStage.d.ts.map +1 -1
- package/dist/functions/nextStage.js +3 -0
- package/dist/functions/nextStage.lua +5 -0
- package/dist/functions/pills.d.ts +12 -1
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.js +16 -2
- package/dist/functions/pills.lua +9 -0
- package/dist/functions/stats.d.ts.map +1 -1
- package/dist/functions/stats.js +3 -0
- package/dist/functions/stats.lua +5 -0
- package/dist/index.rollup.d.ts +13 -1
- package/dist/isaacscript-common.lua +62 -25
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types/Decrement.d.ts.map +1 -1
- package/dist/types/HasFunction.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/classes/features/other/customStages/gridEntities.ts +8 -2
- package/src/classes/features/other/extraConsoleCommands/commands.ts +11 -0
- package/src/functions/nextStage.ts +4 -0
- package/src/functions/pills.ts +15 -1
- package/src/functions/stats.ts +4 -0
- package/src/types/Decrement.ts +2 -3
- package/src/types/HasFunction.ts +7 -6
|
@@ -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,
|
|
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
|
|
17
|
-
local
|
|
18
|
-
if
|
|
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
|
-
|
|
25
|
-
if
|
|
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
|
-
|
|
32
|
-
if
|
|
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
|
-
|
|
39
|
-
if
|
|
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
|
-
|
|
46
|
-
if
|
|
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
|
-
|
|
53
|
-
if
|
|
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
|
-
|
|
60
|
-
if
|
|
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
|
-
|
|
67
|
-
if
|
|
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
|
-
|
|
74
|
-
if
|
|
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
|
-
|
|
81
|
-
if
|
|
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
|
-
|
|
88
|
-
if
|
|
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,CAczC;A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I,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,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,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"}
|
|
@@ -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.
|
|
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,
|
|
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) {
|
|
@@ -83,9 +83,20 @@ export declare function getPillEffectType(pillEffect: PillEffect): ItemConfigPil
|
|
|
83
83
|
export declare function getVanillaPillEffectsOfType(pillEffectType: ItemConfigPillEffectType): readonly PillEffect[];
|
|
84
84
|
/** Helper function to see if the given pill color is either a gold pill or a horse gold pill. */
|
|
85
85
|
export declare function isGoldPill(pillColor: PillColor): boolean;
|
|
86
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* Helper function to see if the given pill color is a horse pill.
|
|
88
|
+
*
|
|
89
|
+
* Under the hood, this checks for `pillColor > 2048`.
|
|
90
|
+
*/
|
|
87
91
|
export declare function isHorsePill(pillColor: PillColor): boolean;
|
|
88
92
|
export declare function isModdedPillEffect(pillEffect: PillEffect): boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Helper function to see if the given pill color is not a gold pill and not a horse pill and not
|
|
95
|
+
* the null value.
|
|
96
|
+
*
|
|
97
|
+
* Under the hood, this checks using the `FIRST_PILL_COLOR` and `LAST_NORMAL_PILL_COLOR` constants.
|
|
98
|
+
*/
|
|
99
|
+
export declare function isNormalPill(pillColor: PillColor): boolean;
|
|
89
100
|
export declare function isValidPillEffect(pillEffect: int): pillEffect is PillEffect;
|
|
90
101
|
export declare function isVanillaPillEffect(pillEffect: PillEffect): boolean;
|
|
91
102
|
//# sourceMappingURL=pills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pills.d.ts","sourceRoot":"","sources":["../../src/functions/pills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACxB,UAAU,EACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAqCzD;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,SAAS,SAAS,EAAE,CAEvD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAGxE;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE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ANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isVanillaPillEffect = exports.isValidPillEffect = exports.isModdedPillEffect = exports.isHorsePill = exports.isGoldPill = exports.getVanillaPillEffectsOfType = exports.getPillEffectType = exports.getPillEffectName = exports.getPillEffectClass = exports.getPillColorFromEffect = exports.getPHDPillEffect = exports.getNormalPillColors = exports.getNormalPillColorFromHorse = exports.getHorsePillColors = exports.getHorsePillColor = exports.getFalsePHDPillEffect = exports.getAllPillColors = void 0;
|
|
3
|
+
exports.isVanillaPillEffect = exports.isValidPillEffect = exports.isNormalPill = exports.isModdedPillEffect = exports.isHorsePill = exports.isGoldPill = exports.getVanillaPillEffectsOfType = exports.getPillEffectType = exports.getPillEffectName = exports.getPillEffectClass = exports.getPillColorFromEffect = exports.getPHDPillEffect = exports.getNormalPillColors = exports.getNormalPillColorFromHorse = exports.getHorsePillColors = exports.getHorsePillColor = exports.getFalsePHDPillEffect = exports.getAllPillColors = void 0;
|
|
4
4
|
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
|
|
5
5
|
const cachedEnumValues_1 = require("../cachedEnumValues");
|
|
6
6
|
const cachedClasses_1 = require("../core/cachedClasses");
|
|
@@ -179,7 +179,11 @@ function isGoldPill(pillColor) {
|
|
|
179
179
|
return pillColor === isaac_typescript_definitions_1.PillColor.GOLD || pillColor === isaac_typescript_definitions_1.PillColor.HORSE_GOLD;
|
|
180
180
|
}
|
|
181
181
|
exports.isGoldPill = isGoldPill;
|
|
182
|
-
/**
|
|
182
|
+
/**
|
|
183
|
+
* Helper function to see if the given pill color is a horse pill.
|
|
184
|
+
*
|
|
185
|
+
* Under the hood, this checks for `pillColor > 2048`.
|
|
186
|
+
*/
|
|
183
187
|
function isHorsePill(pillColor) {
|
|
184
188
|
return (0, types_1.asNumber)(pillColor) > HORSE_PILL_COLOR_ADJUSTMENT;
|
|
185
189
|
}
|
|
@@ -188,6 +192,16 @@ function isModdedPillEffect(pillEffect) {
|
|
|
188
192
|
return !isVanillaPillEffect(pillEffect);
|
|
189
193
|
}
|
|
190
194
|
exports.isModdedPillEffect = isModdedPillEffect;
|
|
195
|
+
/**
|
|
196
|
+
* Helper function to see if the given pill color is not a gold pill and not a horse pill and not
|
|
197
|
+
* the null value.
|
|
198
|
+
*
|
|
199
|
+
* Under the hood, this checks using the `FIRST_PILL_COLOR` and `LAST_NORMAL_PILL_COLOR` constants.
|
|
200
|
+
*/
|
|
201
|
+
function isNormalPill(pillColor) {
|
|
202
|
+
return pillColor <= constantsFirstLast_1.FIRST_PILL_COLOR && pillColor <= constantsFirstLast_1.LAST_NORMAL_PILL_COLOR;
|
|
203
|
+
}
|
|
204
|
+
exports.isNormalPill = isNormalPill;
|
|
191
205
|
function isValidPillEffect(pillEffect) {
|
|
192
206
|
const potentialPillEffect = (0, types_1.asPillEffect)(pillEffect);
|
|
193
207
|
const itemConfigPillEffect = cachedClasses_1.itemConfig.GetPillEffect(potentialPillEffect);
|
package/dist/functions/pills.lua
CHANGED
|
@@ -37,6 +37,8 @@ local asPillEffect = ____types.asPillEffect
|
|
|
37
37
|
local ____utils = require("functions.utils")
|
|
38
38
|
local iRange = ____utils.iRange
|
|
39
39
|
--- Helper function to see if the given pill color is a horse pill.
|
|
40
|
+
--
|
|
41
|
+
-- Under the hood, this checks for `pillColor > 2048`.
|
|
40
42
|
function ____exports.isHorsePill(self, pillColor)
|
|
41
43
|
return asNumber(nil, pillColor) > HORSE_PILL_COLOR_ADJUSTMENT
|
|
42
44
|
end
|
|
@@ -158,6 +160,13 @@ end
|
|
|
158
160
|
function ____exports.isModdedPillEffect(self, pillEffect)
|
|
159
161
|
return not ____exports.isVanillaPillEffect(nil, pillEffect)
|
|
160
162
|
end
|
|
163
|
+
--- Helper function to see if the given pill color is not a gold pill and not a horse pill and not
|
|
164
|
+
-- the null value.
|
|
165
|
+
--
|
|
166
|
+
-- Under the hood, this checks using the `FIRST_PILL_COLOR` and `LAST_NORMAL_PILL_COLOR` constants.
|
|
167
|
+
function ____exports.isNormalPill(self, pillColor)
|
|
168
|
+
return pillColor <= FIRST_PILL_COLOR and pillColor <= LAST_NORMAL_PILL_COLOR
|
|
169
|
+
end
|
|
161
170
|
function ____exports.isValidPillEffect(self, pillEffect)
|
|
162
171
|
local potentialPillEffect = asPillEffect(nil, pillEffect)
|
|
163
172
|
local itemConfigPillEffect = itemConfig:GetPillEffect(potentialPillEffect)
|
|
@@ -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,
|
|
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"}
|
package/dist/functions/stats.js
CHANGED
package/dist/functions/stats.lua
CHANGED
|
@@ -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
|
package/dist/index.rollup.d.ts
CHANGED
|
@@ -9728,7 +9728,11 @@ export declare function isHiddenSecretRoomDoor(door: GridEntityDoor): boolean;
|
|
|
9728
9728
|
*/
|
|
9729
9729
|
export declare function isHomeCloset(roomData: RoomConfig): boolean;
|
|
9730
9730
|
|
|
9731
|
-
/**
|
|
9731
|
+
/**
|
|
9732
|
+
* Helper function to see if the given pill color is a horse pill.
|
|
9733
|
+
*
|
|
9734
|
+
* Under the hood, this checks for `pillColor > 2048`.
|
|
9735
|
+
*/
|
|
9732
9736
|
export declare function isHorsePill(pillColor: PillColor): boolean;
|
|
9733
9737
|
|
|
9734
9738
|
export declare function isInteger(variable: unknown): variable is int;
|
|
@@ -9898,6 +9902,14 @@ export declare function isMultiplayer(): boolean;
|
|
|
9898
9902
|
*/
|
|
9899
9903
|
export declare function isNarrowRoom(roomShape: RoomShape): boolean;
|
|
9900
9904
|
|
|
9905
|
+
/**
|
|
9906
|
+
* Helper function to see if the given pill color is not a gold pill and not a horse pill and not
|
|
9907
|
+
* the null value.
|
|
9908
|
+
*
|
|
9909
|
+
* Under the hood, this checks using the `FIRST_PILL_COLOR` and `LAST_NORMAL_PILL_COLOR` constants.
|
|
9910
|
+
*/
|
|
9911
|
+
export declare function isNormalPill(pillColor: PillColor): boolean;
|
|
9912
|
+
|
|
9901
9913
|
/** Helper function to detect if a variable is of type `EntityNPC`. */
|
|
9902
9914
|
export declare function isNPC(variable: unknown): variable is EntityNPC;
|
|
9903
9915
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common
|
|
3
|
+
isaacscript-common 87.1.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
|
|
@@ -39178,6 +39183,8 @@ local asPillEffect = ____types.asPillEffect
|
|
|
39178
39183
|
local ____utils = require("functions.utils")
|
|
39179
39184
|
local iRange = ____utils.iRange
|
|
39180
39185
|
--- Helper function to see if the given pill color is a horse pill.
|
|
39186
|
+
--
|
|
39187
|
+
-- Under the hood, this checks for `pillColor > 2048`.
|
|
39181
39188
|
function ____exports.isHorsePill(self, pillColor)
|
|
39182
39189
|
return asNumber(nil, pillColor) > HORSE_PILL_COLOR_ADJUSTMENT
|
|
39183
39190
|
end
|
|
@@ -39299,6 +39306,13 @@ end
|
|
|
39299
39306
|
function ____exports.isModdedPillEffect(self, pillEffect)
|
|
39300
39307
|
return not ____exports.isVanillaPillEffect(nil, pillEffect)
|
|
39301
39308
|
end
|
|
39309
|
+
--- Helper function to see if the given pill color is not a gold pill and not a horse pill and not
|
|
39310
|
+
-- the null value.
|
|
39311
|
+
--
|
|
39312
|
+
-- Under the hood, this checks using the `FIRST_PILL_COLOR` and `LAST_NORMAL_PILL_COLOR` constants.
|
|
39313
|
+
function ____exports.isNormalPill(self, pillColor)
|
|
39314
|
+
return pillColor <= FIRST_PILL_COLOR and pillColor <= LAST_NORMAL_PILL_COLOR
|
|
39315
|
+
end
|
|
39302
39316
|
function ____exports.isValidPillEffect(self, pillEffect)
|
|
39303
39317
|
local potentialPillEffect = asPillEffect(nil, pillEffect)
|
|
39304
39318
|
local itemConfigPillEffect = itemConfig:GetPillEffect(potentialPillEffect)
|
|
@@ -48957,6 +48971,11 @@ function ____exports.getNextStage(self)
|
|
|
48957
48971
|
return stage
|
|
48958
48972
|
end
|
|
48959
48973
|
end
|
|
48974
|
+
do
|
|
48975
|
+
do
|
|
48976
|
+
break
|
|
48977
|
+
end
|
|
48978
|
+
end
|
|
48960
48979
|
until true
|
|
48961
48980
|
if repentanceStage and stage == LevelStage.BASEMENT_2 then
|
|
48962
48981
|
return LevelStage.CAVES_2
|
|
@@ -50181,86 +50200,90 @@ local ____constants = require("classes.features.other.customStages.constants")
|
|
|
50181
50200
|
local DEFAULT_BASE_STAGE = ____constants.DEFAULT_BASE_STAGE
|
|
50182
50201
|
function getNewDoorPNGPath(self, customStage, fileName)
|
|
50183
50202
|
repeat
|
|
50184
|
-
local
|
|
50185
|
-
local
|
|
50186
|
-
if
|
|
50203
|
+
local ____switch27 = fileName
|
|
50204
|
+
local ____cond27 = ____switch27 == "gfx/grid/door_01_normaldoor.anm2"
|
|
50205
|
+
if ____cond27 then
|
|
50187
50206
|
do
|
|
50188
50207
|
local ____opt_0 = customStage.doorPNGPaths
|
|
50189
50208
|
return ____opt_0 and ____opt_0.normal
|
|
50190
50209
|
end
|
|
50191
50210
|
end
|
|
50192
|
-
|
|
50193
|
-
if
|
|
50211
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_02_treasureroomdoor.anm2"
|
|
50212
|
+
if ____cond27 then
|
|
50194
50213
|
do
|
|
50195
50214
|
local ____opt_2 = customStage.doorPNGPaths
|
|
50196
50215
|
return ____opt_2 and ____opt_2.treasureRoom
|
|
50197
50216
|
end
|
|
50198
50217
|
end
|
|
50199
|
-
|
|
50200
|
-
if
|
|
50218
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_03_ambushroomdoor.anm2"
|
|
50219
|
+
if ____cond27 then
|
|
50201
50220
|
do
|
|
50202
50221
|
local ____opt_4 = customStage.doorPNGPaths
|
|
50203
50222
|
return ____opt_4 and ____opt_4.normalChallengeRoom
|
|
50204
50223
|
end
|
|
50205
50224
|
end
|
|
50206
|
-
|
|
50207
|
-
if
|
|
50225
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_04_selfsacrificeroomdoor.anm2"
|
|
50226
|
+
if ____cond27 then
|
|
50208
50227
|
do
|
|
50209
50228
|
local ____opt_6 = customStage.doorPNGPaths
|
|
50210
50229
|
return ____opt_6 and ____opt_6.curseRoom
|
|
50211
50230
|
end
|
|
50212
50231
|
end
|
|
50213
|
-
|
|
50214
|
-
if
|
|
50232
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_05_arcaderoomdoor.anm2"
|
|
50233
|
+
if ____cond27 then
|
|
50215
50234
|
do
|
|
50216
50235
|
local ____opt_8 = customStage.doorPNGPaths
|
|
50217
50236
|
return ____opt_8 and ____opt_8.arcade
|
|
50218
50237
|
end
|
|
50219
50238
|
end
|
|
50220
|
-
|
|
50221
|
-
if
|
|
50239
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_07_devilroomdoor.anm2"
|
|
50240
|
+
if ____cond27 then
|
|
50222
50241
|
do
|
|
50223
50242
|
local ____opt_10 = customStage.doorPNGPaths
|
|
50224
50243
|
return ____opt_10 and ____opt_10.devilRoom
|
|
50225
50244
|
end
|
|
50226
50245
|
end
|
|
50227
|
-
|
|
50228
|
-
if
|
|
50246
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_07_holyroomdoor.anm2"
|
|
50247
|
+
if ____cond27 then
|
|
50229
50248
|
do
|
|
50230
50249
|
local ____opt_12 = customStage.doorPNGPaths
|
|
50231
50250
|
return ____opt_12 and ____opt_12.angelRoom
|
|
50232
50251
|
end
|
|
50233
50252
|
end
|
|
50234
|
-
|
|
50235
|
-
if
|
|
50253
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_08_holeinwall.anm2"
|
|
50254
|
+
if ____cond27 then
|
|
50236
50255
|
do
|
|
50237
50256
|
local ____opt_14 = customStage.doorPNGPaths
|
|
50238
50257
|
return ____opt_14 and ____opt_14.secretRoom
|
|
50239
50258
|
end
|
|
50240
50259
|
end
|
|
50241
|
-
|
|
50242
|
-
if
|
|
50260
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_09_bossambushroomdoor.anm2"
|
|
50261
|
+
if ____cond27 then
|
|
50243
50262
|
do
|
|
50244
50263
|
local ____opt_16 = customStage.doorPNGPaths
|
|
50245
50264
|
return ____opt_16 and ____opt_16.bossChallengeRoom
|
|
50246
50265
|
end
|
|
50247
50266
|
end
|
|
50248
|
-
|
|
50249
|
-
if
|
|
50267
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_10_bossroomdoor.anm2"
|
|
50268
|
+
if ____cond27 then
|
|
50250
50269
|
do
|
|
50251
50270
|
local ____opt_18 = customStage.doorPNGPaths
|
|
50252
50271
|
return ____opt_18 and ____opt_18.bossRoom
|
|
50253
50272
|
end
|
|
50254
50273
|
end
|
|
50255
|
-
|
|
50256
|
-
if
|
|
50274
|
+
____cond27 = ____cond27 or ____switch27 == "gfx/grid/door_15_bossrushdoor.anm2"
|
|
50275
|
+
if ____cond27 then
|
|
50257
50276
|
do
|
|
50258
50277
|
local ____opt_20 = customStage.doorPNGPaths
|
|
50259
50278
|
return ____opt_20 and ____opt_20.bossRush
|
|
50260
50279
|
end
|
|
50261
50280
|
end
|
|
50281
|
+
do
|
|
50282
|
+
do
|
|
50283
|
+
return nil
|
|
50284
|
+
end
|
|
50285
|
+
end
|
|
50262
50286
|
until true
|
|
50263
|
-
return nil
|
|
50264
50287
|
end
|
|
50265
50288
|
--- For `GridEntityType.DECORATION` (1).
|
|
50266
50289
|
function ____exports.setCustomDecorationGraphics(self, customStage, gridEntity)
|
|
@@ -50323,6 +50346,11 @@ function ____exports.setCustomRockGraphics(self, customStage, gridEntity)
|
|
|
50323
50346
|
break
|
|
50324
50347
|
end
|
|
50325
50348
|
end
|
|
50349
|
+
do
|
|
50350
|
+
do
|
|
50351
|
+
break
|
|
50352
|
+
end
|
|
50353
|
+
end
|
|
50326
50354
|
until true
|
|
50327
50355
|
end
|
|
50328
50356
|
--- For `GridEntityType.PIT` (7).
|
|
@@ -60956,6 +60984,11 @@ function ____exports.goldenKey(self)
|
|
|
60956
60984
|
local player = Isaac.GetPlayer()
|
|
60957
60985
|
player:AddGoldenKey()
|
|
60958
60986
|
end
|
|
60987
|
+
--- Gives the player a golden pill.
|
|
60988
|
+
function ____exports.goldenPill(self)
|
|
60989
|
+
local player = Isaac.GetPlayer()
|
|
60990
|
+
player:AddPill(PillColor.GOLD)
|
|
60991
|
+
end
|
|
60959
60992
|
--- Alias for the "debug 2" command. Useful for seeing the grid costs of each tile in the room.
|
|
60960
60993
|
function ____exports.gridCosts(self)
|
|
60961
60994
|
Isaac.ExecuteCommand("debug 2")
|
|
@@ -61624,6 +61657,10 @@ end
|
|
|
61624
61657
|
function ____exports.goldKey(self)
|
|
61625
61658
|
____exports.goldenKey(nil)
|
|
61626
61659
|
end
|
|
61660
|
+
--- Alias for the "goldenPill" command.
|
|
61661
|
+
function ____exports.goldPill(self)
|
|
61662
|
+
____exports.goldenPill(nil)
|
|
61663
|
+
end
|
|
61627
61664
|
--- Alias for the "spawnGoldenTrinket" command.
|
|
61628
61665
|
function ____exports.goldTrinket(self, params)
|
|
61629
61666
|
____exports.spawnGoldenTrinket(nil, params)
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -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,
|
|
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,
|
|
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
|
@@ -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
|
-
|
|
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);
|
package/src/functions/pills.ts
CHANGED
|
@@ -209,7 +209,11 @@ export function isGoldPill(pillColor: PillColor): boolean {
|
|
|
209
209
|
return pillColor === PillColor.GOLD || pillColor === PillColor.HORSE_GOLD;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
/**
|
|
212
|
+
/**
|
|
213
|
+
* Helper function to see if the given pill color is a horse pill.
|
|
214
|
+
*
|
|
215
|
+
* Under the hood, this checks for `pillColor > 2048`.
|
|
216
|
+
*/
|
|
213
217
|
export function isHorsePill(pillColor: PillColor): boolean {
|
|
214
218
|
return asNumber(pillColor) > HORSE_PILL_COLOR_ADJUSTMENT;
|
|
215
219
|
}
|
|
@@ -218,6 +222,16 @@ export function isModdedPillEffect(pillEffect: PillEffect): boolean {
|
|
|
218
222
|
return !isVanillaPillEffect(pillEffect);
|
|
219
223
|
}
|
|
220
224
|
|
|
225
|
+
/**
|
|
226
|
+
* Helper function to see if the given pill color is not a gold pill and not a horse pill and not
|
|
227
|
+
* the null value.
|
|
228
|
+
*
|
|
229
|
+
* Under the hood, this checks using the `FIRST_PILL_COLOR` and `LAST_NORMAL_PILL_COLOR` constants.
|
|
230
|
+
*/
|
|
231
|
+
export function isNormalPill(pillColor: PillColor): boolean {
|
|
232
|
+
return pillColor <= FIRST_PILL_COLOR && pillColor <= LAST_NORMAL_PILL_COLOR;
|
|
233
|
+
}
|
|
234
|
+
|
|
221
235
|
export function isValidPillEffect(pillEffect: int): pillEffect is PillEffect {
|
|
222
236
|
const potentialPillEffect = asPillEffect(pillEffect);
|
|
223
237
|
const itemConfigPillEffect = itemConfig.GetPillEffect(potentialPillEffect);
|
package/src/functions/stats.ts
CHANGED
package/src/types/Decrement.ts
CHANGED
|
@@ -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> =
|
|
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
|
package/src/types/HasFunction.ts
CHANGED
|
@@ -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> =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|