isaacscript-common 30.11.5 → 30.11.7

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.
Files changed (57) hide show
  1. package/dist/index.rollup.d.ts +20 -17
  2. package/dist/isaacscript-common.lua +298 -251
  3. package/dist/lualib_bundle.lua +25 -5
  4. package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +6 -6
  5. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.lua +4 -4
  6. package/dist/src/classes/features/other/CharacterHealthConversion.lua +2 -2
  7. package/dist/src/classes/features/other/CharacterStats.lua +2 -2
  8. package/dist/src/classes/features/other/CollectibleItemPoolType.lua +2 -2
  9. package/dist/src/classes/features/other/CustomHotkeys.lua +5 -5
  10. package/dist/src/classes/features/other/CustomItemPools.lua +3 -3
  11. package/dist/src/classes/features/other/CustomPickups.lua +2 -2
  12. package/dist/src/classes/features/other/CustomStages.lua +3 -3
  13. package/dist/src/classes/features/other/CustomTrapdoors.lua +3 -3
  14. package/dist/src/classes/features/other/DebugDisplay.lua +37 -37
  15. package/dist/src/classes/features/other/DeployJSONRoom.lua +2 -2
  16. package/dist/src/classes/features/other/DisableAllSound.lua +3 -3
  17. package/dist/src/classes/features/other/DisableInputs.lua +9 -9
  18. package/dist/src/classes/features/other/EdenStartingStats.lua +3 -3
  19. package/dist/src/classes/features/other/ExtraConsoleCommands.lua +3 -3
  20. package/dist/src/classes/features/other/FadeInRemover.lua +3 -3
  21. package/dist/src/classes/features/other/FastReset.lua +3 -3
  22. package/dist/src/classes/features/other/FlyingDetection.lua +2 -2
  23. package/dist/src/classes/features/other/ForgottenSwitch.lua +2 -2
  24. package/dist/src/classes/features/other/ItemPoolDetection.lua +4 -4
  25. package/dist/src/classes/features/other/ModdedElementDetection.lua +24 -24
  26. package/dist/src/classes/features/other/ModdedElementSets.lua +38 -38
  27. package/dist/src/classes/features/other/NoSirenSteal.lua +2 -2
  28. package/dist/src/classes/features/other/Pause.lua +4 -4
  29. package/dist/src/classes/features/other/PersistentEntities.lua +3 -3
  30. package/dist/src/classes/features/other/PickupIndexCreation.lua +2 -2
  31. package/dist/src/classes/features/other/PlayerInventory.lua +3 -3
  32. package/dist/src/classes/features/other/PonyDetection.lua +3 -3
  33. package/dist/src/classes/features/other/PressInput.lua +2 -2
  34. package/dist/src/classes/features/other/PreventChildEntities.lua +2 -2
  35. package/dist/src/classes/features/other/PreventCollectibleRotation.lua +2 -2
  36. package/dist/src/classes/features/other/PreventGridEntityRespawn.lua +2 -2
  37. package/dist/src/classes/features/other/RoomClearFrame.lua +3 -3
  38. package/dist/src/classes/features/other/RoomHistory.lua +8 -8
  39. package/dist/src/classes/features/other/RunInNFrames.lua +8 -8
  40. package/dist/src/classes/features/other/RunNextRoom.lua +2 -2
  41. package/dist/src/classes/features/other/SaveDataManager.lua +10 -10
  42. package/dist/src/classes/features/other/SpawnCollectible.lua +3 -3
  43. package/dist/src/classes/features/other/SpawnRockAltRewards.lua +8 -8
  44. package/dist/src/classes/features/other/StageHistory.lua +5 -5
  45. package/dist/src/classes/features/other/StartAmbush.lua +2 -2
  46. package/dist/src/classes/features/other/TaintedLazarusPlayers.lua +2 -2
  47. package/dist/src/functions/logMisc.d.ts +19 -17
  48. package/dist/src/functions/logMisc.d.ts.map +1 -1
  49. package/dist/src/functions/logMisc.lua +47 -15
  50. package/package.json +1 -1
  51. package/src/classes/features/other/saveDataManager/saveToDisk.ts +1 -1
  52. package/src/decorators.ts +1 -1
  53. package/src/functions/decorators.ts +2 -2
  54. package/src/functions/logMisc.ts +48 -21
  55. package/dist/src/indexLua.d.ts +0 -186
  56. package/dist/src/indexLua.d.ts.map +0 -1
  57. package/dist/src/indexLua.lua +0 -1114
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 30.11.5
3
+ isaacscript-common 30.11.7
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -910,6 +910,25 @@ local function __TS__CloneDescriptor(____bindingPattern0)
910
910
  return descriptor
911
911
  end
912
912
 
913
+ local function __TS__Decorate(self, originalValue, decorators, context)
914
+ local result = originalValue
915
+ do
916
+ local i = #decorators
917
+ while i >= 0 do
918
+ local decorator = decorators[i + 1]
919
+ if decorator ~= nil then
920
+ local ____decorator_result_0 = decorator(self, result, context)
921
+ if ____decorator_result_0 == nil then
922
+ ____decorator_result_0 = result
923
+ end
924
+ result = ____decorator_result_0
925
+ end
926
+ i = i - 1
927
+ end
928
+ end
929
+ return result
930
+ end
931
+
913
932
  local function __TS__ObjectAssign(target, ...)
914
933
  local sources = {...}
915
934
  for i = 1, #sources do
@@ -1011,7 +1030,7 @@ do
1011
1030
  end
1012
1031
  end
1013
1032
 
1014
- local function __TS__Decorate(decorators, target, key, desc)
1033
+ local function __TS__DecorateLegacy(decorators, target, key, desc)
1015
1034
  local result = target
1016
1035
  do
1017
1036
  local i = #decorators
@@ -1286,6 +1305,7 @@ do
1286
1305
  end
1287
1306
  end
1288
1307
  end
1308
+ Map[Symbol.species] = Map
1289
1309
  function Map.prototype.clear(self)
1290
1310
  self.items = {}
1291
1311
  self.nextKey = {}
@@ -1393,7 +1413,6 @@ do
1393
1413
  end
1394
1414
  }
1395
1415
  end
1396
- Map[Symbol.species] = Map
1397
1416
  end
1398
1417
 
1399
1418
  local __TS__Match = string.match
@@ -1870,6 +1889,7 @@ do
1870
1889
  end
1871
1890
  end
1872
1891
  end
1892
+ Set[Symbol.species] = Set
1873
1893
  function Set.prototype.add(self, value)
1874
1894
  local isNewValue = not self:has(value)
1875
1895
  if isNewValue then
@@ -1969,7 +1989,6 @@ do
1969
1989
  end
1970
1990
  }
1971
1991
  end
1972
- Set[Symbol.species] = Set
1973
1992
  end
1974
1993
 
1975
1994
  local function __TS__SparseArrayNew(...)
@@ -2021,6 +2040,7 @@ do
2021
2040
  end
2022
2041
  end
2023
2042
  end
2043
+ WeakMap[Symbol.species] = WeakMap
2024
2044
  function WeakMap.prototype.delete(self, key)
2025
2045
  local contains = self:has(key)
2026
2046
  self.items[key] = nil
@@ -2036,7 +2056,6 @@ do
2036
2056
  self.items[key] = value
2037
2057
  return self
2038
2058
  end
2039
- WeakMap[Symbol.species] = WeakMap
2040
2059
  end
2041
2060
 
2042
2061
  local WeakSet
@@ -2066,6 +2085,7 @@ do
2066
2085
  end
2067
2086
  end
2068
2087
  end
2088
+ WeakSet[Symbol.species] = WeakSet
2069
2089
  function WeakSet.prototype.add(self, value)
2070
2090
  self.items[value] = true
2071
2091
  return self
@@ -2078,7 +2098,6 @@ do
2078
2098
  function WeakSet.prototype.has(self, value)
2079
2099
  return self.items[value] == true
2080
2100
  end
2081
- WeakSet[Symbol.species] = WeakSet
2082
2101
  end
2083
2102
 
2084
2103
  local function __TS__SourceMapTraceBack(fileName, sourceMap)
@@ -2449,6 +2468,7 @@ return {
2449
2468
  __TS__CloneDescriptor = __TS__CloneDescriptor,
2450
2469
  __TS__CountVarargs = __TS__CountVarargs,
2451
2470
  __TS__Decorate = __TS__Decorate,
2471
+ __TS__DecorateLegacy = __TS__DecorateLegacy,
2452
2472
  __TS__DecorateParam = __TS__DecorateParam,
2453
2473
  __TS__Delete = __TS__Delete,
2454
2474
  __TS__DelegatedYield = __TS__DelegatedYield,
@@ -29411,7 +29431,7 @@ function ____exports.logMap(map, name)
29411
29431
  return
29412
29432
  end
29413
29433
  local suffix = name == nil and (" \"" .. tostring(name)) .. "\"" or ""
29414
- log(("Printing out a TSTL map" .. suffix) .. ":")
29434
+ log(("Logging a TSTL map" .. suffix) .. ":")
29415
29435
  local mapKeys = {__TS__Spread(map:keys())}
29416
29436
  __TS__ArraySort(mapKeys)
29417
29437
  for ____, key in ipairs(mapKeys) do
@@ -29519,7 +29539,7 @@ function ____exports.logSet(set, name)
29519
29539
  return
29520
29540
  end
29521
29541
  local suffix = name == nil and (" \"" .. tostring(name)) .. "\"" or ""
29522
- log(("Printing out a TSTL set" .. suffix) .. ":")
29542
+ log(("Logging a TSTL set" .. suffix) .. ":")
29523
29543
  local setValues = getSortedSetValues(nil, set)
29524
29544
  for ____, value in ipairs(setValues) do
29525
29545
  log(" Value: " .. tostring(value))
@@ -29541,7 +29561,7 @@ function ____exports.logTable(luaTable, parentTables)
29541
29561
  parentTables = 0
29542
29562
  end
29543
29563
  if parentTables == 0 then
29544
- log("Printing out a Lua table:", false)
29564
+ log("Logging a Lua table:", false)
29545
29565
  elseif parentTables > 10 then
29546
29566
  return
29547
29567
  end
@@ -29605,7 +29625,7 @@ function ____exports.logTableDifferences(table1, table2)
29605
29625
  end
29606
29626
  end
29607
29627
  function ____exports.logTableKeys(luaTable)
29608
- log("Printing out the keys of a Lua table:")
29628
+ log("Logging the keys of a Lua table:")
29609
29629
  if not isTable(nil, luaTable) then
29610
29630
  log((" n/a (encountered a variable of type \"" .. __TS__TypeOf(luaTable)) .. "\" instead of a table)")
29611
29631
  return
@@ -29621,6 +29641,33 @@ function ____exports.logTableKeys(luaTable)
29621
29641
  )
29622
29642
  log(" The size of the table was: " .. tostring(numElements))
29623
29643
  end
29644
+ function ____exports.logTableShallow(luaTable)
29645
+ log("Logging a Lua table (shallow):", false)
29646
+ if not isTable(nil, luaTable) then
29647
+ log(
29648
+ ("n/a (encountered a variable of type \"" .. __TS__TypeOf(luaTable)) .. "\" instead of a table)",
29649
+ false
29650
+ )
29651
+ return
29652
+ end
29653
+ local numElements = 0
29654
+ local indentation = " "
29655
+ iterateTableInOrder(
29656
+ nil,
29657
+ luaTable,
29658
+ function(____, key, value)
29659
+ log(
29660
+ ((indentation .. tostring(key)) .. " --> ") .. tostring(value),
29661
+ false
29662
+ )
29663
+ numElements = numElements + 1
29664
+ end
29665
+ )
29666
+ log(
29667
+ (indentation .. "The size of the table was: ") .. tostring(numElements),
29668
+ false
29669
+ )
29670
+ end
29624
29671
  function ____exports.logTearFlags(flags)
29625
29672
  ____exports.logFlags(flags, TearFlag, "tear")
29626
29673
  end
@@ -34092,7 +34139,7 @@ return ____exports
34092
34139
  local ____lualib = require("lualib_bundle")
34093
34140
  local __TS__Class = ____lualib.__TS__Class
34094
34141
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
34095
- local __TS__Decorate = ____lualib.__TS__Decorate
34142
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
34096
34143
  local ____exports = {}
34097
34144
  local ____cachedClasses = require("src.core.cachedClasses")
34098
34145
  local game = ____cachedClasses.game
@@ -34160,12 +34207,15 @@ end
34160
34207
  function RoomHistory.prototype.deleteLastRoomDescription(self)
34161
34208
  table.remove(v.run.roomHistory)
34162
34209
  end
34210
+ __TS__DecorateLegacy({Exported}, RoomHistory.prototype, "deleteLastRoomDescription", true)
34163
34211
  function RoomHistory.prototype.getNumRoomsEntered(self)
34164
34212
  return #v.run.roomHistory
34165
34213
  end
34214
+ __TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getNumRoomsEntered", true)
34166
34215
  function RoomHistory.prototype.getRoomHistory(self)
34167
34216
  return v.run.roomHistory
34168
34217
  end
34218
+ __TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getRoomHistory", true)
34169
34219
  function RoomHistory.prototype.getPreviousRoomDescription(self)
34170
34220
  local previousRoomDescription = v.run.roomHistory[#v.run.roomHistory - 2 + 1]
34171
34221
  if previousRoomDescription ~= nil then
@@ -34177,12 +34227,15 @@ function RoomHistory.prototype.getPreviousRoomDescription(self)
34177
34227
  end
34178
34228
  error("Failed to find a room description for any rooms thus far on this run.")
34179
34229
  end
34230
+ __TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getPreviousRoomDescription", true)
34180
34231
  function RoomHistory.prototype.getLatestRoomDescription(self)
34181
34232
  return getLastElement(nil, v.run.roomHistory)
34182
34233
  end
34234
+ __TS__DecorateLegacy({Exported}, RoomHistory.prototype, "getLatestRoomDescription", true)
34183
34235
  function RoomHistory.prototype.inFirstRoom(self)
34184
34236
  return #v.run.roomHistory == 1
34185
34237
  end
34238
+ __TS__DecorateLegacy({Exported}, RoomHistory.prototype, "inFirstRoom", true)
34186
34239
  function RoomHistory.prototype.isLeavingRoom(self)
34187
34240
  local level = game:GetLevel()
34188
34241
  local stage = level:GetStage()
@@ -34197,20 +34250,14 @@ function RoomHistory.prototype.isLeavingRoom(self)
34197
34250
  end
34198
34251
  return startSeedString ~= latestRoomDescription.startSeedString or stage ~= latestRoomDescription.stage or stageType ~= latestRoomDescription.stageType or roomListIndex ~= latestRoomDescription.roomListIndex or roomVisitedCount ~= latestRoomDescription.roomVisitedCount
34199
34252
  end
34200
- __TS__Decorate({Exported}, RoomHistory.prototype, "deleteLastRoomDescription", true)
34201
- __TS__Decorate({Exported}, RoomHistory.prototype, "getNumRoomsEntered", true)
34202
- __TS__Decorate({Exported}, RoomHistory.prototype, "getRoomHistory", true)
34203
- __TS__Decorate({Exported}, RoomHistory.prototype, "getPreviousRoomDescription", true)
34204
- __TS__Decorate({Exported}, RoomHistory.prototype, "getLatestRoomDescription", true)
34205
- __TS__Decorate({Exported}, RoomHistory.prototype, "inFirstRoom", true)
34206
- __TS__Decorate({Exported}, RoomHistory.prototype, "isLeavingRoom", true)
34253
+ __TS__DecorateLegacy({Exported}, RoomHistory.prototype, "isLeavingRoom", true)
34207
34254
  return ____exports
34208
34255
  end,
34209
34256
  ["src.classes.features.other.RunInNFrames"] = function(...)
34210
34257
  local ____lualib = require("lualib_bundle")
34211
34258
  local __TS__Class = ____lualib.__TS__Class
34212
34259
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
34213
- local __TS__Decorate = ____lualib.__TS__Decorate
34260
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
34214
34261
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
34215
34262
  local ____exports = {}
34216
34263
  local checkExecuteQueuedFunctions, checkExecuteIntervalFunctions
@@ -34308,6 +34355,7 @@ function RunInNFrames.prototype.restartNextRenderFrame(self, character)
34308
34355
  restart(nil, character)
34309
34356
  end)
