isaacscript-common 49.0.0 → 51.0.0

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.
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 49.0.0
3
+ isaacscript-common 51.0.0
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -9699,8 +9699,8 @@ ____exports.BossID.LAMB = 54
9699
9699
  ____exports.BossID[____exports.BossID.LAMB] = "LAMB"
9700
9700
  ____exports.BossID.MEGA_SATAN = 55
9701
9701
  ____exports.BossID[____exports.BossID.MEGA_SATAN] = "MEGA_SATAN"
9702
- ____exports.BossID.GURGLINGS = 56
9703
- ____exports.BossID[____exports.BossID.GURGLINGS] = "GURGLINGS"
9702
+ ____exports.BossID.GURGLING = 56
9703
+ ____exports.BossID[____exports.BossID.GURGLING] = "GURGLING"
9704
9704
  ____exports.BossID.STAIN = 57
9705
9705
  ____exports.BossID[____exports.BossID.STAIN] = "STAIN"
9706
9706
  ____exports.BossID.BROWNIE = 58
@@ -43760,126 +43760,75 @@ return ____exports
43760
43760
  local ____lualib = require("lualib_bundle")
43761
43761
  local __TS__New = ____lualib.__TS__New
43762
43762
  local Set = ____lualib.Set
43763
- local __TS__Spread = ____lualib.__TS__Spread
43764
43763
  local ____exports = {}
43765
43764
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
43766
- local BeastVariant = ____isaac_2Dtypescript_2Ddefinitions.BeastVariant
43767
- local BigHornVariant = ____isaac_2Dtypescript_2Ddefinitions.BigHornVariant
43768
- local ChubVariant = ____isaac_2Dtypescript_2Ddefinitions.ChubVariant
43769
- local DaddyLongLegsVariant = ____isaac_2Dtypescript_2Ddefinitions.DaddyLongLegsVariant
43770
- local DingleVariant = ____isaac_2Dtypescript_2Ddefinitions.DingleVariant
43771
- local DukeOfFliesVariant = ____isaac_2Dtypescript_2Ddefinitions.DukeOfFliesVariant
43772
- local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
43773
- local FallenVariant = ____isaac_2Dtypescript_2Ddefinitions.FallenVariant
43774
- local FistulaVariant = ____isaac_2Dtypescript_2Ddefinitions.FistulaVariant
43775
- local GeminiVariant = ____isaac_2Dtypescript_2Ddefinitions.GeminiVariant
43776
- local GurglingVariant = ____isaac_2Dtypescript_2Ddefinitions.GurglingVariant
43777
- local HauntVariant = ____isaac_2Dtypescript_2Ddefinitions.HauntVariant
43778
- local IsaacVariant = ____isaac_2Dtypescript_2Ddefinitions.IsaacVariant
43779
- local LambVariant = ____isaac_2Dtypescript_2Ddefinitions.LambVariant
43780
- local LarryJrVariant = ____isaac_2Dtypescript_2Ddefinitions.LarryJrVariant
43781
- local LittleHornVariant = ____isaac_2Dtypescript_2Ddefinitions.LittleHornVariant
43782
- local LokiVariant = ____isaac_2Dtypescript_2Ddefinitions.LokiVariant
43783
- local MamaGurdyVariant = ____isaac_2Dtypescript_2Ddefinitions.MamaGurdyVariant
43784
- local MomsHeartVariant = ____isaac_2Dtypescript_2Ddefinitions.MomsHeartVariant
43785
- local MomVariant = ____isaac_2Dtypescript_2Ddefinitions.MomVariant
43786
- local Monstro2Variant = ____isaac_2Dtypescript_2Ddefinitions.Monstro2Variant
43787
- local PeepVariant = ____isaac_2Dtypescript_2Ddefinitions.PeepVariant
43788
- local PinVariant = ____isaac_2Dtypescript_2Ddefinitions.PinVariant
43789
- local PolycephalusVariant = ____isaac_2Dtypescript_2Ddefinitions.PolycephalusVariant
43790
- local RagManVariant = ____isaac_2Dtypescript_2Ddefinitions.RagManVariant
43791
- local RagMegaVariant = ____isaac_2Dtypescript_2Ddefinitions.RagMegaVariant
43792
- local SatanVariant = ____isaac_2Dtypescript_2Ddefinitions.SatanVariant
43765
+ local BossID = ____isaac_2Dtypescript_2Ddefinitions.BossID
43766
+ local LevelStage = ____isaac_2Dtypescript_2Ddefinitions.LevelStage
43793
43767
  local StageType = ____isaac_2Dtypescript_2Ddefinitions.StageType
43794
- local WarVariant = ____isaac_2Dtypescript_2Ddefinitions.WarVariant
43795
- local WidowVariant = ____isaac_2Dtypescript_2Ddefinitions.WidowVariant
43796
- local ____entities = require("src.functions.entities")
43797
- local parseEntityTypeVariantString = ____entities.parseEntityTypeVariantString
43798
43768
  local ____set = require("src.functions.set")
43799
43769
  local combineSets = ____set.combineSets
43800
43770
  local copySet = ____set.copySet
43801
- local ____utils = require("src.functions.utils")
43802
- local assertDefined = ____utils.assertDefined
43771
+ local deleteSetsFromSet = ____set.deleteSetsFromSet
43803
43772
  local ____ReadonlyMap = require("src.types.ReadonlyMap")
43804
43773
  local ReadonlyMap = ____ReadonlyMap.ReadonlyMap
43805
43774
  local ____ReadonlySet = require("src.types.ReadonlySet")
43806
43775
  local ReadonlySet = ____ReadonlySet.ReadonlySet
43807
43776
  local ____storyBossesSet = require("src.sets.storyBossesSet")
43808
43777
  local STORY_BOSSES_SET = ____storyBossesSet.STORY_BOSSES_SET
