isaacscript-common 76.3.0 → 77.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/classes/features/other/FlyingDetection.lua +2 -3
  2. package/dist/classes/features/other/ItemPoolDetection.d.ts +1 -1
  3. package/dist/classes/features/other/ItemPoolDetection.d.ts.map +1 -1
  4. package/dist/classes/features/other/ModdedElementSets.d.ts +20 -20
  5. package/dist/classes/features/other/ModdedElementSets.d.ts.map +1 -1
  6. package/dist/classes/features/other/ModdedElementSets.lua +75 -86
  7. package/dist/functions/array.d.ts +3 -3
  8. package/dist/functions/array.d.ts.map +1 -1
  9. package/dist/functions/array.lua +34 -28
  10. package/dist/functions/cards.lua +3 -3
  11. package/dist/functions/collectibles.d.ts +2 -2
  12. package/dist/functions/collectibles.d.ts.map +1 -1
  13. package/dist/functions/collectibles.lua +4 -5
  14. package/dist/functions/pills.d.ts +3 -3
  15. package/dist/functions/pills.d.ts.map +1 -1
  16. package/dist/functions/playerTrinkets.d.ts +1 -1
  17. package/dist/functions/playerTrinkets.d.ts.map +1 -1
  18. package/dist/index.rollup.d.ts +30 -30
  19. package/dist/isaacscript-common.lua +121 -128
  20. package/dist/sets/{itemConfigCardTypesForCardsSet.d.ts → itemConfigCardTypesForCards.d.ts} +2 -2
  21. package/dist/sets/itemConfigCardTypesForCards.d.ts.map +1 -0
  22. package/dist/sets/{itemConfigCardTypesForCardsSet.lua → itemConfigCardTypesForCards.lua} +1 -1
  23. package/dist/tsdoc-metadata.json +1 -1
  24. package/package.json +2 -2
  25. package/src/classes/features/other/ItemPoolDetection.ts +1 -1
  26. package/src/classes/features/other/ModdedElementSets.ts +106 -121
  27. package/src/functions/array.ts +12 -5
  28. package/src/functions/cards.ts +2 -2
  29. package/src/functions/collectibles.ts +7 -7
  30. package/src/functions/pills.ts +3 -3
  31. package/src/functions/playerTrinkets.ts +3 -1
  32. package/src/sets/{itemConfigCardTypesForCardsSet.ts → itemConfigCardTypesForCards.ts} +3 -1
  33. package/dist/sets/itemConfigCardTypesForCardsSet.d.ts.map +0 -1
@@ -2,10 +2,12 @@ import { ItemConfigCardType } from "isaac-typescript-definitions";
2
2
  import { ReadonlySet } from "../types/ReadonlySet";
3
3
 
4
4
  /** The set of all `ItemConfigCardType` values that are not a rune or special object. */
5
- export const ITEM_CONFIG_CARD_TYPES_FOR_CARDS_SET =
5
+ export const ITEM_CONFIG_CARD_TYPES_FOR_CARDS =
6
6
  new ReadonlySet<ItemConfigCardType>([
7
7
  ItemConfigCardType.TAROT, // 0
8
8
  ItemConfigCardType.SUIT, // 1
9
+ // - ItemConfigCardType.RUNE (2)
9
10
  ItemConfigCardType.SPECIAL, // 3
11
+ // - ItemConfigCardType.SPECIAL_OBJECT (4)
10
12
  ItemConfigCardType.TAROT_REVERSE, // 5
11
13
  ]);
@@ -1 +0,0 @@
1
- {"version":3,"file":"itemConfigCardTypesForCardsSet.d.ts","sourceRoot":"","sources":["../../src/sets/itemConfigCardTypesForCardsSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAGlE,wFAAwF;AACxF,eAAO,MAAM,oCAAoC,iCAM7C,CAAC"}