isaacscript-common 28.7.0 → 28.7.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
|
@@ -9127,14 +9127,14 @@ export declare function mapHasPlayer<V>(map: Map<PlayerIndex, V>, player: Entity
|
|
|
9127
9127
|
* All of the collectibles that grant vision on the map.
|
|
9128
9128
|
*
|
|
9129
9129
|
* Note that:
|
|
9130
|
-
* - Book of Shadows is included, which is an "active mapping" instead of passive.
|
|
9131
9130
|
* - Spelunker Hat is included. Historically, Spelunker Hat was not considered to be mapping, but it
|
|
9132
9131
|
* was buffed in Repentance to show rooms two or more away.
|
|
9132
|
+
* - Book of Secrets is included, which is an "active mapping" instead of passive.
|
|
9133
9133
|
* - Luna is included, even though it is not a very powerful mapping item.
|
|
9134
9134
|
* - Cracked Orb is included, even though it requires the player to be damaged in order for it to be
|
|
9135
9135
|
* activated.
|
|
9136
9136
|
*/
|
|
9137
|
-
export declare const MAPPING_COLLECTIBLES: readonly [CollectibleType.COMPASS, CollectibleType.TREASURE_MAP, CollectibleType.
|
|
9137
|
+
export declare const MAPPING_COLLECTIBLES: readonly [CollectibleType.COMPASS, CollectibleType.TREASURE_MAP, CollectibleType.SPELUNKER_HAT, CollectibleType.CRYSTAL_BALL, CollectibleType.BLUE_MAP, CollectibleType.BOOK_OF_SECRETS, CollectibleType.MIND, CollectibleType.SOL, CollectibleType.LUNA, CollectibleType.CRACKED_ORB];
|
|
9138
9138
|
|
|
9139
9139
|
/**
|
|
9140
9140
|
* Helper function to set a value for a `DefaultMap` that corresponds to an entity, assuming that
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 28.7.
|
|
3
|
+
isaacscript-common 28.7.1
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -17661,10 +17661,10 @@ ____exports.LEVEL_GRID_ROW_WIDTH = 13
|
|
|
17661
17661
|
____exports.MAPPING_COLLECTIBLES = {
|
|
17662
17662
|
CollectibleType.COMPASS,
|
|
17663
17663
|
CollectibleType.TREASURE_MAP,
|
|
17664
|
-
CollectibleType.BOOK_OF_SHADOWS,
|
|
17665
17664
|
CollectibleType.SPELUNKER_HAT,
|
|
17666
17665
|
CollectibleType.CRYSTAL_BALL,
|
|
17667
17666
|
CollectibleType.BLUE_MAP,
|
|
17667
|
+
CollectibleType.BOOK_OF_SECRETS,
|
|
17668
17668
|
CollectibleType.MIND,
|
|
17669
17669
|
CollectibleType.SOL,
|
|
17670
17670
|
CollectibleType.LUNA,
|
|
@@ -72,14 +72,14 @@ export declare const LEVEL_GRID_ROW_WIDTH = 13;
|
|
|
72
72
|
* All of the collectibles that grant vision on the map.
|
|
73
73
|
*
|
|
74
74
|
* Note that:
|
|
75
|
-
* - Book of Shadows is included, which is an "active mapping" instead of passive.
|
|
76
75
|
* - Spelunker Hat is included. Historically, Spelunker Hat was not considered to be mapping, but it
|
|
77
76
|
* was buffed in Repentance to show rooms two or more away.
|
|
77
|
+
* - Book of Secrets is included, which is an "active mapping" instead of passive.
|
|
78
78
|
* - Luna is included, even though it is not a very powerful mapping item.
|
|
79
79
|
* - Cracked Orb is included, even though it requires the player to be damaged in order for it to be
|
|
80
80
|
* activated.
|
|
81
81
|
*/
|
|
82
|
-
export declare const MAPPING_COLLECTIBLES: readonly [CollectibleType.COMPASS, CollectibleType.TREASURE_MAP, CollectibleType.
|
|
82
|
+
export declare const MAPPING_COLLECTIBLES: readonly [CollectibleType.COMPASS, CollectibleType.TREASURE_MAP, CollectibleType.SPELUNKER_HAT, CollectibleType.CRYSTAL_BALL, CollectibleType.BLUE_MAP, CollectibleType.BOOK_OF_SECRETS, CollectibleType.MIND, CollectibleType.SOL, CollectibleType.LUNA, CollectibleType.CRACKED_ORB];
|
|
83
83
|
/**
|
|
84
84
|
* The floor is represented by a 13x13 grid. Room indexes start at 0. The first row is represented
|
|
85
85
|
* by grid indexes from 0 to 12. The second row is represented by grid indexes from 13 to 25, and so
|
|
@@ -69,19 +69,19 @@ ____exports.LEVEL_GRID_ROW_WIDTH = 13
|
|
|
69
69
|
--- All of the collectibles that grant vision on the map.
|
|
70
70
|
--
|
|
71
71
|
-- Note that:
|
|
72
|
-
-- - Book of Shadows is included, which is an "active mapping" instead of passive.
|
|
73
72
|
-- - Spelunker Hat is included. Historically, Spelunker Hat was not considered to be mapping, but it
|
|
74
73
|
-- was buffed in Repentance to show rooms two or more away.
|
|
74
|
+
-- - Book of Secrets is included, which is an "active mapping" instead of passive.
|
|
75
75
|
-- - Luna is included, even though it is not a very powerful mapping item.
|
|
76
76
|
-- - Cracked Orb is included, even though it requires the player to be damaged in order for it to be
|
|
77
77
|
-- activated.
|
|
78
78
|
____exports.MAPPING_COLLECTIBLES = {
|
|
79
79
|
CollectibleType.COMPASS,
|
|
80
80
|
CollectibleType.TREASURE_MAP,
|
|
81
|
-
CollectibleType.BOOK_OF_SHADOWS,
|
|
82
81
|
CollectibleType.SPELUNKER_HAT,
|
|
83
82
|
CollectibleType.CRYSTAL_BALL,
|
|
84
83
|
CollectibleType.BLUE_MAP,
|
|
84
|
+
CollectibleType.BOOK_OF_SECRETS,
|
|
85
85
|
CollectibleType.MIND,
|
|
86
86
|
CollectibleType.SOL,
|
|
87
87
|
CollectibleType.LUNA,
|
package/package.json
CHANGED
package/src/core/constants.ts
CHANGED
|
@@ -108,9 +108,9 @@ export const LEVEL_GRID_ROW_WIDTH = 13;
|
|
|
108
108
|
* All of the collectibles that grant vision on the map.
|
|
109
109
|
*
|
|
110
110
|
* Note that:
|
|
111
|
-
* - Book of Shadows is included, which is an "active mapping" instead of passive.
|
|
112
111
|
* - Spelunker Hat is included. Historically, Spelunker Hat was not considered to be mapping, but it
|
|
113
112
|
* was buffed in Repentance to show rooms two or more away.
|
|
113
|
+
* - Book of Secrets is included, which is an "active mapping" instead of passive.
|
|
114
114
|
* - Luna is included, even though it is not a very powerful mapping item.
|
|
115
115
|
* - Cracked Orb is included, even though it requires the player to be damaged in order for it to be
|
|
116
116
|
* activated.
|
|
@@ -118,10 +118,10 @@ export const LEVEL_GRID_ROW_WIDTH = 13;
|
|
|
118
118
|
export const MAPPING_COLLECTIBLES = [
|
|
119
119
|
CollectibleType.COMPASS, // 21
|
|
120
120
|
CollectibleType.TREASURE_MAP, // 54
|
|
121
|
-
CollectibleType.BOOK_OF_SHADOWS, // 58
|
|
122
121
|
CollectibleType.SPELUNKER_HAT, // 91
|
|
123
122
|
CollectibleType.CRYSTAL_BALL, // 158
|
|
124
123
|
CollectibleType.BLUE_MAP, // 246
|
|
124
|
+
CollectibleType.BOOK_OF_SECRETS, // 287
|
|
125
125
|
CollectibleType.MIND, // 333
|
|
126
126
|
CollectibleType.SOL, // 588
|
|
127
127
|
CollectibleType.LUNA, // 589
|