43809
- local BASEMENT_BOSSES_SET = __TS__New(
43810
- ReadonlySet,
43811
- {
43812
- (tostring(EntityType.LARRY_JR) .. ".") .. tostring(LarryJrVariant.LARRY_JR),
43813
- tostring(EntityType.MONSTRO) .. ".0",
43814
- tostring(EntityType.FAMINE) .. ".0",
43815
- (tostring(EntityType.DUKE_OF_FLIES) .. ".") .. tostring(DukeOfFliesVariant.DUKE_OF_FLIES),
43816
- (tostring(EntityType.GEMINI) .. ".") .. tostring(GeminiVariant.GEMINI),
43817
- (tostring(EntityType.GEMINI) .. ".") .. tostring(GeminiVariant.STEVEN),
43818
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
43819
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
43820
- (tostring(EntityType.GURGLING) .. ".") .. tostring(GurglingVariant.GURGLING_BOSS),
43821
- (tostring(EntityType.GURGLING) .. ".") .. tostring(GurglingVariant.TURDLING),
43822
- (tostring(EntityType.DINGLE) .. ".") .. tostring(DingleVariant.DINGLE),
43823
- (tostring(EntityType.DINGLE) .. ".") .. tostring(DingleVariant.DANGLE),
43824
- (tostring(EntityType.LITTLE_HORN) .. ".") .. tostring(LittleHornVariant.LITTLE_HORN),
43825
- tostring(EntityType.BABY_PLUM) .. ".0"
43826
- }
43827
- )
43828
- local CELLAR_BOSSES_SET = __TS__New(
43829
- ReadonlySet,
43830
- {
43831
- (tostring(EntityType.PIN) .. ".") .. tostring(PinVariant.PIN),
43832
- tostring(EntityType.FAMINE) .. ".0",
43833
- (tostring(EntityType.DUKE_OF_FLIES) .. ".") .. tostring(DukeOfFliesVariant.DUKE_OF_FLIES),
43834
- (tostring(EntityType.GEMINI) .. ".") .. tostring(GeminiVariant.BLIGHTED_OVUM),
43835
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
43836
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
43837
- (tostring(EntityType.WIDOW) .. ".") .. tostring(WidowVariant.WIDOW),
43838
- (tostring(EntityType.HAUNT) .. ".") .. tostring(HauntVariant.HAUNT),
43839
- tostring(EntityType.LITTLE_HORN) .. ".0",
43840
- (tostring(EntityType.RAG_MAN) .. ".") .. tostring(RagManVariant.RAG_MAN),
43841
- tostring(EntityType.BABY_PLUM) .. ".0"
43842
- }
43843
- )
43844
- local BURNING_BASEMENT_BOSSES_SET = __TS__New(
43845
- ReadonlySet,
43846
- {
43847
- (tostring(EntityType.LARRY_JR) .. ".") .. tostring(LarryJrVariant.LARRY_JR),
43848
- tostring(EntityType.MONSTRO) .. ".0",
43849
- tostring(EntityType.FAMINE) .. ".0",
43850
- (tostring(EntityType.DUKE_OF_FLIES) .. ".") .. tostring(DukeOfFliesVariant.DUKE_OF_FLIES),
43851
- (tostring(EntityType.GEMINI) .. ".") .. tostring(GeminiVariant.GEMINI),
43852
- (tostring(EntityType.GEMINI) .. ".") .. tostring(GeminiVariant.STEVEN),
43853
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
43854
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
43855
- (tostring(EntityType.DINGLE) .. ".") .. tostring(DingleVariant.DINGLE),
43856
- (tostring(EntityType.GURGLING) .. ".") .. tostring(GurglingVariant.GURGLING_BOSS),
43857
- (tostring(EntityType.GURGLING) .. ".") .. tostring(GurglingVariant.TURDLING),
43858
- (tostring(EntityType.DINGLE) .. ".") .. tostring(DingleVariant.DANGLE),
43859
- tostring(EntityType.LITTLE_HORN) .. ".0",
43860
- (tostring(EntityType.RAG_MAN) .. ".") .. tostring(RagManVariant.RAG_MAN),
43861
- tostring(EntityType.BABY_PLUM) .. ".0"
43862
- }
43863
- )
43864
- local DOWNPOUR_BOSSES_SET = __TS__New(
43865
- ReadonlySet,
43866
- {
43867
- (tostring(EntityType.PIN) .. ".") .. tostring(PinVariant.WORMWOOD),
43868
- tostring(EntityType.LIL_BLUB) .. ".0",
43869
- tostring(EntityType.RAINMAKER) .. ".0",
43870
- tostring(EntityType.MIN_MIN) .. ".0"
43871
- }
43872
- )
43873
- local DROSS_BOSSES_SET = __TS__New(
43874
- ReadonlySet,
43875
- {
43876
- (tostring(EntityType.PIN) .. ".") .. tostring(PinVariant.WORMWOOD),
43877
- tostring(EntityType.LIL_BLUB) .. ".0",
43878
- tostring(EntityType.CLOG) .. ".0",
43879
- tostring(EntityType.COLOSTOMIA) .. ".0",
43880
- tostring(EntityType.TURDLET) .. ".0"
43881
- }
43882
- )
43778
+ local BASEMENT_BOSSES_SET = __TS__New(ReadonlySet, {
43779
+ BossID.MONSTRO,
43780
+ BossID.LARRY_JR,
43781
+ BossID.FAMINE,
43782
+ BossID.DUKE_OF_FLIES,
43783
+ BossID.GEMINI,
43784
+ BossID.STEVEN,
43785
+ BossID.HEADLESS_HORSEMAN,
43786
+ BossID.FALLEN,
43787
+ BossID.DINGLE,
43788
+ BossID.GURGLING,
43789
+ BossID.LITTLE_HORN,
43790
+ BossID.DANGLE,
43791
+ BossID.TURDLING,
43792
+ BossID.BABY_PLUM
43793
+ })
43794
+ local CELLAR_BOSSES_SET = __TS__New(ReadonlySet, {
43795
+ BossID.FAMINE,
43796
+ BossID.DUKE_OF_FLIES,
43797
+ BossID.GEMINI,
43798
+ BossID.HEADLESS_HORSEMAN,
43799
+ BossID.FALLEN,
43800
+ BossID.WIDOW,
43801
+ BossID.PIN,
43802
+ BossID.HAUNT,
43803
+ BossID.LITTLE_HORN,
43804
+ BossID.RAG_MAN,
43805
+ BossID.BABY_PLUM
43806
+ })
43807
+ local BURNING_BASEMENT_BOSSES_SET = __TS__New(ReadonlySet, {
43808
+ BossID.MONSTRO,
43809
+ BossID.LARRY_JR,
43810
+ BossID.FAMINE,
43811
+ BossID.DUKE_OF_FLIES,
43812
+ BossID.GEMINI,
43813
+ BossID.STEVEN,
43814
+ BossID.HEADLESS_HORSEMAN,
43815
+ BossID.FALLEN,
43816
+ BossID.DINGLE,
43817
+ BossID.GURGLING,
43818
+ BossID.LITTLE_HORN,
43819
+ BossID.RAG_MAN,
43820
+ BossID.DANGLE,
43821
+ BossID.TURDLING,
43822
+ BossID.BABY_PLUM
43823
+ })
43824
+ local DOWNPOUR_BOSSES_SET = __TS__New(ReadonlySet, {BossID.LIL_BLUB, BossID.WORMWOOD, BossID.RAINMAKER, BossID.MIN_MIN})
43825
+ local DROSS_BOSSES_SET = __TS__New(ReadonlySet, {
43826
+ BossID.LIL_BLUB,
43827
+ BossID.WORMWOOD,
43828
+ BossID.CLOG,
43829
+ BossID.COLOSTOMIA,
43830
+ BossID.TURDLET
43831
+ })
43883
43832
  local ALL_BASEMENT_BOSSES_SET = combineSets(
43884
43833
  nil,
43885
43834
  BASEMENT_BOSSES_SET,
@@ -43895,88 +43844,68 @@ local BASEMENT_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {
43895
43844
  {StageType.REPENTANCE, DOWNPOUR_BOSSES_SET},
43896
43845
  {StageType.REPENTANCE_B, DROSS_BOSSES_SET}
43897
43846
  })
