isaacscript-common 1.0.495 → 1.0.496
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/constants.d.ts +12 -0
- package/dist/constants.lua +11 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -17,6 +17,16 @@ export declare const CHARACTERS_WITH_NO_RED_HEARTS: Set<PlayerType>;
|
|
|
17
17
|
* includes The Lost and Tainted Lost.
|
|
18
18
|
*/
|
|
19
19
|
export declare const CHARACTERS_WITH_NO_SOUL_HEARTS: Set<PlayerType>;
|
|
20
|
+
export declare const COLORS: {
|
|
21
|
+
BLACK: Color;
|
|
22
|
+
RED: Color;
|
|
23
|
+
GREEN: Color;
|
|
24
|
+
BLUE: Color;
|
|
25
|
+
YELLOW: Color;
|
|
26
|
+
PINK: Color;
|
|
27
|
+
CYAN: Color;
|
|
28
|
+
WHITE: Color;
|
|
29
|
+
};
|
|
20
30
|
export declare const DEFAULT_ITEM_POOL_TYPE = ItemPoolType.POOL_TREASURE;
|
|
21
31
|
/** This is also the distance that a player spawns from the door that they enter a room from. */
|
|
22
32
|
export declare const DISTANCE_OF_GRID_TILE = 40;
|
|
@@ -27,6 +37,8 @@ export declare const DOOR_HITBOX_DISTANCE = 11;
|
|
|
27
37
|
* value.
|
|
28
38
|
*/
|
|
29
39
|
export declare const EGGY_STATE_FRAME_OF_FINAL_SPIDER = 45;
|
|
40
|
+
/** As of Repentance, the final stage is floor 13 (which is the Home floor). */
|
|
41
|
+
export declare const FINAL_STAGE: number;
|
|
30
42
|
/**
|
|
31
43
|
* The random items that appear when the player has TMTRAINER are generated on the fly as they are
|
|
32
44
|
* encountered by the player. The first TMTRAINER item takes the final possible 32 bit number. The
|
package/dist/constants.lua
CHANGED
|
@@ -33,10 +33,21 @@ ____exports.CHARACTERS_WITH_NO_SOUL_HEARTS = __TS__New(Set, {
|
|
|
33
33
|
PlayerType.PLAYER_THELOST_B,
|
|
34
34
|
PlayerType.PLAYER_KEEPER_B
|
|
35
35
|
})
|
|
36
|
+
____exports.COLORS = {
|
|
37
|
+
BLACK = Color(1, 1, 1),
|
|
38
|
+
RED = Color(1, 0, 0),
|
|
39
|
+
GREEN = Color(0, 1, 0),
|
|
40
|
+
BLUE = Color(0, 0, 1),
|
|
41
|
+
YELLOW = Color(1, 1, 0),
|
|
42
|
+
PINK = Color(1, 0, 1),
|
|
43
|
+
CYAN = Color(0, 1, 1),
|
|
44
|
+
WHITE = Color(1, 1, 1)
|
|
45
|
+
}
|
|
36
46
|
____exports.DEFAULT_ITEM_POOL_TYPE = ItemPoolType.POOL_TREASURE
|
|
37
47
|
____exports.DISTANCE_OF_GRID_TILE = 40
|
|
38
48
|
____exports.DOOR_HITBOX_DISTANCE = 11
|
|
39
49
|
____exports.EGGY_STATE_FRAME_OF_FINAL_SPIDER = 45
|
|
50
|
+
____exports.FINAL_STAGE = LevelStage.NUM_STAGES - 1
|
|
40
51
|
____exports.FIRST_GLITCHED_COLLECTIBLE_TYPE = (1 << 32) - 1
|
|
41
52
|
____exports.GENESIS_ROOM_VARIANT = 1000
|
|
42
53
|
____exports.GENESIS_ROOM_SUBTYPE = 99
|