isaacscript-common 23.0.0 → 23.0.1
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
CHANGED
|
@@ -4411,7 +4411,7 @@ export declare function getCharacters(): PlayerType[];
|
|
|
4411
4411
|
*
|
|
4412
4412
|
* Note that this will return an empty array for Eden and Tainted Eden.
|
|
4413
4413
|
*/
|
|
4414
|
-
export declare function
|
|
4414
|
+
export declare function getCharacterStartingCollectibles(character: PlayerType): readonly CollectibleType[];
|
|
4415
4415
|
|
|
4416
4416
|
/**
|
|
4417
4417
|
* Helper function to get the amount of charges away from the maximum charge that a particular
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 23.0.
|
|
3
|
+
isaacscript-common 23.0.1
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -22014,7 +22014,7 @@ function ____exports.getCharacterName(self, character)
|
|
|
22014
22014
|
end
|
|
22015
22015
|
return CHARACTER_NAMES[character]
|
|
22016
22016
|
end
|
|
22017
|
-
function ____exports.
|
|
22017
|
+
function ____exports.getCharacterStartingCollectibles(self, character)
|
|
22018
22018
|
return CHARACTER_STARTING_COLLECTIBLES[character]
|
|
22019
22019
|
end
|
|
22020
22020
|
function ____exports.isFlyingCharacter(self, player)
|
|
@@ -52,7 +52,7 @@ export declare function getCharacterName(character: PlayerType): string;
|
|
|
52
52
|
*
|
|
53
53
|
* Note that this will return an empty array for Eden and Tainted Eden.
|
|
54
54
|
*/
|
|
55
|
-
export declare function
|
|
55
|
+
export declare function getCharacterStartingCollectibles(character: PlayerType): readonly CollectibleType[];
|
|
56
56
|
export declare function isFlyingCharacter(player: EntityPlayer): boolean;
|
|
57
57
|
export declare function isModdedCharacter(character: PlayerType): boolean;
|
|
58
58
|
export declare function isVanillaCharacter(character: PlayerType): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../../../src/functions/characters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAsB3E;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAExE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEzE;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,uCAAuC,CACrD,SAAS,EAAE,UAAU,GACpB,OAAO,CAET;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE5E;AAED,8EAA8E;AAC9E,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,UAAU,EACrB,iBAAiB,UAAQ,GACxB,KAAK,CAMP;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAU5E;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,GAAG,CAsBzE;AAED,+FAA+F;AAC/F,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAM9D;AAED;;;;;GAKG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../../../src/functions/characters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAsB3E;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAExE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEzE;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,uCAAuC,CACrD,SAAS,EAAE,UAAU,GACpB,OAAO,CAET;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE5E;AAED,8EAA8E;AAC9E,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,UAAU,EACrB,iBAAiB,UAAQ,GACxB,KAAK,CAMP;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAU5E;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,GAAG,CAsBzE;AAED,+FAA+F;AAC/F,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAM9D;AAED;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAC9C,SAAS,EAAE,UAAU,GACpB,SAAS,eAAe,EAAE,CAE5B;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAG/D;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEhE;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEjE"}
|
|
@@ -121,7 +121,7 @@ end
|
|
|
121
121
|
-- beginning of a run.
|
|
122
122
|
--
|
|
123
123
|
-- Note that this will return an empty array for Eden and Tainted Eden.
|
|
124
|
-
function ____exports.
|
|
124
|
+
function ____exports.getCharacterStartingCollectibles(self, character)
|
|
125
125
|
return CHARACTER_STARTING_COLLECTIBLES[character]
|
|
126
126
|
end
|
|
127
127
|
function ____exports.isFlyingCharacter(self, player)
|
package/package.json
CHANGED
|
@@ -141,7 +141,7 @@ export function getCharacterName(character: PlayerType): string {
|
|
|
141
141
|
*
|
|
142
142
|
* Note that this will return an empty array for Eden and Tainted Eden.
|
|
143
143
|
*/
|
|
144
|
-
export function
|
|
144
|
+
export function getCharacterStartingCollectibles(
|
|
145
145
|
character: PlayerType,
|
|
146
146
|
): readonly CollectibleType[] {
|
|
147
147
|
return CHARACTER_STARTING_COLLECTIBLES[character];
|