43898
- local CAVES_BOSSES_SET = __TS__New(
43899
- ReadonlySet,
43900
- {
43901
- (tostring(EntityType.CHUB) .. ".") .. tostring(ChubVariant.CHUB),
43902
- (tostring(EntityType.CHUB) .. ".") .. tostring(ChubVariant.CHAD),
43903
- tostring(EntityType.GURDY) .. ".0",
43904
- tostring(EntityType.PESTILENCE) .. ".0",
43905
- tostring(EntityType.PEEP) .. ".0",
43906
- (tostring(EntityType.FISTULA_BIG) .. ".") .. tostring(FistulaVariant.FISTULA),
43907
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
43908
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
43909
- tostring(EntityType.GURDY_JR) .. ".0",
43910
- tostring(EntityType.MEGA_MAW) .. ".0",
43911
- tostring(EntityType.MEGA_FATTY) .. ".0",
43912
- tostring(EntityType.STAIN) .. ".0",
43913
- (tostring(EntityType.RAG_MEGA) .. ".") .. tostring(RagMegaVariant.RAG_MEGA),
43914
- (tostring(EntityType.BIG_HORN) .. ".") .. tostring(BigHornVariant.BIG_HORN),
43915
- tostring(EntityType.BUMBINO) .. ".0"
43916
- }
43917
- )
43918
- local CATACOMBS_BOSSES_SET = __TS__New(
43919
- ReadonlySet,
43920
- {
43921
- (tostring(EntityType.LARRY_JR) .. ".") .. tostring(LarryJrVariant.HOLLOW),
43922
- (tostring(EntityType.CHUB) .. ".") .. tostring(ChubVariant.CARRION_QUEEN),
43923
- (tostring(EntityType.PIN) .. ".") .. tostring(PinVariant.FRAIL),
43924
- tostring(EntityType.PESTILENCE) .. ".0",
43925
- (tostring(EntityType.DUKE_OF_FLIES) .. ".") .. tostring(DukeOfFliesVariant.HUSK),
43926
- (tostring(EntityType.PEEP) .. ".") .. tostring(PeepVariant.PEEP),
43927
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
43928
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
43929
- tostring(EntityType.GURDY_JR) .. ".0",
43930
- (tostring(EntityType.WIDOW) .. ".") .. tostring(WidowVariant.WRETCHED),
43931
- tostring(EntityType.DARK_ONE) .. ".0",
43932
- (tostring(EntityType.POLYCEPHALUS) .. ".") .. tostring(PolycephalusVariant.POLYCEPHALUS),
43933
- tostring(EntityType.FORSAKEN) .. ".0",
43934
- (tostring(EntityType.RAG_MEGA) .. ".") .. tostring(RagMegaVariant.RAG_MEGA),
43935
- (tostring(EntityType.BIG_HORN) .. ".") .. tostring(BigHornVariant.BIG_HORN),
43936
- tostring(EntityType.BUMBINO) .. ".0"
43937
- }
43938
- )
43939
- local FLOODED_CAVES_BOSSES_SET = __TS__New(
43940
- ReadonlySet,
43941
- {
43942
- (tostring(EntityType.CHUB) .. ".") .. tostring(ChubVariant.CHUB),
43943
- (tostring(EntityType.CHUB) .. ".") .. tostring(ChubVariant.CHAD),
43944
- tostring(EntityType.GURDY) .. ".0",
43945
- (tostring(EntityType.PIN) .. ".") .. tostring(PinVariant.FRAIL),
43946
- tostring(EntityType.PESTILENCE) .. ".0",
43947
- (tostring(EntityType.PEEP) .. ".") .. tostring(PeepVariant.PEEP),
43948
- (tostring(EntityType.FISTULA_BIG) .. ".") .. tostring(FistulaVariant.FISTULA),
43949
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
43950
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
43951
- tostring(EntityType.GURDY_JR) .. ".0",
43952
- tostring(EntityType.MEGA_MAW) .. ".0",
43953
- tostring(EntityType.MEGA_FATTY) .. ".0",
43954
- tostring(EntityType.STAIN) .. ".0",
43955
- tostring(EntityType.FORSAKEN) .. ".0",
43956
- (tostring(EntityType.RAG_MEGA) .. ".") .. tostring(RagMegaVariant.RAG_MEGA),
43957
- (tostring(EntityType.BIG_HORN) .. ".") .. tostring(BigHornVariant.BIG_HORN),
43958
- tostring(EntityType.BUMBINO) .. ".0"
43959
- }
43960
- )
43961
- local MINES_BOSSES_SET = __TS__New(
43962
- ReadonlySet,
43963
- {
43964
- (tostring(EntityType.LARRY_JR) .. ".") .. tostring(LarryJrVariant.TUFF_TWIN),
43965
- tostring(EntityType.REAP_CREEP) .. ".0",
43966
- tostring(EntityType.HORNFEL) .. ".0",
43967
- tostring(EntityType.GREAT_GIDEON) .. ".0"
43968
- }
43969
- )
43970
- local ASHPIT_BOSSES_SET = __TS__New(
43971
- ReadonlySet,
43972
- {
43973
- (tostring(EntityType.LARRY_JR) .. ".") .. tostring(LarryJrVariant.SHELL),
43974
- (tostring(EntityType.POLYCEPHALUS) .. ".") .. tostring(PolycephalusVariant.PILE),
43975
- tostring(EntityType.GREAT_GIDEON) .. ".0",
43976
- tostring(EntityType.SINGE) .. ".0",
43977
- tostring(EntityType.CLUTCH) .. ".0"
43978
- }
43979
- )
43847
+ local CAVES_BOSSES_SET = __TS__New(ReadonlySet, {
43848
+ BossID.CHUB,
43849
+ BossID.GURDY,
43850
+ BossID.PESTILENCE,
43851
+ BossID.PEEP,
43852
+ BossID.FISTULA,
43853
+ BossID.CHAD,
43854
+ BossID.HEADLESS_HORSEMAN,
43855
+ BossID.FALLEN,
43856
+ BossID.GURDY_JR,
43857
+ BossID.MEGA_MAW,
43858
+ BossID.MEGA_FATTY,
43859
+ BossID.STAIN,
43860
+ BossID.RAG_MEGA,
43861
+ BossID.BIG_HORN,
43862
+ BossID.BUMBINO
43863
+ })
43864
+ local CATACOMBS_BOSSES_SET = __TS__New(ReadonlySet, {
43865
+ BossID.PESTILENCE,
43866
+ BossID.PEEP,
43867
+ BossID.HEADLESS_HORSEMAN,
43868
+ BossID.FALLEN,
43869
+ BossID.HOLLOW,
43870
+ BossID.CARRION_QUEEN,
43871
+ BossID.GURDY_JR,
43872
+ BossID.HUSK,
43873
+ BossID.WRETCHED,
43874
+ BossID.DARK_ONE,
43875
+ BossID.POLYCEPHALUS,
43876
+ BossID.FORSAKEN,
43877
+ BossID.FRAIL,
43878
+ BossID.RAG_MEGA,
43879
+ BossID.BIG_HORN,
43880
+ BossID.BUMBINO
43881
+ })
43882
+ local FLOODED_CAVES_BOSSES_SET = __TS__New(ReadonlySet, {
43883
+ BossID.CHUB,
43884
+ BossID.GURDY,
43885
+ BossID.PESTILENCE,
43886
+ BossID.PEEP,
43887
+ BossID.FISTULA,
43888
+ BossID.CHAD,
43889
+ BossID.HEADLESS_HORSEMAN,
43890
+ BossID.FALLEN,
43891
+ BossID.GURDY_JR,
43892
+ BossID.MEGA_MAW,
43893
+ BossID.MEGA_FATTY,
43894
+ BossID.STAIN,
43895
+ BossID.FORSAKEN,
43896
+ BossID.FRAIL,
43897
+ BossID.RAG_MEGA,
43898
+ BossID.BIG_HORN,
43899
+ BossID.BUMBINO
43900
+ })
43901
+ local MINES_BOSSES_SET = __TS__New(ReadonlySet, {BossID.REAP_CREEP, BossID.TUFF_TWINS, BossID.HORNFEL, BossID.GREAT_GIDEON})
43902
+ local ASHPIT_BOSSES_SET = __TS__New(ReadonlySet, {
43903
+ BossID.PILE,
43904
+ BossID.GREAT_GIDEON,
43905
+ BossID.SINGE,
43906
+ BossID.SHELL,
43907
+ BossID.CLUTCH
43908
+ })
43980
43909
  local ALL_CAVES_BOSSES_SET = combineSets(
43981
43910
  nil,
43982
43911
  CAVES_BOSSES_SET,
@@ -43992,72 +43921,49 @@ local CAVES_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {
43992
43921
  {StageType.REPENTANCE, MINES_BOSSES_SET},
43993
43922
  {StageType.REPENTANCE_B, ASHPIT_BOSSES_SET}
43994
43923
  })
