isaacscript-common 72.9.0 → 73.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.
@@ -7312,12 +7312,16 @@ export declare function getRoomListIndex(roomGridIndex?: int): int;
7312
7312
  *
7313
7313
  * (The version of the function without any arguments will not return undefined since the current
7314
7314
  * room is guaranteed to have data.)
7315
+ *
7316
+ * If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
7315
7317
  */
7316
7318
  export declare function getRoomName(): string;
7317
7319
 
7318
7320
  /**
7319
7321
  * Helper function to get the name of the room as it appears in the STB/XML data.
7320
7322
  *
7323
+ * If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
7324
+ *
7321
7325
  * @param roomGridIndex Optional. Default is the current room index.
7322
7326
  * @returns The room name. Returns undefined if the room data was not found.
7323
7327
  */
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 72.9.0
3
+ isaacscript-common 73.0.0
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -3642,7 +3642,7 @@ do
3642
3642
  end
3643
3643
  end
3644
3644
  do
3645
- local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.enums.collections.entityState")
3645
+ local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.enums.collections.gridEntityStates")
3646
3646
  for ____exportKey, ____exportValue in pairs(____export) do
3647
3647
  if ____exportKey ~= "default" then
3648
3648
  ____exports[____exportKey] = ____exportValue
@@ -3650,7 +3650,7 @@ do
3650
3650
  end
3651
3651
  end
3652
3652
  do
3653
- local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.enums.collections.gridEntityState")
3653
+ local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.enums.collections.gridEntityVariants")
3654
3654
  for ____exportKey, ____exportValue in pairs(____export) do
3655
3655
  if ____exportKey ~= "default" then
3656
3656
  ____exports[____exportKey] = ____exportValue
@@ -3658,7 +3658,7 @@ do
3658
3658
  end
3659
3659
  end
3660
3660
  do
3661
- local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.enums.collections.gridEntityVariants")
3661
+ local ____export = require("lua_modules.isaac-typescript-definitions.dist.src.enums.collections.npcStates")
3662
3662
  for ____exportKey, ____exportValue in pairs(____export) do
3663
3663
  if ____exportKey ~= "default" then
3664
3664
  ____exports[____exportKey] = ____exportValue
@@ -10056,6 +10056,182 @@ ____exports.BackwardsRoomSubType.MINES = 29
10056
10056
  ____exports.BackwardsRoomSubType[____exports.BackwardsRoomSubType.MINES] = "MINES"
10057
10057
  ____exports.BackwardsRoomSubType.MAUSOLEUM = 31
10058
10058
  ____exports.BackwardsRoomSubType[____exports.BackwardsRoomSubType.MAUSOLEUM] = "MAUSOLEUM"
