isaacscript-common 2.0.3 → 2.0.4
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/constantsMax.d.ts +2 -1
- package/dist/constantsMax.lua +2 -0
- package/package.json +1 -1
package/dist/constantsMax.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlayerType } from "isaac-typescript-definitions";
|
|
1
|
+
import { PillColor, PlayerType } from "isaac-typescript-definitions";
|
|
2
2
|
export declare const NUM_CARDS: number;
|
|
3
3
|
export declare const MAX_CARD: number;
|
|
4
4
|
export declare const NUM_VANILLA_CARDS: number;
|
|
@@ -16,3 +16,4 @@ export declare const MAX_TRINKET_TYPE: number;
|
|
|
16
16
|
export declare const NUM_VANILLA_TRINKET_TYPES: number;
|
|
17
17
|
export declare const MAX_VANILLA_TRINKET_TYPE: number;
|
|
18
18
|
export declare const MAX_VANILLA_PLAYER_TYPE: PlayerType;
|
|
19
|
+
export declare const MAX_NORMAL_PILL_COLOR = PillColor.WHITE_YELLOW;
|
package/dist/constantsMax.lua
CHANGED
|
@@ -2,6 +2,7 @@ local ____exports = {}
|
|
|
2
2
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
3
|
local Card = ____isaac_2Dtypescript_2Ddefinitions.Card
|
|
4
4
|
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
5
|
+
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
5
6
|
local PillEffect = ____isaac_2Dtypescript_2Ddefinitions.PillEffect
|
|
6
7
|
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
7
8
|
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
@@ -27,4 +28,5 @@ ____exports.MAX_TRINKET_TYPE = ____exports.NUM_COLLECTIBLE_TYPES - 1
|
|
|
27
28
|
____exports.NUM_VANILLA_TRINKET_TYPES = getEnumLength(nil, TrinketType) - 1
|
|
28
29
|
____exports.MAX_VANILLA_TRINKET_TYPE = ____exports.NUM_VANILLA_COLLECTIBLE_TYPES
|
|
29
30
|
____exports.MAX_VANILLA_PLAYER_TYPE = getLastEnumValue(nil, PlayerType)
|
|
31
|
+
____exports.MAX_NORMAL_PILL_COLOR = PillColor.WHITE_YELLOW
|
|
30
32
|
return ____exports
|