43995
- local DEPTHS_BOSSES_SET = __TS__New(
43996
- ReadonlySet,
43997
- {
43998
- (tostring(EntityType.MONSTRO_2) .. ".") .. tostring(Monstro2Variant.MONSTRO_2),
43999
- (tostring(EntityType.MONSTRO_2) .. ".") .. tostring(Monstro2Variant.GISH),
44000
- (tostring(EntityType.MOM) .. ".") .. tostring(MomVariant.MOM),
44001
- (tostring(EntityType.WAR) .. ".") .. tostring(WarVariant.WAR),
44002
- (tostring(EntityType.LOKI) .. ".") .. tostring(LokiVariant.LOKI),
44003
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
44004
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
44005
- tostring(EntityType.GATE) .. ".0",
44006
- tostring(EntityType.CAGE) .. ".0",
44007
- tostring(EntityType.BROWNIE) .. ".0",
44008
- tostring(EntityType.SISTERS_VIS) .. ".0",
44009
- tostring(EntityType.REAP_CREEP) .. ".0"
44010
- }
44011
- )
44012
- local NECROPOLIS_BOSSES_SET = __TS__New(
44013
- ReadonlySet,
44014
- {
44015
- (tostring(EntityType.MOM) .. ".") .. tostring(MomVariant.MOM),
44016
- (tostring(EntityType.WAR) .. ".") .. tostring(WarVariant.WAR),
44017
- (tostring(EntityType.PEEP) .. ".") .. tostring(PeepVariant.BLOAT),
44018
- (tostring(EntityType.LOKI) .. ".") .. tostring(LokiVariant.LOKI),
44019
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
44020
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
44021
- tostring(EntityType.MASK_OF_INFAMY) .. ".0",
44022
- tostring(EntityType.ADVERSARY) .. ".0",
44023
- (tostring(EntityType.POLYCEPHALUS) .. ".") .. tostring(PolycephalusVariant.PILE),
44024
- tostring(EntityType.BROWNIE) .. ".0",
44025
- tostring(EntityType.SISTERS_VIS) .. ".0"
44026
- }
44027
- )
44028
- local DANK_DEPTHS_BOSSES_SET = __TS__New(
44029
- ReadonlySet,
44030
- {
44031
- (tostring(EntityType.MONSTRO_2) .. ".") .. tostring(Monstro2Variant.MONSTRO_2),
44032
- (tostring(EntityType.MONSTRO_2) .. ".") .. tostring(Monstro2Variant.GISH),
44033
- (tostring(EntityType.MOM) .. ".") .. tostring(MomVariant.MOM),
44034
- (tostring(EntityType.WAR) .. ".") .. tostring(WarVariant.WAR),
44035
- (tostring(EntityType.LOKI) .. ".") .. tostring(LokiVariant.LOKI),
44036
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
44037
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
44038
- tostring(EntityType.GATE) .. ".0",
44039
- tostring(EntityType.CAGE) .. ".0",
44040
- tostring(EntityType.BROWNIE) .. ".0",
44041
- tostring(EntityType.SISTERS_VIS) .. ".0",
44042
- tostring(EntityType.REAP_CREEP) .. ".0"
44043
- }
44044
- )
44045
- local MAUSOLEUM_BOSSES_SET = __TS__New(
44046
- ReadonlySet,
44047
- {
44048
- (tostring(EntityType.MOM) .. ".") .. tostring(MomVariant.MOM),
44049
- tostring(EntityType.SIREN) .. ".0",
44050
- tostring(EntityType.HERETIC) .. ".0"
44051
- }
44052
- )
44053
- local GEHENNA_BOSSES_SET = __TS__New(
44054
- ReadonlySet,
44055
- {
44056
- (tostring(EntityType.MOM) .. ".") .. tostring(MomVariant.MOM),
44057
- tostring(EntityType.VISAGE) .. ".0",
44058
- tostring(EntityType.HORNY_BOYS) .. ".0"
44059
- }
44060
- )
43924
+ local DEPTHS_BOSSES_SET = __TS__New(ReadonlySet, {
43925
+ BossID.MONSTRO_2,
43926
+ BossID.MOM,
43927
+ BossID.WAR,
43928
+ BossID.LOKI,
43929
+ BossID.GISH,
43930
+ BossID.HEADLESS_HORSEMAN,
43931
+ BossID.FALLEN,
43932
+ BossID.GATE,
43933
+ BossID.CAGE,
43934
+ BossID.BROWNIE,
43935
+ BossID.SISTERS_VIS,
43936
+ BossID.REAP_CREEP
43937
+ })
43938
+ local NECROPOLIS_BOSSES_SET = __TS__New(ReadonlySet, {
43939
+ BossID.MOM,
43940
+ BossID.WAR,
43941
+ BossID.LOKI,
43942
+ BossID.HEADLESS_HORSEMAN,
43943
+ BossID.FALLEN,
43944
+ BossID.BLOAT,
43945
+ BossID.MASK_OF_INFAMY,
43946
+ BossID.ADVERSARY,
43947
+ BossID.BROWNIE,
43948
+ BossID.SISTERS_VIS,
43949
+ BossID.PILE
43950
+ })
43951
+ local DANK_DEPTHS_BOSSES_SET = __TS__New(ReadonlySet, {
43952
+ BossID.MONSTRO_2,
43953
+ BossID.MOM,
43954
+ BossID.WAR,
43955
+ BossID.LOKI,
43956
+ BossID.GISH,
43957
+ BossID.HEADLESS_HORSEMAN,
43958
+ BossID.FALLEN,
43959
+ BossID.GATE,
43960
+ BossID.CAGE,
43961
+ BossID.BROWNIE,
43962
+ BossID.SISTERS_VIS,
43963
+ BossID.REAP_CREEP
43964
+ })
43965
+ local MAUSOLEUM_BOSSES_SET = __TS__New(ReadonlySet, {BossID.SIREN, BossID.HERETIC, BossID.MAUSOLEUM_MOM})
43966
+ local GEHENNA_BOSSES_SET = __TS__New(ReadonlySet, {BossID.VISAGE, BossID.MAUSOLEUM_MOM, BossID.HORNY_BOYS})
44061
43967
  local ALL_DEPTHS_BOSSES_SET = combineSets(
44062
43968
  nil,
44063
43969
  DEPTHS_BOSSES_SET,
@@ -44073,66 +43979,49 @@ local DEPTHS_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {
44073
43979
  {StageType.REPENTANCE, MAUSOLEUM_BOSSES_SET},
44074
43980
  {StageType.REPENTANCE_B, GEHENNA_BOSSES_SET}
44075
43981
  })
