isaacscript-common 4.5.1 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/constants.d.ts +0 -3
  2. package/constantsFirstLast.d.ts +0 -3
  3. package/features/characterHealthConversion.d.ts +6 -0
  4. package/features/characterStats.d.ts +5 -0
  5. package/features/deployJSONRoom.lua +2 -4
  6. package/features/disableAllSound.d.ts +0 -3
  7. package/features/registerHotkey.lua +1 -1
  8. package/functions/array.d.ts +30 -1
  9. package/functions/array.lua +84 -5
  10. package/functions/bitwise.d.ts +17 -0
  11. package/functions/bitwise.lua +41 -0
  12. package/functions/color.d.ts +1 -1
  13. package/functions/doors.d.ts +6 -0
  14. package/functions/doors.lua +23 -2
  15. package/functions/gridEntity.d.ts +12 -0
  16. package/functions/gridEntity.lua +15 -2
  17. package/functions/kColor.d.ts +1 -1
  18. package/functions/log.d.ts +2 -2
  19. package/functions/rng.d.ts +1 -1
  20. package/functions/rng.lua +6 -2
  21. package/functions/roomShape.d.ts +2 -2
  22. package/functions/rooms.d.ts +1 -0
  23. package/functions/rooms.lua +1 -0
  24. package/functions/set.d.ts +17 -0
  25. package/functions/set.lua +24 -0
  26. package/functions/stage.d.ts +6 -1
  27. package/functions/stage.lua +7 -0
  28. package/functions/vector.d.ts +1 -1
  29. package/index.d.ts +0 -1
  30. package/index.lua +0 -8
  31. package/initFeatures.lua +3 -3
  32. package/maps/roomTypeMap.lua +0 -1
  33. package/objects/doorSlotToDoorSlotFlag.d.ts +4 -0
  34. package/objects/doorSlotToDoorSlotFlag.lua +17 -0
  35. package/objects/roomShapeBounds.d.ts +1 -1
  36. package/objects/roomShapeBounds.lua +8 -8
  37. package/objects/roomShapeLayoutSizes.d.ts +1 -1
  38. package/objects/roomShapeLayoutSizes.lua +4 -4
  39. package/objects/roomTypeGotoPrefixes.d.ts +4 -0
  40. package/objects/roomTypeGotoPrefixes.lua +35 -0
  41. package/objects/roomTypeNames.lua +0 -1
  42. package/package.json +2 -2
  43. package/types/CollectibleIndex.d.ts +1 -1
  44. package/types/PickingUpItem.d.ts +3 -3
  45. package/types/PickingUpItem.lua +3 -3
  46. package/types/PlayerIndex.d.ts +1 -1
  47. package/types/private/IsaacAPIClass.d.ts +1 -1
  48. package/types/private/SerializedIsaacAPIClass.d.ts +1 -1
  49. package/types/private/TSTLClass.d.ts +1 -1
  50. package/enums/StageTravelEntityState.d.ts +0 -4
  51. package/enums/StageTravelEntityState.lua +0 -7
  52. package/enums/StageTravelState.d.ts +0 -6
  53. package/enums/StageTravelState.lua +0 -11
  54. package/features/customTrapdoor/constants.d.ts +0 -5
  55. package/features/customTrapdoor/constants.lua +0 -7
  56. package/features/customTrapdoor/exports.d.ts +0 -37
  57. package/features/customTrapdoor/exports.lua +0 -124
  58. package/features/customTrapdoor/init.d.ts +0 -1
  59. package/features/customTrapdoor/init.lua +0 -11
  60. package/features/customTrapdoor/stageTravel.d.ts +0 -0
  61. package/features/customTrapdoor/stageTravel.lua +0 -0
  62. package/features/customTrapdoor/trapdoor.d.ts +0 -0
  63. package/features/customTrapdoor/trapdoor.lua +0 -0
  64. package/features/customTrapdoor/v.d.ts +0 -14
  65. package/features/customTrapdoor/v.lua +0 -16
  66. package/interfaces/StageTravelEntityDescription.d.ts +0 -5
  67. package/interfaces/StageTravelEntityDescription.lua +0 -2
@@ -1,16 +0,0 @@
1
- local ____lualib = require("lualib_bundle")
2
- local Map = ____lualib.Map
3
- local __TS__New = ____lualib.__TS__New
4
- local ____exports = {}
5
- local ____StageTravelState = require("enums.StageTravelState")
6
- local StageTravelState = ____StageTravelState.StageTravelState
7
- local v = {
8
- run = {state = StageTravelState.DISABLED},
9
- room = {trapdoors = __TS__New(Map)}
10
- }
11
- ____exports.default = v
12
- function ____exports.getCustomTrapdoorDescription(self, gridEntity)
13
- local gridIndex = gridEntity:GetGridIndex()
14
- return v.room.trapdoors:get(gridIndex)
15
- end
16
- return ____exports
@@ -1,5 +0,0 @@
1
- import { StageTravelEntityState } from "../enums/StageTravelEntityState";
2
- export interface StageTravelEntityDescription {
3
- initial: boolean;
4
- state: StageTravelEntityState;
5
- }
@@ -1,2 +0,0 @@
1
- local ____exports = {}
2
- return ____exports