isaacscript-common 82.0.0 → 82.0.2
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/functions/logMisc.d.ts.map +1 -1
- package/dist/functions/logMisc.lua +9 -3
- package/dist/isaacscript-common.lua +77 -22
- package/dist/objects/versusScreenBackgroundColors.d.ts +8 -0
- package/dist/objects/versusScreenBackgroundColors.d.ts.map +1 -1
- package/dist/objects/versusScreenBackgroundColors.lua +20 -7
- package/dist/objects/versusScreenDirtSpotColors.d.ts +8 -0
- package/dist/objects/versusScreenDirtSpotColors.d.ts.map +1 -1
- package/dist/objects/versusScreenDirtSpotColors.lua +20 -7
- package/dist/sets/bossSets.d.ts.map +1 -1
- package/dist/sets/bossSets.lua +7 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +2 -2
- package/src/functions/logMisc.ts +9 -3
- package/src/objects/versusScreenBackgroundColors.ts +21 -7
- package/src/objects/versusScreenDirtSpotColors.ts +21 -7
- package/src/sets/bossSets.ts +18 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logMisc.d.ts","sourceRoot":"","sources":["../../src/functions/logMisc.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,
|
|
1
|
+
{"version":3,"file":"logMisc.d.ts","sourceRoot":"","sources":["../../src/functions/logMisc.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACb,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,UAAU,EACV,WAAW,EACX,UAAU,EAMV,cAAc,EAKd,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAsB9D;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACxB,IAAI,EAAE,IAAI,EACV,KAAK,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
|
12
12
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
13
|
+
local BossID = ____isaac_2Dtypescript_2Ddefinitions.BossID
|
|
13
14
|
local DamageFlag = ____isaac_2Dtypescript_2Ddefinitions.DamageFlag
|
|
14
15
|
local DisplayFlag = ____isaac_2Dtypescript_2Ddefinitions.DisplayFlag
|
|
15
16
|
local EntityFlag = ____isaac_2Dtypescript_2Ddefinitions.EntityFlag
|
|
@@ -22,6 +23,7 @@ local ProjectileFlag = ____isaac_2Dtypescript_2Ddefinitions.ProjectileFlag
|
|
|
22
23
|
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
23
24
|
local SeedEffect = ____isaac_2Dtypescript_2Ddefinitions.SeedEffect
|
|
24
25
|
local SoundEffect = ____isaac_2Dtypescript_2Ddefinitions.SoundEffect
|
|
26
|
+
local StageID = ____isaac_2Dtypescript_2Ddefinitions.StageID
|
|
25
27
|
local TearFlag = ____isaac_2Dtypescript_2Ddefinitions.TearFlag
|
|
26
28
|
local UseFlag = ____isaac_2Dtypescript_2Ddefinitions.UseFlag
|
|
27
29
|
local ____cachedClasses = require("core.cachedClasses")
|
|
@@ -297,7 +299,7 @@ function ____exports.logRoom()
|
|
|
297
299
|
local roomListIndex = getRoomListIndex(nil)
|
|
298
300
|
local roomData = getRoomData(nil)
|
|
299
301
|
log("Logging room information:")
|
|
300
|
-
log("- Room stage ID: " ..
|
|
302
|
+
log(("- Room stage ID: " .. StageID[roomData.StageID]) .. " (roomData.StageID)")
|
|
301
303
|
log(((("- Room type: " .. RoomType[roomData.Type]) .. " (") .. tostring(roomData.Type)) .. ")")
|
|
302
304
|
log("- Variant: " .. tostring(roomData.Variant))
|
|
303
305
|
log("- Sub-type: " .. tostring(roomData.Subtype))
|
|
@@ -306,10 +308,14 @@ function ____exports.logRoom()
|
|
|
306
308
|
if roomGridIndexName == nil then
|
|
307
309
|
log("- Grid index: " .. tostring(roomGridIndex))
|
|
308
310
|
else
|
|
309
|
-
log(((("- Grid index:
|
|
311
|
+
log(((("- Grid index: " .. roomGridIndexName) .. " (") .. tostring(roomGridIndex)) .. ")")
|
|
310
312
|
end
|
|
311
313
|
log("- List index: " .. tostring(roomListIndex))
|
|
312
|
-
|
|
314
|
+
if bossID == nil then
|
|
315
|
+
log("- Boss ID: undefined")
|
|
316
|
+
else
|
|
317
|
+
log(((("- Boss ID: " .. BossID[bossID]) .. " (") .. tostring(bossID)) .. ")")
|
|
318
|
+
end
|
|
313
319
|
end
|
|
314
320
|
--- Helper function for logging every seed effect (i.e. Easter Egg) that is turned on for the
|
|
315
321
|
-- particular run.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common
|
|
3
|
+
isaacscript-common 82.0.1
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -10043,6 +10043,9 @@ ____exports.TreasureRoomSubType[____exports.TreasureRoomSubType.KNIFE_PIECE] = "
|
|
|
10043
10043
|
-- The enum is named `BossID` instead of `BossRoomSubType` in order to match the `Entity.GetBossID`,
|
|
10044
10044
|
-- `Room.GetBossID` and `Room.GetSecondBossID` methods.
|
|
10045
10045
|
--
|
|
10046
|
+
-- There is no BossID with a value of 0 because this is the default return value for "no boss ID"
|
|
10047
|
+
-- when using the `Room.GetBossID` method.
|
|
10048
|
+
--
|
|
10046
10049
|
-- This enum is contiguous. (Every value is satisfied between 1 and 102, inclusive.)
|
|
10047
10050
|
--
|
|
10048
10051
|
-- Also see the `MinibossID` enum.
|
|
@@ -11010,8 +11013,7 @@ return ____exports
|
|
|
11010
11013
|
local ____exports = {}
|
|
11011
11014
|
--- Corresponds to the filename used in the XML/STB file for the room.
|
|
11012
11015
|
--
|
|
11013
|
-
-- This enum is
|
|
11014
|
-
-- `StageID.BACKWARDS` (36), but there are no values corresponding to 18 through 25.
|
|
11016
|
+
-- This enum is contiguous. (Every value is satisfied between 0 and 36, inclusive.)
|
|
11015
11017
|
____exports.StageID = {}
|
|
11016
11018
|
____exports.StageID.SPECIAL_ROOMS = 0
|
|
11017
11019
|
____exports.StageID[____exports.StageID.SPECIAL_ROOMS] = "SPECIAL_ROOMS"
|
|
@@ -11049,6 +11051,22 @@ ____exports.StageID.DARK_ROOM = 16
|
|
|
11049
11051
|
____exports.StageID[____exports.StageID.DARK_ROOM] = "DARK_ROOM"
|
|
11050
11052
|
____exports.StageID.CHEST = 17
|
|
11051
11053
|
____exports.StageID[____exports.StageID.CHEST] = "CHEST"
|
|
11054
|
+
____exports.StageID.SPECIAL_ROOMS_GREED_MODE = 18
|
|
11055
|
+
____exports.StageID[____exports.StageID.SPECIAL_ROOMS_GREED_MODE] = "SPECIAL_ROOMS_GREED_MODE"
|
|
11056
|
+
____exports.StageID.BASEMENT_GREED_MODE = 19
|
|
11057
|
+
____exports.StageID[____exports.StageID.BASEMENT_GREED_MODE] = "BASEMENT_GREED_MODE"
|
|
11058
|
+
____exports.StageID.CAVES_GREED_MODE = 20
|
|
11059
|
+
____exports.StageID[____exports.StageID.CAVES_GREED_MODE] = "CAVES_GREED_MODE"
|
|
11060
|
+
____exports.StageID.DEPTHS_GREED_MODE = 21
|
|
11061
|
+
____exports.StageID[____exports.StageID.DEPTHS_GREED_MODE] = "DEPTHS_GREED_MODE"
|
|
11062
|
+
____exports.StageID.WOMB_GREED_MODE = 22
|
|
11063
|
+
____exports.StageID[____exports.StageID.WOMB_GREED_MODE] = "WOMB_GREED_MODE"
|
|
11064
|
+
____exports.StageID.SHEOL_GREED_MODE = 23
|
|
11065
|
+
____exports.StageID[____exports.StageID.SHEOL_GREED_MODE] = "SHEOL_GREED_MODE"
|
|
11066
|
+
____exports.StageID.SHOP_GREED_MODE = 24
|
|
11067
|
+
____exports.StageID[____exports.StageID.SHOP_GREED_MODE] = "SHOP_GREED_MODE"
|
|
11068
|
+
____exports.StageID.ULTRA_GREED_GREED_MODE = 25
|
|
11069
|
+
____exports.StageID[____exports.StageID.ULTRA_GREED_GREED_MODE] = "ULTRA_GREED_GREED_MODE"
|
|
11052
11070
|
____exports.StageID.VOID = 26
|
|
11053
11071
|
____exports.StageID[____exports.StageID.VOID] = "VOID"
|
|
11054
11072
|
____exports.StageID.DOWNPOUR = 27
|
|
@@ -51047,7 +51065,7 @@ ____exports.ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET = __TS__New(
|
|
|
51047
51065
|
)
|
|
51048
51066
|
)
|
|
51049
51067
|
____exports.BOSS_ID_TO_STAGE_IDS = (function()
|
|
51050
|
-
local
|
|
51068
|
+
local partialBossIDsToStageIDs = {}
|
|
51051
51069
|
for ____, bossID in ipairs(BOSS_ID_VALUES) do
|
|
51052
51070
|
local stageIDs = __TS__New(Set)
|
|
51053
51071
|
for ____, ____value in __TS__Iterator(____exports.STAGE_ID_TO_BOSS_SET_MAP) do
|
|
@@ -51057,8 +51075,13 @@ ____exports.BOSS_ID_TO_STAGE_IDS = (function()
|
|
|
51057
51075
|
stageIDs:add(stageID)
|
|
51058
51076
|
end
|
|
51059
51077
|
end
|
|
51060
|
-
|
|
51078
|
+
partialBossIDsToStageIDs[bossID] = stageIDs
|
|
51061
51079
|
end
|
|
51080
|
+
local bossIDsToStageIDs = partialBossIDsToStageIDs
|
|
51081
|
+
bossIDsToStageIDs[BossID.ULTRA_GREED]:add(StageID.ULTRA_GREED_GREED_MODE)
|
|
51082
|
+
bossIDsToStageIDs[BossID.ULTRA_GREEDIER]:add(StageID.ULTRA_GREED_GREED_MODE)
|
|
51083
|
+
bossIDsToStageIDs[BossID.MAUSOLEUM_MOMS_HEART]:add(StageID.MAUSOLEUM)
|
|
51084
|
+
bossIDsToStageIDs[BossID.MAUSOLEUM_MOMS_HEART]:add(StageID.GEHENNA)
|
|
51062
51085
|
return bossIDsToStageIDs
|
|
51063
51086
|
end)(nil)
|
|
51064
51087
|
return ____exports
|
|
@@ -51946,28 +51969,41 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescri
|
|
|
51946
51969
|
local StageID = ____isaac_2Dtypescript_2Ddefinitions.StageID
|
|
51947
51970
|
local ____readOnly = require("functions.readOnly")
|
|
51948
51971
|
local newReadonlyColor = ____readOnly.newReadonlyColor
|
|
51972
|
+
local BASEMENT_COLOR = newReadonlyColor(nil, 26 / 255, 14 / 255, 12 / 255)
|
|
51973
|
+
local CAVES_COLOR = newReadonlyColor(nil, 18 / 255, 13 / 255, 8 / 255)
|
|
51974
|
+
local DEPTHS_COLOR = newReadonlyColor(nil, 8 / 255, 8 / 255, 8 / 255)
|
|
51975
|
+
local WOMB_COLOR = newReadonlyColor(nil, 27 / 255, 3 / 255, 3 / 255)
|
|
51976
|
+
local SHEOL_COLOR = newReadonlyColor(nil, 6 / 255, 6 / 255, 6 / 255)
|
|
51949
51977
|
--- We arbitrarily specify a default color equal to that of Basement.
|
|
51950
|
-
local DEFAULT_COLOR =
|
|
51978
|
+
local DEFAULT_COLOR = BASEMENT_COLOR
|
|
51951
51979
|
--- These values are taken from StageAPI.
|
|
51952
51980
|
____exports.VERSUS_SCREEN_BACKGROUND_COLORS = {
|
|
51953
51981
|
[StageID.SPECIAL_ROOMS] = DEFAULT_COLOR,
|
|
51954
|
-
[StageID.BASEMENT] =
|
|
51982
|
+
[StageID.BASEMENT] = BASEMENT_COLOR,
|
|
51955
51983
|
[StageID.CELLAR] = newReadonlyColor(nil, 26 / 255, 17 / 255, 13 / 255),
|
|
51956
51984
|
[StageID.BURNING_BASEMENT] = newReadonlyColor(nil, 28 / 255, 12 / 255, 10 / 255),
|
|
51957
|
-
[StageID.CAVES] =
|
|
51985
|
+
[StageID.CAVES] = CAVES_COLOR,
|
|
51958
51986
|
[StageID.CATACOMBS] = newReadonlyColor(nil, 15 / 255, 10 / 255, 8 / 255),
|
|
51959
51987
|
[StageID.FLOODED_CAVES] = newReadonlyColor(nil, 21 / 255, 28 / 255, 35 / 255),
|
|
51960
|
-
[StageID.DEPTHS] =
|
|
51988
|
+
[StageID.DEPTHS] = DEPTHS_COLOR,
|
|
51961
51989
|
[StageID.NECROPOLIS] = newReadonlyColor(nil, 10 / 255, 6 / 255, 6 / 255),
|
|
51962
|
-
[StageID.DANK_DEPTHS] =
|
|
51963
|
-
[StageID.WOMB] =
|
|
51990
|
+
[StageID.DANK_DEPTHS] = DEPTHS_COLOR,
|
|
51991
|
+
[StageID.WOMB] = WOMB_COLOR,
|
|
51964
51992
|
[StageID.UTERO] = newReadonlyColor(nil, 22 / 255, 6 / 255, 5 / 255),
|
|
51965
51993
|
[StageID.SCARRED_WOMB] = newReadonlyColor(nil, 42 / 255, 19 / 255, 10 / 255),
|
|
51966
51994
|
[StageID.BLUE_WOMB] = newReadonlyColor(nil, 26 / 255, 32 / 255, 40 / 255),
|
|
51967
|
-
[StageID.SHEOL] =
|
|
51995
|
+
[StageID.SHEOL] = SHEOL_COLOR,
|
|
51968
51996
|
[StageID.CATHEDRAL] = newReadonlyColor(nil, 6 / 255, 13 / 255, 17 / 255),
|
|
51969
51997
|
[StageID.DARK_ROOM] = newReadonlyColor(nil, 9 / 255, 4 / 255, 3 / 255),
|
|
51970
51998
|
[StageID.CHEST] = newReadonlyColor(nil, 15 / 255, 9 / 255, 6 / 255),
|
|
51999
|
+
[StageID.SPECIAL_ROOMS_GREED_MODE] = DEFAULT_COLOR,
|
|
52000
|
+
[StageID.BASEMENT_GREED_MODE] = BASEMENT_COLOR,
|
|
52001
|
+
[StageID.CAVES_GREED_MODE] = CAVES_COLOR,
|
|
52002
|
+
[StageID.DEPTHS_GREED_MODE] = DEPTHS_COLOR,
|
|
52003
|
+
[StageID.WOMB_GREED_MODE] = WOMB_COLOR,
|
|
52004
|
+
[StageID.SHEOL_GREED_MODE] = SHEOL_COLOR,
|
|
52005
|
+
[StageID.SHOP_GREED_MODE] = DEFAULT_COLOR,
|
|
52006
|
+
[StageID.ULTRA_GREED_GREED_MODE] = DEFAULT_COLOR,
|
|
51971
52007
|
[StageID.VOID] = newReadonlyColor(nil, 0, 0, 0),
|
|
51972
52008
|
[StageID.DOWNPOUR] = newReadonlyColor(nil, 29 / 255, 30 / 255, 32 / 255),
|
|
51973
52009
|
[StageID.DROSS] = newReadonlyColor(nil, 35 / 255, 35 / 255, 29 / 255),
|
|
@@ -51988,28 +52024,41 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescri
|
|
|
51988
52024
|
local StageID = ____isaac_2Dtypescript_2Ddefinitions.StageID
|
|
51989
52025
|
local ____readOnly = require("functions.readOnly")
|
|
51990
52026
|
local newReadonlyColor = ____readOnly.newReadonlyColor
|
|
52027
|
+
local BASEMENT_COLOR = newReadonlyColor(nil, 201 / 255, 114 / 255, 96 / 255)
|
|
52028
|
+
local CAVES_COLOR = newReadonlyColor(nil, 167 / 255, 111 / 255, 75 / 255)
|
|
52029
|
+
local DEPTHS_COLOR = newReadonlyColor(nil, 70 / 255, 70 / 255, 72 / 255)
|
|
52030
|
+
local WOMB_COLOR = newReadonlyColor(nil, 241 / 255, 28 / 255, 28 / 255)
|
|
52031
|
+
local SHEOL_COLOR = newReadonlyColor(nil, 60 / 255, 54 / 255, 54 / 255)
|
|
51991
52032
|
--- We arbitrarily specify a default color equal to that of Basement.
|
|
51992
|
-
local DEFAULT_COLOR =
|
|
52033
|
+
local DEFAULT_COLOR = BASEMENT_COLOR
|
|
51993
52034
|
--- These values are taken from StageAPI.
|
|
51994
52035
|
____exports.VERSUS_SCREEN_DIRT_SPOT_COLORS = {
|
|
51995
52036
|
[StageID.SPECIAL_ROOMS] = DEFAULT_COLOR,
|
|
51996
|
-
[StageID.BASEMENT] =
|
|
52037
|
+
[StageID.BASEMENT] = BASEMENT_COLOR,
|
|
51997
52038
|
[StageID.CELLAR] = newReadonlyColor(nil, 229 / 255, 157 / 255, 111 / 255),
|
|
51998
52039
|
[StageID.BURNING_BASEMENT] = newReadonlyColor(nil, 252 / 255, 108 / 255, 90 / 255),
|
|
51999
|
-
[StageID.CAVES] =
|
|
52040
|
+
[StageID.CAVES] = CAVES_COLOR,
|
|
52000
52041
|
[StageID.CATACOMBS] = newReadonlyColor(nil, 135 / 255, 90 / 255, 80 / 255),
|
|
52001
52042
|
[StageID.FLOODED_CAVES] = newReadonlyColor(nil, 111 / 255, 147 / 255, 180 / 255),
|
|
52002
|
-
[StageID.DEPTHS] =
|
|
52043
|
+
[StageID.DEPTHS] = DEPTHS_COLOR,
|
|
52003
52044
|
[StageID.NECROPOLIS] = newReadonlyColor(nil, 88 / 255, 67 / 255, 54 / 255),
|
|
52004
|
-
[StageID.DANK_DEPTHS] =
|
|
52005
|
-
[StageID.WOMB] =
|
|
52045
|
+
[StageID.DANK_DEPTHS] = DEPTHS_COLOR,
|
|
52046
|
+
[StageID.WOMB] = WOMB_COLOR,
|
|
52006
52047
|
[StageID.UTERO] = newReadonlyColor(nil, 199 / 255, 60 / 255, 48 / 255),
|
|
52007
52048
|
[StageID.SCARRED_WOMB] = newReadonlyColor(nil, 247 / 255, 152 / 255, 88 / 255),
|
|
52008
52049
|
[StageID.BLUE_WOMB] = newReadonlyColor(nil, 157 / 255, 209 / 255, 255 / 255),
|
|
52009
|
-
[StageID.SHEOL] =
|
|
52050
|
+
[StageID.SHEOL] = SHEOL_COLOR,
|
|
52010
52051
|
[StageID.CATHEDRAL] = newReadonlyColor(nil, 44 / 255, 100 / 255, 111 / 255),
|
|
52011
52052
|
[StageID.DARK_ROOM] = newReadonlyColor(nil, 80 / 255, 38 / 255, 20 / 255),
|
|
52012
52053
|
[StageID.CHEST] = newReadonlyColor(nil, 175 / 255, 108 / 255, 72 / 255),
|
|
52054
|
+
[StageID.SPECIAL_ROOMS_GREED_MODE] = DEFAULT_COLOR,
|
|
52055
|
+
[StageID.BASEMENT_GREED_MODE] = BASEMENT_COLOR,
|
|
52056
|
+
[StageID.CAVES_GREED_MODE] = CAVES_COLOR,
|
|
52057
|
+
[StageID.DEPTHS_GREED_MODE] = DEPTHS_COLOR,
|
|
52058
|
+
[StageID.WOMB_GREED_MODE] = WOMB_COLOR,
|
|
52059
|
+
[StageID.SHEOL_GREED_MODE] = SHEOL_COLOR,
|
|
52060
|
+
[StageID.SHOP_GREED_MODE] = DEFAULT_COLOR,
|
|
52061
|
+
[StageID.ULTRA_GREED_GREED_MODE] = DEFAULT_COLOR,
|
|
52013
52062
|
[StageID.VOID] = newReadonlyColor(nil, 70 / 255, 5 / 255, 5 / 255),
|
|
52014
52063
|
[StageID.DOWNPOUR] = newReadonlyColor(nil, 149 / 255, 157 / 255, 167 / 255),
|
|
52015
52064
|
[StageID.DROSS] = newReadonlyColor(nil, 179 / 255, 179 / 255, 143 / 255),
|
|
@@ -58286,6 +58335,7 @@ local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
|
|
|
58286
58335
|
local __TS__New = ____lualib.__TS__New
|
|
58287
58336
|
local ____exports = {}
|
|
58288
58337
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.index")
|
|
58338
|
+
local BossID = ____isaac_2Dtypescript_2Ddefinitions.BossID
|
|
58289
58339
|
local DamageFlag = ____isaac_2Dtypescript_2Ddefinitions.DamageFlag
|
|
58290
58340
|
local DisplayFlag = ____isaac_2Dtypescript_2Ddefinitions.DisplayFlag
|
|
58291
58341
|
local EntityFlag = ____isaac_2Dtypescript_2Ddefinitions.EntityFlag
|
|
@@ -58298,6 +58348,7 @@ local ProjectileFlag = ____isaac_2Dtypescript_2Ddefinitions.ProjectileFlag
|
|
|
58298
58348
|
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
58299
58349
|
local SeedEffect = ____isaac_2Dtypescript_2Ddefinitions.SeedEffect
|
|
58300
58350
|
local SoundEffect = ____isaac_2Dtypescript_2Ddefinitions.SoundEffect
|
|
58351
|
+
local StageID = ____isaac_2Dtypescript_2Ddefinitions.StageID
|
|
58301
58352
|
local TearFlag = ____isaac_2Dtypescript_2Ddefinitions.TearFlag
|
|
58302
58353
|
local UseFlag = ____isaac_2Dtypescript_2Ddefinitions.UseFlag
|
|
58303
58354
|
local ____cachedClasses = require("core.cachedClasses")
|
|
@@ -58573,7 +58624,7 @@ function ____exports.logRoom()
|
|
|
58573
58624
|
local roomListIndex = getRoomListIndex(nil)
|
|
58574
58625
|
local roomData = getRoomData(nil)
|
|
58575
58626
|
log("Logging room information:")
|
|
58576
|
-
log("- Room stage ID: " ..
|
|
58627
|
+
log(("- Room stage ID: " .. StageID[roomData.StageID]) .. " (roomData.StageID)")
|
|
58577
58628
|
log(((("- Room type: " .. RoomType[roomData.Type]) .. " (") .. tostring(roomData.Type)) .. ")")
|
|
58578
58629
|
log("- Variant: " .. tostring(roomData.Variant))
|
|
58579
58630
|
log("- Sub-type: " .. tostring(roomData.Subtype))
|
|
@@ -58582,10 +58633,14 @@ function ____exports.logRoom()
|
|
|
58582
58633
|
if roomGridIndexName == nil then
|
|
58583
58634
|
log("- Grid index: " .. tostring(roomGridIndex))
|
|
58584
58635
|
else
|
|
58585
|
-
log(((("- Grid index:
|
|
58636
|
+
log(((("- Grid index: " .. roomGridIndexName) .. " (") .. tostring(roomGridIndex)) .. ")")
|
|
58586
58637
|
end
|
|
58587
58638
|
log("- List index: " .. tostring(roomListIndex))
|
|
58588
|
-
|
|
58639
|
+
if bossID == nil then
|
|
58640
|
+
log("- Boss ID: undefined")
|
|
58641
|
+
else
|
|
58642
|
+
log(((("- Boss ID: " .. BossID[bossID]) .. " (") .. tostring(bossID)) .. ")")
|
|
58643
|
+
end
|
|
58589
58644
|
end
|
|
58590
58645
|
--- Helper function for logging every seed effect (i.e. Easter Egg) that is turned on for the
|
|
58591
58646
|
-- particular run.
|
|
@@ -18,6 +18,14 @@ export declare const VERSUS_SCREEN_BACKGROUND_COLORS: {
|
|
|
18
18
|
readonly 15: Readonly<Color>;
|
|
19
19
|
readonly 16: Readonly<Color>;
|
|
20
20
|
readonly 17: Readonly<Color>;
|
|
21
|
+
readonly 18: Readonly<Color>;
|
|
22
|
+
readonly 19: Readonly<Color>;
|
|
23
|
+
readonly 20: Readonly<Color>;
|
|
24
|
+
readonly 21: Readonly<Color>;
|
|
25
|
+
readonly 22: Readonly<Color>;
|
|
26
|
+
readonly 23: Readonly<Color>;
|
|
27
|
+
readonly 24: Readonly<Color>;
|
|
28
|
+
readonly 25: Readonly<Color>;
|
|
21
29
|
readonly 26: Readonly<Color>;
|
|
22
30
|
readonly 27: Readonly<Color>;
|
|
23
31
|
readonly 28: Readonly<Color>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versusScreenBackgroundColors.d.ts","sourceRoot":"","sources":["../../src/objects/versusScreenBackgroundColors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"versusScreenBackgroundColors.d.ts","sourceRoot":"","sources":["../../src/objects/versusScreenBackgroundColors.ts"],"names":[],"mappings":"AAYA,4CAA4C;AAC5C,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCS,CAAC"}
|
|
@@ -3,28 +3,41 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
3
3
|
local StageID = ____isaac_2Dtypescript_2Ddefinitions.StageID
|
|
4
4
|
local ____readOnly = require("functions.readOnly")
|
|
5
5
|
local newReadonlyColor = ____readOnly.newReadonlyColor
|
|
6
|
+
local BASEMENT_COLOR = newReadonlyColor(nil, 26 / 255, 14 / 255, 12 / 255)
|
|
7
|
+
local CAVES_COLOR = newReadonlyColor(nil, 18 / 255, 13 / 255, 8 / 255)
|
|
8
|
+
local DEPTHS_COLOR = newReadonlyColor(nil, 8 / 255, 8 / 255, 8 / 255)
|
|
9
|
+
local WOMB_COLOR = newReadonlyColor(nil, 27 / 255, 3 / 255, 3 / 255)
|
|
10
|
+
local SHEOL_COLOR = newReadonlyColor(nil, 6 / 255, 6 / 255, 6 / 255)
|
|
6
11
|
--- We arbitrarily specify a default color equal to that of Basement.
|
|
7
|
-
local DEFAULT_COLOR =
|
|
12
|
+
local DEFAULT_COLOR = BASEMENT_COLOR
|
|
8
13
|
--- These values are taken from StageAPI.
|
|
9
14
|
____exports.VERSUS_SCREEN_BACKGROUND_COLORS = {
|
|
10
15
|
[StageID.SPECIAL_ROOMS] = DEFAULT_COLOR,
|
|
11
|
-
[StageID.BASEMENT] =
|
|
16
|
+
[StageID.BASEMENT] = BASEMENT_COLOR,
|
|
12
17
|
[StageID.CELLAR] = newReadonlyColor(nil, 26 / 255, 17 / 255, 13 / 255),
|
|
13
18
|
[StageID.BURNING_BASEMENT] = newReadonlyColor(nil, 28 / 255, 12 / 255, 10 / 255),
|
|
14
|
-
[StageID.CAVES] =
|
|
19
|
+
[StageID.CAVES] = CAVES_COLOR,
|
|
15
20
|
[StageID.CATACOMBS] = newReadonlyColor(nil, 15 / 255, 10 / 255, 8 / 255),
|
|
16
21
|
[StageID.FLOODED_CAVES] = newReadonlyColor(nil, 21 / 255, 28 / 255, 35 / 255),
|
|
17
|
-
[StageID.DEPTHS] =
|
|
22
|
+
[StageID.DEPTHS] = DEPTHS_COLOR,
|
|
18
23
|
[StageID.NECROPOLIS] = newReadonlyColor(nil, 10 / 255, 6 / 255, 6 / 255),
|
|
19
|
-
[StageID.DANK_DEPTHS] =
|
|
20
|
-
[StageID.WOMB] =
|
|
24
|
+
[StageID.DANK_DEPTHS] = DEPTHS_COLOR,
|
|
25
|
+
[StageID.WOMB] = WOMB_COLOR,
|
|
21
26
|
[StageID.UTERO] = newReadonlyColor(nil, 22 / 255, 6 / 255, 5 / 255),
|
|
22
27
|
[StageID.SCARRED_WOMB] = newReadonlyColor(nil, 42 / 255, 19 / 255, 10 / 255),
|
|
23
28
|
[StageID.BLUE_WOMB] = newReadonlyColor(nil, 26 / 255, 32 / 255, 40 / 255),
|
|
24
|
-
[StageID.SHEOL] =
|
|
29
|
+
[StageID.SHEOL] = SHEOL_COLOR,
|
|
25
30
|
[StageID.CATHEDRAL] = newReadonlyColor(nil, 6 / 255, 13 / 255, 17 / 255),
|
|
26
31
|
[StageID.DARK_ROOM] = newReadonlyColor(nil, 9 / 255, 4 / 255, 3 / 255),
|
|
27
32
|
[StageID.CHEST] = newReadonlyColor(nil, 15 / 255, 9 / 255, 6 / 255),
|
|
33
|
+
[StageID.SPECIAL_ROOMS_GREED_MODE] = DEFAULT_COLOR,
|
|
34
|
+
[StageID.BASEMENT_GREED_MODE] = BASEMENT_COLOR,
|
|
35
|
+
[StageID.CAVES_GREED_MODE] = CAVES_COLOR,
|
|
36
|
+
[StageID.DEPTHS_GREED_MODE] = DEPTHS_COLOR,
|
|
37
|
+
[StageID.WOMB_GREED_MODE] = WOMB_COLOR,
|
|
38
|
+
[StageID.SHEOL_GREED_MODE] = SHEOL_COLOR,
|
|
39
|
+
[StageID.SHOP_GREED_MODE] = DEFAULT_COLOR,
|
|
40
|
+
[StageID.ULTRA_GREED_GREED_MODE] = DEFAULT_COLOR,
|
|
28
41
|
[StageID.VOID] = newReadonlyColor(nil, 0, 0, 0),
|
|
29
42
|
[StageID.DOWNPOUR] = newReadonlyColor(nil, 29 / 255, 30 / 255, 32 / 255),
|
|
30
43
|
[StageID.DROSS] = newReadonlyColor(nil, 35 / 255, 35 / 255, 29 / 255),
|
|
@@ -18,6 +18,14 @@ export declare const VERSUS_SCREEN_DIRT_SPOT_COLORS: {
|
|
|
18
18
|
readonly 15: Readonly<Color>;
|
|
19
19
|
readonly 16: Readonly<Color>;
|
|
20
20
|
readonly 17: Readonly<Color>;
|
|
21
|
+
readonly 18: Readonly<Color>;
|
|
22
|
+
readonly 19: Readonly<Color>;
|
|
23
|
+
readonly 20: Readonly<Color>;
|
|
24
|
+
readonly 21: Readonly<Color>;
|
|
25
|
+
readonly 22: Readonly<Color>;
|
|
26
|
+
readonly 23: Readonly<Color>;
|
|
27
|
+
readonly 24: Readonly<Color>;
|
|
28
|
+
readonly 25: Readonly<Color>;
|
|
21
29
|
readonly 26: Readonly<Color>;
|
|
22
30
|
readonly 27: Readonly<Color>;
|
|
23
31
|
readonly 28: Readonly<Color>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versusScreenDirtSpotColors.d.ts","sourceRoot":"","sources":["../../src/objects/versusScreenDirtSpotColors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"versusScreenDirtSpotColors.d.ts","sourceRoot":"","sources":["../../src/objects/versusScreenDirtSpotColors.ts"],"names":[],"mappings":"AAYA,4CAA4C;AAC5C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCU,CAAC"}
|
|
@@ -3,28 +3,41 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
3
3
|
local StageID = ____isaac_2Dtypescript_2Ddefinitions.StageID
|
|
4
4
|
local ____readOnly = require("functions.readOnly")
|
|
5
5
|
local newReadonlyColor = ____readOnly.newReadonlyColor
|
|
6
|
+
local BASEMENT_COLOR = newReadonlyColor(nil, 201 / 255, 114 / 255, 96 / 255)
|
|
7
|
+
local CAVES_COLOR = newReadonlyColor(nil, 167 / 255, 111 / 255, 75 / 255)
|
|
8
|
+
local DEPTHS_COLOR = newReadonlyColor(nil, 70 / 255, 70 / 255, 72 / 255)
|
|
9
|
+
local WOMB_COLOR = newReadonlyColor(nil, 241 / 255, 28 / 255, 28 / 255)
|
|
10
|
+
local SHEOL_COLOR = newReadonlyColor(nil, 60 / 255, 54 / 255, 54 / 255)
|
|
6
11
|
--- We arbitrarily specify a default color equal to that of Basement.
|
|
7
|
-
local DEFAULT_COLOR =
|
|
12
|
+
local DEFAULT_COLOR = BASEMENT_COLOR
|
|
8
13
|
--- These values are taken from StageAPI.
|
|
9
14
|
____exports.VERSUS_SCREEN_DIRT_SPOT_COLORS = {
|
|
10
15
|
[StageID.SPECIAL_ROOMS] = DEFAULT_COLOR,
|
|
11
|
-
[StageID.BASEMENT] =
|
|
16
|
+
[StageID.BASEMENT] = BASEMENT_COLOR,
|
|
12
17
|
[StageID.CELLAR] = newReadonlyColor(nil, 229 / 255, 157 / 255, 111 / 255),
|
|
13
18
|
[StageID.BURNING_BASEMENT] = newReadonlyColor(nil, 252 / 255, 108 / 255, 90 / 255),
|
|
14
|
-
[StageID.CAVES] =
|
|
19
|
+
[StageID.CAVES] = CAVES_COLOR,
|
|
15
20
|
[StageID.CATACOMBS] = newReadonlyColor(nil, 135 / 255, 90 / 255, 80 / 255),
|
|
16
21
|
[StageID.FLOODED_CAVES] = newReadonlyColor(nil, 111 / 255, 147 / 255, 180 / 255),
|
|
17
|
-
[StageID.DEPTHS] =
|
|
22
|
+
[StageID.DEPTHS] = DEPTHS_COLOR,
|
|
18
23
|
[StageID.NECROPOLIS] = newReadonlyColor(nil, 88 / 255, 67 / 255, 54 / 255),
|
|
19
|
-
[StageID.DANK_DEPTHS] =
|
|
20
|
-
[StageID.WOMB] =
|
|
24
|
+
[StageID.DANK_DEPTHS] = DEPTHS_COLOR,
|
|
25
|
+
[StageID.WOMB] = WOMB_COLOR,
|
|
21
26
|
[StageID.UTERO] = newReadonlyColor(nil, 199 / 255, 60 / 255, 48 / 255),
|
|
22
27
|
[StageID.SCARRED_WOMB] = newReadonlyColor(nil, 247 / 255, 152 / 255, 88 / 255),
|
|
23
28
|
[StageID.BLUE_WOMB] = newReadonlyColor(nil, 157 / 255, 209 / 255, 255 / 255),
|
|
24
|
-
[StageID.SHEOL] =
|
|
29
|
+
[StageID.SHEOL] = SHEOL_COLOR,
|
|
25
30
|
[StageID.CATHEDRAL] = newReadonlyColor(nil, 44 / 255, 100 / 255, 111 / 255),
|
|
26
31
|
[StageID.DARK_ROOM] = newReadonlyColor(nil, 80 / 255, 38 / 255, 20 / 255),
|
|
27
32
|
[StageID.CHEST] = newReadonlyColor(nil, 175 / 255, 108 / 255, 72 / 255),
|
|
33
|
+
[StageID.SPECIAL_ROOMS_GREED_MODE] = DEFAULT_COLOR,
|
|
34
|
+
[StageID.BASEMENT_GREED_MODE] = BASEMENT_COLOR,
|
|
35
|
+
[StageID.CAVES_GREED_MODE] = CAVES_COLOR,
|
|
36
|
+
[StageID.DEPTHS_GREED_MODE] = DEPTHS_COLOR,
|
|
37
|
+
[StageID.WOMB_GREED_MODE] = WOMB_COLOR,
|
|
38
|
+
[StageID.SHEOL_GREED_MODE] = SHEOL_COLOR,
|
|
39
|
+
[StageID.SHOP_GREED_MODE] = DEFAULT_COLOR,
|
|
40
|
+
[StageID.ULTRA_GREED_GREED_MODE] = DEFAULT_COLOR,
|
|
28
41
|
[StageID.VOID] = newReadonlyColor(nil, 70 / 255, 5 / 255, 5 / 255),
|
|
29
42
|
[StageID.DOWNPOUR] = newReadonlyColor(nil, 149 / 255, 157 / 255, 167 / 255),
|
|
30
43
|
[StageID.DROSS] = newReadonlyColor(nil, 179 / 255, 179 / 255, 143 / 255),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bossSets.d.ts","sourceRoot":"","sources":["../../src/sets/bossSets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAwa3E,eAAO,MAAM,wBAAwB,2CAkCnC,CAAC;AAEH,eAAO,MAAM,8BAA8B,8CAiBzC,CAAC;AAEH,eAAO,MAAM,cAAc,qBAE1B,CAAC;AAEF,eAAO,MAAM,qCAAqC,qBAEjD,CAAC;AAEF,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"bossSets.d.ts","sourceRoot":"","sources":["../../src/sets/bossSets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAwa3E,eAAO,MAAM,wBAAwB,2CAkCnC,CAAC;AAEH,eAAO,MAAM,8BAA8B,8CAiBzC,CAAC;AAEH,eAAO,MAAM,cAAc,qBAE1B,CAAC;AAEF,eAAO,MAAM,qCAAqC,qBAEjD,CAAC;AAEF,eAAO,MAAM,oBAAoB,gDA+B7B,CAAC"}
|
package/dist/sets/bossSets.lua
CHANGED
|
@@ -367,7 +367,7 @@ ____exports.ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET = __TS__New(
|
|
|
367
367
|
)
|
|
368
368
|
)
|
|
369
369
|
____exports.BOSS_ID_TO_STAGE_IDS = (function()
|
|
370
|
-
local
|
|
370
|
+
local partialBossIDsToStageIDs = {}
|
|
371
371
|
for ____, bossID in ipairs(BOSS_ID_VALUES) do
|
|
372
372
|
local stageIDs = __TS__New(Set)
|
|
373
373
|
for ____, ____value in __TS__Iterator(____exports.STAGE_ID_TO_BOSS_SET_MAP) do
|
|
@@ -377,8 +377,13 @@ ____exports.BOSS_ID_TO_STAGE_IDS = (function()
|
|
|
377
377
|
stageIDs:add(stageID)
|
|
378
378
|
end
|
|
379
379
|
end
|
|
380
|
-
|
|
380
|
+
partialBossIDsToStageIDs[bossID] = stageIDs
|
|
381
381
|
end
|
|
382
|
+
local bossIDsToStageIDs = partialBossIDsToStageIDs
|
|
383
|
+
bossIDsToStageIDs[BossID.ULTRA_GREED]:add(StageID.ULTRA_GREED_GREED_MODE)
|
|
384
|
+
bossIDsToStageIDs[BossID.ULTRA_GREEDIER]:add(StageID.ULTRA_GREED_GREED_MODE)
|
|
385
|
+
bossIDsToStageIDs[BossID.MAUSOLEUM_MOMS_HEART]:add(StageID.MAUSOLEUM)
|
|
386
|
+
bossIDsToStageIDs[BossID.MAUSOLEUM_MOMS_HEART]:add(StageID.GEHENNA)
|
|
382
387
|
return bossIDsToStageIDs
|
|
383
388
|
end)(nil)
|
|
384
389
|
return ____exports
|
package/dist/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "82.0.
|
|
3
|
+
"version": "82.0.2",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"lint": "tsx --tsconfig ./scripts/tsconfig.json ./scripts/lint.mts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"isaac-typescript-definitions": "^39.
|
|
40
|
+
"isaac-typescript-definitions": "^39.1.1"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/src/functions/logMisc.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type {
|
|
|
3
3
|
ItemPoolType,
|
|
4
4
|
} from "isaac-typescript-definitions";
|
|
5
5
|
import {
|
|
6
|
+
BossID,
|
|
6
7
|
DamageFlag,
|
|
7
8
|
DisplayFlag,
|
|
8
9
|
EntityFlag,
|
|
@@ -15,6 +16,7 @@ import {
|
|
|
15
16
|
RoomType,
|
|
16
17
|
SeedEffect,
|
|
17
18
|
SoundEffect,
|
|
19
|
+
StageID,
|
|
18
20
|
TearFlag,
|
|
19
21
|
UseFlag,
|
|
20
22
|
} from "isaac-typescript-definitions";
|
|
@@ -351,7 +353,7 @@ export function logRoom(this: void): void {
|
|
|
351
353
|
const roomData = getRoomData();
|
|
352
354
|
|
|
353
355
|
log("Logging room information:");
|
|
354
|
-
log(`- Room stage ID: ${roomData.StageID}`);
|
|
356
|
+
log(`- Room stage ID: ${StageID[roomData.StageID]} (roomData.StageID)`);
|
|
355
357
|
log(`- Room type: ${RoomType[roomData.Type]} (${roomData.Type})`);
|
|
356
358
|
log(`- Variant: ${roomData.Variant}`);
|
|
357
359
|
log(`- Sub-type: ${roomData.Subtype}`);
|
|
@@ -361,11 +363,15 @@ export function logRoom(this: void): void {
|
|
|
361
363
|
if (roomGridIndexName === undefined) {
|
|
362
364
|
log(`- Grid index: ${roomGridIndex}`);
|
|
363
365
|
} else {
|
|
364
|
-
log(`- Grid index:
|
|
366
|
+
log(`- Grid index: ${roomGridIndexName} (${roomGridIndex})`);
|
|
365
367
|
}
|
|
366
368
|
|
|
367
369
|
log(`- List index: ${roomListIndex}`);
|
|
368
|
-
|
|
370
|
+
if (bossID === undefined) {
|
|
371
|
+
log("- Boss ID: undefined");
|
|
372
|
+
} else {
|
|
373
|
+
log(`- Boss ID: ${BossID[bossID]} (${bossID})`);
|
|
374
|
+
}
|
|
369
375
|
}
|
|
370
376
|
|
|
371
377
|
/**
|
|
@@ -1,29 +1,43 @@
|
|
|
1
1
|
import { StageID } from "isaac-typescript-definitions";
|
|
2
2
|
import { newReadonlyColor } from "../functions/readOnly";
|
|
3
3
|
|
|
4
|
+
const BASEMENT_COLOR = newReadonlyColor(26 / 255, 14 / 255, 12 / 255);
|
|
5
|
+
const CAVES_COLOR = newReadonlyColor(18 / 255, 13 / 255, 8 / 255);
|
|
6
|
+
const DEPTHS_COLOR = newReadonlyColor(8 / 255, 8 / 255, 8 / 255);
|
|
7
|
+
const WOMB_COLOR = newReadonlyColor(27 / 255, 3 / 255, 3 / 255);
|
|
8
|
+
const SHEOL_COLOR = newReadonlyColor(6 / 255, 6 / 255, 6 / 255);
|
|
9
|
+
|
|
4
10
|
/** We arbitrarily specify a default color equal to that of Basement. */
|
|
5
|
-
const DEFAULT_COLOR =
|
|
11
|
+
const DEFAULT_COLOR = BASEMENT_COLOR;
|
|
6
12
|
|
|
7
13
|
/** These values are taken from StageAPI. */
|
|
8
14
|
export const VERSUS_SCREEN_BACKGROUND_COLORS = {
|
|
9
15
|
[StageID.SPECIAL_ROOMS]: DEFAULT_COLOR, // 0
|
|
10
|
-
[StageID.BASEMENT]:
|
|
16
|
+
[StageID.BASEMENT]: BASEMENT_COLOR, // 1
|
|
11
17
|
[StageID.CELLAR]: newReadonlyColor(26 / 255, 17 / 255, 13 / 255), // 2
|
|
12
18
|
[StageID.BURNING_BASEMENT]: newReadonlyColor(28 / 255, 12 / 255, 10 / 255), // 3
|
|
13
|
-
[StageID.CAVES]:
|
|
19
|
+
[StageID.CAVES]: CAVES_COLOR, // 4
|
|
14
20
|
[StageID.CATACOMBS]: newReadonlyColor(15 / 255, 10 / 255, 8 / 255), // 5
|
|
15
21
|
[StageID.FLOODED_CAVES]: newReadonlyColor(21 / 255, 28 / 255, 35 / 255), // 6
|
|
16
|
-
[StageID.DEPTHS]:
|
|
22
|
+
[StageID.DEPTHS]: DEPTHS_COLOR, // 7
|
|
17
23
|
[StageID.NECROPOLIS]: newReadonlyColor(10 / 255, 6 / 255, 6 / 255), // 8
|
|
18
|
-
[StageID.DANK_DEPTHS]:
|
|
19
|
-
[StageID.WOMB]:
|
|
24
|
+
[StageID.DANK_DEPTHS]: DEPTHS_COLOR, // 9
|
|
25
|
+
[StageID.WOMB]: WOMB_COLOR, // 10
|
|
20
26
|
[StageID.UTERO]: newReadonlyColor(22 / 255, 6 / 255, 5 / 255), // 11
|
|
21
27
|
[StageID.SCARRED_WOMB]: newReadonlyColor(42 / 255, 19 / 255, 10 / 255), // 12
|
|
22
28
|
[StageID.BLUE_WOMB]: newReadonlyColor(26 / 255, 32 / 255, 40 / 255), // 13
|
|
23
|
-
[StageID.SHEOL]:
|
|
29
|
+
[StageID.SHEOL]: SHEOL_COLOR, // 14
|
|
24
30
|
[StageID.CATHEDRAL]: newReadonlyColor(6 / 255, 13 / 255, 17 / 255), // 15
|
|
25
31
|
[StageID.DARK_ROOM]: newReadonlyColor(9 / 255, 4 / 255, 3 / 255), // 16
|
|
26
32
|
[StageID.CHEST]: newReadonlyColor(15 / 255, 9 / 255, 6 / 255), // 17
|
|
33
|
+
[StageID.SPECIAL_ROOMS_GREED_MODE]: DEFAULT_COLOR, // 18
|
|
34
|
+
[StageID.BASEMENT_GREED_MODE]: BASEMENT_COLOR, // 19
|
|
35
|
+
[StageID.CAVES_GREED_MODE]: CAVES_COLOR, // 20
|
|
36
|
+
[StageID.DEPTHS_GREED_MODE]: DEPTHS_COLOR, // 21
|
|
37
|
+
[StageID.WOMB_GREED_MODE]: WOMB_COLOR, // 22
|
|
38
|
+
[StageID.SHEOL_GREED_MODE]: SHEOL_COLOR, // 23
|
|
39
|
+
[StageID.SHOP_GREED_MODE]: DEFAULT_COLOR, // 24
|
|
40
|
+
[StageID.ULTRA_GREED_GREED_MODE]: DEFAULT_COLOR, // 25
|
|
27
41
|
[StageID.VOID]: newReadonlyColor(0, 0, 0), // 26
|
|
28
42
|
[StageID.DOWNPOUR]: newReadonlyColor(29 / 255, 30 / 255, 32 / 255), // 27
|
|
29
43
|
[StageID.DROSS]: newReadonlyColor(35 / 255, 35 / 255, 29 / 255), // 28
|
|
@@ -1,29 +1,43 @@
|
|
|
1
1
|
import { StageID } from "isaac-typescript-definitions";
|
|
2
2
|
import { newReadonlyColor } from "../functions/readOnly";
|
|
3
3
|
|
|
4
|
+
const BASEMENT_COLOR = newReadonlyColor(201 / 255, 114 / 255, 96 / 255);
|
|
5
|
+
const CAVES_COLOR = newReadonlyColor(167 / 255, 111 / 255, 75 / 255);
|
|
6
|
+
const DEPTHS_COLOR = newReadonlyColor(70 / 255, 70 / 255, 72 / 255);
|
|
7
|
+
const WOMB_COLOR = newReadonlyColor(241 / 255, 28 / 255, 28 / 255);
|
|
8
|
+
const SHEOL_COLOR = newReadonlyColor(60 / 255, 54 / 255, 54 / 255);
|
|
9
|
+
|
|
4
10
|
/** We arbitrarily specify a default color equal to that of Basement. */
|
|
5
|
-
const DEFAULT_COLOR =
|
|
11
|
+
const DEFAULT_COLOR = BASEMENT_COLOR;
|
|
6
12
|
|
|
7
13
|
/** These values are taken from StageAPI. */
|
|
8
14
|
export const VERSUS_SCREEN_DIRT_SPOT_COLORS = {
|
|
9
15
|
[StageID.SPECIAL_ROOMS]: DEFAULT_COLOR, // 0
|
|
10
|
-
[StageID.BASEMENT]:
|
|
16
|
+
[StageID.BASEMENT]: BASEMENT_COLOR, // 1
|
|
11
17
|
[StageID.CELLAR]: newReadonlyColor(229 / 255, 157 / 255, 111 / 255), // 2
|
|
12
18
|
[StageID.BURNING_BASEMENT]: newReadonlyColor(252 / 255, 108 / 255, 90 / 255), // 3
|
|
13
|
-
[StageID.CAVES]:
|
|
19
|
+
[StageID.CAVES]: CAVES_COLOR, // 4
|
|
14
20
|
[StageID.CATACOMBS]: newReadonlyColor(135 / 255, 90 / 255, 80 / 255), // 5
|
|
15
21
|
[StageID.FLOODED_CAVES]: newReadonlyColor(111 / 255, 147 / 255, 180 / 255), // 6
|
|
16
|
-
[StageID.DEPTHS]:
|
|
22
|
+
[StageID.DEPTHS]: DEPTHS_COLOR, // 7
|
|
17
23
|
[StageID.NECROPOLIS]: newReadonlyColor(88 / 255, 67 / 255, 54 / 255), // 8
|
|
18
|
-
[StageID.DANK_DEPTHS]:
|
|
19
|
-
[StageID.WOMB]:
|
|
24
|
+
[StageID.DANK_DEPTHS]: DEPTHS_COLOR, // 9
|
|
25
|
+
[StageID.WOMB]: WOMB_COLOR, // 10
|
|
20
26
|
[StageID.UTERO]: newReadonlyColor(199 / 255, 60 / 255, 48 / 255), // 11
|
|
21
27
|
[StageID.SCARRED_WOMB]: newReadonlyColor(247 / 255, 152 / 255, 88 / 255), // 12
|
|
22
28
|
[StageID.BLUE_WOMB]: newReadonlyColor(157 / 255, 209 / 255, 255 / 255), // 13
|
|
23
|
-
[StageID.SHEOL]:
|
|
29
|
+
[StageID.SHEOL]: SHEOL_COLOR, // 14
|
|
24
30
|
[StageID.CATHEDRAL]: newReadonlyColor(44 / 255, 100 / 255, 111 / 255), // 15
|
|
25
31
|
[StageID.DARK_ROOM]: newReadonlyColor(80 / 255, 38 / 255, 20 / 255), // 16
|
|
26
32
|
[StageID.CHEST]: newReadonlyColor(175 / 255, 108 / 255, 72 / 255), // 17
|
|
33
|
+
[StageID.SPECIAL_ROOMS_GREED_MODE]: DEFAULT_COLOR, // 18
|
|
34
|
+
[StageID.BASEMENT_GREED_MODE]: BASEMENT_COLOR, // 19
|
|
35
|
+
[StageID.CAVES_GREED_MODE]: CAVES_COLOR, // 20
|
|
36
|
+
[StageID.DEPTHS_GREED_MODE]: DEPTHS_COLOR, // 21
|
|
37
|
+
[StageID.WOMB_GREED_MODE]: WOMB_COLOR, // 22
|
|
38
|
+
[StageID.SHEOL_GREED_MODE]: SHEOL_COLOR, // 23
|
|
39
|
+
[StageID.SHOP_GREED_MODE]: DEFAULT_COLOR, // 24
|
|
40
|
+
[StageID.ULTRA_GREED_GREED_MODE]: DEFAULT_COLOR, // 25
|
|
27
41
|
[StageID.VOID]: newReadonlyColor(70 / 255, 5 / 255, 5 / 255), // 26
|
|
28
42
|
[StageID.DOWNPOUR]: newReadonlyColor(149 / 255, 157 / 255, 167 / 255), // 27
|
|
29
43
|
[StageID.DROSS]: newReadonlyColor(179 / 255, 179 / 255, 143 / 255), // 28
|
package/src/sets/bossSets.ts
CHANGED
|
@@ -486,7 +486,7 @@ export const ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET = new ReadonlySet(
|
|
|
486
486
|
);
|
|
487
487
|
|
|
488
488
|
export const BOSS_ID_TO_STAGE_IDS = (() => {
|
|
489
|
-
const
|
|
489
|
+
const partialBossIDsToStageIDs: Partial<Record<BossID, Set<StageID>>> = {};
|
|
490
490
|
|
|
491
491
|
for (const bossID of BOSS_ID_VALUES) {
|
|
492
492
|
const stageIDs = new Set<StageID>();
|
|
@@ -496,8 +496,24 @@ export const BOSS_ID_TO_STAGE_IDS = (() => {
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
|
|
499
|
+
partialBossIDsToStageIDs[bossID] = stageIDs;
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
+
const bossIDsToStageIDs = partialBossIDsToStageIDs as Record<
|
|
503
|
+
BossID,
|
|
504
|
+
Set<StageID>
|
|
505
|
+
>;
|
|
506
|
+
|
|
507
|
+
// In Repentance, the following bosses will have empty sets:
|
|
508
|
+
// - BossID.ULTRA_GREED (62)
|
|
509
|
+
// - BossID.ULTRA_GREEDIER (71)
|
|
510
|
+
// - BossID.MAUSOLEUM_MOMS_HEART (90)
|
|
511
|
+
// - BossID.RAGLICH (98)
|
|
512
|
+
|
|
513
|
+
bossIDsToStageIDs[BossID.ULTRA_GREED].add(StageID.ULTRA_GREED_GREED_MODE); // 62
|
|
514
|
+
bossIDsToStageIDs[BossID.ULTRA_GREEDIER].add(StageID.ULTRA_GREED_GREED_MODE); // 71
|
|
515
|
+
bossIDsToStageIDs[BossID.MAUSOLEUM_MOMS_HEART].add(StageID.MAUSOLEUM); // 90
|
|
516
|
+
bossIDsToStageIDs[BossID.MAUSOLEUM_MOMS_HEART].add(StageID.GEHENNA); // 90
|
|
517
|
+
|
|
502
518
|
return bossIDsToStageIDs as Readonly<Record<BossID, ReadonlySet<StageID>>>;
|
|
503
519
|
})();
|