44076
- local WOMB_BOSSES_SET = __TS__New(
44077
- ReadonlySet,
44078
- {
44079
- (tostring(EntityType.PIN) .. ".") .. tostring(PinVariant.SCOLEX),
44080
- (tostring(EntityType.WAR) .. ".") .. tostring(WarVariant.CONQUEST),
44081
- tostring(EntityType.DEATH) .. ".0",
44082
- (tostring(EntityType.LOKI) .. ".") .. tostring(LokiVariant.LOKII),
44083
- tostring(EntityType.BLASTOCYST_BIG) .. ".0",
44084
- (tostring(EntityType.MOMS_HEART) .. ".") .. tostring(MomsHeartVariant.MOMS_HEART),
44085
- (tostring(EntityType.MOMS_HEART) .. ".") .. tostring(MomsHeartVariant.IT_LIVES),
44086
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
44087
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
44088
- tostring(EntityType.MAMA_GURDY) .. ".0",
44089
- tostring(EntityType.MR_FRED) .. ".0",
44090
- tostring(EntityType.MATRIARCH) .. ".0"
44091
- }
44092
- )
44093
- local UTERO_BOSSES_SET = __TS__New(
44094
- ReadonlySet,
44095
- {
44096
- (tostring(EntityType.WAR) .. ".") .. tostring(WarVariant.CONQUEST),
44097
- tostring(EntityType.DEATH) .. ".0",
44098
- (tostring(EntityType.DADDY_LONG_LEGS) .. ".") .. tostring(DaddyLongLegsVariant.DADDY_LONG_LEGS),
44099
- (tostring(EntityType.DADDY_LONG_LEGS) .. ".") .. tostring(DaddyLongLegsVariant.TRIACHNID),
44100
- (tostring(EntityType.PEEP) .. ".") .. tostring(PeepVariant.BLOAT),
44101
- (tostring(EntityType.LOKI) .. ".") .. tostring(LokiVariant.LOKII),
44102
- (tostring(EntityType.FISTULA_BIG) .. ".") .. tostring(FistulaVariant.TERATOMA),
44103
- (tostring(EntityType.MOMS_HEART) .. ".") .. tostring(MomsHeartVariant.MOMS_HEART),
44104
- (tostring(EntityType.MOMS_HEART) .. ".") .. tostring(MomsHeartVariant.IT_LIVES),
44105
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
44106
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0"
44107
- }
44108
- )
44109
- local SCARRED_WOMB_BOSSES_SET = __TS__New(
44110
- ReadonlySet,
44111
- {
44112
- (tostring(EntityType.PIN) .. ".") .. tostring(PinVariant.SCOLEX),
44113
- (tostring(EntityType.WAR) .. ".") .. tostring(WarVariant.CONQUEST),
44114
- tostring(EntityType.DEATH) .. ".0",
44115
- (tostring(EntityType.LOKI) .. ".") .. tostring(LokiVariant.LOKII),
44116
- tostring(EntityType.BLASTOCYST_BIG) .. ".0",
44117
- (tostring(EntityType.MOMS_HEART) .. ".") .. tostring(MomsHeartVariant.MOMS_HEART),
44118
- (tostring(EntityType.MOMS_HEART) .. ".") .. tostring(MomsHeartVariant.IT_LIVES),
44119
- (tostring(EntityType.FALLEN) .. ".") .. tostring(FallenVariant.FALLEN),
44120
- tostring(EntityType.HEADLESS_HORSEMAN) .. ".0",
44121
- (tostring(EntityType.DADDY_LONG_LEGS) .. ".") .. tostring(DaddyLongLegsVariant.TRIACHNID),
44122
- (tostring(EntityType.MAMA_GURDY) .. ".") .. tostring(MamaGurdyVariant.MAMA_GURDY),
44123
- tostring(EntityType.MR_FRED) .. ".0",
44124
- tostring(EntityType.MATRIARCH) .. ".0"
44125
- }
44126
- )
44127
- local CORPSE_BOSSES_SET = __TS__New(
44128
- ReadonlySet,
44129
- {
44130
- tostring(EntityType.SCOURGE) .. ".0",
44131
- tostring(EntityType.CHIMERA) .. ".0",
44132
- tostring(EntityType.ROTGUT) .. ".0",
44133
- tostring(EntityType.MOTHER) .. ".0"
44134
- }
44135
- )
43982
+ local WOMB_BOSSES_SET = __TS__New(ReadonlySet, {
43983
+ BossID.SCOLEX,
43984
+ BossID.MOMS_HEART,
43985
+ BossID.DEATH,
43986
+ BossID.BLASTOCYST,
43987
+ BossID.HEADLESS_HORSEMAN,
43988
+ BossID.FALLEN,
43989
+ BossID.IT_LIVES,
43990
+ BossID.LOKII,
43991
+ BossID.CONQUEST,
43992
+ BossID.MAMA_GURDY,
43993
+ BossID.MR_FRED,
43994
+ BossID.MATRIARCH
43995
+ })
43996
+ local UTERO_BOSSES_SET = __TS__New(ReadonlySet, {
43997
+ BossID.MOMS_HEART,
43998
+ BossID.DEATH,
43999
+ BossID.HEADLESS_HORSEMAN,
44000
+ BossID.FALLEN,
44001
+ BossID.IT_LIVES,
44002
+ BossID.BLOAT,
44003
+ BossID.LOKII,
44004
+ BossID.TERATOMA,
44005
+ BossID.CONQUEST,
44006
+ BossID.DADDY_LONG_LEGS,
44007
+ BossID.TRIACHNID
44008
+ })
44009
+ local SCARRED_WOMB_BOSSES_SET = __TS__New(ReadonlySet, {
44010
+ BossID.SCOLEX,
44011
+ BossID.MOMS_HEART,
44012
+ BossID.DEATH,
44013
+ BossID.BLASTOCYST,
44014
+ BossID.HEADLESS_HORSEMAN,
44015
+ BossID.FALLEN,
44016
+ BossID.IT_LIVES,
44017
+ BossID.LOKII,
44018
+ BossID.CONQUEST,
44019
+ BossID.TRIACHNID,
44020
+ BossID.MAMA_GURDY,
44021
+ BossID.MR_FRED,
44022
+ BossID.MATRIARCH
44023
+ })
44024
+ local CORPSE_BOSSES_SET = __TS__New(ReadonlySet, {BossID.SCOURGE, BossID.CHIMERA, BossID.ROTGUT, BossID.MOTHER})
44136
44025
  local ALL_WOMB_BOSSES_SET = combineSets(
44137
44026
  nil,
44138
44027
  WOMB_BOSSES_SET,
@@ -44142,83 +44031,49 @@ local ALL_WOMB_BOSSES_SET = combineSets(
44142
44031
  GEHENNA_BOSSES_SET
44143
44032
  )
44144
44033
  local WOMB_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {{StageType.ORIGINAL, WOMB_BOSSES_SET}, {StageType.WRATH_OF_THE_LAMB, UTERO_BOSSES_SET}, {StageType.AFTERBIRTH, SCARRED_WOMB_BOSSES_SET}, {StageType.REPENTANCE, CORPSE_BOSSES_SET}})
44145
- local BLUE_WOMB_BOSSES_SET = __TS__New(
44146
- ReadonlySet,
44147
- {tostring(EntityType.HUSH) .. ".0"}
44148
- )
44034
+ local BLUE_WOMB_BOSSES_SET = __TS__New(ReadonlySet, {BossID.HUSH})
44149
44035
  local BLUE_WOMB_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {{StageType.ORIGINAL, BLUE_WOMB_BOSSES_SET}})
44150
- local SHEOL_BOSSES_SET = __TS__New(
44151
- ReadonlySet,
44152
- {(tostring(EntityType.SATAN) .. ".") .. tostring(SatanVariant.SATAN)}
44153
- )
44154
- local CATHEDRAL_BOSSES_SET = __TS__New(
44155
- ReadonlySet,
44156
- {(tostring(EntityType.ISAAC) .. ".") .. tostring(IsaacVariant.ISAAC)}
44157
- )
44036
+ local SHEOL_BOSSES_SET = __TS__New(ReadonlySet, {BossID.SATAN})
44037
+ local CATHEDRAL_BOSSES_SET = __TS__New(ReadonlySet, {BossID.ISAAC})
44158
44038
  local ALL_STAGE_10_BOSSES_SET = combineSets(nil, SHEOL_BOSSES_SET, CATHEDRAL_BOSSES_SET)
44159
44039
  local STAGE_10_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {{StageType.ORIGINAL, SHEOL_BOSSES_SET}, {StageType.WRATH_OF_THE_LAMB, CATHEDRAL_BOSSES_SET}})
44160
- local DARK_ROOM_BOSSES_SET = __TS__New(
44161
- ReadonlySet,
44162
- {
44163
- (tostring(EntityType.LAMB) .. ".") .. tostring(LambVariant.LAMB),
44164
- tostring(EntityType.MEGA_SATAN) .. ".0"
44165
- }
44166
- )
44167
- local CHEST_BOSSES_SET = __TS__New(
44168
- ReadonlySet,
44169
- {
44170
- (tostring(EntityType.ISAAC) .. ".") .. tostring(IsaacVariant.BLUE_BABY),
44171
- tostring(EntityType.MEGA_SATAN) .. ".0"
44172
- }
44173
- )
44040
+ local DARK_ROOM_BOSSES_SET = __TS__New(ReadonlySet, {BossID.LAMB, BossID.MEGA_SATAN})
44041
+ local CHEST_BOSSES_SET = __TS__New(ReadonlySet, {BossID.BLUE_BABY, BossID.MEGA_SATAN})
44174
44042
  local ALL_STAGE_11_BOSSES_SET = combineSets(nil, DARK_ROOM_BOSSES_SET, CHEST_BOSSES_SET)