34310
34357
  end
34358
+ __TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "restartNextRenderFrame", true)
34311
34359
  function RunInNFrames.prototype.runInNGameFrames(self, func, numGameFrames, cancelIfRoomChanges)
34312
34360
  if cancelIfRoomChanges == nil then
34313
34361
  cancelIfRoomChanges = false
@@ -34319,6 +34367,7 @@ function RunInNFrames.prototype.runInNGameFrames(self, func, numGameFrames, canc
34319
34367
  local ____v_run_queuedGameFunctions_0 = v.run.queuedGameFunctions
34320
34368
  ____v_run_queuedGameFunctions_0[#____v_run_queuedGameFunctions_0 + 1] = queuedFunction
34321
34369
  end
34370
+ __TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runInNGameFrames", true)
34322
34371
  function RunInNFrames.prototype.runInNRenderFrames(self, func, numRenderFrames, cancelIfRoomChanges)
34323
34372
  if cancelIfRoomChanges == nil then
34324
34373
  cancelIfRoomChanges = false
@@ -34330,18 +34379,21 @@ function RunInNFrames.prototype.runInNRenderFrames(self, func, numRenderFrames,
34330
34379
  local ____v_run_queuedRenderFunctions_1 = v.run.queuedRenderFunctions
34331
34380
  ____v_run_queuedRenderFunctions_1[#____v_run_queuedRenderFunctions_1 + 1] = queuedFunction
34332
34381
  end
34382
+ __TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runInNRenderFrames", true)
34333
34383
  function RunInNFrames.prototype.runNextGameFrame(self, func, cancelIfRoomChanges)
34334
34384
  if cancelIfRoomChanges == nil then
34335
34385
  cancelIfRoomChanges = false
34336
34386
  end
34337
34387
  self:runInNGameFrames(func, 1, cancelIfRoomChanges)
34338
34388
  end
34389
+ __TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runNextGameFrame", true)
34339
34390
  function RunInNFrames.prototype.runNextRenderFrame(self, func, cancelIfRoomChanges)
34340
34391
  if cancelIfRoomChanges == nil then
34341
34392
  cancelIfRoomChanges = false
34342
34393
  end
34343
34394
  self:runInNRenderFrames(func, 1, cancelIfRoomChanges)
34344
34395
  end
34396
+ __TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "runNextRenderFrame", true)
34345
34397
  function RunInNFrames.prototype.setIntervalGameFrames(self, func, numGameFrames, runImmediately, cancelIfRoomChanges)
34346
34398
  if cancelIfRoomChanges == nil then
34347
34399
  cancelIfRoomChanges = false
@@ -34364,6 +34416,7 @@ function RunInNFrames.prototype.setIntervalGameFrames(self, func, numGameFrames,
34364
34416
  local ____v_run_intervalGameFunctions_2 = v.run.intervalGameFunctions
34365
34417
  ____v_run_intervalGameFunctions_2[#____v_run_intervalGameFunctions_2 + 1] = intervalFunction
34366
34418
  end
34419
+ __TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "setIntervalGameFrames", true)
34367
34420
  function RunInNFrames.prototype.setIntervalRenderFrames(self, func, numRenderFrames, runImmediately, cancelIfRoomChanges)
34368
34421
  if cancelIfRoomChanges == nil then
34369
34422
  cancelIfRoomChanges = false
@@ -34386,13 +34439,7 @@ function RunInNFrames.prototype.setIntervalRenderFrames(self, func, numRenderFra
34386
34439
  local ____v_run_intervalRenderFunctions_3 = v.run.intervalRenderFunctions
34387
34440
  ____v_run_intervalRenderFunctions_3[#____v_run_intervalRenderFunctions_3 + 1] = intervalFunction
34388
34441
  end
34389
- __TS__Decorate({Exported}, RunInNFrames.prototype, "restartNextRenderFrame", true)
34390
- __TS__Decorate({Exported}, RunInNFrames.prototype, "runInNGameFrames", true)
34391
- __TS__Decorate({Exported}, RunInNFrames.prototype, "runInNRenderFrames", true)
34392
- __TS__Decorate({Exported}, RunInNFrames.prototype, "runNextGameFrame", true)
34393
- __TS__Decorate({Exported}, RunInNFrames.prototype, "runNextRenderFrame", true)
34394
- __TS__Decorate({Exported}, RunInNFrames.prototype, "setIntervalGameFrames", true)
34395
- __TS__Decorate({Exported}, RunInNFrames.prototype, "setIntervalRenderFrames", true)
34442
+ __TS__DecorateLegacy({Exported}, RunInNFrames.prototype, "setIntervalRenderFrames", true)
34396
34443
  return ____exports
34397
34444
  end,
34398
34445
  ["src.classes.features.callbackLogic.CustomGridEntities"] = function(...)
@@ -34403,7 +34450,7 @@ local Set = ____lualib.Set
34403
34450
  local __TS__Class = ____lualib.__TS__Class
34404
34451
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
34405
34452
  local __TS__Iterator = ____lualib.__TS__Iterator
34406
- local __TS__Decorate = ____lualib.__TS__Decorate
34453
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
34407
34454
  local ____exports = {}
34408
34455
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
34409
34456
  local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
@@ -34544,6 +34591,7 @@ function CustomGridEntities.prototype.spawnCustomGridEntity(self, gridEntityType
34544
34591
  roomCustomGridEntities:set(gridIndex, customGridEntityData)
34545
34592
  return customGridEntity
34546
34593
  end
34594
+ __TS__DecorateLegacy({Exported}, CustomGridEntities.prototype, "spawnCustomGridEntity", true)
34547
34595
  function CustomGridEntities.prototype.removeCustomGridEntity(self, gridIndexOrPositionOrGridEntity, updateRoom)
34548
34596
  if updateRoom == nil then
34549
34597
  updateRoom = true
@@ -34578,6 +34626,7 @@ function CustomGridEntities.prototype.removeCustomGridEntity(self, gridIndexOrPo
34578
34626
  removeGridEntity(nil, decoration, updateRoom)
34579
34627
  return decoration
34580
34628
  end
34629
+ __TS__DecorateLegacy({Exported}, CustomGridEntities.prototype, "removeCustomGridEntity", true)
34581
34630
  function CustomGridEntities.prototype.getCustomGridEntities(self)
34582
34631
  local roomListIndex = getRoomListIndex(nil)
34583
34632
  local roomCustomGridEntities = v.level.customGridEntities:get(roomListIndex)
@@ -34596,6 +34645,7 @@ function CustomGridEntities.prototype.getCustomGridEntities(self)
34596
34645
  end
34597
34646
  return customGridEntities
34598
34647
  end
34648
+ __TS__DecorateLegacy({Exported}, CustomGridEntities.prototype, "getCustomGridEntities", true)
34599
34649
  function CustomGridEntities.prototype.getCustomGridEntityType(self, gridEntityOrGridIndex)
34600
34650
  if not self.initialized then
34601
34651
  return nil
@@ -34615,15 +34665,12 @@ function CustomGridEntities.prototype.getCustomGridEntityType(self, gridEntityOr
34615
34665
  end
34616
34666
  return nil
34617
34667
  end
34668
+ __TS__DecorateLegacy({Exported}, CustomGridEntities.prototype, "getCustomGridEntityType", true)
34618
34669
  function CustomGridEntities.prototype.isCustomGridEntity(self, gridEntityOrGridIndex)
34619
34670
  local gridEntityTypeCustom = self:getCustomGridEntityType(gridEntityOrGridIndex)
34620
34671
  return gridEntityTypeCustom ~= nil
34621
34672
  end
34622
- __TS__Decorate({Exported}, CustomGridEntities.prototype, "spawnCustomGridEntity", true)
34623
- __TS__Decorate({Exported}, CustomGridEntities.prototype, "removeCustomGridEntity", true)
34624
- __TS__Decorate({Exported}, CustomGridEntities.prototype, "getCustomGridEntities", true)
34625
- __TS__Decorate({Exported}, CustomGridEntities.prototype, "getCustomGridEntityType", true)
34626
- __TS__Decorate({Exported}, CustomGridEntities.prototype, "isCustomGridEntity", true)
34673
+ __TS__DecorateLegacy({Exported}, CustomGridEntities.prototype, "isCustomGridEntity", true)
34627
34674
  return ____exports
34628
34675
  end,
34629
34676
  ["src.classes.features.callbackLogic.CustomRevive"] = function(...)
@@ -34888,7 +34935,7 @@ return ____exports
34888
34935
  local ____lualib = require("lualib_bundle")
34889
34936
  local __TS__Class = ____lualib.__TS__Class
34890
34937
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
34891
- local __TS__Decorate = ____lualib.__TS__Decorate
34938
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
34892
34939
  local ____exports = {}
34893
34940
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
34894
34941
  local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
@@ -34998,16 +35045,16 @@ end
34998
35045
  function GameReorderedCallbacks.prototype.forceNewLevelCallback(self)
34999
35046
  self.forceNewLevel = true
35000
35047
  end
35048
+ __TS__DecorateLegacy({Exported}, GameReorderedCallbacks.prototype, "forceNewLevelCallback", true)
35001
35049
  function GameReorderedCallbacks.prototype.forceNewRoomCallback(self)
35002
35050
  self.forceNewRoom = true
35003
35051
  end
35052
+ __TS__DecorateLegacy({Exported}, GameReorderedCallbacks.prototype, "forceNewRoomCallback", true)
35004
35053
  function GameReorderedCallbacks.prototype.reorderedCallbacksSetStage(self, stage, stageType)
35005
35054
  self.currentStage = stage
35006
35055
  self.currentStageType = stageType
35007
35056
  end
35008
- __TS__Decorate({Exported}, GameReorderedCallbacks.prototype, "forceNewLevelCallback", true)
35009
- __TS__Decorate({Exported}, GameReorderedCallbacks.prototype, "forceNewRoomCallback", true)
35010
- __TS__Decorate({Exported}, GameReorderedCallbacks.prototype, "reorderedCallbacksSetStage", true)
35057
+ __TS__DecorateLegacy({Exported}, GameReorderedCallbacks.prototype, "reorderedCallbacksSetStage", true)
35011
35058
  return ____exports
35012
35059
  end,
35013
35060
  ["src.classes.features.callbackLogic.GridEntityCollisionDetection"] = function(...)
@@ -36950,7 +36997,7 @@ local __TS__Class = ____lualib.__TS__Class
36950
36997
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
36951
36998
  local __TS__TypeOf = ____lualib.__TS__TypeOf
36952
36999
  local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
36953
- local __TS__Decorate = ____lualib.__TS__Decorate
37000
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
36954
37001
  local __TS__ArraySort = ____lualib.__TS__ArraySort
36955
37002
  local ____exports = {}
36956
37003
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -37082,6 +37129,7 @@ function SaveDataManager.prototype.saveDataManager(self, key, v, conditionalFunc
37082
37129
  self.saveDataConditionalFuncMap[key] = conditionalFunc
37083
37130
  end
37084
37131
  end
37132
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManager", true)
37085
37133
  function SaveDataManager.prototype.storeClassConstructorsFromObject(self, luaMap)
37086
37134
  local tstlClassName = getTSTLClassName(nil, luaMap)
37087
37135
  if tstlClassName ~= nil and not NON_USER_DEFINED_CLASS_NAMES:has(tstlClassName) then
@@ -37096,12 +37144,15 @@ end
37096
37144
  function SaveDataManager.prototype.saveDataManagerLoad(self)
37097
37145
  loadFromDisk(nil, self.mod, self.saveDataMap, self.classConstructors)
37098
37146
  end
37147
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerLoad", true)
37099
37148
  function SaveDataManager.prototype.saveDataManagerSave(self)
37100
37149
  saveToDisk(nil, self.mod, self.saveDataMap, self.saveDataConditionalFuncMap)
37101
37150
  end
37151
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerSave", true)
37102
37152
  function SaveDataManager.prototype.saveDataManagerSetGlobal(self)
37103
37153
  g = self.saveDataMap
37104
37154
  end
37155
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerSetGlobal", true)
37105
37156
  function SaveDataManager.prototype.saveDataManagerRegisterClass(self, ...)
37106
37157
  local tstlClasses = {...}
37107
37158
  for ____, tstlClass in ipairs(tstlClasses) do
@@ -37112,6 +37163,7 @@ function SaveDataManager.prototype.saveDataManagerRegisterClass(self, ...)
37112
37163
  self.classConstructors[name] = tstlClass
37113
37164
  end
37114
37165
  end
37166
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerRegisterClass", true)
37115
37167
  function SaveDataManager.prototype.saveDataManagerRemove(self, key)
37116
37168
  if not isString(nil, key) then
37117
37169
  error("The save data manager requires that keys are strings. You tried to use a key of type: " .. __TS__TypeOf(key))
@@ -37124,6 +37176,7 @@ function SaveDataManager.prototype.saveDataManagerRemove(self, key)
37124
37176
  self.saveDataConditionalFuncMap[key] = nil
37125
37177
  self.saveDataGlowingHourGlassMap[key] = nil
37126
37178
  end
37179
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerRemove", true)
37127
37180
  function SaveDataManager.prototype.saveDataManagerReset(self, key, childObjectKey)
37128
37181
  if not isString(nil, key) then
37129
37182
  error("The save data manager requires that keys are strings. You tried to use a key of type: " .. __TS__TypeOf(key))
@@ -37140,9 +37193,11 @@ function SaveDataManager.prototype.saveDataManagerReset(self, key, childObjectKe
37140
37193
  childObjectKey
37141
37194
  )
37142
37195
  end
37196
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerReset", true)
37143
37197
  function SaveDataManager.prototype.saveDataManagerInMenu(self)
37144
37198
  return not self.inARun
37145
37199
  end
37200
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerInMenu", true)
37146
37201
  function SaveDataManager.prototype.saveDataManagerLogSubscribers(self)
37147
37202
  log("List of save data manager subscribers:")
37148
37203
  local keys = __TS__ObjectKeys(self.saveDataMap)
@@ -37151,15 +37206,7 @@ function SaveDataManager.prototype.saveDataManagerLogSubscribers(self)
37151
37206
  log("- " .. key)
37152
37207
  end
37153
37208
  end
37154
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManager", true)
37155
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerLoad", true)
37156
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerSave", true)
37157
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerSetGlobal", true)
37158
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerRegisterClass", true)
37159
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerRemove", true)
37160
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerReset", true)
37161
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerInMenu", true)
37162
- __TS__Decorate({Exported}, SaveDataManager.prototype, "saveDataManagerLogSubscribers", true)
37209
+ __TS__DecorateLegacy({Exported}, SaveDataManager.prototype, "saveDataManagerLogSubscribers", true)
37163
37210
  return ____exports
37164
37211
  end,
37165
37212
  ["src.classes.features.other.PickupIndexCreation"] = function(...)
@@ -37168,7 +37215,7 @@ local Map = ____lualib.Map
37168
37215
  local __TS__New = ____lualib.__TS__New
37169
37216
  local __TS__Class = ____lualib.__TS__Class
37170
37217
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
37171
- local __TS__Decorate = ____lualib.__TS__Decorate
37218
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
37172
37219
  local __TS__Iterator = ____lualib.__TS__Iterator
37173
37220
  local ____exports = {}
37174
37221
  local getStoredPickupIndex
@@ -37356,7 +37403,7 @@ function PickupIndexCreation.prototype.getPickupIndex(self, pickup)
37356
37403
  local entityID = getEntityID(nil, pickup)
37357
37404
  error("Failed to generate a new pickup index for pickup: " .. entityID)
37358
37405
  end
37359
- __TS__Decorate({Exported}, PickupIndexCreation.prototype, "getPickupIndex", true)
37406
+ __TS__DecorateLegacy({Exported}, PickupIndexCreation.prototype, "getPickupIndex", true)
37360
37407
  return ____exports
37361
37408
  end,
37362
37409
  ["src.classes.features.callbackLogic.PickupChangeDetection"] = function(...)
@@ -37743,7 +37790,7 @@ return ____exports
37743
37790
  local ____lualib = require("lualib_bundle")
37744
37791
  local __TS__Class = ____lualib.__TS__Class
37745
37792
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
37746
- local __TS__Decorate = ____lualib.__TS__Decorate
37793
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
37747
37794
  local ____exports = {}
37748
37795
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
37749
37796
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
@@ -37805,10 +37852,12 @@ function ModdedElementDetection.prototype.getFirstModdedCollectibleType(self)
37805
37852
  end
37806
37853
  return ____temp_0
37807
37854
  end
37855
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedCollectibleType", true)
37808
37856
  function ModdedElementDetection.prototype.getLastCollectibleType(self)
37809
37857
  self:errorIfNoCallbacksFired("collectible")
37810
37858
  return itemConfig:GetCollectibles().Size - 1
37811
37859
  end
37860
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastCollectibleType", true)
37812
37861
  function ModdedElementDetection.prototype.getModdedCollectibleTypes(self)
37813
37862
  self:errorIfNoCallbacksFired("collectible")
37814
37863
  local firstModdedCollectibleType = self:getFirstModdedCollectibleType()
@@ -37818,16 +37867,19 @@ function ModdedElementDetection.prototype.getModdedCollectibleTypes(self)
37818
37867
  local lastCollectibleType = self:getLastCollectibleType()
37819
37868
  return iRange(nil, firstModdedCollectibleType, lastCollectibleType)
37820
37869
  end
37870
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedCollectibleTypes", true)
37821
37871
  function ModdedElementDetection.prototype.getNumCollectibleTypes(self)
37822
37872
  self:errorIfNoCallbacksFired("collectible")
37823
37873
  local numModdedCollectibleTypes = self:getNumModdedCollectibleTypes()
37824
37874
  return NUM_VANILLA_COLLECTIBLE_TYPES + numModdedCollectibleTypes
37825
37875
  end
37876
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumCollectibleTypes", true)
37826
37877
  function ModdedElementDetection.prototype.getNumModdedCollectibleTypes(self)
37827
37878
  self:errorIfNoCallbacksFired("collectible")
37828
37879
  local lastCollectibleType = self:getLastCollectibleType()
37829
37880
  return lastCollectibleType - LAST_VANILLA_COLLECTIBLE_TYPE
37830
37881
  end
37882
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedCollectibleTypes", true)
37831
37883
  function ModdedElementDetection.prototype.getFirstModdedTrinketType(self)
37832
37884
  self:errorIfNoCallbacksFired("trinket")
37833
37885
  local firstModdedTrinketType = asTrinketType(
@@ -37843,11 +37895,13 @@ function ModdedElementDetection.prototype.getFirstModdedTrinketType(self)
37843
37895
  end
37844
37896
  return ____temp_1
37845
37897
  end
37898
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedTrinketType", true)
37846
37899
  function ModdedElementDetection.prototype.getLastTrinketType(self)
37847
37900
  self:errorIfNoCallbacksFired("trinket")
37848
37901
  local numTrinketTypes = self:getNumTrinketTypes()
37849
37902
  return asTrinketType(nil, numTrinketTypes)
37850
37903
  end
37904
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastTrinketType", true)
37851
37905
  function ModdedElementDetection.prototype.getModdedTrinketTypes(self)
37852
37906
  self:errorIfNoCallbacksFired("trinket")
37853
37907
  local firstModdedTrinketType = self:getFirstModdedTrinketType()
@@ -37857,25 +37911,30 @@ function ModdedElementDetection.prototype.getModdedTrinketTypes(self)
37857
37911
  local lastTrinketType = self:getLastTrinketType()
37858
37912
  return iRange(nil, firstModdedTrinketType, lastTrinketType)
37859
37913
  end
37914
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedTrinketTypes", true)
37860
37915
  function ModdedElementDetection.prototype.getNumTrinketTypes(self)
37861
37916
  self:errorIfNoCallbacksFired("trinket")
37862
37917
  return itemConfig:GetTrinkets().Size - 1
37863
37918
  end
37919
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumTrinketTypes", true)
37864
37920
  function ModdedElementDetection.prototype.getNumModdedTrinketTypes(self)
37865
37921
  self:errorIfNoCallbacksFired("trinket")
37866
37922
  local numTrinketTypes = self:getNumTrinketTypes()
37867
37923
  return numTrinketTypes - NUM_VANILLA_TRINKET_TYPES
37868
37924
  end
37925
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedTrinketTypes", true)
37869
37926
  function ModdedElementDetection.prototype.getTrinketTypes(self)
37870
37927
  self:errorIfNoCallbacksFired("trinket")
37871
37928
  local lastTrinketType = self:getLastTrinketType()
37872
37929
  return iRange(nil, FIRST_TRINKET_TYPE, lastTrinketType)
37873
37930
  end
37931
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getTrinketTypes", true)
37874
37932
  function ModdedElementDetection.prototype.getAllCardTypes(self)
37875
37933
  self:errorIfNoCallbacksFired("card")
37876
37934
  local lastCardType = self:getLastCardType()
37877
37935
  return iRange(nil, FIRST_CARD_TYPE, lastCardType)
37878
37936
  end
37937
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getAllCardTypes", true)
37879
37938
  function ModdedElementDetection.prototype.getFirstModdedCardType(self)
37880
37939
  self:errorIfNoCallbacksFired("card")
37881
37940
  local firstModdedCardType = asCardType(
@@ -37891,11 +37950,13 @@ function ModdedElementDetection.prototype.getFirstModdedCardType(self)
37891
37950
  end
37892
37951
  return ____temp_2
37893
37952
  end
37953
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedCardType", true)
37894
37954
  function ModdedElementDetection.prototype.getLastCardType(self)
37895
37955
  self:errorIfNoCallbacksFired("card")
37896
37956
  local numCards = self:getNumCardTypes()
37897
37957
  return asCardType(nil, numCards)
37898
37958
  end
37959
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastCardType", true)
37899
37960
  function ModdedElementDetection.prototype.getModdedCardTypes(self)
37900
37961
  self:errorIfNoCallbacksFired("card")
37901
37962
  local firstModdedCardType = self:getFirstModdedCardType()
@@ -37905,20 +37966,24 @@ function ModdedElementDetection.prototype.getModdedCardTypes(self)
37905
37966
  local lastCardType = self:getLastCardType()
37906
37967
  return iRange(nil, firstModdedCardType, lastCardType)
37907
37968
  end
37969
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedCardTypes", true)
37908
37970
  function ModdedElementDetection.prototype.getNumCardTypes(self)
37909
37971
  self:errorIfNoCallbacksFired("card")
37910
37972
  return itemConfig:GetCards().Size - 1
37911
37973
  end
37974
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumCardTypes", true)
37912
37975
  function ModdedElementDetection.prototype.getNumModdedCardTypes(self)
37913
37976
  self:errorIfNoCallbacksFired("card")
37914
37977
  local numCardTypes = self:getNumCardTypes()
37915
37978
  return numCardTypes - NUM_VANILLA_CARD_TYPES
37916
37979
  end
37980
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedCardTypes", true)
37917
37981
  function ModdedElementDetection.prototype.getAllPillEffects(self)
37918
37982
  self:errorIfNoCallbacksFired("pill")
37919
37983
  local lastPillEffect = self:getLastPillEffect()
37920
37984
  return iRange(nil, FIRST_PILL_EFFECT, lastPillEffect)
37921
37985
  end
37986
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getAllPillEffects", true)
37922
37987
  function ModdedElementDetection.prototype.getFirstModdedPillEffect(self)
37923
37988
  self:errorIfNoCallbacksFired("pill")
37924
37989
  local firstModdedPillEffect = asPillEffect(
@@ -37934,11 +37999,13 @@ function ModdedElementDetection.prototype.getFirstModdedPillEffect(self)
37934
37999
  end
37935
38000
  return ____temp_3
37936
38001
  end
38002
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getFirstModdedPillEffect", true)
37937
38003
  function ModdedElementDetection.prototype.getLastPillEffect(self)
37938
38004
  self:errorIfNoCallbacksFired("pill")
37939
38005
  local numPillEffects = self:getNumPillEffects()
37940
38006
  return asPillEffect(nil, numPillEffects)
37941
38007
  end
38008
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getLastPillEffect", true)
37942
38009
  function ModdedElementDetection.prototype.getModdedPillEffects(self)
37943
38010
  self:errorIfNoCallbacksFired("pill")
37944
38011
  local firstModdedPillEffect = self:getFirstModdedPillEffect()
@@ -37948,38 +38015,18 @@ function ModdedElementDetection.prototype.getModdedPillEffects(self)
37948
38015
  local lastPillEffect = self:getLastPillEffect()
37949
38016
  return iRange(nil, firstModdedPillEffect, lastPillEffect)
37950
38017
  end
38018
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getModdedPillEffects", true)
37951
38019
  function ModdedElementDetection.prototype.getNumPillEffects(self)
37952
38020
  self:errorIfNoCallbacksFired("pill")
37953
38021
  return itemConfig:GetPillEffects().Size
37954
38022
  end
38023
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumPillEffects", true)
37955
38024
  function ModdedElementDetection.prototype.getNumModdedPillEffects(self)
37956
38025
  self:errorIfNoCallbacksFired("pill")
37957
38026
  local numPillEffects = self:getNumPillEffects()
37958
38027
  return numPillEffects - NUM_VANILLA_PILL_EFFECTS
37959
38028
  end
37960
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getFirstModdedCollectibleType", true)
37961
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastCollectibleType", true)
37962
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedCollectibleTypes", true)
37963
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumCollectibleTypes", true)
37964
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedCollectibleTypes", true)
37965
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getFirstModdedTrinketType", true)
37966
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastTrinketType", true)
37967
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedTrinketTypes", true)
37968
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumTrinketTypes", true)
37969
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedTrinketTypes", true)
37970
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getTrinketTypes", true)
37971
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getAllCardTypes", true)
37972
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getFirstModdedCardType", true)
37973
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastCardType", true)
37974
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedCardTypes", true)
37975
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumCardTypes", true)
37976
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedCardTypes", true)
37977
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getAllPillEffects", true)
37978
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getFirstModdedPillEffect", true)
37979
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getLastPillEffect", true)
37980
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getModdedPillEffects", true)
37981
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumPillEffects", true)
37982
- __TS__Decorate({Exported}, ModdedElementDetection.prototype, "getNumModdedPillEffects", true)
38029
+ __TS__DecorateLegacy({Exported}, ModdedElementDetection.prototype, "getNumModdedPillEffects", true)
37983
38030
  return ____exports
37984
38031
  end,
37985
38032
  ["src.classes.features.other.ModdedElementSets"] = function(...)
@@ -37990,7 +38037,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
37990
38037
  local Set = ____lualib.Set
37991
38038
  local Map = ____lualib.Map
37992
38039
  local __TS__Iterator = ____lualib.__TS__Iterator
37993
- local __TS__Decorate = ____lualib.__TS__Decorate
38040
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
37994
38041
  local ____exports = {}
37995
38042
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
37996
38043
  local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
@@ -38343,10 +38390,12 @@ function ModdedElementSets.prototype.getCardArray(self)
38343
38390
  self:lazyInitModdedCardTypes()
38344
38391
  return self.allCardTypesArray
38345
38392
  end
38393
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCardArray", true)
38346
38394
  function ModdedElementSets.prototype.getCardSet(self)
38347
38395
  self:lazyInitModdedCardTypes()
38348
38396
  return self.allCardTypesSet
38349
38397
  end
38398
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCardSet", true)
38350
38399
  function ModdedElementSets.prototype.getCardTypesOfType(self, ...)
38351
38400
  local itemConfigCardTypes = {...}
38352
38401
  if self.itemConfigCardTypeToCardTypeMap.size == 0 then
@@ -38364,14 +38413,17 @@ function ModdedElementSets.prototype.getCardTypesOfType(self, ...)
38364
38413
  end
38365
38414
  return matchingCardTypes
38366
38415
  end
38416
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCardTypesOfType", true)
38367
38417
  function ModdedElementSets.prototype.getCollectibleArray(self)
38368
38418
  self:lazyInitModdedCollectibleTypes()
38369
38419
  return self.allCollectibleTypesArray
38370
38420
  end
38421
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectibleArray", true)
38371
38422
  function ModdedElementSets.prototype.getCollectibleSet(self)
38372
38423
  self:lazyInitModdedCollectibleTypes()
38373
38424
  return self.allCollectibleTypesSet
38374
38425
  end
38426
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectibleSet", true)
38375
38427
  function ModdedElementSets.prototype.getCollectiblesForTransformation(self, playerForm)
38376
38428
  local itemConfigTag = TRANSFORMATION_TO_TAG_MAP:get(playerForm)
38377
38429
  if itemConfigTag == nil then
@@ -38379,6 +38431,7 @@ function ModdedElementSets.prototype.getCollectiblesForTransformation(self, play
38379
38431
  end
38380
38432
  return self:getCollectiblesWithTag(itemConfigTag)
38381
38433
  end
38434
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectiblesForTransformation", true)
38382
38435
  function ModdedElementSets.prototype.getCollectiblesWithCacheFlag(self, cacheFlag)
38383
38436
  self:lazyInitCacheFlagToCollectibleTypesMap()
38384
38437
  local collectiblesSet = self.cacheFlagToCollectibleTypesMap:get(cacheFlag)
@@ -38387,6 +38440,7 @@ function ModdedElementSets.prototype.getCollectiblesWithCacheFlag(self, cacheFla
38387
38440
  end
38388
38441
  return collectiblesSet
38389
38442
  end
38443
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectiblesWithCacheFlag", true)
38390
38444
  function ModdedElementSets.prototype.getCollectiblesWithTag(self, itemConfigTag)
38391
38445
  self:lazyInitTagToCollectibleTypesMap()
38392
38446
  local collectibleTypes = self.tagToCollectibleTypesMap:get(itemConfigTag)
@@ -38395,46 +38449,57 @@ function ModdedElementSets.prototype.getCollectiblesWithTag(self, itemConfigTag)
38395
38449
  end
38396
38450
  return collectibleTypes
38397
38451
  end
38452
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getCollectiblesWithTag", true)
38398
38453
  function ModdedElementSets.prototype.getEdenActiveCollectibles(self)
38399
38454
  self:lazyInitEdenCollectibleTypesSet()
38400
38455
  return self.edenActiveCollectibleTypesSet
38401
38456
  end
38457
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getEdenActiveCollectibles", true)
38402
38458
  function ModdedElementSets.prototype.getEdenPassiveCollectibles(self)
38403
38459
  self:lazyInitEdenCollectibleTypesSet()
38404
38460
  return self.edenPassiveCollectibleTypesSet
38405
38461
  end
38462
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getEdenPassiveCollectibles", true)
38406
38463
  function ModdedElementSets.prototype.getFlyingCollectibles(self, includeConditionalItems)
38407
38464
  self:lazyInitFlyingCollectibleTypesSet()
38408
38465
  return includeConditionalItems and self.flyingCollectibleTypesSet or self.permanentFlyingCollectibleTypesSet
38409
38466
  end
38467
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getFlyingCollectibles", true)
38410
38468
  function ModdedElementSets.prototype.getFlyingTrinkets(self)
38411
38469
  self:lazyInitFlyingTrinketTypesSet()
38412
38470
  return self.flyingTrinketTypesSet
38413
38471
  end
38472
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getFlyingTrinkets", true)
38414
38473
  function ModdedElementSets.prototype.getModdedCardArray(self)
38415
38474
  self:lazyInitModdedCardTypes()
38416
38475
  return self.moddedCardTypesArray
38417
38476
  end
38477
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCardArray", true)
38418
38478
  function ModdedElementSets.prototype.getModdedCardSet(self)
38419
38479
  self:lazyInitModdedCardTypes()
38420
38480
  return self.moddedCardTypesSet
38421
38481
  end
38482
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCardSet", true)
38422
38483
  function ModdedElementSets.prototype.getModdedCollectibleArray(self)
38423
38484
  self:lazyInitModdedCollectibleTypes()
38424
38485
  return self.moddedCollectibleTypesArray
38425
38486
  end
38487
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCollectibleArray", true)
38426
38488
  function ModdedElementSets.prototype.getModdedCollectibleSet(self)
38427
38489
  self:lazyInitModdedCollectibleTypes()
38428
38490
  return self.moddedCollectibleTypesSet
38429
38491
  end
38492
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedCollectibleSet", true)
38430
38493
  function ModdedElementSets.prototype.getModdedTrinketArray(self)
38431
38494
  self:lazyInitModdedTrinketTypes()
38432
38495
  return self.moddedTrinketTypesArray
38433
38496
  end
38497
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedTrinketArray", true)
38434
38498
  function ModdedElementSets.prototype.getModdedTrinketSet(self)
38435
38499
  self:lazyInitModdedTrinketTypes()
38436
38500
  return self.moddedTrinketTypesSet
38437
38501
  end
38502
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getModdedTrinketSet", true)
38438
38503
  function ModdedElementSets.prototype.getPlayerCollectibleMap(self, player)
38439
38504
  local collectibleArray = self:getCollectibleArray()
38440
38505
  local collectibleMap = __TS__New(Map)
@@ -38462,6 +38527,7 @@ function ModdedElementSets.prototype.getPlayerCollectibleMap(self, player)
38462
38527
  end
38463
38528
  return collectibleMap
38464
38529
  end
38530
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectibleMap", true)
38465
38531
  function ModdedElementSets.prototype.getPlayerCollectiblesWithCacheFlag(self, player, cacheFlag)
38466
38532
  local collectiblesWithCacheFlag = self:getCollectiblesWithCacheFlag(cacheFlag)
38467
38533
  local playerCollectibles = {}
@@ -38477,6 +38543,7 @@ function ModdedElementSets.prototype.getPlayerCollectiblesWithCacheFlag(self, pl
38477
38543
  end
38478
38544
  return playerCollectibles
38479
38545
  end
38546
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithCacheFlag", true)
38480
38547
  function ModdedElementSets.prototype.getPlayerCollectiblesWithTag(self, player, itemConfigTag)
38481
38548
  local collectiblesWithTag = self:getCollectiblesWithTag(itemConfigTag)
38482
38549
  local playerCollectibles = {}
@@ -38492,6 +38559,7 @@ function ModdedElementSets.prototype.getPlayerCollectiblesWithTag(self, player,
38492
38559
  end
38493
38560
  return playerCollectibles
38494
38561
  end
38562
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithTag", true)
38495
38563
  function ModdedElementSets.prototype.getPlayerCollectiblesForTransformation(self, player, playerForm)
38496
38564
  local collectibleForTransformation = self:getCollectiblesForTransformation(playerForm)
38497
38565
  local playerCollectibles = {}
@@ -38507,6 +38575,7 @@ function ModdedElementSets.prototype.getPlayerCollectiblesForTransformation(self
38507
38575
  end
38508
38576
  return playerCollectibles
38509
38577
  end
38578
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesForTransformation", true)
38510
38579
  function ModdedElementSets.prototype.getPlayerTrinketsWithCacheFlag(self, player, cacheFlag)
38511
38580
  local trinketsWithCacheFlag = self:getTrinketsWithCacheFlag(cacheFlag)
38512
38581
  local playerTrinkets = __TS__New(Map)
@@ -38518,6 +38587,7 @@ function ModdedElementSets.prototype.getPlayerTrinketsWithCacheFlag(self, player
38518
38587
  end
38519
38588
  return playerTrinkets
38520
38589
  end
38590
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getPlayerTrinketsWithCacheFlag", true)
38521
38591
  function ModdedElementSets.prototype.getRandomCard(self, seedOrRNG, exceptions)
38522
38592
  if seedOrRNG == nil then
38523
38593
  seedOrRNG = getRandomSeed(nil)
@@ -38527,6 +38597,7 @@ function ModdedElementSets.prototype.getRandomCard(self, seedOrRNG, exceptions)
38527
38597
  end
38528
38598
  return getRandomSetElement(nil, self.cardSet, seedOrRNG, exceptions)
38529
38599
  end
38600
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomCard", true)
38530
38601
  function ModdedElementSets.prototype.getRandomCardTypeOfType(self, itemConfigCardType, seedOrRNG, exceptions)
38531
38602
  if seedOrRNG == nil then
38532
38603
  seedOrRNG = getRandomSeed(nil)
@@ -38537,6 +38608,7 @@ function ModdedElementSets.prototype.getRandomCardTypeOfType(self, itemConfigCar
38537
38608
  local cardTypeSet = self:getCardTypesOfType(itemConfigCardType)
38538
38609
  return getRandomSetElement(nil, cardTypeSet, seedOrRNG, exceptions)
38539
38610
  end
38611
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomCardTypeOfType", true)
38540
38612
  function ModdedElementSets.prototype.getRandomRune(self, seedOrRNG, exceptions)
38541
38613
  if seedOrRNG == nil then
38542
38614
  seedOrRNG = getRandomSeed(nil)
@@ -38548,6 +38620,7 @@ function ModdedElementSets.prototype.getRandomRune(self, seedOrRNG, exceptions)
38548
38620
  runesSet:delete(CardType.RUNE_SHARD)
38549
38621
  return getRandomSetElement(nil, runesSet, seedOrRNG, exceptions)
38550
38622
  end
38623
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomRune", true)
38551
38624
  function ModdedElementSets.prototype.getRandomEdenActiveCollectible(self, seedOrRNG, exceptions)
38552
38625
  if seedOrRNG == nil then
38553
38626
  seedOrRNG = getRandomSeed(nil)
@@ -38558,6 +38631,7 @@ function ModdedElementSets.prototype.getRandomEdenActiveCollectible(self, seedOr
38558
38631
  self:lazyInitEdenCollectibleTypesSet()
38559
38632
  return getRandomSetElement(nil, self.edenPassiveCollectibleTypesSet, seedOrRNG, exceptions)
38560
38633
  end
38634
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomEdenActiveCollectible", true)
38561
38635
  function ModdedElementSets.prototype.getRandomEdenPassiveCollectible(self, seedOrRNG, exceptions)
38562
38636
  if seedOrRNG == nil then
38563
38637
  seedOrRNG = getRandomSeed(nil)
@@ -38568,14 +38642,17 @@ function ModdedElementSets.prototype.getRandomEdenPassiveCollectible(self, seedO
38568
38642
  self:lazyInitEdenCollectibleTypesSet()
38569
38643
  return getRandomSetElement(nil, self.edenPassiveCollectibleTypesSet, seedOrRNG, exceptions)
38570
38644
  end
38645
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getRandomEdenPassiveCollectible", true)
38571
38646
  function ModdedElementSets.prototype.getTrinketArray(self)
38572
38647
  self:lazyInitModdedTrinketTypes()
38573
38648
  return self.allTrinketTypesArray
38574
38649
  end
38650
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getTrinketArray", true)
38575
38651
  function ModdedElementSets.prototype.getTrinketSet(self)
38576
38652
  self:lazyInitModdedTrinketTypes()
38577
38653
  return self.allTrinketTypesSet
38578
38654
  end
38655
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getTrinketSet", true)
38579
38656
  function ModdedElementSets.prototype.getTrinketsWithCacheFlag(self, cacheFlag)
38580
38657
  self:lazyInitCacheFlagToTrinketTypesMap()
38581
38658
  local trinketsSet = self.cacheFlagToTrinketTypesMap:get(cacheFlag)
@@ -38584,67 +38661,37 @@ function ModdedElementSets.prototype.getTrinketsWithCacheFlag(self, cacheFlag)
38584
38661
  end
38585
38662
  return trinketsSet
38586
38663
  end
38664
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getTrinketsWithCacheFlag", true)
38587
38665
  function ModdedElementSets.prototype.getVanillaCardArray(self)
38588
38666
  self:lazyInitVanillaCardTypes()
38589
38667
  return self.vanillaCardTypesArray
38590
38668
  end
38669
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCardArray", true)
38591
38670
  function ModdedElementSets.prototype.getVanillaCardSet(self)
38592
38671
  self:lazyInitVanillaCardTypes()
38593
38672
  return self.vanillaCardTypesSet
38594
38673
  end
38674
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCardSet", true)
38595
38675
  function ModdedElementSets.prototype.getVanillaCollectibleArray(self)
38596
38676
  self:lazyInitVanillaCollectibleTypes()
38597
38677
  return self.vanillaCollectibleTypesArray
38598
38678
  end
38679
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleArray", true)
38599
38680
  function ModdedElementSets.prototype.getVanillaCollectibleSet(self)
38600
38681
  self:lazyInitVanillaCollectibleTypes()
38601
38682
  return self.vanillaCollectibleTypesSet
38602
38683
  end
38684
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleSet", true)
38603
38685
  function ModdedElementSets.prototype.getVanillaTrinketArray(self)
38604
38686
  self:lazyInitVanillaTrinketTypes()
38605
38687
  return self.vanillaTrinketTypesArray
38606
38688
  end
38689
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaTrinketArray", true)
38607
38690
  function ModdedElementSets.prototype.getVanillaTrinketSet(self)
38608
38691
  self:lazyInitVanillaTrinketTypes()
38609
38692
  return self.vanillaTrinketTypesSet
38610
38693
  end
38611
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCardArray", true)
38612
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCardSet", true)
38613
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCardTypesOfType", true)
38614
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectibleArray", true)
38615
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectibleSet", true)
38616
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectiblesForTransformation", true)
38617
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectiblesWithCacheFlag", true)
38618
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getCollectiblesWithTag", true)
38619
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getEdenActiveCollectibles", true)
38620
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getEdenPassiveCollectibles", true)
38621
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getFlyingCollectibles", true)
38622
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getFlyingTrinkets", true)
38623
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCardArray", true)
38624
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCardSet", true)
38625
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCollectibleArray", true)
38626
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedCollectibleSet", true)
38627
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedTrinketArray", true)
38628
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getModdedTrinketSet", true)
38629
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectibleMap", true)
38630
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithCacheFlag", true)
38631
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesWithTag", true)
38632
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerCollectiblesForTransformation", true)
38633
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getPlayerTrinketsWithCacheFlag", true)
38634
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomCard", true)
38635
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomCardTypeOfType", true)
38636
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomRune", true)
38637
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomEdenActiveCollectible", true)
38638
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getRandomEdenPassiveCollectible", true)
38639
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getTrinketArray", true)
38640
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getTrinketSet", true)
38641
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getTrinketsWithCacheFlag", true)
38642
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCardArray", true)
38643
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCardSet", true)
38644
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleArray", true)
38645
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaCollectibleSet", true)
38646
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaTrinketArray", true)
38647
- __TS__Decorate({Exported}, ModdedElementSets.prototype, "getVanillaTrinketSet", true)
38694
+ __TS__DecorateLegacy({Exported}, ModdedElementSets.prototype, "getVanillaTrinketSet", true)
38648
38695
  return ____exports
38649
38696
  end,
38650
38697
  ["src.classes.features.callbackLogic.PlayerCollectibleDetection"] = function(...)
@@ -39551,7 +39598,7 @@ local __TS__Class = ____lualib.__TS__Class
39551
39598
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
39552
39599
  local Map = ____lualib.Map
39553
39600
  local __TS__New = ____lualib.__TS__New
39554
- local __TS__Decorate = ____lualib.__TS__Decorate
39601
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
39555
39602
  local ____exports = {}
39556
39603
  local convertRedHeartContainers, removeRedHearts
39557
39604
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -39636,7 +39683,7 @@ function CharacterHealthConversion.prototype.registerCharacterHealthConversion(s
39636
39683
  end
39637
39684
  self.characterHealthReplacementMap:set(playerType, conversionHeartSubType)
39638
39685
  end
39639
- __TS__Decorate({Exported}, CharacterHealthConversion.prototype, "registerCharacterHealthConversion", true)
39686
+ __TS__DecorateLegacy({Exported}, CharacterHealthConversion.prototype, "registerCharacterHealthConversion", true)
39640
39687
  return ____exports
39641
39688
  end,
39642
39689
  ["src.functions.tears"] = function(...)
@@ -39786,7 +39833,7 @@ local __TS__Class = ____lualib.__TS__Class
39786
39833
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
39787
39834
  local Map = ____lualib.Map
39788
39835
  local __TS__New = ____lualib.__TS__New
39789
- local __TS__Decorate = ____lualib.__TS__Decorate
39836
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
39790
39837
  local ____exports = {}
39791
39838
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
39792
39839
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
@@ -39823,7 +39870,7 @@ end
39823
39870
  function CharacterStats.prototype.registerCharacterStats(self, playerType, statMap)
39824
39871
  self.charactersStatMap:set(playerType, statMap)
39825
39872
  end
39826
- __TS__Decorate({Exported}, CharacterStats.prototype, "registerCharacterStats", true)
39873
+ __TS__DecorateLegacy({Exported}, CharacterStats.prototype, "registerCharacterStats", true)
39827
39874
  return ____exports
39828
39875
  end,
39829
39876
  ["src.classes.features.other.CollectibleItemPoolType"] = function(...)
@@ -39832,7 +39879,7 @@ local Map = ____lualib.Map
39832
39879
  local __TS__New = ____lualib.__TS__New
39833
39880
  local __TS__Class = ____lualib.__TS__Class
39834
39881
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
39835
- local __TS__Decorate = ____lualib.__TS__Decorate
39882
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
39836
39883
  local ____exports = {}
39837
39884
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
39838
39885
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
@@ -39878,7 +39925,7 @@ function CollectibleItemPoolType.prototype.getCollectibleItemPoolType(self, coll
39878
39925
  local itemPoolType = v.run.collectibleItemPoolTypeMap:get(pickupIndex)
39879
39926
  return itemPoolType == nil and getRoomItemPoolType(nil) or itemPoolType
39880
39927
  end
39881
- __TS__Decorate({Exported}, CollectibleItemPoolType.prototype, "getCollectibleItemPoolType", true)
39928
+ __TS__DecorateLegacy({Exported}, CollectibleItemPoolType.prototype, "getCollectibleItemPoolType", true)
39882
39929
  return ____exports
39883
39930
  end,
39884
39931
  ["src.classes.features.other.CustomHotkeys"] = function(...)
@@ -39888,7 +39935,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
39888
39935
  local Map = ____lualib.Map
39889
39936
  local __TS__New = ____lualib.__TS__New
39890
39937
  local __TS__Iterator = ____lualib.__TS__Iterator
39891
- local __TS__Decorate = ____lualib.__TS__Decorate
39938
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
39892
39939
  local ____exports = {}
39893
39940
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
39894
39941
  local Keyboard = ____isaac_2Dtypescript_2Ddefinitions.Keyboard
@@ -39941,28 +39988,28 @@ function CustomHotkeys.prototype.setConditionalHotkey(self, getKeyFunc, triggerF
39941
39988
  end
39942
39989
  self.dynamicHotkeyFunctionMap:set(getKeyFunc, triggerFunc)
39943
39990
  end
39991
+ __TS__DecorateLegacy({Exported}, CustomHotkeys.prototype, "setConditionalHotkey", true)
39944
39992
  function CustomHotkeys.prototype.setHotkey(self, keyboard, triggerFunc)
39945
39993
  if self.staticHotkeyFunctionMap:has(keyboard) then
39946
39994
  error(((("Failed to register a hotkey due to a hotkey already being defined for: Keyboard." .. Keyboard[keyboard]) .. " (") .. tostring(keyboard)) .. ")")
39947
39995
  end
39948
39996
  self.staticHotkeyFunctionMap:set(keyboard, triggerFunc)
39949
39997
  end
39998
+ __TS__DecorateLegacy({Exported}, CustomHotkeys.prototype, "setHotkey", true)
39950
39999
  function CustomHotkeys.prototype.unsetConditionalHotkey(self, getKeyFunc)
39951
40000
  if not self.dynamicHotkeyFunctionMap:has(getKeyFunc) then
39952
40001
  error("Failed to unregister a hotkey since there is no existing hotkey defined for the submitted function.")
39953
40002
  end
39954
40003
  self.dynamicHotkeyFunctionMap:delete(getKeyFunc)
39955
40004
  end
40005
+ __TS__DecorateLegacy({Exported}, CustomHotkeys.prototype, "unsetConditionalHotkey", true)
39956
40006
  function CustomHotkeys.prototype.unsetHotkey(self, keyboard)
39957
40007
  if not self.staticHotkeyFunctionMap:has(keyboard) then
39958
40008
  error(((("Failed to unregister a hotkey since there is no existing hotkey defined for: Keyboard." .. Keyboard[keyboard]) .. " (") .. tostring(keyboard)) .. ")")
39959
40009
  end
39960
40010
  self.staticHotkeyFunctionMap:delete(keyboard)
39961
40011
  end
39962
- __TS__Decorate({Exported}, CustomHotkeys.prototype, "setConditionalHotkey", true)
39963
- __TS__Decorate({Exported}, CustomHotkeys.prototype, "setHotkey", true)
39964
- __TS__Decorate({Exported}, CustomHotkeys.prototype, "unsetConditionalHotkey", true)
39965
- __TS__Decorate({Exported}, CustomHotkeys.prototype, "unsetHotkey", true)
40012
+ __TS__DecorateLegacy({Exported}, CustomHotkeys.prototype, "unsetHotkey", true)
39966
40013
  return ____exports
39967
40014
  end,
39968
40015
  ["src.functions.map"] = function(...)
@@ -40084,7 +40131,7 @@ local Map = ____lualib.Map
40084
40131
  local __TS__New = ____lualib.__TS__New
40085
40132
  local __TS__Class = ____lualib.__TS__Class
40086
40133
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
40087
- local __TS__Decorate = ____lualib.__TS__Decorate
40134
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
40088
40135
  local ____exports = {}
40089
40136
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
40090
40137
  local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
@@ -40122,6 +40169,7 @@ function CustomItemPools.prototype.registerCustomItemPool(self, itemPoolTypeCust
40122
40169
  end
40123
40170
  customItemPoolMap:set(itemPoolTypeCustom, collectibles)
40124
40171
  end
40172
+ __TS__DecorateLegacy({Exported}, CustomItemPools.prototype, "registerCustomItemPool", true)
40125
40173
  function CustomItemPools.prototype.getCustomItemPoolCollectible(self, itemPoolTypeCustom, decrease, seedOrRNG, defaultItem)
40126
40174
  if decrease == nil then
40127
40175
  decrease = false
@@ -40149,8 +40197,7 @@ function CustomItemPools.prototype.getCustomItemPoolCollectible(self, itemPoolTy
40149
40197
  end
40150
40198
  return tuple[1]
40151
40199
  end
40152
- __TS__Decorate({Exported}, CustomItemPools.prototype, "registerCustomItemPool", true)
40153
- __TS__Decorate({Exported}, CustomItemPools.prototype, "getCustomItemPoolCollectible", true)
40200
+ __TS__DecorateLegacy({Exported}, CustomItemPools.prototype, "getCustomItemPoolCollectible", true)
40154
40201
  return ____exports
40155
40202
  end,
40156
40203
  ["src.enums.LadderSubTypeCustom"] = function(...)
@@ -40172,7 +40219,7 @@ local __TS__Class = ____lualib.__TS__Class
40172
40219
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
40173
40220
  local Map = ____lualib.Map
40174
40221
  local __TS__New = ____lualib.__TS__New
40175
- local __TS__Decorate = ____lualib.__TS__Decorate
40222
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
40176
40223
  local ____exports = {}
40177
40224
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
40178
40225
  local EffectVariant = ____isaac_2Dtypescript_2Ddefinitions.EffectVariant
@@ -40243,7 +40290,7 @@ function CustomPickups.prototype.registerCustomPickup(self, pickupVariantCustom,
40243
40290
  local customPickupFunctions = {collectFunc = collectFunc, collisionFunc = collisionFunc}
40244
40291
  self.customPickupFunctionsMap:set(entityID, customPickupFunctions)
40245
40292
  end
40246
- __TS__Decorate({Exported}, CustomPickups.prototype, "registerCustomPickup", true)
40293
+ __TS__DecorateLegacy({Exported}, CustomPickups.prototype, "registerCustomPickup", true)
40247
40294
  return ____exports
40248
40295
  end,
40249
40296
  ["src.customStageMetadata"] = function(...)
@@ -40824,7 +40871,7 @@ local __TS__New = ____lualib.__TS__New
40824
40871
  local __TS__Class = ____lualib.__TS__Class
40825
40872
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
40826
40873
  local __TS__Iterator = ____lualib.__TS__Iterator
40827
- local __TS__Decorate = ____lualib.__TS__Decorate
40874
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
40828
40875
  local ____exports = {}
40829
40876
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
40830
40877
  local InputHook = ____isaac_2Dtypescript_2Ddefinitions.InputHook
@@ -40884,15 +40931,18 @@ end
40884
40931
  function DisableInputs.prototype.areInputsEnabled(self)
40885
40932
  return v.run.disableInputs.size == 0 and v.run.enableAllInputsWithBlacklistMap.size == 0 and v.run.disableAllInputsWithWhitelistMap.size == 0
40886
40933
  end
40934
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "areInputsEnabled", true)
40887
40935
  function DisableInputs.prototype.enableAllInputs(self, key)
40888
40936
  v.run.disableAllInputsWithWhitelistMap:delete(key)
40889
40937
  v.run.enableAllInputsWithBlacklistMap:delete(key)
40890
40938
  end
40939
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "enableAllInputs", true)
40891
40940
  function DisableInputs.prototype.disableInputs(self, key, ...)
40892
40941
  local buttonActions = {...}
40893
40942
  local buttonActionsSet = __TS__New(ReadonlySet, buttonActions)
40894
40943
  v.run.disableInputs:set(key, buttonActionsSet)
40895
40944
  end
40945
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableInputs", true)
40896
40946
  function DisableInputs.prototype.disableAllInputs(self, key)
40897
40947
  v.run.disableAllInputsWithWhitelistMap:set(
40898
40948
  key,
@@ -40900,30 +40950,27 @@ function DisableInputs.prototype.disableAllInputs(self, key)
40900
40950
  )
40901
40951
  v.run.enableAllInputsWithBlacklistMap:delete(key)
40902
40952
  end
40953
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableAllInputs", true)
40903
40954
  function DisableInputs.prototype.enableAllInputsExceptFor(self, key, blacklist)
40904
40955
  v.run.disableAllInputsWithWhitelistMap:delete(key)
40905
40956
  v.run.enableAllInputsWithBlacklistMap:set(key, blacklist)
40906
40957
  end
40958
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "enableAllInputsExceptFor", true)
40907
40959
  function DisableInputs.prototype.disableAllInputsExceptFor(self, key, whitelist)
40908
40960
  v.run.disableAllInputsWithWhitelistMap:set(key, whitelist)
40909
40961
  v.run.enableAllInputsWithBlacklistMap:delete(key)
40910
40962
  end
40963
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableAllInputsExceptFor", true)
40911
40964
  function DisableInputs.prototype.disableMovementInputs(self, key)
40912
40965
  local moveActions = getMoveActions(nil)
40913
40966
  self:enableAllInputsExceptFor(key, moveActions)
40914
40967
  end
40968
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableMovementInputs", true)
40915
40969
  function DisableInputs.prototype.disableShootingInputs(self, key)
40916
40970
  local shootActions = getShootActions(nil)
40917
40971
  self:enableAllInputsExceptFor(key, shootActions)
40918
40972
  end
40919
- __TS__Decorate({Exported}, DisableInputs.prototype, "areInputsEnabled", true)
40920
- __TS__Decorate({Exported}, DisableInputs.prototype, "enableAllInputs", true)
40921
- __TS__Decorate({Exported}, DisableInputs.prototype, "disableInputs", true)
40922
- __TS__Decorate({Exported}, DisableInputs.prototype, "disableAllInputs", true)
40923
- __TS__Decorate({Exported}, DisableInputs.prototype, "enableAllInputsExceptFor", true)
40924
- __TS__Decorate({Exported}, DisableInputs.prototype, "disableAllInputsExceptFor", true)
40925
- __TS__Decorate({Exported}, DisableInputs.prototype, "disableMovementInputs", true)
40926
- __TS__Decorate({Exported}, DisableInputs.prototype, "disableShootingInputs", true)
40973
+ __TS__DecorateLegacy({Exported}, DisableInputs.prototype, "disableShootingInputs", true)
40927
40974
  return ____exports
40928
40975
  end,
40929
40976
  ["src.classes.features.other.PonyDetection"] = function(...)
@@ -40932,7 +40979,7 @@ local Set = ____lualib.Set
40932
40979
  local __TS__New = ____lualib.__TS__New
40933
40980
  local __TS__Class = ____lualib.__TS__Class
40934
40981
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
40935
- local __TS__Decorate = ____lualib.__TS__Decorate
40982
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
40936
40983
  local __TS__ArraySome = ____lualib.__TS__ArraySome
40937
40984
  local ____exports = {}
40938
40985
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -40983,6 +41030,7 @@ end
40983
41030
  function PonyDetection.prototype.isPlayerUsingPony(self, player)
40984
41031
  return setHasPlayer(nil, v.run.playersIsPonyActive, player)
40985
41032
  end
41033
+ __TS__DecorateLegacy({Exported}, PonyDetection.prototype, "isPlayerUsingPony", true)
40986
41034
  function PonyDetection.prototype.anyPlayerUsingPony(self)
40987
41035
  local players = getPlayers(nil)
40988
41036
  return __TS__ArraySome(
@@ -40990,15 +41038,14 @@ function PonyDetection.prototype.anyPlayerUsingPony(self)
40990
41038
  function(____, player) return self:isPlayerUsingPony(player) end
40991
41039
  )
40992
41040
  end
40993
- __TS__Decorate({Exported}, PonyDetection.prototype, "isPlayerUsingPony", true)
40994
- __TS__Decorate({Exported}, PonyDetection.prototype, "anyPlayerUsingPony", true)
41041
+ __TS__DecorateLegacy({Exported}, PonyDetection.prototype, "anyPlayerUsingPony", true)
40995
41042
  return ____exports
40996
41043
  end,
40997
41044
  ["src.classes.features.other.RoomClearFrame"] = function(...)
40998
41045
  local ____lualib = require("lualib_bundle")
40999
41046
  local __TS__Class = ____lualib.__TS__Class
41000
41047
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41001
- local __TS__Decorate = ____lualib.__TS__Decorate
41048
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41002
41049
  local ____exports = {}
41003
41050
  local ____cachedClasses = require("src.core.cachedClasses")
41004
41051
  local game = ____cachedClasses.game
@@ -41028,18 +41075,18 @@ end
41028
41075
  function RoomClearFrame.prototype.getRoomClearGameFrame(self)
41029
41076
  return v.room.roomClearGameFrame
41030
41077
  end
41078
+ __TS__DecorateLegacy({Exported}, RoomClearFrame.prototype, "getRoomClearGameFrame", true)
41031
41079
  function RoomClearFrame.prototype.getRoomClearRoomFrame(self)
41032
41080
  return v.room.roomClearGameFrame
41033
41081
  end
41034
- __TS__Decorate({Exported}, RoomClearFrame.prototype, "getRoomClearGameFrame", true)
41035
- __TS__Decorate({Exported}, RoomClearFrame.prototype, "getRoomClearRoomFrame", true)
41082
+ __TS__DecorateLegacy({Exported}, RoomClearFrame.prototype, "getRoomClearRoomFrame", true)
41036
41083
  return ____exports
41037
41084
  end,
41038
41085
  ["src.classes.features.other.RunNextRoom"] = function(...)
41039
41086
  local ____lualib = require("lualib_bundle")
41040
41087
  local __TS__Class = ____lualib.__TS__Class
41041
41088
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41042
- local __TS__Decorate = ____lualib.__TS__Decorate
41089
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41043
41090
  local ____exports = {}
41044
41091
  local ____decorators = require("src.decorators")
41045
41092
  local Exported = ____decorators.Exported
@@ -41070,7 +41117,7 @@ function RunNextRoom.prototype.runNextRoom(self, func)
41070
41117
  local ____v_run_queuedFunctions_0 = v.run.queuedFunctions
41071
41118
  ____v_run_queuedFunctions_0[#____v_run_queuedFunctions_0 + 1] = func
41072
41119
  end
41073
- __TS__Decorate({Exported}, RunNextRoom.prototype, "runNextRoom", true)
41120
+ __TS__DecorateLegacy({Exported}, RunNextRoom.prototype, "runNextRoom", true)
41074
41121
  return ____exports
41075
41122
  end,
41076
41123
  ["src.functions.nextStage"] = function(...)
@@ -41208,7 +41255,7 @@ return ____exports
41208
41255
  local ____lualib = require("lualib_bundle")
41209
41256
  local __TS__Class = ____lualib.__TS__Class
41210
41257
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41211
- local __TS__Decorate = ____lualib.__TS__Decorate
41258
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41212
41259
  local __TS__ArraySome = ____lualib.__TS__ArraySome
41213
41260
  local ____exports = {}
41214
41261
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -41310,6 +41357,7 @@ function StageHistory.prototype.getNextStageTypeWithHistory(self, upwards)
41310
41357
  local nextStage = self:getNextStageWithHistory()
41311
41358
  return calculateStageType(nil, nextStage)
41312
41359
  end
41360
+ __TS__DecorateLegacy({Exported}, StageHistory.prototype, "getNextStageTypeWithHistory", true)
41313
41361
  function StageHistory.prototype.getNextStageWithHistory(self)
41314
41362
  local backwardsPath = game:GetStateFlag(GameStateFlag.BACKWARDS_PATH)
41315
41363
  if not backwardsPath then
@@ -41376,9 +41424,11 @@ function StageHistory.prototype.getNextStageWithHistory(self)
41376
41424
  end
41377
41425
  return asNumber(nil, stage) - 1
41378
41426
  end
41427
+ __TS__DecorateLegacy({Exported}, StageHistory.prototype, "getNextStageWithHistory", true)
41379
41428
  function StageHistory.prototype.getStageHistory(self)
41380
41429
  return v.run.stageHistory
41381
41430
  end
41431
+ __TS__DecorateLegacy({Exported}, StageHistory.prototype, "getStageHistory", true)
41382
41432
  function StageHistory.prototype.hasVisitedStage(self, stage, stageType)
41383
41433
  if stageType == nil then
41384
41434
  return __TS__ArraySome(
@@ -41391,10 +41441,7 @@ function StageHistory.prototype.hasVisitedStage(self, stage, stageType)
41391
41441
  function(____, stageHistoryEntry) return stageHistoryEntry.stage == stage and stageHistoryEntry.stageType == stageType end
41392
41442
  )
41393
41443
  end
41394
- __TS__Decorate({Exported}, StageHistory.prototype, "getNextStageTypeWithHistory", true)
41395
- __TS__Decorate({Exported}, StageHistory.prototype, "getNextStageWithHistory", true)
41396
- __TS__Decorate({Exported}, StageHistory.prototype, "getStageHistory", true)
41397
- __TS__Decorate({Exported}, StageHistory.prototype, "hasVisitedStage", true)
41444
+ __TS__DecorateLegacy({Exported}, StageHistory.prototype, "hasVisitedStage", true)
41398
41445
  return ____exports
41399
41446
  end,
41400
41447
  ["src.classes.features.other.customStages.constants"] = function(...)
@@ -41417,7 +41464,7 @@ local Map = ____lualib.Map
41417
41464
  local __TS__Class = ____lualib.__TS__Class
41418
41465
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41419
41466
  local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
41420
- local __TS__Decorate = ____lualib.__TS__Decorate
41467
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41421
41468
  local __TS__ArraySome = ____lualib.__TS__ArraySome
41422
41469
  local ____exports = {}
41423
41470
  local anyPlayerPlayingExtraAnimation, shouldBeClosedFromStartingInRoomWithEnemies, openCustomTrapdoor, canPlayerInteractWithTrapdoor, setPlayerAttributes, dropTaintedForgotten, goToVanillaStage, ANIMATIONS_THAT_PREVENT_STAGE_TRAVEL
@@ -41856,6 +41903,7 @@ function CustomTrapdoors.prototype.registerCustomTrapdoorDestination(self, desti
41856
41903
  end
41857
41904
  self.destinationFuncMap:set(destinationName, destinationFunc)
41858
41905
  end
41906
+ __TS__DecorateLegacy({Exported}, CustomTrapdoors.prototype, "registerCustomTrapdoorDestination", true)
41859
41907
  function CustomTrapdoors.prototype.spawnCustomTrapdoor(self, gridIndexOrPosition, destinationName, destinationStage, destinationStageType, anm2Path, spawnOpen)
41860
41908
  if anm2Path == nil then
41861
41909
  anm2Path = "gfx/grid/door_11_trapdoor.anm2"
@@ -41902,8 +41950,7 @@ function CustomTrapdoors.prototype.spawnCustomTrapdoor(self, gridIndexOrPosition
41902
41950
  sprite:Play(animation, true)
41903
41951
  return gridEntity
41904
41952
  end
41905
- __TS__Decorate({Exported}, CustomTrapdoors.prototype, "registerCustomTrapdoorDestination", true)
41906
- __TS__Decorate({Exported}, CustomTrapdoors.prototype, "spawnCustomTrapdoor", true)
41953
+ __TS__DecorateLegacy({Exported}, CustomTrapdoors.prototype, "spawnCustomTrapdoor", true)
41907
41954
  return ____exports
41908
41955
  end,
41909
41956
  ["src.classes.features.other.DisableAllSound"] = function(...)
@@ -41912,7 +41959,7 @@ local Set = ____lualib.Set
41912
41959
  local __TS__New = ____lualib.__TS__New
41913
41960
  local __TS__Class = ____lualib.__TS__Class
41914
41961
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41915
- local __TS__Decorate = ____lualib.__TS__Decorate
41962
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41916
41963
  local ____exports = {}
41917
41964
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
41918
41965
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
@@ -41951,6 +41998,7 @@ function DisableAllSound.prototype.enableAllSound(self, key)
41951
41998
  end
41952
41999
  stopAllSoundEffects(nil)
41953
42000
  end
42001
+ __TS__DecorateLegacy({Exported}, DisableAllSound.prototype, "enableAllSound", true)
41954
42002
  function DisableAllSound.prototype.disableAllSound(self, key)
41955
42003
  if v.run.disableSoundSet.size == 0 then
41956
42004
  self.musicWasEnabled = musicManager:IsEnabled()
@@ -41958,8 +42006,7 @@ function DisableAllSound.prototype.disableAllSound(self, key)
41958
42006
  v.run.disableSoundSet:add(key)
41959
42007
  stopAllSoundEffects(nil)
41960
42008
  end
41961
- __TS__Decorate({Exported}, DisableAllSound.prototype, "enableAllSound", true)
41962
- __TS__Decorate({Exported}, DisableAllSound.prototype, "disableAllSound", true)
42009
+ __TS__DecorateLegacy({Exported}, DisableAllSound.prototype, "disableAllSound", true)
41963
42010
  return ____exports
41964
42011
  end,
41965
42012
  ["src.classes.features.other.Pause"] = function(...)
@@ -41971,7 +42018,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
41971
42018
  local __TS__SparseArrayNew = ____lualib.__TS__SparseArrayNew
41972
42019
  local __TS__SparseArrayPush = ____lualib.__TS__SparseArrayPush
41973
42020
  local __TS__SparseArraySpread = ____lualib.__TS__SparseArraySpread
41974
- local __TS__Decorate = ____lualib.__TS__Decorate
42021
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
41975
42022
  local ____exports = {}
41976
42023
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
41977
42024
  local ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
@@ -42065,6 +42112,7 @@ end
42065
42112
  function Pause.prototype.isPaused(self)
42066
42113
  return v.run.isPseudoPaused
42067
42114
  end
42115
+ __TS__DecorateLegacy({Exported}, Pause.prototype, "isPaused", true)
42068
42116
  function Pause.prototype.pause(self)
42069
42117
  if v.run.isPseudoPaused then
42070
42118
  logError("Failed to pseudo-pause the game, since it was already pseudo-paused.")
@@ -42104,6 +42152,7 @@ function Pause.prototype.pause(self)
42104
42152
  end
42105
42153
  self:stopTearsAndProjectilesFromMoving()
42106
42154
  end
42155
+ __TS__DecorateLegacy({Exported}, Pause.prototype, "pause", true)
42107
42156
  function Pause.prototype.unpause(self)
42108
42157
  if not v.run.isPseudoPaused then
42109
42158
  logError("Failed to pseudo-unpause the game, since it was not already pseudo-paused.")
@@ -42122,9 +42171,7 @@ function Pause.prototype.unpause(self)
42122
42171
  removeAllTears(nil)
42123
42172
  removeAllProjectiles(nil)
42124
42173
  end
42125
- __TS__Decorate({Exported}, Pause.prototype, "isPaused", true)
42126
- __TS__Decorate({Exported}, Pause.prototype, "pause", true)
42127
- __TS__Decorate({Exported}, Pause.prototype, "unpause", true)
42174
+ __TS__DecorateLegacy({Exported}, Pause.prototype, "unpause", true)
42128
42175
  return ____exports
42129
42176
  end,
42130
42177
  ["src.classes.features.other.customStages.backdrop"] = function(...)
@@ -44590,7 +44637,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
44590
44637
  local Map = ____lualib.Map
44591
44638
  local __TS__New = ____lualib.__TS__New
44592
44639
  local __TS__ObjectAssign = ____lualib.__TS__ObjectAssign
44593
- local __TS__Decorate = ____lualib.__TS__Decorate
44640
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
44594
44641
  local ____exports = {}
44595
44642
  local getRoomTypeMap
44596
44643
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -44958,11 +45005,11 @@ function CustomStages.prototype.setCustomStage(self, name, firstFloor, streakTex
44958
45005
  MUSIC_DELAY_RENDER_FRAMES
44959
45006
  )
44960
45007
  end
45008
+ __TS__DecorateLegacy({Exported}, CustomStages.prototype, "setCustomStage", true)
44961
45009
  function CustomStages.prototype.disableCustomStage(self)
44962
45010
  v.run.currentCustomStage = nil
44963
45011
  end
44964
- __TS__Decorate({Exported}, CustomStages.prototype, "setCustomStage", true)
44965
- __TS__Decorate({Exported}, CustomStages.prototype, "disableCustomStage", true)
45012
+ __TS__DecorateLegacy({Exported}, CustomStages.prototype, "disableCustomStage", true)
44966
45013
  return ____exports
44967
45014
  end,
44968
45015
  ["src.sets.consoleCommandsSet"] = function(...)
@@ -45566,7 +45613,7 @@ local ____lualib = require("lualib_bundle")
45566
45613
  local __TS__Class = ____lualib.__TS__Class
45567
45614
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
45568
45615
  local __TS__New = ____lualib.__TS__New
45569
- local __TS__Decorate = ____lualib.__TS__Decorate
45616
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
45570
45617
  local ____exports = {}
45571
45618
  local ____decorators = require("src.decorators")
45572
45619
  local Exported = ____decorators.Exported
@@ -45639,57 +45686,75 @@ end
45639
45686
  function DebugDisplay.prototype.setPlayerDisplay(self, textCallback)
45640
45687
  self.player.textCallback = textCallback
45641
45688
  end
45689
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setPlayerDisplay", true)
45642
45690
  function DebugDisplay.prototype.setTearDisplay(self, textCallback)
45643
45691
  self.tear.textCallback = textCallback
45644
45692
  end
45693
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setTearDisplay", true)
45645
45694
  function DebugDisplay.prototype.setFamiliarDisplay(self, textCallback)
45646
45695
  self.familiar.textCallback = textCallback
45647
45696
  end
45697
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setFamiliarDisplay", true)
45648
45698
  function DebugDisplay.prototype.setBombDisplay(self, textCallback)
45649
45699
  self.bomb.textCallback = textCallback
45650
45700
  end
45701
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setBombDisplay", true)
45651
45702
  function DebugDisplay.prototype.setPickupDisplay(self, textCallback)
45652
45703
  self.pickup.textCallback = textCallback
45653
45704
  end
45705
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setPickupDisplay", true)
45654
45706
  function DebugDisplay.prototype.setSlotDisplay(self, textCallback)
45655
45707
  self.slot.textCallback = textCallback
45656
45708
  end
45709
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setSlotDisplay", true)
45657
45710
  function DebugDisplay.prototype.setLaserDisplay(self, textCallback)
45658
45711
  self.laser.textCallback = textCallback
45659
45712
  end
45713
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setLaserDisplay", true)
45660
45714
  function DebugDisplay.prototype.setKnifeDisplay(self, textCallback)
45661
45715
  self.knife.textCallback = textCallback
45662
45716
  end
45717
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setKnifeDisplay", true)
45663
45718
  function DebugDisplay.prototype.setProjectileDisplay(self, textCallback)
45664
45719
  self.projectile.textCallback = textCallback
45665
45720
  end
45721
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setProjectileDisplay", true)
45666
45722
  function DebugDisplay.prototype.setEffectDisplay(self, textCallback)
45667
45723
  self.effect.textCallback = textCallback
45668
45724
  end
45725
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setEffectDisplay", true)
45669
45726
  function DebugDisplay.prototype.setNPCDisplay(self, textCallback)
45670
45727
  self.npc.textCallback = textCallback
45671
45728
  end
45729
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setNPCDisplay", true)
45672
45730
  function DebugDisplay.prototype.setRockDisplay(self, textCallback)
45673
45731
  self.rock.textCallback = textCallback
45674
45732
  end
45733
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setRockDisplay", true)
45675
45734
  function DebugDisplay.prototype.setPitDisplay(self, textCallback)
45676
45735
  self.pit.textCallback = textCallback
45677
45736
  end
45737
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setPitDisplay", true)
45678
45738
  function DebugDisplay.prototype.setSpikesDisplay(self, textCallback)
45679
45739
  self.spikes.textCallback = textCallback
45680
45740
  end
45741
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setSpikesDisplay", true)
45681
45742
  function DebugDisplay.prototype.setTNTDisplay(self, textCallback)
45682
45743
  self.tnt.textCallback = textCallback
45683
45744
  end
45745
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setTNTDisplay", true)
45684
45746
  function DebugDisplay.prototype.setPoopDisplay(self, textCallback)
45685
45747
  self.poop.textCallback = textCallback
45686
45748
  end
45749
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setPoopDisplay", true)
45687
45750
  function DebugDisplay.prototype.setDoorDisplay(self, textCallback)
45688
45751
  self.door.textCallback = textCallback
45689
45752
  end
45753
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setDoorDisplay", true)
45690
45754
  function DebugDisplay.prototype.setPressurePlateDisplay(self, textCallback)
45691
45755
  self.pressurePlate.textCallback = textCallback
45692
45756
  end
45757
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "setPressurePlateDisplay", true)
45693
45758
  function DebugDisplay.prototype.toggleFeature(self, feature, featureName, force)
45694
45759
  local shouldInit = not feature.initialized
45695
45760
  if force ~= nil then
@@ -45705,93 +45770,75 @@ end
45705
45770
  function DebugDisplay.prototype.togglePlayerDisplay(self, force)
45706
45771
  self:toggleFeature(self.player, "player", force)
45707
45772
  end
45773
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "togglePlayerDisplay", true)
45708
45774
  function DebugDisplay.prototype.toggleTearDisplay(self, force)
45709
45775
  self:toggleFeature(self.tear, "tear", force)
45710
45776
  end
45777
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleTearDisplay", true)
45711
45778
  function DebugDisplay.prototype.toggleFamiliarDisplay(self, force)
45712
45779
  self:toggleFeature(self.familiar, "familiar", force)
45713
45780
  end
45781
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleFamiliarDisplay", true)
45714
45782
  function DebugDisplay.prototype.toggleBombDisplay(self, force)
45715
45783
  self:toggleFeature(self.bomb, "bomb", force)
45716
45784
  end
45785
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleBombDisplay", true)
45717
45786
  function DebugDisplay.prototype.togglePickupDisplay(self, force)
45718
45787
  self:toggleFeature(self.pickup, "pickup", force)
45719
45788
  end
45789
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "togglePickupDisplay", true)
45720
45790
  function DebugDisplay.prototype.toggleSlotDisplay(self, force)
45721
45791
  self:toggleFeature(self.slot, "slot", force)
45722
45792
  end
45793
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleSlotDisplay", true)
45723
45794
  function DebugDisplay.prototype.toggleLaserDisplay(self, force)
45724
45795
  self:toggleFeature(self.laser, "laser", force)
45725
45796
  end
45797
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleLaserDisplay", true)
45726
45798
  function DebugDisplay.prototype.toggleKnifeDisplay(self, force)
45727
45799
  self:toggleFeature(self.knife, "knife", force)
45728
45800
  end
45801
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleKnifeDisplay", true)
45729
45802
  function DebugDisplay.prototype.toggleProjectileDisplay(self, force)
45730
45803
  self:toggleFeature(self.projectile, "projectile", force)
45731
45804
  end
45805
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleProjectileDisplay", true)
45732
45806
  function DebugDisplay.prototype.toggleEffectDisplay(self, force)
45733
45807
  self:toggleFeature(self.effect, "effect", force)
45734
45808
  end
45809
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleEffectDisplay", true)
45735
45810
  function DebugDisplay.prototype.toggleNPCDisplay(self, force)
45736
45811
  self:toggleFeature(self.npc, "NPC", force)
45737
45812
  end
45813
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleNPCDisplay", true)
45738
45814
  function DebugDisplay.prototype.toggleRockDisplay(self, force)
45739
45815
  self:toggleFeature(self.rock, "rock", force)
45740
45816
  end
45817
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleRockDisplay", true)
45741
45818
  function DebugDisplay.prototype.togglePitDisplay(self, force)
45742
45819
  self:toggleFeature(self.pit, "pit", force)
45743
45820
  end
45821
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "togglePitDisplay", true)
45744
45822
  function DebugDisplay.prototype.toggleSpikesDisplay(self, force)
45745
45823
  self:toggleFeature(self.spikes, "spikes", force)
45746
45824
  end
45825
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleSpikesDisplay", true)
45747
45826
  function DebugDisplay.prototype.toggleTNTDisplay(self, force)
45748
45827
  self:toggleFeature(self.tnt, "tnt", force)
45749
45828
  end
45829
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleTNTDisplay", true)
45750
45830
  function DebugDisplay.prototype.togglePoopDisplay(self, force)
45751
45831
  self:toggleFeature(self.poop, "poop", force)
45752
45832
  end
45833
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "togglePoopDisplay", true)
45753
45834
  function DebugDisplay.prototype.toggleDoorDisplay(self, force)
45754
45835
  self:toggleFeature(self.door, "door", force)
45755
45836
  end
45837
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "toggleDoorDisplay", true)
45756
45838
  function DebugDisplay.prototype.togglePressurePlateDisplay(self, force)
45757
45839
  self:toggleFeature(self.pressurePlate, "pressure plate", force)
45758
45840
  end
45759
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setPlayerDisplay", true)
45760
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setTearDisplay", true)
45761
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setFamiliarDisplay", true)
45762
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setBombDisplay", true)
45763
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setPickupDisplay", true)
45764
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setSlotDisplay", true)
45765
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setLaserDisplay", true)
45766
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setKnifeDisplay", true)
45767
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setProjectileDisplay", true)
45768
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setEffectDisplay", true)
45769
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setNPCDisplay", true)
45770
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setRockDisplay", true)
45771
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setPitDisplay", true)
45772
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setSpikesDisplay", true)
45773
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setTNTDisplay", true)
45774
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setPoopDisplay", true)
45775
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setDoorDisplay", true)
45776
- __TS__Decorate({Exported}, DebugDisplay.prototype, "setPressurePlateDisplay", true)
45777
- __TS__Decorate({Exported}, DebugDisplay.prototype, "togglePlayerDisplay", true)
45778
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleTearDisplay", true)
45779
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleFamiliarDisplay", true)
45780
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleBombDisplay", true)
45781
- __TS__Decorate({Exported}, DebugDisplay.prototype, "togglePickupDisplay", true)
45782
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleSlotDisplay", true)
45783
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleLaserDisplay", true)
45784
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleKnifeDisplay", true)
45785
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleProjectileDisplay", true)
45786
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleEffectDisplay", true)
45787
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleNPCDisplay", true)
45788
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleRockDisplay", true)
45789
- __TS__Decorate({Exported}, DebugDisplay.prototype, "togglePitDisplay", true)
45790
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleSpikesDisplay", true)
45791
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleTNTDisplay", true)
45792
- __TS__Decorate({Exported}, DebugDisplay.prototype, "togglePoopDisplay", true)
45793
- __TS__Decorate({Exported}, DebugDisplay.prototype, "toggleDoorDisplay", true)
45794
- __TS__Decorate({Exported}, DebugDisplay.prototype, "togglePressurePlateDisplay", true)
45841
+ __TS__DecorateLegacy({Exported}, DebugDisplay.prototype, "togglePressurePlateDisplay", true)
45795
45842
  return ____exports
45796
45843
  end,
45797
45844
  ["src.functions.gridIndex"] = function(...)
@@ -46437,7 +46484,7 @@ local ____lualib = require("lualib_bundle")
46437
46484
  local __TS__New = ____lualib.__TS__New
46438
46485
  local __TS__Class = ____lualib.__TS__Class
46439
46486
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
46440
- local __TS__Decorate = ____lualib.__TS__Decorate
46487
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
46441
46488
  local ____exports = {}
46442
46489
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
46443
46490
  local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
@@ -46556,7 +46603,7 @@ function PreventGridEntityRespawn.prototype.preventGridEntityRespawn(self)
46556
46603
  ::__continue20::
46557
46604
  end
46558
46605
  end
46559
- __TS__Decorate({Exported}, PreventGridEntityRespawn.prototype, "preventGridEntityRespawn", true)
46606
+ __TS__DecorateLegacy({Exported}, PreventGridEntityRespawn.prototype, "preventGridEntityRespawn", true)
46560
46607
  return ____exports
46561
46608
  end,
46562
46609
  ["src.functions.spawnCollectible"] = function(...)
@@ -46630,7 +46677,7 @@ local __TS__New = ____lualib.__TS__New
46630
46677
  local Map = ____lualib.Map
46631
46678
  local __TS__Class = ____lualib.__TS__Class
46632
46679
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
46633
- local __TS__Decorate = ____lualib.__TS__Decorate
46680
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
46634
46681
  local ____exports = {}
46635
46682
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
46636
46683
  local CardType = ____isaac_2Dtypescript_2Ddefinitions.CardType
@@ -46734,14 +46781,14 @@ function PreventCollectibleRotation.prototype.preventCollectibleRotation(self, c
46734
46781
  end
46735
46782
  end)
46736
46783
  end
46737
- __TS__Decorate({Exported}, PreventCollectibleRotation.prototype, "preventCollectibleRotation", true)
46784
+ __TS__DecorateLegacy({Exported}, PreventCollectibleRotation.prototype, "preventCollectibleRotation", true)
46738
46785
  return ____exports
46739
46786
  end,
46740
46787
  ["src.classes.features.other.SpawnCollectible"] = function(...)
46741
46788
  local ____lualib = require("lualib_bundle")
46742
46789
  local __TS__Class = ____lualib.__TS__Class
46743
46790
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
46744
- local __TS__Decorate = ____lualib.__TS__Decorate
46791
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
46745
46792
  local ____exports = {}
46746
46793
  local ____cachedClasses = require("src.core.cachedClasses")
46747
46794
  local game = ____cachedClasses.game
@@ -46790,6 +46837,7 @@ function SpawnCollectible.prototype.spawnCollectible(self, collectibleType, posi
46790
46837
  end
46791
46838
  return collectible
46792
46839
  end
46840
+ __TS__DecorateLegacy({Exported}, SpawnCollectible.prototype, "spawnCollectible", true)
46793
46841
  function SpawnCollectible.prototype.spawnCollectibleFromPool(self, itemPoolType, positionOrGridIndex, seedOrRNG, options, forceFreeItem, spawner)
46794
46842
  if seedOrRNG == nil then
46795
46843
  seedOrRNG = getRandomSeed(nil)
@@ -46811,8 +46859,7 @@ function SpawnCollectible.prototype.spawnCollectibleFromPool(self, itemPoolType,
46811
46859
  spawner
46812
46860
  )
46813
46861
  end
46814
- __TS__Decorate({Exported}, SpawnCollectible.prototype, "spawnCollectible", true)
46815
- __TS__Decorate({Exported}, SpawnCollectible.prototype, "spawnCollectibleFromPool", true)
46862
+ __TS__DecorateLegacy({Exported}, SpawnCollectible.prototype, "spawnCollectibleFromPool", true)
46816
46863
  return ____exports
46817
46864
  end,
46818
46865
  ["src.classes.features.other.DeployJSONRoom"] = function(...)
@@ -46820,7 +46867,7 @@ local ____lualib = require("lualib_bundle")
46820
46867
  local __TS__New = ____lualib.__TS__New
46821
46868
  local __TS__Class = ____lualib.__TS__Class
46822
46869
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
46823
- local __TS__Decorate = ____lualib.__TS__Decorate
46870
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
46824
46871
  local Map = ____lualib.Map
46825
46872
  local __TS__Iterator = ____lualib.__TS__Iterator
46826
46873
  local ____exports = {}
@@ -47141,7 +47188,7 @@ function DeployJSONRoom.prototype.deployJSONRoom(self, jsonRoom, seedOrRNG, verb
47141
47188
  fixPitGraphics(nil)
47142
47189
  self.preventGridEntityRespawn:preventGridEntityRespawn()
47143
47190
  end
47144
- __TS__Decorate({Exported}, DeployJSONRoom.prototype, "deployJSONRoom", true)
47191
+ __TS__DecorateLegacy({Exported}, DeployJSONRoom.prototype, "deployJSONRoom", true)
47145
47192
  return ____exports
47146
47193
  end,
47147
47194
  ["src.classes.features.other.EdenStartingStats"] = function(...)
@@ -47150,7 +47197,7 @@ local Map = ____lualib.Map
47150
47197
  local __TS__New = ____lualib.__TS__New
47151
47198
  local __TS__Class = ____lualib.__TS__Class
47152
47199
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
47153
- local __TS__Decorate = ____lualib.__TS__Decorate
47200
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
47154
47201
  local ____exports = {}
47155
47202
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
47156
47203
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
@@ -47193,11 +47240,11 @@ function EdenStartingStats.prototype.getEdenStartingStat(self, player, playerSta
47193
47240
  end
47194
47241
  return playerStats[playerStat]
47195
47242
  end
47243
+ __TS__DecorateLegacy({Exported}, EdenStartingStats.prototype, "getEdenStartingStat", true)
47196
47244
  function EdenStartingStats.prototype.getEdenStartingStats(self, player)
47197
47245
  return mapGetPlayer(nil, v.run.edenPlayerStats, player)
47198
47246
  end
47199
- __TS__Decorate({Exported}, EdenStartingStats.prototype, "getEdenStartingStat", true)
47200
- __TS__Decorate({Exported}, EdenStartingStats.prototype, "getEdenStartingStats", true)
47247
+ __TS__DecorateLegacy({Exported}, EdenStartingStats.prototype, "getEdenStartingStats", true)
47201
47248
  return ____exports
47202
47249
  end,
47203
47250
  ["src.functions.deepCopyTests"] = function(...)
@@ -50144,7 +50191,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50144
50191
  local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
50145
50192
  local Map = ____lualib.Map
50146
50193
  local __TS__New = ____lualib.__TS__New
50147
- local __TS__Decorate = ____lualib.__TS__Decorate
50194
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50148
50195
  local ____exports = {}
50149
50196
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
50150
50197
  local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
@@ -50285,21 +50332,21 @@ function ExtraConsoleCommands.prototype.addConsoleCommand(self, commandName, com
50285
50332
  end
50286
50333
  self.commandFunctionMap:set(commandName, commandFunction)
50287
50334
  end
50335
+ __TS__DecorateLegacy({Exported}, ExtraConsoleCommands.prototype, "addConsoleCommand", true)
50288
50336
  function ExtraConsoleCommands.prototype.removeConsoleCommand(self, commandName)
50289
50337
  if not self.commandFunctionMap:has(commandName) then
50290
50338
  error(("Failed to remove the console command of \"" .. commandName) .. "\", since it does not already exist in the map.")
50291
50339
  end
50292
50340
  self.commandFunctionMap:delete(commandName)
50293
50341
  end
50294
- __TS__Decorate({Exported}, ExtraConsoleCommands.prototype, "addConsoleCommand", true)
50295
- __TS__Decorate({Exported}, ExtraConsoleCommands.prototype, "removeConsoleCommand", true)
50342
+ __TS__DecorateLegacy({Exported}, ExtraConsoleCommands.prototype, "removeConsoleCommand", true)
50296
50343
  return ____exports
50297
50344
  end,
50298
50345
  ["src.classes.features.other.FadeInRemover"] = function(...)
50299
50346
  local ____lualib = require("lualib_bundle")
50300
50347
  local __TS__Class = ____lualib.__TS__Class
50301
50348
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50302
- local __TS__Decorate = ____lualib.__TS__Decorate
50349
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50303
50350
  local ____exports = {}
50304
50351
  local ____cachedClasses = require("src.core.cachedClasses")
50305
50352
  local game = ____cachedClasses.game
@@ -50327,18 +50374,18 @@ end
50327
50374
  function FadeInRemover.prototype.removeFadeIn(self)
50328
50375
  self.enabled = true
50329
50376
  end
50377
+ __TS__DecorateLegacy({Exported}, FadeInRemover.prototype, "removeFadeIn", true)
50330
50378
  function FadeInRemover.prototype.restoreFadeIn(self)
50331
50379
  self.enabled = false
50332
50380
  end
50333
- __TS__Decorate({Exported}, FadeInRemover.prototype, "removeFadeIn", true)
50334
- __TS__Decorate({Exported}, FadeInRemover.prototype, "restoreFadeIn", true)
50381
+ __TS__DecorateLegacy({Exported}, FadeInRemover.prototype, "restoreFadeIn", true)
50335
50382
  return ____exports
50336
50383
  end,
50337
50384
  ["src.classes.features.other.FastReset"] = function(...)
50338
50385
  local ____lualib = require("lualib_bundle")
50339
50386
  local __TS__Class = ____lualib.__TS__Class
50340
50387
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50341
- local __TS__Decorate = ____lualib.__TS__Decorate
50388
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50342
50389
  local ____exports = {}
50343
50390
  local checkResetInput
50344
50391
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
@@ -50388,11 +50435,11 @@ end
50388
50435
  function FastReset.prototype.enableFastReset(self)
50389
50436
  self.enabled = true
50390
50437
  end
50438
+ __TS__DecorateLegacy({Exported}, FastReset.prototype, "enableFastReset", true)
50391
50439
  function FastReset.prototype.disableFastReset(self)
50392
50440
  self.enabled = false
50393
50441
  end
50394
- __TS__Decorate({Exported}, FastReset.prototype, "enableFastReset", true)
50395
- __TS__Decorate({Exported}, FastReset.prototype, "disableFastReset", true)
50442
+ __TS__DecorateLegacy({Exported}, FastReset.prototype, "disableFastReset", true)
50396
50443
  return ____exports
50397
50444
  end,
50398
50445
  ["src.classes.features.other.FlyingDetection"] = function(...)
@@ -50400,7 +50447,7 @@ local ____lualib = require("lualib_bundle")
50400
50447
  local __TS__Class = ____lualib.__TS__Class
50401
50448
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50402
50449
  local __TS__Iterator = ____lualib.__TS__Iterator
50403
- local __TS__Decorate = ____lualib.__TS__Decorate
50450
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50404
50451
  local ____exports = {}
50405
50452
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
50406
50453
  local NullItemID = ____isaac_2Dtypescript_2Ddefinitions.NullItemID
@@ -50441,7 +50488,7 @@ function FlyingDetection.prototype.hasFlyingTemporaryEffect(self, player)
50441
50488
  end
50442
50489
  return false
50443
50490
  end
50444
- __TS__Decorate({Exported}, FlyingDetection.prototype, "hasFlyingTemporaryEffect", true)
50491
+ __TS__DecorateLegacy({Exported}, FlyingDetection.prototype, "hasFlyingTemporaryEffect", true)
50445
50492
  return ____exports
50446
50493
  end,
50447
50494
  ["src.classes.features.other.PressInput"] = function(...)
@@ -50449,7 +50496,7 @@ local ____lualib = require("lualib_bundle")
50449
50496
  local __TS__Class = ____lualib.__TS__Class
50450
50497
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50451
50498
  local __TS__ArraySplice = ____lualib.__TS__ArraySplice
50452
- local __TS__Decorate = ____lualib.__TS__Decorate
50499
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50453
50500
  local ____exports = {}
50454
50501
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
50455
50502
  local InputHook = ____isaac_2Dtypescript_2Ddefinitions.InputHook
@@ -50497,14 +50544,14 @@ function PressInput.prototype.pressInput(self, player, buttonAction)
50497
50544
  local ____v_run_buttonActionPairs_0 = v.run.buttonActionPairs
50498
50545
  ____v_run_buttonActionPairs_0[#____v_run_buttonActionPairs_0 + 1] = {playerIndex = playerIndex, buttonAction = buttonAction}
50499
50546
  end
50500
- __TS__Decorate({Exported}, PressInput.prototype, "pressInput", true)
50547
+ __TS__DecorateLegacy({Exported}, PressInput.prototype, "pressInput", true)
50501
50548
  return ____exports
50502
50549
  end,
50503
50550
  ["src.classes.features.other.ForgottenSwitch"] = function(...)
50504
50551
  local ____lualib = require("lualib_bundle")
50505
50552
  local __TS__Class = ____lualib.__TS__Class
50506
50553
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50507
- local __TS__Decorate = ____lualib.__TS__Decorate
50554
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50508
50555
  local ____exports = {}
50509
50556
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
50510
50557
  local ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
@@ -50527,7 +50574,7 @@ end
50527
50574
  function ForgottenSwitch.prototype.forgottenSwitch(self, player)
50528
50575
  self.pressInput:pressInput(player, ButtonAction.DROP)
50529
50576
  end
50530
- __TS__Decorate({Exported}, ForgottenSwitch.prototype, "forgottenSwitch", true)
50577
+ __TS__DecorateLegacy({Exported}, ForgottenSwitch.prototype, "forgottenSwitch", true)
50531
50578
  return ____exports
50532
50579
  end,
50533
50580
  ["src.classes.features.other.ItemPoolDetection"] = function(...)
@@ -50535,7 +50582,7 @@ local ____lualib = require("lualib_bundle")
50535
50582
  local __TS__Class = ____lualib.__TS__Class
50536
50583
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50537
50584
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
50538
- local __TS__Decorate = ____lualib.__TS__Decorate
50585
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50539
50586
  local Map = ____lualib.Map
50540
50587
  local __TS__New = ____lualib.__TS__New
50541
50588
  local ____exports = {}
@@ -50635,6 +50682,7 @@ function ItemPoolDetection.prototype.getCollectiblesInItemPool(self, itemPoolTyp
50635
50682
  function(____, collectibleType) return self:isCollectibleInItemPool(collectibleType, itemPoolType) end
50636
50683
  )
50637
50684
  end
50685
+ __TS__DecorateLegacy({Exported}, ItemPoolDetection.prototype, "getCollectiblesInItemPool", true)
50638
50686
  function ItemPoolDetection.prototype.isCollectibleInItemPool(self, collectibleType, itemPoolType)
50639
50687
  if collectibleType == COLLECTIBLE_TYPE_THAT_IS_NOT_IN_ANY_POOLS then
50640
50688
  return false
@@ -50668,22 +50716,21 @@ function ItemPoolDetection.prototype.isCollectibleInItemPool(self, collectibleTy
50668
50716
  end
50669
50717
  return collectibleUnlocked
50670
50718
  end
50719
+ __TS__DecorateLegacy({Exported}, ItemPoolDetection.prototype, "isCollectibleInItemPool", true)
50671
50720
  function ItemPoolDetection.prototype.isCollectibleUnlocked(self, collectibleType, itemPoolType)
50672
50721
  if anyPlayerHasCollectible(nil, collectibleType) then
50673
50722
  return true
50674
50723
  end
50675
50724
  return self:isCollectibleInItemPool(collectibleType, itemPoolType)
50676
50725
  end
50677
- __TS__Decorate({Exported}, ItemPoolDetection.prototype, "getCollectiblesInItemPool", true)
50678
- __TS__Decorate({Exported}, ItemPoolDetection.prototype, "isCollectibleInItemPool", true)
50679
- __TS__Decorate({Exported}, ItemPoolDetection.prototype, "isCollectibleUnlocked", true)
50726
+ __TS__DecorateLegacy({Exported}, ItemPoolDetection.prototype, "isCollectibleUnlocked", true)
50680
50727
  return ____exports
50681
50728
  end,
50682
50729
  ["src.classes.features.other.NoSirenSteal"] = function(...)
50683
50730
  local ____lualib = require("lualib_bundle")
50684
50731
  local __TS__Class = ____lualib.__TS__Class
50685
50732
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50686
- local __TS__Decorate = ____lualib.__TS__Decorate
50733
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50687
50734
  local ____exports = {}
50688
50735
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
50689
50736
  local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
@@ -50737,7 +50784,7 @@ function NoSirenSteal.prototype.setFamiliarNoSirenSteal(self, familiarVariant, f
50737
50784
  local ____v_run_familiarBlacklist_0 = v.run.familiarBlacklist
50738
50785
  ____v_run_familiarBlacklist_0[#____v_run_familiarBlacklist_0 + 1] = {familiarVariant, familiarSubType}
50739
50786
  end
50740
- __TS__Decorate({Exported}, NoSirenSteal.prototype, "setFamiliarNoSirenSteal", true)
50787
+ __TS__DecorateLegacy({Exported}, NoSirenSteal.prototype, "setFamiliarNoSirenSteal", true)
50741
50788
  return ____exports
50742
50789
  end,
50743
50790
  ["src.classes.features.other.PersistentEntities"] = function(...)
@@ -50749,7 +50796,7 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50749
50796
  local __TS__Spread = ____lualib.__TS__Spread
50750
50797
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
50751
50798
  local __TS__Iterator = ____lualib.__TS__Iterator
50752
- local __TS__Decorate = ____lualib.__TS__Decorate
50799
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50753
50800
  local ____exports = {}
50754
50801
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
50755
50802
  local EntityFlag = ____isaac_2Dtypescript_2Ddefinitions.EntityFlag
@@ -50880,6 +50927,7 @@ function PersistentEntities.prototype.removePersistentEntity(self, persistentEnt
50880
50927
  ::__continue16::
50881
50928
  end
50882
50929
  end
50930
+ __TS__DecorateLegacy({Exported}, PersistentEntities.prototype, "removePersistentEntity", true)
50883
50931
  function PersistentEntities.prototype.spawnPersistentEntity(self, entityType, variant, subType, position)
50884
50932
  local ____v_run_0, ____persistentEntityIndexCounter_1 = v.run, "persistentEntityIndexCounter"
50885
50933
  ____v_run_0[____persistentEntityIndexCounter_1] = ____v_run_0[____persistentEntityIndexCounter_1] + 1
@@ -50892,8 +50940,7 @@ function PersistentEntities.prototype.spawnPersistentEntity(self, entityType, va
50892
50940
  )
50893
50941
  return {entity = entity, persistentIndex = v.run.persistentEntityIndexCounter}
50894
50942
  end
50895
- __TS__Decorate({Exported}, PersistentEntities.prototype, "removePersistentEntity", true)
50896
- __TS__Decorate({Exported}, PersistentEntities.prototype, "spawnPersistentEntity", true)
50943
+ __TS__DecorateLegacy({Exported}, PersistentEntities.prototype, "spawnPersistentEntity", true)
50897
50944
  return ____exports
50898
50945
  end,
50899
50946
  ["src.classes.features.other.PlayerInventory"] = function(...)
@@ -50902,7 +50949,7 @@ local __TS__New = ____lualib.__TS__New
50902
50949
  local __TS__Class = ____lualib.__TS__Class
50903
50950
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50904
50951
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
50905
- local __TS__Decorate = ____lualib.__TS__Decorate
50952
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50906
50953
  local ____exports = {}
50907
50954
  local ____decorators = require("src.decorators")
50908
50955
  local Exported = ____decorators.Exported
@@ -50954,12 +51001,12 @@ function PlayerInventory.prototype.getPlayerInventory(self, player, includeActiv
50954
51001
  function(____, collectibleType) return not isActiveCollectible(nil, collectibleType) end
50955
51002
  )
50956
51003
  end
51004
+ __TS__DecorateLegacy({Exported}, PlayerInventory.prototype, "getPlayerInventory", true)
50957
51005
  function PlayerInventory.prototype.getPlayerLastPassiveCollectible(self, player)
50958
51006
  local inventory = self:getPlayerInventory(player, false)
50959
51007
  return getLastElement(nil, inventory)
50960
51008
  end
50961
- __TS__Decorate({Exported}, PlayerInventory.prototype, "getPlayerInventory", true)
50962
- __TS__Decorate({Exported}, PlayerInventory.prototype, "getPlayerLastPassiveCollectible", true)
51009
+ __TS__DecorateLegacy({Exported}, PlayerInventory.prototype, "getPlayerLastPassiveCollectible", true)
50963
51010
  return ____exports
50964
51011
  end,
50965
51012
  ["src.classes.features.other.PreventChildEntities"] = function(...)
@@ -50968,7 +51015,7 @@ local Set = ____lualib.Set
50968
51015
  local __TS__New = ____lualib.__TS__New
50969
51016
  local __TS__Class = ____lualib.__TS__Class
50970
51017
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
50971
- local __TS__Decorate = ____lualib.__TS__Decorate
51018
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
50972
51019
  local ____exports = {}
50973
51020
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
50974
51021
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
@@ -50997,7 +51044,7 @@ function PreventChildEntities.prototype.preventChildEntities(self, entity)
50997
51044
  local ptrHash = GetPtrHash(entity)
50998
51045
  v.room.preventingEntities:add(ptrHash)
50999
51046
  end
51000
- __TS__Decorate({Exported}, PreventChildEntities.prototype, "preventChildEntities", true)
51047
+ __TS__DecorateLegacy({Exported}, PreventChildEntities.prototype, "preventChildEntities", true)
51001
51048
  return ____exports
51002
51049
  end,
51003
51050
  ["src.functions.projectiles"] = function(...)
@@ -51055,7 +51102,7 @@ return ____exports
51055
51102
  local ____lualib = require("lualib_bundle")
51056
51103
  local __TS__Class = ____lualib.__TS__Class
51057
51104
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
51058
- local __TS__Decorate = ____lualib.__TS__Decorate
51105
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
51059
51106
  local ____exports = {}
51060
51107
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
51061
51108
  local CardType = ____isaac_2Dtypescript_2Ddefinitions.CardType
@@ -51166,6 +51213,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltReward(self, positionOrGridIn
51166
51213
  end
51167
51214
  until true
51168
51215
  end
51216
+ __TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltReward", true)
51169
51217
  function SpawnRockAltRewards.prototype.spawnRockAltRewardUrn(self, position, rng)
51170
51218
  local room = game:GetRoom()
51171
51219
  local chance = getRandom(nil, rng)
@@ -51227,6 +51275,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardUrn(self, position, rng
51227
51275
  )
51228
51276
  return true
51229
51277
  end
51278
+ __TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardUrn", true)
51230
51279
  function SpawnRockAltRewards.prototype.spawnRockAltRewardMushroom(self, position, rng)
51231
51280
  local room = game:GetRoom()
51232
51281
  local roomType = room:GetType()
@@ -51280,6 +51329,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardMushroom(self, position
51280
51329
  game:ButterBeanFart(position, FART_RADIUS, nil)
51281
51330
  return true
51282
51331
  end
51332
+ __TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardMushroom", true)
51283
51333
  function SpawnRockAltRewards.prototype.spawnRockAltRewardSkull(self, position, rng)
51284
51334
  local chance = getRandom(nil, rng)
51285
51335
  local totalChance = 0
@@ -51327,6 +51377,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardSkull(self, position, r
51327
51377
  )
51328
51378
  return true
51329
51379
  end
51380
+ __TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardSkull", true)
51330
51381
  function SpawnRockAltRewards.prototype.spawnRockAltRewardPolyp(self, position, rng)
51331
51382
  local chance = getRandom(nil, rng)
51332
51383
  local totalChance = 0
@@ -51380,6 +51431,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardPolyp(self, position, r
51380
51431
  )
51381
51432
  return true
51382
51433
  end
51434
+ __TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardPolyp", true)
51383
51435
  function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDownpour(self, position, rng)
51384
51436
  local room = game:GetRoom()
51385
51437
  local chance = getRandom(nil, rng)
@@ -51446,6 +51498,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDownpour(self, po
51446
51498
  )
51447
51499
  return true
51448
51500
  end
51501
+ __TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDownpour", true)
51449
51502
  function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDross(self, position, rng)
51450
51503
  local room = game:GetRoom()
51451
51504
  local chance = getRandom(nil, rng)
@@ -51510,13 +51563,7 @@ function SpawnRockAltRewards.prototype.spawnRockAltRewardBucketDross(self, posit
51510
51563
  )
51511
51564
  return true
51512
51565
  end
51513
- __TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltReward", true)
51514
- __TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardUrn", true)
51515
- __TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardMushroom", true)
51516
- __TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardSkull", true)
51517
- __TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardPolyp", true)
51518
- __TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDownpour", true)
51519
- __TS__Decorate({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDross", true)
51566
+ __TS__DecorateLegacy({Exported}, SpawnRockAltRewards.prototype, "spawnRockAltRewardBucketDross", true)
51520
51567
  return ____exports
51521
51568
  end,
51522
51569
  ["src.classes.features.other.StartAmbush"] = function(...)
@@ -51524,7 +51571,7 @@ local ____lualib = require("lualib_bundle")
51524
51571
  local __TS__Class = ____lualib.__TS__Class
51525
51572
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
51526
51573
  local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
51527
- local __TS__Decorate = ____lualib.__TS__Decorate
51574
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
51528
51575
  local ____exports = {}
51529
51576
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
51530
51577
  local SackSubType = ____isaac_2Dtypescript_2Ddefinitions.SackSubType
@@ -51570,7 +51617,7 @@ function StartAmbush.prototype.startAmbush(self)
51570
51617
  removeEntities(nil, coinsFromSack)
51571
51618
  end)
51572
51619
  end
51573
- __TS__Decorate({Exported}, StartAmbush.prototype, "startAmbush", true)
51620
+ __TS__DecorateLegacy({Exported}, StartAmbush.prototype, "startAmbush", true)
51574
51621
  return ____exports
51575
51622
  end,
51576
51623
  ["src.classes.features.other.TaintedLazarusPlayers"] = function(...)
@@ -51579,7 +51626,7 @@ local Map = ____lualib.Map
51579
51626
  local __TS__New = ____lualib.__TS__New
51580
51627
  local __TS__Class = ____lualib.__TS__Class
51581
51628
  local __TS__ClassExtends = ____lualib.__TS__ClassExtends
51582
- local __TS__Decorate = ____lualib.__TS__Decorate
51629
+ local __TS__DecorateLegacy = ____lualib.__TS__DecorateLegacy
51583
51630
  local ____exports = {}
51584
51631
  local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
51585
51632
  local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
@@ -51640,7 +51687,7 @@ function TaintedLazarusPlayers.prototype.getTaintedLazarusSubPlayer(self, player
51640
51687
  local ptrHash = GetPtrHash(player)
51641
51688
  return v.run.subPlayerMap:get(ptrHash)
51642
51689
  end
51643
- __TS__Decorate({Exported}, TaintedLazarusPlayers.prototype, "getTaintedLazarusSubPlayer", true)
51690
+ __TS__DecorateLegacy({Exported}, TaintedLazarusPlayers.prototype, "getTaintedLazarusSubPlayer", true)
51644
51691
  return ____exports
51645
51692
  end,
51646
51693
  ["src.features"] = function(...)