isaacscript-common 2.0.13 → 2.0.16

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 (72) hide show
  1. package/dist/callbacks/subscriptions/postBombInitLate.d.ts +1 -1
  2. package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +1 -1
  3. package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +1 -1
  4. package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +1 -1
  5. package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +2 -2
  6. package/dist/callbacks/subscriptions/postItemDischarged.d.ts +2 -2
  7. package/dist/callbacks/subscriptions/postItemPickup.d.ts +1 -1
  8. package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +1 -1
  9. package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +1 -1
  10. package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +1 -1
  11. package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +1 -1
  12. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +2 -2
  13. package/dist/callbacks/subscriptions/postPickupCollect.d.ts +1 -1
  14. package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +1 -1
  15. package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +1 -1
  16. package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +1 -1
  17. package/dist/callbacks/subscriptions/postPurchase.d.ts +1 -1
  18. package/dist/callbacks/subscriptions/postTearInitLate.d.ts +1 -1
  19. package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +1 -1
  20. package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +2 -2
  21. package/dist/callbacks/subscriptions/preItemPickup.d.ts +1 -1
  22. package/dist/constants.d.ts +16 -7
  23. package/dist/constants.lua +2 -2
  24. package/dist/features/characterHealthConversion.d.ts +1 -1
  25. package/dist/features/characterStats.d.ts +1 -1
  26. package/dist/features/deployJSONRoom.lua +2 -2
  27. package/dist/features/extraConsoleCommands/commands.d.ts +2 -0
  28. package/dist/features/extraConsoleCommands/commands.lua +14 -0
  29. package/dist/features/extraConsoleCommands/init.lua +1 -0
  30. package/dist/features/preventCollectibleRotate.d.ts +1 -1
  31. package/dist/features/sirenHelpers.d.ts +1 -1
  32. package/dist/functions/boss.d.ts +3 -3
  33. package/dist/functions/cards.d.ts +3 -3
  34. package/dist/functions/character.d.ts +10 -10
  35. package/dist/functions/collectibleCacheFlag.d.ts +2 -2
  36. package/dist/functions/collectibleSet.d.ts +1 -1
  37. package/dist/functions/collectibleTag.d.ts +3 -3
  38. package/dist/functions/collectibles.d.ts +15 -15
  39. package/dist/functions/collectibles.lua +2 -1
  40. package/dist/functions/entity.d.ts +7 -7
  41. package/dist/functions/entitySpecific.d.ts +38 -38
  42. package/dist/functions/familiars.lua +1 -1
  43. package/dist/functions/flying.d.ts +3 -3
  44. package/dist/functions/gridEntity.d.ts +2 -2
  45. package/dist/functions/gridEntity.lua +0 -4
  46. package/dist/functions/level.d.ts +1 -0
  47. package/dist/functions/level.lua +29 -0
  48. package/dist/functions/log.d.ts +2 -2
  49. package/dist/functions/npc.d.ts +1 -1
  50. package/dist/functions/pickups.d.ts +24 -24
  51. package/dist/functions/pills.d.ts +3 -3
  52. package/dist/functions/player.d.ts +24 -17
  53. package/dist/functions/player.lua +20 -9
  54. package/dist/functions/rooms.d.ts +24 -1
  55. package/dist/functions/rooms.lua +56 -21
  56. package/dist/functions/run.d.ts +1 -1
  57. package/dist/functions/spawnCollectible.d.ts +1 -1
  58. package/dist/functions/transformations.d.ts +2 -2
  59. package/dist/functions/trinketCacheFlag.d.ts +2 -2
  60. package/dist/functions/trinketGive.d.ts +2 -2
  61. package/dist/functions/trinketSet.d.ts +1 -1
  62. package/dist/functions/trinkets.d.ts +5 -5
  63. package/dist/functions/trinkets.lua +2 -2
  64. package/dist/index.d.ts +1 -0
  65. package/dist/index.lua +8 -0
  66. package/dist/objects/roomShapeToDoorSlots.d.ts +1 -1
  67. package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +3 -3
  68. package/dist/sets/mineShaftRoomSubTypesSet.d.ts +2 -0
  69. package/dist/sets/mineShaftRoomSubTypesSet.lua +14 -0
  70. package/dist/types/PickingUpItem.d.ts +17 -4
  71. package/dist/types/TrinketSituation.d.ts +3 -3
  72. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import { TrinketType } from "isaac-typescript-definitions";
2
2
  export interface TrinketSituation {
3
- trinketTypeRemoved: TrinketType | int;
4
- trinketType1: TrinketType | int;
5
- trinketType2: TrinketType | int;
3
+ trinketTypeRemoved: TrinketType;
4
+ trinketType1: TrinketType;
5
+ trinketType2: TrinketType;
6
6
  numSmeltedTrinkets: int;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "2.0.13",
3
+ "version": "2.0.16",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",
@@ -25,7 +25,7 @@
25
25
  "dist/**/*.d.ts"
26
26
  ],
27
27
  "dependencies": {
28
- "isaac-typescript-definitions": "^2.0.15"
28
+ "isaac-typescript-definitions": "^2.0.20"
29
29
  },
30
30
  "devDependencies": {
31
31
  "isaacscript-lint": "^1.0.150",