44175
44043
  local STAGE_11_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {{StageType.ORIGINAL, DARK_ROOM_BOSSES_SET}, {StageType.WRATH_OF_THE_LAMB, CHEST_BOSSES_SET}})
44176
- local THE_VOID_BOSSES_SET = __TS__New(
44177
- ReadonlySet,
44178
- {tostring(EntityType.DELIRIUM) .. ".0"}
44179
- )
44180
- local THE_VOID_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {{StageType.ORIGINAL, THE_VOID_BOSSES_SET}})
44181
- local HOME_BOSSES_SET = __TS__New(
44182
- ReadonlySet,
44183
- {
44184
- tostring(EntityType.DOGMA) .. ".0",
44185
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.BEAST),
44186
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_FAMINE),
44187
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_PESTILENCE),
44188
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_WAR),
44189
- (tostring(EntityType.BEAST) .. ".") .. tostring(BeastVariant.ULTRA_DEATH)
44190
- }
44191
- )
44044
+ local VOID_BOSSES_SET = __TS__New(ReadonlySet, {BossID.DELIRIUM})
44045
+ local VOID_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {{StageType.ORIGINAL, VOID_BOSSES_SET}})
44046
+ local HOME_BOSSES_SET = __TS__New(ReadonlySet, {BossID.DOGMA, BossID.BEAST})
44192
44047
  local HOME_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {{StageType.ORIGINAL, HOME_BOSSES_SET}})
44193
44048
  ____exports.STAGE_TO_STAGE_TYPE_TO_BOSS_SET_MAP = __TS__New(ReadonlyMap, {
44194
- {1, BASEMENT_STAGE_TYPE_TO_BOSS_SET_MAP},
44195
- {2, BASEMENT_STAGE_TYPE_TO_BOSS_SET_MAP},
44196
- {3, CAVES_STAGE_TYPE_TO_BOSS_SET_MAP},
44197
- {4, CAVES_STAGE_TYPE_TO_BOSS_SET_MAP},
44198
- {5, DEPTHS_STAGE_TYPE_TO_BOSS_SET_MAP},
44199
- {6, DEPTHS_STAGE_TYPE_TO_BOSS_SET_MAP},
44200
- {7, WOMB_STAGE_TYPE_TO_BOSS_SET_MAP},
44201
- {8, WOMB_STAGE_TYPE_TO_BOSS_SET_MAP},
44202
- {9, BLUE_WOMB_STAGE_TYPE_TO_BOSS_SET_MAP},
44203
- {10, STAGE_10_STAGE_TYPE_TO_BOSS_SET_MAP},
44204
- {11, STAGE_11_STAGE_TYPE_TO_BOSS_SET_MAP},
44205
- {12, THE_VOID_STAGE_TYPE_TO_BOSS_SET_MAP},
44206
- {13, HOME_STAGE_TYPE_TO_BOSS_SET_MAP}
44049
+ {LevelStage.BASEMENT_1, BASEMENT_STAGE_TYPE_TO_BOSS_SET_MAP},
44050
+ {LevelStage.BASEMENT_2, BASEMENT_STAGE_TYPE_TO_BOSS_SET_MAP},
44051
+ {LevelStage.CAVES_1, CAVES_STAGE_TYPE_TO_BOSS_SET_MAP},
44052
+ {LevelStage.CAVES_2, CAVES_STAGE_TYPE_TO_BOSS_SET_MAP},
44053
+ {LevelStage.DEPTHS_1, DEPTHS_STAGE_TYPE_TO_BOSS_SET_MAP},
44054
+ {LevelStage.DEPTHS_2, DEPTHS_STAGE_TYPE_TO_BOSS_SET_MAP},
44055
+ {LevelStage.WOMB_1, WOMB_STAGE_TYPE_TO_BOSS_SET_MAP},
44056
+ {LevelStage.WOMB_2, WOMB_STAGE_TYPE_TO_BOSS_SET_MAP},
44057
+ {LevelStage.BLUE_WOMB, BLUE_WOMB_STAGE_TYPE_TO_BOSS_SET_MAP},
44058
+ {LevelStage.SHEOL_CATHEDRAL, STAGE_10_STAGE_TYPE_TO_BOSS_SET_MAP},
44059
+ {LevelStage.DARK_ROOM_CHEST, STAGE_11_STAGE_TYPE_TO_BOSS_SET_MAP},
44060
+ {LevelStage.VOID, VOID_STAGE_TYPE_TO_BOSS_SET_MAP},
44061
+ {LevelStage.HOME, HOME_STAGE_TYPE_TO_BOSS_SET_MAP}
44207
44062
  })
44208
44063
  ____exports.STAGE_TO_COMBINED_BOSS_SET_MAP = __TS__New(ReadonlyMap, {
44209
- {1, ALL_BASEMENT_BOSSES_SET},
44210
- {2, ALL_BASEMENT_BOSSES_SET},
44211
- {3, ALL_CAVES_BOSSES_SET},
44212
- {4, ALL_CAVES_BOSSES_SET},
44213
- {5, ALL_DEPTHS_BOSSES_SET},
44214
- {6, ALL_DEPTHS_BOSSES_SET},
44215
- {7, ALL_WOMB_BOSSES_SET},
44216
- {8, ALL_WOMB_BOSSES_SET},
44217
- {9, BLUE_WOMB_BOSSES_SET},
44218
- {10, ALL_STAGE_10_BOSSES_SET},
44219
- {11, ALL_STAGE_11_BOSSES_SET},
44220
- {12, THE_VOID_BOSSES_SET},
44221
- {13, HOME_BOSSES_SET}
44064
+ {LevelStage.BASEMENT_1, ALL_BASEMENT_BOSSES_SET},
44065
+ {LevelStage.BASEMENT_2, ALL_BASEMENT_BOSSES_SET},
44066
+ {LevelStage.CAVES_1, ALL_CAVES_BOSSES_SET},
44067
+ {LevelStage.CAVES_2, ALL_CAVES_BOSSES_SET},
44068
+ {LevelStage.DEPTHS_1, ALL_DEPTHS_BOSSES_SET},
44069
+ {LevelStage.DEPTHS_2, ALL_DEPTHS_BOSSES_SET},
44070
+ {LevelStage.WOMB_1, ALL_WOMB_BOSSES_SET},
44071
+ {LevelStage.WOMB_2, ALL_WOMB_BOSSES_SET},
44072
+ {LevelStage.BLUE_WOMB, BLUE_WOMB_BOSSES_SET},
44073
+ {LevelStage.SHEOL_CATHEDRAL, ALL_STAGE_10_BOSSES_SET},
44074
+ {LevelStage.DARK_ROOM_CHEST, ALL_STAGE_11_BOSSES_SET},
44075
+ {LevelStage.VOID, VOID_BOSSES_SET},
44076
+ {LevelStage.HOME, HOME_BOSSES_SET}
44222
44077
  })