10059
+ return ____exports
10060
+ end,
10061
+ ["lua_modules.isaac-typescript-definitions.dist.src.enums.collections.npcStates"] = function(...)
10062
+ local ____exports = {}
10063
+ --- EntityType.FAMILIAR (3), FamiliarVariant.LOST_SOUL (211).
10064
+ ____exports.LostSoulState = {}
10065
+ ____exports.LostSoulState.ALIVE = 1
10066
+ ____exports.LostSoulState[____exports.LostSoulState.ALIVE] = "ALIVE"
10067
+ ____exports.LostSoulState.DEAD = 4
10068
+ ____exports.LostSoulState[____exports.LostSoulState.DEAD] = "DEAD"
10069
+ --- For `EntityType.FAMINE` (63).
10070
+ ____exports.FamineState = {}
10071
+ ____exports.FamineState.MOVE = 4
10072
+ ____exports.FamineState[____exports.FamineState.MOVE] = "MOVE"
10073
+ ____exports.FamineState.HORIZONTAL_CHARGE = 8
10074
+ ____exports.FamineState[____exports.FamineState.HORIZONTAL_CHARGE] = "HORIZONTAL_CHARGE"
10075
+ ____exports.FamineState.PHASE_2 = 9
10076
+ ____exports.FamineState[____exports.FamineState.PHASE_2] = "PHASE_2"
10077
+ ____exports.FamineState.SUMMON = 13
10078
+ ____exports.FamineState[____exports.FamineState.SUMMON] = "SUMMON"
10079
+ --- For `EntityType.PESTILENCE` (64).
10080
+ ____exports.PestilenceState = {}
10081
+ ____exports.PestilenceState.MOVE = 4
10082
+ ____exports.PestilenceState[____exports.PestilenceState.MOVE] = "MOVE"
10083
+ ____exports.PestilenceState.ATTACK_IPECAC = 8
10084
+ ____exports.PestilenceState[____exports.PestilenceState.ATTACK_IPECAC] = "ATTACK_IPECAC"
10085
+ ____exports.PestilenceState.SUMMON = 13
10086
+ ____exports.PestilenceState[____exports.PestilenceState.SUMMON] = "SUMMON"
10087
+ --- For `EntityType.WAR` (65), `WarVariant.WAR (0).
10088
+ ____exports.WarState = {}
10089
+ ____exports.WarState.MOVE = 4
10090
+ ____exports.WarState[____exports.WarState.MOVE] = "MOVE"
10091
+ ____exports.WarState.JUMP_AND_SPAWN_TROLL_BOMBS = 6
10092
+ ____exports.WarState[____exports.WarState.JUMP_AND_SPAWN_TROLL_BOMBS] = "JUMP_AND_SPAWN_TROLL_BOMBS"
10093
+ ____exports.WarState.HORIZONTAL_CHARGE = 9
10094
+ ____exports.WarState[____exports.WarState.HORIZONTAL_CHARGE] = "HORIZONTAL_CHARGE"
10095
+ --- For `EntityType.WAR` (65), `WarVariant.CONQUEST (1).
10096
+ ____exports.ConquestState = {}
10097
+ ____exports.ConquestState.MOVE = 4
10098
+ ____exports.ConquestState[____exports.ConquestState.MOVE] = "MOVE"
10099
+ ____exports.ConquestState.JUMP_AND_SPAWN_BEAMS = 6
10100
+ ____exports.ConquestState[____exports.ConquestState.JUMP_AND_SPAWN_BEAMS] = "JUMP_AND_SPAWN_BEAMS"
10101
+ ____exports.ConquestState.TEAR_ATTACK = 8
10102
+ ____exports.ConquestState[____exports.ConquestState.TEAR_ATTACK] = "TEAR_ATTACK"
10103
+ ____exports.ConquestState.HORIZONTAL_CHARGE = 9
10104
+ ____exports.ConquestState[____exports.ConquestState.HORIZONTAL_CHARGE] = "HORIZONTAL_CHARGE"
10105
+ --- For `EntityType.WAR` (65), `WarVariant.WAR_WITHOUT_HORSE (2).
10106
+ ____exports.WarWithoutHorseState = {}
10107
+ ____exports.WarWithoutHorseState.MOVE = 4
10108
+ ____exports.WarWithoutHorseState[____exports.WarWithoutHorseState.MOVE] = "MOVE"
10109
+ ____exports.WarWithoutHorseState.SIT = 8
10110
+ ____exports.WarWithoutHorseState[____exports.WarWithoutHorseState.SIT] = "SIT"
10111
+ --- For `EntityType.DEATH` (66).
10112
+ ____exports.DeathState = {}
10113
+ ____exports.DeathState.APPEAR = 1
10114
+ ____exports.DeathState[____exports.DeathState.APPEAR] = "APPEAR"
10115
+ ____exports.DeathState.SCYTHE_APPEAR = 3
10116
+ ____exports.DeathState[____exports.DeathState.SCYTHE_APPEAR] = "SCYTHE_APPEAR"
10117
+ ____exports.DeathState.MOVE = 4
10118
+ ____exports.DeathState[____exports.DeathState.MOVE] = "MOVE"
10119
+ ____exports.DeathState.JUMP_OFF_HORSE = 7
10120
+ ____exports.DeathState[____exports.DeathState.JUMP_OFF_HORSE] = "JUMP_OFF_HORSE"
10121
+ ____exports.DeathState.SLOW_ATTACK = 8
10122
+ ____exports.DeathState[____exports.DeathState.SLOW_ATTACK] = "SLOW_ATTACK"
10123
+ ____exports.DeathState.SUMMON_KNIGHTS = 13
10124
+ ____exports.DeathState[____exports.DeathState.SUMMON_KNIGHTS] = "SUMMON_KNIGHTS"
10125
+ ____exports.DeathState.SUMMON_SCYTHES = 14
10126
+ ____exports.DeathState[____exports.DeathState.SUMMON_SCYTHES] = "SUMMON_SCYTHES"
10127
+ --- For `EntityType.DADDY_LONG_LEGS` (101).
10128
+ ____exports.DaddyLongLegsState = {}
10129
+ ____exports.DaddyLongLegsState.SLAM_WITH_PROJECTILE_BURST = 4
10130
+ ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.SLAM_WITH_PROJECTILE_BURST] = "SLAM_WITH_PROJECTILE_BURST"
10131
+ ____exports.DaddyLongLegsState.STOMP_ATTACK_LEG = 7
10132
+ ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.STOMP_ATTACK_LEG] = "STOMP_ATTACK_LEG"
10133
+ ____exports.DaddyLongLegsState.SPITTING_SPIDERS_ATTACK = 8
10134
+ ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.SPITTING_SPIDERS_ATTACK] = "SPITTING_SPIDERS_ATTACK"
10135
+ ____exports.DaddyLongLegsState.MULTI_STOMP_ATTACK_MAIN = 9
10136
+ ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.MULTI_STOMP_ATTACK_MAIN] = "MULTI_STOMP_ATTACK_MAIN"
10137
+ --- For `EntityType.BIG_HORN` (411), `BigHornVariant.BIG_HORN` (0).
10138
+ ____exports.BigHornState = {}
10139
+ ____exports.BigHornState.IDLE = 3
10140
+ ____exports.BigHornState[____exports.BigHornState.IDLE] = "IDLE"
10141
+ ____exports.BigHornState.HEAD_GOING_UP_OR_GOING_DOWN_INTO_HOLE = 4
10142
+ ____exports.BigHornState[____exports.BigHornState.HEAD_GOING_UP_OR_GOING_DOWN_INTO_HOLE] = "HEAD_GOING_UP_OR_GOING_DOWN_INTO_HOLE"
10143
+ ____exports.BigHornState.HAND_GOING_DOWN_INTO_HOLE = 5
10144
+ ____exports.BigHornState[____exports.BigHornState.HAND_GOING_DOWN_INTO_HOLE] = "HAND_GOING_DOWN_INTO_HOLE"
10145
+ ____exports.BigHornState.HAND_SLAM_ATTACK = 8
10146
+ ____exports.BigHornState[____exports.BigHornState.HAND_SLAM_ATTACK] = "HAND_SLAM_ATTACK"
10147
+ ____exports.BigHornState.HAND_THROW_TROLL_BOMB_ATTACK = 9
10148
+ ____exports.BigHornState[____exports.BigHornState.HAND_THROW_TROLL_BOMB_ATTACK] = "HAND_THROW_TROLL_BOMB_ATTACK"
10149
+ ____exports.BigHornState.HAND_THROW_TRIPLE_TROLL_BOMB_ATTACK = 10
10150
+ ____exports.BigHornState[____exports.BigHornState.HAND_THROW_TRIPLE_TROLL_BOMB_ATTACK] = "HAND_THROW_TRIPLE_TROLL_BOMB_ATTACK"
10151
+ ____exports.BigHornState.HEAD_BALL_ATTACK = 13
10152
+ ____exports.BigHornState[____exports.BigHornState.HEAD_BALL_ATTACK] = "HEAD_BALL_ATTACK"
10153
+ --- For `EntityType.REAP_CREEP` (900).
10154
+ ____exports.ReapCreepState = {}
10155
+ ____exports.ReapCreepState.CRAWLING_FROM_SIDE_TO_SIDE = 3
10156
+ ____exports.ReapCreepState[____exports.ReapCreepState.CRAWLING_FROM_SIDE_TO_SIDE] = "CRAWLING_FROM_SIDE_TO_SIDE"
10157
+ ____exports.ReapCreepState.JUMPING_TO_TOP_WALL = 6
10158
+ ____exports.ReapCreepState[____exports.ReapCreepState.JUMPING_TO_TOP_WALL] = "JUMPING_TO_TOP_WALL"
10159
+ ____exports.ReapCreepState.WALL_SLAM_ATTACK = 7
10160
+ ____exports.ReapCreepState[____exports.ReapCreepState.WALL_SLAM_ATTACK] = "WALL_SLAM_ATTACK"
10161
+ ____exports.ReapCreepState.PROJECTILE_SPIT_LINE_ATTACK = 8
10162
+ ____exports.ReapCreepState[____exports.ReapCreepState.PROJECTILE_SPIT_LINE_ATTACK] = "PROJECTILE_SPIT_LINE_ATTACK"
10163
+ ____exports.ReapCreepState.PROJECTILE_SPIT_BURST_ATTACK = 9
10164
+ ____exports.ReapCreepState[____exports.ReapCreepState.PROJECTILE_SPIT_BURST_ATTACK] = "PROJECTILE_SPIT_BURST_ATTACK"
10165
+ ____exports.ReapCreepState.BRIMSTONE_ATTACK = 10
10166
+ ____exports.ReapCreepState[____exports.ReapCreepState.BRIMSTONE_ATTACK] = "BRIMSTONE_ATTACK"
10167
+ ____exports.ReapCreepState.SPAWNING_WALL_SPIDERS = 13
10168
+ ____exports.ReapCreepState[____exports.ReapCreepState.SPAWNING_WALL_SPIDERS] = "SPAWNING_WALL_SPIDERS"
10169
+ ____exports.ReapCreepState.SPAWNING_SPIDERS = 14
10170
+ ____exports.ReapCreepState[____exports.ReapCreepState.SPAWNING_SPIDERS] = "SPAWNING_SPIDERS"
10171
+ ____exports.ReapCreepState.TRANSFORMING_TO_NEXT_PHASE = 16
10172
+ ____exports.ReapCreepState[____exports.ReapCreepState.TRANSFORMING_TO_NEXT_PHASE] = "TRANSFORMING_TO_NEXT_PHASE"
10173
+ --- For `EntityType.COLOSTOMIA` (917).
10174
+ ____exports.ColostomiaState = {}
10175
+ ____exports.ColostomiaState.IDLE_PHASE_1 = 3
10176
+ ____exports.ColostomiaState[____exports.ColostomiaState.IDLE_PHASE_1] = "IDLE_PHASE_1"
10177
+ ____exports.ColostomiaState.IDLE_PHASE_2 = 4
10178
+ ____exports.ColostomiaState[____exports.ColostomiaState.IDLE_PHASE_2] = "IDLE_PHASE_2"
10179
+ ____exports.ColostomiaState.JUMP_ATTACK_WITH_PROJECTILE_SPLASH = 6
10180
+ ____exports.ColostomiaState[____exports.ColostomiaState.JUMP_ATTACK_WITH_PROJECTILE_SPLASH] = "JUMP_ATTACK_WITH_PROJECTILE_SPLASH"
10181
+ ____exports.ColostomiaState.CHARGE_SLIDE = 8
10182
+ ____exports.ColostomiaState[____exports.ColostomiaState.CHARGE_SLIDE] = "CHARGE_SLIDE"
10183
+ ____exports.ColostomiaState.SPIT_POOP_BOMB = 9
10184
+ ____exports.ColostomiaState[____exports.ColostomiaState.SPIT_POOP_BOMB] = "SPIT_POOP_BOMB"
10185
+ ____exports.ColostomiaState.SPIT_TWO_POOP_BOMBS = 10
10186
+ ____exports.ColostomiaState[____exports.ColostomiaState.SPIT_TWO_POOP_BOMBS] = "SPIT_TWO_POOP_BOMBS"
10187
+ ____exports.ColostomiaState.FART_ATTACK = 11
10188
+ ____exports.ColostomiaState[____exports.ColostomiaState.FART_ATTACK] = "FART_ATTACK"
10189
+ ____exports.ColostomiaState.TRANSITION_TO_PHASE_2 = 16
10190
+ ____exports.ColostomiaState[____exports.ColostomiaState.TRANSITION_TO_PHASE_2] = "TRANSITION_TO_PHASE_2"
10191
+ --- For `EntityType.ULTRA_GREED` (406), `UltraGreedVariant.ULTRA_GREED` (0).
10192
+ ____exports.UltraGreedState = {}
10193
+ ____exports.UltraGreedState.HANGING = 2
10194
+ ____exports.UltraGreedState[____exports.UltraGreedState.HANGING] = "HANGING"
10195
+ ____exports.UltraGreedState.IDLE = 3
10196
+ ____exports.UltraGreedState[____exports.UltraGreedState.IDLE] = "IDLE"
10197
+ ____exports.UltraGreedState.MOVE = 4
10198
+ ____exports.UltraGreedState[____exports.UltraGreedState.MOVE] = "MOVE"
10199
+ ____exports.UltraGreedState.GOLD_STATUE_BREAKING_OUT = 16
10200
+ ____exports.UltraGreedState[____exports.UltraGreedState.GOLD_STATUE_BREAKING_OUT] = "GOLD_STATUE_BREAKING_OUT"
10201
+ ____exports.UltraGreedState.EYES_SPINNING = 100
10202
+ ____exports.UltraGreedState[____exports.UltraGreedState.EYES_SPINNING] = "EYES_SPINNING"
10203
+ ____exports.UltraGreedState.STOMPING = 200
10204
+ ____exports.UltraGreedState[____exports.UltraGreedState.STOMPING] = "STOMPING"
10205
+ ____exports.UltraGreedState.BLOCKING_WITH_ARMS = 400
10206
+ ____exports.UltraGreedState[____exports.UltraGreedState.BLOCKING_WITH_ARMS] = "BLOCKING_WITH_ARMS"
10207
+ ____exports.UltraGreedState.SPIN_ATTACK = 510
10208
+ ____exports.UltraGreedState[____exports.UltraGreedState.SPIN_ATTACK] = "SPIN_ATTACK"
10209
+ ____exports.UltraGreedState.SHOOT_4_COINS = 600
10210
+ ____exports.UltraGreedState[____exports.UltraGreedState.SHOOT_4_COINS] = "SHOOT_4_COINS"
10211
+ ____exports.UltraGreedState.DYING = 9000
10212
+ ____exports.UltraGreedState[____exports.UltraGreedState.DYING] = "DYING"
10213
+ ____exports.UltraGreedState.GOLD_STATUE = 9001
10214
+ ____exports.UltraGreedState[____exports.UltraGreedState.GOLD_STATUE] = "GOLD_STATUE"
10215
+ --- For `EntityType.ULTRA_GREED` (406), `UltraGreedVariant.ULTRA_GREEDIER` (1).
10216
+ ____exports.UltraGreedierState = {}
10217
+ ____exports.UltraGreedierState.IDLE = 3
10218
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.IDLE] = "IDLE"
10219
+ ____exports.UltraGreedierState.MOVE = 4
10220
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.MOVE] = "MOVE"
10221
+ ____exports.UltraGreedierState.JUMP = 6
10222
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.JUMP] = "JUMP"
10223
+ ____exports.UltraGreedierState.STOMPING = 200
10224
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.STOMPING] = "STOMPING"
10225
+ ____exports.UltraGreedierState.SHOOT_4_COINS = 600
10226
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.SHOOT_4_COINS] = "SHOOT_4_COINS"
10227
+ ____exports.UltraGreedierState.FIST_POUND = 700
10228
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.FIST_POUND] = "FIST_POUND"
10229
+ ____exports.UltraGreedierState.FIST_POUND_TRIPLE = 710
10230
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.FIST_POUND_TRIPLE] = "FIST_POUND_TRIPLE"
10231
+ ____exports.UltraGreedierState.DYING = 9000
10232
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.DYING] = "DYING"
10233
+ ____exports.UltraGreedierState.POST_EXPLOSION = 9001
10234
+ ____exports.UltraGreedierState[____exports.UltraGreedierState.POST_EXPLOSION] = "POST_EXPLOSION"
10059
10235
  return ____exports
10060
10236
  end,
10061
10237
  ["lua_modules.isaac-typescript-definitions.dist.src.enums.collections.gridEntityVariants"] = function(...)
@@ -10225,7 +10401,7 @@ ____exports.StatueVariant.ANGEL = 1
10225
10401
  ____exports.StatueVariant[____exports.StatueVariant.ANGEL] = "ANGEL"
10226
10402
  return ____exports
10227
10403
  end,
10228
- ["lua_modules.isaac-typescript-definitions.dist.src.enums.collections.gridEntityState"] = function(...)
10404
+ ["lua_modules.isaac-typescript-definitions.dist.src.enums.collections.gridEntityStates"] = function(...)
10229
10405
  local ____exports = {}
10230
10406
  --- Used by the following grid entity types:
10231
10407
  -- - GridEntityType.ROCK (2)
@@ -10354,140 +10530,6 @@ ____exports.TeleporterState.ACTIVATED = 1
10354
10530
  ____exports.TeleporterState[____exports.TeleporterState.ACTIVATED] = "ACTIVATED"
10355
10531
  ____exports.TeleporterState.DISABLED = 2
10356
10532
  ____exports.TeleporterState[____exports.TeleporterState.DISABLED] = "DISABLED"
10357
- return ____exports
10358
- end,
10359
- ["lua_modules.isaac-typescript-definitions.dist.src.enums.collections.entityState"] = function(...)
10360
- local ____exports = {}
10361
- --- EntityType.FAMILIAR (3), FamiliarVariant.LOST_SOUL (211).
10362
- ____exports.LostSoulState = {}
10363
- ____exports.LostSoulState.ALIVE = 1
10364
- ____exports.LostSoulState[____exports.LostSoulState.ALIVE] = "ALIVE"
10365
- ____exports.LostSoulState.DEAD = 4
10366
- ____exports.LostSoulState[____exports.LostSoulState.DEAD] = "DEAD"
10367
- --- For `EntityType.DEATH` (66).
10368
- ____exports.DeathState = {}
10369
- ____exports.DeathState.APPEAR = 1
10370
- ____exports.DeathState[____exports.DeathState.APPEAR] = "APPEAR"
10371
- ____exports.DeathState.SCYTHE_APPEAR = 3
10372
- ____exports.DeathState[____exports.DeathState.SCYTHE_APPEAR] = "SCYTHE_APPEAR"
10373
- ____exports.DeathState.MAIN_IDLE = 4
10374
- ____exports.DeathState[____exports.DeathState.MAIN_IDLE] = "MAIN_IDLE"
10375
- ____exports.DeathState.JUMP_OFF_HORSE = 7
10376
- ____exports.DeathState[____exports.DeathState.JUMP_OFF_HORSE] = "JUMP_OFF_HORSE"
10377
- ____exports.DeathState.SLOW_ATTACK = 8
10378
- ____exports.DeathState[____exports.DeathState.SLOW_ATTACK] = "SLOW_ATTACK"
10379
- ____exports.DeathState.SUMMON_KNIGHTS = 13
10380
- ____exports.DeathState[____exports.DeathState.SUMMON_KNIGHTS] = "SUMMON_KNIGHTS"
10381
- ____exports.DeathState.SUMMON_SCYTHES = 14
10382
- ____exports.DeathState[____exports.DeathState.SUMMON_SCYTHES] = "SUMMON_SCYTHES"
10383
- --- For `EntityType.DADDY_LONG_LEGS` (101).
10384
- ____exports.DaddyLongLegsState = {}
10385
- ____exports.DaddyLongLegsState.SLAM_WITH_PROJECTILE_BURST = 4
10386
- ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.SLAM_WITH_PROJECTILE_BURST] = "SLAM_WITH_PROJECTILE_BURST"
10387
- ____exports.DaddyLongLegsState.STOMP_ATTACK_LEG = 7
10388
- ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.STOMP_ATTACK_LEG] = "STOMP_ATTACK_LEG"
10389
- ____exports.DaddyLongLegsState.SPITTING_SPIDERS_ATTACK = 8
10390
- ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.SPITTING_SPIDERS_ATTACK] = "SPITTING_SPIDERS_ATTACK"
10391
- ____exports.DaddyLongLegsState.MULTI_STOMP_ATTACK_MAIN = 9
10392
- ____exports.DaddyLongLegsState[____exports.DaddyLongLegsState.MULTI_STOMP_ATTACK_MAIN] = "MULTI_STOMP_ATTACK_MAIN"
10393
- --- For `EntityType.BIG_HORN` (411), `BigHornVariant.BIG_HORN` (0).
10394
- ____exports.BigHornState = {}
10395
- ____exports.BigHornState.IDLE = 3
10396
- ____exports.BigHornState[____exports.BigHornState.IDLE] = "IDLE"
10397
- ____exports.BigHornState.HEAD_GOING_UP_OR_GOING_DOWN_INTO_HOLE = 4
10398
- ____exports.BigHornState[____exports.BigHornState.HEAD_GOING_UP_OR_GOING_DOWN_INTO_HOLE] = "HEAD_GOING_UP_OR_GOING_DOWN_INTO_HOLE"
10399
- ____exports.BigHornState.HAND_GOING_DOWN_INTO_HOLE = 5
10400
- ____exports.BigHornState[____exports.BigHornState.HAND_GOING_DOWN_INTO_HOLE] = "HAND_GOING_DOWN_INTO_HOLE"
10401
- ____exports.BigHornState.HAND_SLAM_ATTACK = 8
10402
- ____exports.BigHornState[____exports.BigHornState.HAND_SLAM_ATTACK] = "HAND_SLAM_ATTACK"
10403
- ____exports.BigHornState.HAND_THROW_TROLL_BOMB_ATTACK = 9
10404
- ____exports.BigHornState[____exports.BigHornState.HAND_THROW_TROLL_BOMB_ATTACK] = "HAND_THROW_TROLL_BOMB_ATTACK"
10405
- ____exports.BigHornState.HAND_THROW_TRIPLE_TROLL_BOMB_ATTACK = 10
10406
- ____exports.BigHornState[____exports.BigHornState.HAND_THROW_TRIPLE_TROLL_BOMB_ATTACK] = "HAND_THROW_TRIPLE_TROLL_BOMB_ATTACK"
10407
- ____exports.BigHornState.HEAD_BALL_ATTACK = 13
10408
- ____exports.BigHornState[____exports.BigHornState.HEAD_BALL_ATTACK] = "HEAD_BALL_ATTACK"
10409
- --- For `EntityType.REAP_CREEP` (900).
10410
- ____exports.ReapCreepState = {}
10411
- ____exports.ReapCreepState.CRAWLING_FROM_SIDE_TO_SIDE = 3
10412
- ____exports.ReapCreepState[____exports.ReapCreepState.CRAWLING_FROM_SIDE_TO_SIDE] = "CRAWLING_FROM_SIDE_TO_SIDE"
10413
- ____exports.ReapCreepState.JUMPING_TO_TOP_WALL = 6
10414
- ____exports.ReapCreepState[____exports.ReapCreepState.JUMPING_TO_TOP_WALL] = "JUMPING_TO_TOP_WALL"
10415
- ____exports.ReapCreepState.WALL_SLAM_ATTACK = 7
10416
- ____exports.ReapCreepState[____exports.ReapCreepState.WALL_SLAM_ATTACK] = "WALL_SLAM_ATTACK"
10417
- ____exports.ReapCreepState.PROJECTILE_SPIT_LINE_ATTACK = 8
10418
- ____exports.ReapCreepState[____exports.ReapCreepState.PROJECTILE_SPIT_LINE_ATTACK] = "PROJECTILE_SPIT_LINE_ATTACK"
10419
- ____exports.ReapCreepState.PROJECTILE_SPIT_BURST_ATTACK = 9
10420
- ____exports.ReapCreepState[____exports.ReapCreepState.PROJECTILE_SPIT_BURST_ATTACK] = "PROJECTILE_SPIT_BURST_ATTACK"
10421
- ____exports.ReapCreepState.BRIMSTONE_ATTACK = 10
10422
- ____exports.ReapCreepState[____exports.ReapCreepState.BRIMSTONE_ATTACK] = "BRIMSTONE_ATTACK"
10423
- ____exports.ReapCreepState.SPAWNING_WALL_SPIDERS = 13
10424
- ____exports.ReapCreepState[____exports.ReapCreepState.SPAWNING_WALL_SPIDERS] = "SPAWNING_WALL_SPIDERS"
10425
- ____exports.ReapCreepState.SPAWNING_SPIDERS = 14
10426
- ____exports.ReapCreepState[____exports.ReapCreepState.SPAWNING_SPIDERS] = "SPAWNING_SPIDERS"
10427
- ____exports.ReapCreepState.TRANSFORMING_TO_NEXT_PHASE = 16
10428
- ____exports.ReapCreepState[____exports.ReapCreepState.TRANSFORMING_TO_NEXT_PHASE] = "TRANSFORMING_TO_NEXT_PHASE"
10429
- --- For `EntityType.COLOSTOMIA` (917).
10430
- ____exports.ColostomiaState = {}
10431
- ____exports.ColostomiaState.IDLE_PHASE_1 = 3
10432
- ____exports.ColostomiaState[____exports.ColostomiaState.IDLE_PHASE_1] = "IDLE_PHASE_1"
10433
- ____exports.ColostomiaState.IDLE_PHASE_2 = 4
10434
- ____exports.ColostomiaState[____exports.ColostomiaState.IDLE_PHASE_2] = "IDLE_PHASE_2"
10435
- ____exports.ColostomiaState.JUMP_ATTACK_WITH_PROJECTILE_SPLASH = 6
10436
- ____exports.ColostomiaState[____exports.ColostomiaState.JUMP_ATTACK_WITH_PROJECTILE_SPLASH] = "JUMP_ATTACK_WITH_PROJECTILE_SPLASH"
10437
- ____exports.ColostomiaState.CHARGE_SLIDE = 8
10438
- ____exports.ColostomiaState[____exports.ColostomiaState.CHARGE_SLIDE] = "CHARGE_SLIDE"
10439
- ____exports.ColostomiaState.SPIT_POOP_BOMB = 9
10440
- ____exports.ColostomiaState[____exports.ColostomiaState.SPIT_POOP_BOMB] = "SPIT_POOP_BOMB"
10441
- ____exports.ColostomiaState.SPIT_TWO_POOP_BOMBS = 10
10442
- ____exports.ColostomiaState[____exports.ColostomiaState.SPIT_TWO_POOP_BOMBS] = "SPIT_TWO_POOP_BOMBS"
10443
- ____exports.ColostomiaState.FART_ATTACK = 11
10444
- ____exports.ColostomiaState[____exports.ColostomiaState.FART_ATTACK] = "FART_ATTACK"
10445
- ____exports.ColostomiaState.TRANSITION_TO_PHASE_2 = 16
10446
- ____exports.ColostomiaState[____exports.ColostomiaState.TRANSITION_TO_PHASE_2] = "TRANSITION_TO_PHASE_2"
10447
- --- For `EntityType.ULTRA_GREED` (406), `UltraGreedVariant.ULTRA_GREED` (0).
10448
- ____exports.UltraGreedState = {}
10449
- ____exports.UltraGreedState.HANGING = 2
10450
- ____exports.UltraGreedState[____exports.UltraGreedState.HANGING] = "HANGING"
10451
- ____exports.UltraGreedState.IDLE = 3
10452
- ____exports.UltraGreedState[____exports.UltraGreedState.IDLE] = "IDLE"
10453
- ____exports.UltraGreedState.MOVE = 4
10454
- ____exports.UltraGreedState[____exports.UltraGreedState.MOVE] = "MOVE"
10455
- ____exports.UltraGreedState.GOLD_STATUE_BREAKING_OUT = 16
10456
- ____exports.UltraGreedState[____exports.UltraGreedState.GOLD_STATUE_BREAKING_OUT] = "GOLD_STATUE_BREAKING_OUT"
10457
- ____exports.UltraGreedState.EYES_SPINNING = 100
10458
- ____exports.UltraGreedState[____exports.UltraGreedState.EYES_SPINNING] = "EYES_SPINNING"
10459
- ____exports.UltraGreedState.STOMPING = 200
10460
- ____exports.UltraGreedState[____exports.UltraGreedState.STOMPING] = "STOMPING"
10461
- ____exports.UltraGreedState.BLOCKING_WITH_ARMS = 400
10462
- ____exports.UltraGreedState[____exports.UltraGreedState.BLOCKING_WITH_ARMS] = "BLOCKING_WITH_ARMS"
10463
- ____exports.UltraGreedState.SPIN_ATTACK = 510
10464
- ____exports.UltraGreedState[____exports.UltraGreedState.SPIN_ATTACK] = "SPIN_ATTACK"
10465
- ____exports.UltraGreedState.SHOOT_4_COINS = 600
10466
- ____exports.UltraGreedState[____exports.UltraGreedState.SHOOT_4_COINS] = "SHOOT_4_COINS"
10467
- ____exports.UltraGreedState.DYING = 9000
10468
- ____exports.UltraGreedState[____exports.UltraGreedState.DYING] = "DYING"
10469
- ____exports.UltraGreedState.GOLD_STATUE = 9001
10470
- ____exports.UltraGreedState[____exports.UltraGreedState.GOLD_STATUE] = "GOLD_STATUE"
10471
- --- For `EntityType.ULTRA_GREED` (406), `UltraGreedVariant.ULTRA_GREEDIER` (1).
10472
- ____exports.UltraGreedierState = {}
10473
- ____exports.UltraGreedierState.IDLE = 3
10474
- ____exports.UltraGreedierState[____exports.UltraGreedierState.IDLE] = "IDLE"
10475
- ____exports.UltraGreedierState.MOVE = 4
10476
- ____exports.UltraGreedierState[____exports.UltraGreedierState.MOVE] = "MOVE"
10477
- ____exports.UltraGreedierState.JUMP = 6
10478
- ____exports.UltraGreedierState[____exports.UltraGreedierState.JUMP] = "JUMP"
10479
- ____exports.UltraGreedierState.STOMPING = 200
10480
- ____exports.UltraGreedierState[____exports.UltraGreedierState.STOMPING] = "STOMPING"
10481
- ____exports.UltraGreedierState.SHOOT_4_COINS = 600
10482
- ____exports.UltraGreedierState[____exports.UltraGreedierState.SHOOT_4_COINS] = "SHOOT_4_COINS"
10483
- ____exports.UltraGreedierState.FIST_POUND = 700
10484
- ____exports.UltraGreedierState[____exports.UltraGreedierState.FIST_POUND] = "FIST_POUND"
10485
- ____exports.UltraGreedierState.FIST_POUND_TRIPLE = 710
10486
- ____exports.UltraGreedierState[____exports.UltraGreedierState.FIST_POUND_TRIPLE] = "FIST_POUND_TRIPLE"
10487
- ____exports.UltraGreedierState.DYING = 9000
10488
- ____exports.UltraGreedierState[____exports.UltraGreedierState.DYING] = "DYING"
10489
- ____exports.UltraGreedierState.POST_EXPLOSION = 9001
10490
- ____exports.UltraGreedierState[____exports.UltraGreedierState.POST_EXPLOSION] = "POST_EXPLOSION"
10491
10533
  return ____exports
10492
10534
  end,
10493
10535
  ["lua_modules.isaac-typescript-definitions.dist.src.enums.WeaponType"] = function(...)
@@ -27336,8 +27378,8 @@ local ____exports = {}
27336
27378
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
27337
27379
  local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
27338
27380
  ____exports.ROOM_TYPE_NAMES = {
27339
- [RoomType.DEFAULT] = "default room",
27340
- [RoomType.SHOP] = "shop",
27381
+ [RoomType.DEFAULT] = "Default Room",
27382
+ [RoomType.SHOP] = "Shop",
27341
27383
  [RoomType.ERROR] = "I AM ERROR Room",
27342
27384
  [RoomType.TREASURE] = "Treasure Room",
27343
27385
  [RoomType.BOSS] = "Boss Room",
@@ -70,11 +70,15 @@ export declare function getRoomListIndex(roomGridIndex?: int): int;
70
70
  *
71
71
  * (The version of the function without any arguments will not return undefined since the current
72
72
  * room is guaranteed to have data.)
73
+ *
74
+ * If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
73
75
  */
74
76
  export declare function getRoomName(): string;
75
77
  /**
76
78
  * Helper function to get the name of the room as it appears in the STB/XML data.
77
79
  *
80
+ * If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
81
+ *
78
82
  * @param roomGridIndex Optional. Default is the current room index.
79
83
  * @returns The room name. Returns undefined if the room data was not found.
80
84
  */
@@ -1 +1 @@
1
- {"version":3,"file":"roomData.d.ts","sourceRoot":"","sources":["../../../src/functions/roomData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAMtC;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,CAgBtE;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,IAAI,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,UAAU,GAAG,SAAS,CAAC;AAOzE;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,cAAc,CAQrE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,QAAQ,CAAC,cAAc,CAAC,CAGpE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,IAAI,GAAG,CAUtC;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAGzD;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAAC;AAEtC;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,SAAS,CAAC;AAOrE;;;;;;;;GAQG;AACH,wBAAgB,YAAY,IAAI,SAAS,CAAC;AAE1C;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,SAAS,GAAG,SAAS,CAAC;AAOzE;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAAC;AAE1C;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,GAAG,SAAS,CAAC;AAOzE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,IAAI,GAAG,CAAC;AAEtC;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS,CAAC;AAOrE;;;;;;;;GAQG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,QAAQ,GAAG,SAAS,CAAC;AAavE;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,IAAI,GAAG,CAAC;AAEtC;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS,CAAC;AAOrE;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAG5D;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,aAAa,EAAE,GAAG,EAAE,QAAQ,EAAE,UAAU,GAAG,IAAI,CAG1E"}
1
+ {"version":3,"file":"roomData.d.ts","sourceRoot":"","sources":["../../../src/functions/roomData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAMtC;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,QAAQ,CAAC,CAgBtE;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,IAAI,UAAU,CAAC;AAE1C;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,UAAU,GAAG,SAAS,CAAC;AAOzE;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,cAAc,CAQrE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,QAAQ,CAAC,cAAc,CAAC,CAGpE;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,IAAI,GAAG,CAUtC;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAGzD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,IAAI,MAAM,CAAC;AAEtC;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,MAAM,GAAG,SAAS,CAAC;AAOrE;;;;;;;;GAQG;AACH,wBAAgB,YAAY,IAAI,SAAS,CAAC;AAE1C;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,SAAS,GAAG,SAAS,CAAC;AAOzE;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAAC;AAE1C;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,GAAG,SAAS,CAAC;AAOzE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,IAAI,GAAG,CAAC;AAEtC;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS,CAAC;AAOrE;;;;;;;;GAQG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,QAAQ,GAAG,SAAS,CAAC;AAavE;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,IAAI,GAAG,CAAC;AAEtC;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,SAAS,CAAC;AAOrE;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,GAAG,CAG5D;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,aAAa,EAAE,GAAG,EAAE,QAAQ,EAAE,UAAU,GAAG,IAAI,CAG1E"}
@@ -101,8 +101,12 @@ end
101
101
  --
102
102
  -- (The version of the function without any arguments will not return undefined since the current
103
103
  -- room is guaranteed to have data.)
104
+ --
105
+ -- If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
104
106
  -- Helper function to get the name of the room as it appears in the STB/XML data.
105
107
  --
108
+ -- If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
109
+ --
106
110
  -- @param roomGridIndex Optional. Default is the current room index.
107
111
  -- @returns The room name. Returns undefined if the room data was not found.
108
112
  function ____exports.getRoomName(self, roomGridIndex)
@@ -1,6 +1,6 @@
1
1
  export declare const ROOM_TYPE_NAMES: {
2
- readonly 1: "default room";
3
- readonly 2: "shop";
2
+ readonly 1: "Default Room";
3
+ readonly 2: "Shop";
4
4
  readonly 3: "I AM ERROR Room";
5
5
  readonly 4: "Treasure Room";
6
6
  readonly 5: "Boss Room";
@@ -2,8 +2,8 @@ local ____exports = {}
2
2
  local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
3
3
  local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
4
4
  ____exports.ROOM_TYPE_NAMES = {
5
- [RoomType.DEFAULT] = "default room",
6
- [RoomType.SHOP] = "shop",
5
+ [RoomType.DEFAULT] = "Default Room",
6
+ [RoomType.SHOP] = "Shop",
7
7
  [RoomType.ERROR] = "I AM ERROR Room",
8
8
  [RoomType.TREASURE] = "Treasure Room",
9
9
  [RoomType.BOSS] = "Boss Room",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "72.9.0",
3
+ "version": "73.0.0",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -25,6 +25,6 @@
25
25
  "main": "dist/src/index",
26
26
  "types": "dist/index.rollup.d.ts",
27
27
  "dependencies": {
28
- "isaac-typescript-definitions": "^36.2.0"
28
+ "isaac-typescript-definitions": "^37.0.0"
29
29
  }
30
30
  }
@@ -132,12 +132,16 @@ export function getRoomListIndex(roomGridIndex?: int): int {
132
132
  *
133
133
  * (The version of the function without any arguments will not return undefined since the current
134
134
  * room is guaranteed to have data.)
135
+ *
136
+ * If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
135
137
  */
136
138
  export function getRoomName(): string;
137
139
 
138
140
  /**
139
141
  * Helper function to get the name of the room as it appears in the STB/XML data.
140
142
  *
143
+ * If you want to get the room name for a specific room type, use the `getRoomTypeName` function.
144
+ *
141
145
  * @param roomGridIndex Optional. Default is the current room index.
142
146
  * @returns The room name. Returns undefined if the room data was not found.
143
147
  */
@@ -1,8 +1,8 @@
1
1
  import { RoomType } from "isaac-typescript-definitions";
2
2
 
3
3
  export const ROOM_TYPE_NAMES = {
4
- [RoomType.DEFAULT]: "default room", // 1
5
- [RoomType.SHOP]: "shop", // 2
4
+ [RoomType.DEFAULT]: "Default Room", // 1
5
+ [RoomType.SHOP]: "Shop", // 2
6
6
  [RoomType.ERROR]: "I AM ERROR Room", // 3
7
7
  [RoomType.TREASURE]: "Treasure Room", // 4
8
8
  [RoomType.BOSS]: "Boss Room", // 5