44223
44078
  ____exports.ALL_BOSSES_SET = combineSets(
44224
44079
  nil,
@@ -44229,21 +44084,30 @@ ____exports.ALL_BOSSES_SET = combineSets(
44229
44084
  BLUE_WOMB_BOSSES_SET,
44230
44085
  ALL_STAGE_10_BOSSES_SET,
44231
44086
  ALL_STAGE_11_BOSSES_SET,
44232
- THE_VOID_BOSSES_SET,
44087
+ VOID_BOSSES_SET,
44233
44088
  HOME_BOSSES_SET
44234
44089
  )
44090
+ local STORY_BOSS_IDS_SET = __TS__New(ReadonlySet, {
44091
+ BossID.MOM,
44092
+ BossID.MOMS_HEART,
44093
+ BossID.SATAN,
44094
+ BossID.ISAAC,
44095
+ BossID.LAMB,
44096
+ BossID.MEGA_SATAN,
44097
+ BossID.ULTRA_GREED,
44098
+ BossID.HUSH,
44099
+ BossID.DELIRIUM,
44100
+ BossID.MOTHER,
44101
+ BossID.DOGMA,
44102
+ BossID.BEAST
44103
+ })
44104
+ if STORY_BOSS_IDS_SET.size + 1 ~= STORY_BOSSES_SET.size then
44105
+ error("The size of \"STORY_BOSS_IDS_SET\" is not the same as \"STORY_BOSSES_SET\".")
44106
+ end
44235
44107
  ____exports.ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET = (function()
44236
- local allBossesExcludingStoryBossesSet = copySet(nil, ____exports.ALL_BOSSES_SET)
44237
- local allBosses = {__TS__Spread(____exports.ALL_BOSSES_SET:values())}
44238
- for ____, entityTypeVariantString in ipairs(allBosses) do
44239
- local tuple = parseEntityTypeVariantString(nil, entityTypeVariantString)
44240
- assertDefined(nil, tuple, "Failed to parse a boss tuple when constructing the story boss set.")
44241
- local entityType, _variant = table.unpack(tuple)
44242
- if STORY_BOSSES_SET:has(entityType) then
44243
- allBossesExcludingStoryBossesSet:delete(entityTypeVariantString)
44244
- end
44245
- end
44246
- return allBossesExcludingStoryBossesSet
44108
+ local allBossesSet = copySet(nil, ____exports.ALL_BOSSES_SET)
44109
+ deleteSetsFromSet(nil, allBossesSet, STORY_BOSS_IDS_SET)
44110
+ return allBossesSet
44247
44111
  end)(nil)
44248
44112
  return ____exports
44249
44113
  end,
@@ -44418,21 +44282,21 @@ function getNumBossSegments(self, entityType, variant, numSegments)
44418
44282
  return numSegments
44419
44283
  end
44420
44284
  repeat
44421
- local ____switch18 = entityType
44422
- local ____cond18 = ____switch18 == EntityType.CHUB
44423
- if ____cond18 then
44285
+ local ____switch16 = entityType
44286
+ local ____cond16 = ____switch16 == EntityType.CHUB
44287
+ if ____cond16 then
44424
44288
  do
44425
44289
  return 3
44426
44290
  end
44427
44291
  end
44428
- ____cond18 = ____cond18 or ____switch18 == EntityType.LOKI
44429
- if ____cond18 then
44292
+ ____cond16 = ____cond16 or ____switch16 == EntityType.LOKI
44293
+ if ____cond16 then
44430
44294
  do
44431
44295
  return variant == asNumber(nil, LokiVariant.LOKII) and 2 or 1
44432
44296
  end
44433
44297
  end
44434
- ____cond18 = ____cond18 or ____switch18 == EntityType.GURGLING
44435
- if ____cond18 then
44298
+ ____cond16 = ____cond16 or ____switch16 == EntityType.GURGLING
44299
+ if ____cond16 then
44436
44300
  do
44437
44301
  return 2
44438
44302
  end
@@ -44488,11 +44352,7 @@ function ____exports.getBossSet(self, stage, stageType)
44488
44352
  if stageTypeMap == nil then
44489
44353
  return nil
44490
44354
  end
44491
- local bossSet = stageTypeMap:get(stageType)
44492
- if bossSet == nil then
44493
- return nil
44494
- end
44495
- return bossSet
44355
+ return stageTypeMap:get(stageType)
44496
44356
  end
44497
44357
  function ____exports.getBosses(self, entityType, variant, subType, ignoreFriendly)
44498
44358
  if ignoreFriendly == nil then
@@ -44511,11 +44371,7 @@ function ____exports.getBosses(self, entityType, variant, subType, ignoreFriendl
44511
44371
  )
44512
44372
  end
44513
44373
  function ____exports.getCombinedBossSet(self, stage)
44514
- local bossSet = STAGE_TO_COMBINED_BOSS_SET_MAP:get(stage)
44515
- if bossSet == nil then
44516
- return nil
44517
- end
44518
- return bossSet
44374
+ return STAGE_TO_COMBINED_BOSS_SET_MAP:get(stage)
44519
44375
  end
44520
44376
  function ____exports.isSin(self, npc)
44521
44377
  return SIN_ENTITY_TYPES_SET:has(npc.Type)
@@ -44636,7 +44492,7 @@ ____exports.BOSS_NAME_PNG_FILE_NAMES = {
44636
44492
  [BossID.MR_FRED] = "bossname_270.0_megafred.png",
44637
44493
  [BossID.LAMB] = "bossname_273.0_thelamb.png",
44638
44494
  [BossID.MEGA_SATAN] = "bossname_274.0_megasatan.png",
44639
- [BossID.GURGLINGS] = "bossname_276.0_gurglings.png",
44495
+ [BossID.GURGLING] = "bossname_276.0_gurglings.png",
44640
44496
  [BossID.STAIN] = "bossname_401.0_thestain.png",
44641
44497
  [BossID.BROWNIE] = "bossname_402.0_brownie.png",
44642
44498
  [BossID.FORSAKEN] = "bossname_403.0_theforsaken.png",
@@ -44745,7 +44601,7 @@ ____exports.BOSS_PORTRAIT_PNG_FILE_NAMES = {
44745
44601
  [BossID.MR_FRED] = "portrait_270.0_megafred.png",
44746
44602
  [BossID.LAMB] = "portrait_273.0_thelamb.png",
44747
44603
  [BossID.MEGA_SATAN] = "portrait_274.0_megasatan.png",
44748
- [BossID.GURGLINGS] = "portrait_276.0_gurglings.png",
44604
+ [BossID.GURGLING] = "portrait_276.0_gurglings.png",
44749
44605
  [BossID.STAIN] = "portrait_401.0_thestain.png",
44750
44606
  [BossID.BROWNIE] = "portrait_402.0_brownie.png",
44751
44607
  [BossID.FORSAKEN] = "portrait_403.0_theforsaken.png",
@@ -44892,6 +44748,36 @@ ____exports.PLAYER_PORTRAIT_PNG_FILE_NAMES = {
44892
44748
  [PlayerType.JACOB_2_B] = "playerportrait_jacob_b.png",
44893
44749
  [PlayerType.SOUL_B] = "playerportrait_theforgotten_b.png"
44894
44750
  }
44751
+ return ____exports
44752
+ end,
44753
+ ["src.functions.versusScreen"] = function(...)
44754
+ local ____exports = {}
44755
+ local ____bossNamePNGFileNames = require("src.objects.bossNamePNGFileNames")
44756
+ local BOSS_NAME_PNG_FILE_NAMES = ____bossNamePNGFileNames.BOSS_NAME_PNG_FILE_NAMES
44757
+ local ____bossPortraitPNGFileNames = require("src.objects.bossPortraitPNGFileNames")
44758
+ local BOSS_PORTRAIT_PNG_FILE_NAMES = ____bossPortraitPNGFileNames.BOSS_PORTRAIT_PNG_FILE_NAMES
44759
+ local ____playerNamePNGFileNames = require("src.objects.playerNamePNGFileNames")
44760
+ local PLAYER_NAME_PNG_FILE_NAMES = ____playerNamePNGFileNames.PLAYER_NAME_PNG_FILE_NAMES
44761
+ local ____playerPortraitPNGFileNames = require("src.objects.playerPortraitPNGFileNames")
44762
+ local PLAYER_PORTRAIT_PNG_FILE_NAMES = ____playerPortraitPNGFileNames.PLAYER_PORTRAIT_PNG_FILE_NAMES
44763
+ local PNG_PATH_PREFIX = "gfx/ui/boss"
44764
+ local PLAYER_PORTRAIT_PNG_PATH_PREFIX = "gfx/ui/stage"
44765
+ function ____exports.getBossNameFilePath(self, bossID)
44766
+ local fileName = BOSS_NAME_PNG_FILE_NAMES[bossID]
44767
+ return (PNG_PATH_PREFIX .. "/") .. fileName
44768
+ end
44769
+ function ____exports.getBossPortraitFilePath(self, bossID)
44770
+ local fileName = BOSS_PORTRAIT_PNG_FILE_NAMES[bossID]
44771
+ return (PNG_PATH_PREFIX .. "/") .. fileName
44772
+ end
44773
+ function ____exports.getCharacterNameFilePath(self, character)
44774
+ local fileName = PLAYER_NAME_PNG_FILE_NAMES[character]
44775
+ return (PNG_PATH_PREFIX .. "/") .. tostring(fileName)
44776
+ end
44777
+ function ____exports.getCharacterPortraitFilePath(self, character)
44778
+ local fileName = PLAYER_PORTRAIT_PNG_FILE_NAMES[character]
44779
+ return (PLAYER_PORTRAIT_PNG_PATH_PREFIX .. "/") .. tostring(fileName)
44780
+ end
44895
44781
  return ____exports
44896
44782
  end,
44897
44783
  ["src.objects.versusScreenBackgroundColors"] = function(...)
@@ -44979,7 +44865,7 @@ local ____lualib = require("lualib_bundle")
44979
44865
  local __TS__ArraySome = ____lualib.__TS__ArraySome
44980
44866
  local __TS__ArrayFind = ____lualib.__TS__ArrayFind
44981
44867
  local ____exports = {}
44982
- local willVanillaVersusScreenPlay, getPlayerPNGPaths, getBossPNGPaths, getBossPNGPathsCustom, PNG_PATH_PREFIX, PLAYER_PORTRAIT_PNG_PATH_PREFIX
44868
+ local willVanillaVersusScreenPlay, getPlayerPNGPaths, getBossPNGPaths, getBossPNGPathsCustom
44983
44869
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
44984
44870
  local BossID = ____isaac_2Dtypescript_2Ddefinitions.BossID
44985
44871
  local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
@@ -45001,14 +44887,11 @@ local ____ui = require("src.functions.ui")
45001
44887
  local getScreenCenterPos = ____ui.getScreenCenterPos
45002
44888
  local ____utils = require("src.functions.utils")
45003
44889
  local eRange = ____utils.eRange
45004
- local ____bossNamePNGFileNames = require("src.objects.bossNamePNGFileNames")
45005
- local BOSS_NAME_PNG_FILE_NAMES = ____bossNamePNGFileNames.BOSS_NAME_PNG_FILE_NAMES
45006
- local ____bossPortraitPNGFileNames = require("src.objects.bossPortraitPNGFileNames")
45007
- local BOSS_PORTRAIT_PNG_FILE_NAMES = ____bossPortraitPNGFileNames.BOSS_PORTRAIT_PNG_FILE_NAMES
45008
- local ____playerNamePNGFileNames = require("src.objects.playerNamePNGFileNames")
45009
- local PLAYER_NAME_PNG_FILE_NAMES = ____playerNamePNGFileNames.PLAYER_NAME_PNG_FILE_NAMES
45010
- local ____playerPortraitPNGFileNames = require("src.objects.playerPortraitPNGFileNames")
45011
- local PLAYER_PORTRAIT_PNG_FILE_NAMES = ____playerPortraitPNGFileNames.PLAYER_PORTRAIT_PNG_FILE_NAMES
44890
+ local ____versusScreen = require("src.functions.versusScreen")
44891
+ local getBossNameFilePath = ____versusScreen.getBossNameFilePath
44892
+ local getBossPortraitFilePath = ____versusScreen.getBossPortraitFilePath
44893
+ local getCharacterNameFilePath = ____versusScreen.getCharacterNameFilePath
44894
+ local getCharacterPortraitFilePath = ____versusScreen.getCharacterPortraitFilePath
45012
44895
  local ____versusScreenBackgroundColors = require("src.objects.versusScreenBackgroundColors")
45013
44896
  local VERSUS_SCREEN_BACKGROUND_COLORS = ____versusScreenBackgroundColors.VERSUS_SCREEN_BACKGROUND_COLORS
45014
44897
  local ____versusScreenDirtSpotColors = require("src.objects.versusScreenDirtSpotColors")
@@ -45035,10 +44918,8 @@ function getPlayerPNGPaths(self)
45035
44918
  if character == PlayerType.POSSESSOR then
45036
44919
  error("Failed to get the player PNG paths since they are a possessor.")
45037
44920
  end
45038
- local namePNGFileName = PLAYER_NAME_PNG_FILE_NAMES[character]
45039
- local namePNGPath = (PNG_PATH_PREFIX .. "/") .. namePNGFileName
45040
- local portraitFileName = PLAYER_PORTRAIT_PNG_FILE_NAMES[character]
45041
- local portraitPNGPath = (PLAYER_PORTRAIT_PNG_PATH_PREFIX .. "/") .. portraitFileName
44921
+ local namePNGPath = getCharacterNameFilePath(nil, character)
44922
+ local portraitPNGPath = getCharacterPortraitFilePath(nil, character)
45042
44923
  return {namePNGPath = namePNGPath, portraitPNGPath = portraitPNGPath}
45043
44924
  end
45044
44925
  function getBossPNGPaths(self, customStage)
@@ -45050,15 +44931,13 @@ function getBossPNGPaths(self, customStage)
45050
44931
  local firstBoss = bosses[1]
45051
44932
  local bossID = firstBoss == nil and 0 or firstBoss:GetBossID()
45052
44933
  if bossID == 0 then
45053
- local questionMarkSprite = (PNG_PATH_PREFIX .. "/") .. BOSS_NAME_PNG_FILE_NAMES[BossID.BLUE_BABY]
45054
- local namePNGPath = questionMarkSprite
45055
- local portraitPNGPath = questionMarkSprite
44934
+ local questionMarkPath = getBossNameFilePath(nil, BossID.BLUE_BABY)
44935
+ local namePNGPath = questionMarkPath
44936
+ local portraitPNGPath = questionMarkPath
45056
44937
  return {namePNGPath = namePNGPath, portraitPNGPath = portraitPNGPath}
45057
44938
  end
45058
- local namePNGFileName = BOSS_NAME_PNG_FILE_NAMES[bossID]
45059
- local namePNGPath = (PNG_PATH_PREFIX .. "/") .. namePNGFileName
45060
- local portraitPNGFileName = BOSS_PORTRAIT_PNG_FILE_NAMES[bossID]
45061
- local portraitPNGPath = (PNG_PATH_PREFIX .. "/") .. portraitPNGFileName
44939
+ local namePNGPath = getBossNameFilePath(nil, bossID)
44940
+ local portraitPNGPath = getBossPortraitFilePath(nil, bossID)
45062
44941
  return {namePNGPath = namePNGPath, portraitPNGPath = portraitPNGPath}
45063
44942
  end
45064
44943
  function getBossPNGPathsCustom(self, customStage)
@@ -45118,8 +44997,6 @@ local OTHER_ANM2_LAYERS = arrayRemove(
45118
44997
  VersusScreenLayer.OVERLAY,
45119
44998
  VersusScreenLayer.PLAYER_PORTRAIT_ALT
45120
44999
  )
45121
- PNG_PATH_PREFIX = "gfx/ui/boss"
45122
- PLAYER_PORTRAIT_PNG_PATH_PREFIX = "gfx/ui/stage"
45123
45000
  local VANILLA_VERSUS_PLAYBACK_SPEED = 0.5
45124
45001
  local versusScreenSprite = Sprite()
45125
45002
  local versusScreenBackgroundSprite = Sprite()