isaacscript-common 47.0.0 → 47.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.
@@ -1593,6 +1593,13 @@ export declare function closeDoorFast(door: GridEntityDoor): void;
1593
1593
  /** This is the initial value of the `EntityPickup.Wait` field after a collectible is spawned. */
1594
1594
  export declare const COLLECTIBLE_INITIAL_WAIT = 20;
1595
1595
 
1596
+ /**
1597
+ * Maps collectible names to the values of the `CollectibleType` enum.
1598
+ *
1599
+ * For a mapping of `CollectibleType` to name, see `COLLECTIBLE_TYPE_TO_NAME_MAP`.
1600
+ */
1601
+ export declare const COLLECTIBLE_NAME_TO_TYPE_MAP: ReadonlyMap<string, CollectibleType>;
1602
+
1596
1603
  /** Helper function to check in the item config if a given collectible has a given cache flag. */
1597
1604
  export declare function collectibleHasCacheFlag(collectibleOrCollectibleType: EntityPickup | CollectibleType, cacheFlag: CacheFlag): boolean;
1598
1605
 
@@ -4804,8 +4811,10 @@ export declare function getAzazelBrimstoneDistance(playerOrTearHeight: EntityPla
4804
4811
  export declare function getBatteries(batterySubType?: BatterySubType | -1): EntityPickupBattery[];
4805
4812
 
4806
4813
  /**
4807
- * Helper function to get a battery name from a `BatterySubType`, as listed in the "entities2.xml"
4808
- * file.
4814
+ * Helper function to get the name of a battery, as listed in the "entities2.xml" file. Returns
4815
+ * "Unknown" if the provided battery sub-type is not valid.
4816
+ *
4817
+ * This function only works for vanilla battery types.
4809
4818
  *
4810
4819
  * For example, `getBatteryName(BatterySubType.MICRO)` would return "Micro Battery".
4811
4820
  */
@@ -4820,7 +4829,10 @@ export declare function getBatteryName(batterySubType: BatterySubType): string;
4820
4829
  export declare function getBlueWombDoor(): GridEntityDoor | undefined;
4821
4830
 
4822
4831
  /**
4823
- * Helper function to get a bomb name from a `BombSubType`, as listed in the "entities2.xml" file.
4832
+ * Helper function to get the name of a bomb, as listed in the "entities2.xml" file. Returns
4833
+ * "Unknown" if the provided bomb sub-type is not valid.
4834
+ *
4835
+ * This function only works for vanilla bomb types.
4824
4836
  *
4825
4837
  * For example, `getBombName(BombSubType.DOUBLE_PACK)` would return "Double Bomb".
4826
4838
  */
@@ -4897,7 +4909,10 @@ export declare function getBossSet(stage: int, stageType: StageType): ReadonlySe
4897
4909
  export declare function getCardDescription(cardType: CardType): string;
4898
4910
 
4899
4911
  /**
4900
- * Helper function to get a card name from a `CardType`.
4912
+ * Helper function to get the name of a card. Returns "Unknown" if the provided card type is not
4913
+ * valid.
4914
+ *
4915
+ * This function works for both vanilla and modded trinkets.
4901
4916
  *
4902
4917
  * For example, `getCardName(Card.FOOL)` would return "0 - The Fool".
4903
4918
  */
@@ -4967,8 +4982,10 @@ export declare function getCharacterStartingTrinketType(character: PlayerType):
4967
4982
  export declare function getChargesAwayFromMax(player: EntityPlayer, activeSlot?: ActiveSlot): int;
4968
4983
 
4969
4984
  /**
4970
- * Helper function to get a chest name from a `PickupVariant`, as listed in the "entities2.xml"
4971
- * file. Returns "Unknown" if the pickup variant was not a chest.
4985
+ * Helper function to get the name of a chest, as listed in the "entities2.xml" file. Returns
4986
+ * "Unknown" if the pickup variant was not a chest.
4987
+ *
4988
+ * This function only works for vanilla chest types.
4972
4989
  *
4973
4990
  * For example, `getChestName(PickupVariant.SPIKED_CHEST)` would return "Spiked Chest".
4974
4991
  */
@@ -5024,7 +5041,10 @@ export declare function getClosestPlayer(position: Vector): EntityPlayer;
5024
5041
  export declare function getClosestVectorTo(referenceVector: Vector, vectors: Vector[]): Vector | undefined;
5025
5042
 
5026
5043
  /**
5027
- * Helper function to get a coin name from a `CoinSubType`, as listed in the "entities2.xml" file.
5044
+ * Helper function to get the name of a coin, as listed in the "entities2.xml" file. Returns
5045
+ * "Unknown" if the provided coin sub-type is not valid.
5046
+ *
5047
+ * This function only works for vanilla chest types.
5028
5048
  *
5029
5049
  * For example, `getCoinName(CoinSubType.DOUBLE_PACK)` would return "Double Penny".
5030
5050
  */
@@ -5104,9 +5124,9 @@ export declare function getCollectibleMaxCharges(collectibleOrCollectibleType: E
5104
5124
  * Helper function to get the name of a collectible. Returns "Unknown" if the provided collectible
5105
5125
  * type is not valid.
5106
5126
  *
5107
- * For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
5108
- *
5109
5127
  * This function works for both vanilla and modded collectibles.
5128
+ *
5129
+ * For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
5110
5130
  */
5111
5131
  export declare function getCollectibleName(collectibleOrCollectibleType: EntityPickup | CollectibleType): string;
5112
5132
 
@@ -5620,7 +5640,10 @@ export declare function getGridIndexDelta(roomShape: RoomShape, doorSlot: DoorSl
5620
5640
  export declare function getGridIndexesBetween(gridIndex1: int, gridIndex2: int, roomShape: RoomShape): int[];
5621
5641
 
5622
5642
  /**
5623
- * Helper function to get a heart name from a `HeartSubType`, as listed in the "entities2.xml" file.
5643
+ * Helper function to get the name of a heart, as listed in the "entities2.xml" file. Returns
5644
+ * "Unknown" if the provided heart sub-type is not valid.
5645
+ *
5646
+ * This function only works for vanilla heart types.
5624
5647
  *
5625
5648
  * For example, `getHeartName(HeartSubType.ETERNAL)` would return "Heart (eternal)".
5626
5649
  */
@@ -5742,7 +5765,10 @@ export declare function getJSONRoomsOfSubType(jsonRooms: JSONRoom[] | readonly J
5742
5765
  export declare function getKBitOfN(k: int, n: int): int;
5743
5766
 
5744
5767
  /**
5745
- * Helper function to get a key name from a `KeySubType`, as listed in the "entities2.xml" file.
5768
+ * Helper function to get the name of a key, as listed in the "entities2.xml" file. Returns
5769
+ * "Unknown" if the provided key sub-type is not valid.
5770
+ *
5771
+ * This function only works for vanilla key types.
5746
5772
  *
5747
5773
  * For example, `getKeyName(KeySubType.DOUBLE_PACK)` would return "Key Ring".
5748
5774
  */
@@ -6198,7 +6224,10 @@ export declare function getPillColorFromEffect(pillEffect: PillEffect): PillColo
6198
6224
  export declare function getPillEffectClass(pillEffect: PillEffect): ItemConfigPillEffectClass;
6199
6225
 
6200
6226
  /**
6201
- * Helper function to get a pill effect name from a `PillEffect`.
6227
+ * Helper function to get a pill effect name from a `PillEffect`. Returns "Unknown" if the provided
6228
+ * pill effect is not valid.
6229
+ *
6230
+ * This function works for both vanilla and modded pill effects.
6202
6231
  *
6203
6232
  * For example, `getPillEffectName(PillEffect.BAD_GAS)` would return "Bad Gas".
6204
6233
  */
@@ -7229,7 +7258,10 @@ export declare function getRoomVariant(roomGridIndex?: int): int | undefined;
7229
7258
  export declare function getRoomVisitedCount(roomGridIndex?: int): int;
7230
7259
 
7231
7260
  /**
7232
- * Helper function to get a sack name from a `SackSubType`, as listed in the "entities2.xml" file.
7261
+ * Helper function to get the name of a sack, as listed in the "entities2.xml" file. Returns
7262
+ * "Unknown" if the provided sack sub-type is not valid.
7263
+ *
7264
+ * This function only works for vanilla sack types.
7233
7265
  *
7234
7266
  * For example, `getSackName(SackSubType.NORMAL)` would return "Grab Bag".
7235
7267
  */
@@ -7543,9 +7575,9 @@ export declare function getTrinketGfxFilename(trinketType: TrinketType): string;
7543
7575
  * Helper function to get the name of a trinket. Returns "Unknown" if the provided trinket type is
7544
7576
  * not valid.
7545
7577
  *
7546
- * For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
7547
- *
7548
7578
  * This function works for both vanilla and modded trinkets.
7579
+ *
7580
+ * For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
7549
7581
  */
7550
7582
  export declare function getTrinketName(trinketType: TrinketType): string;
7551
7583
 
@@ -17575,6 +17607,13 @@ export declare function trimPrefix(string: string, prefix: string): string;
17575
17607
  /** Helper function to trim a suffix from a string, if it exists. Returns the trimmed string. */
17576
17608
  export declare function trimSuffix(string: string, prefix: string): string;
17577
17609
 
17610
+ /**
17611
+ * Maps trinket names to the values of the `TrinketType` enum.
17612
+ *
17613
+ * For a mapping of `TrinketType` to name, see `TRINKET_TYPE_TO_NAME_MAP`.
17614
+ */
17615
+ export declare const TRINKET_NAME_TO_TYPE_MAP: ReadonlyMap<string, TrinketType>;
17616
+
17578
17617
  /** Helper function to check in the item config if a given trinket has a given cache flag. */
17579
17618
  export declare function trinketHasCacheFlag(trinketType: TrinketType, cacheFlag: CacheFlag): boolean;
17580
17619
 
@@ -1,6 +1,6 @@
1
1
  --[[
2
2
 
3
- isaacscript-common 47.0.0
3
+ isaacscript-common 47.1.0
4
4
 
5
5
  This is the "isaacscript-common" library, which was created with the IsaacScript tool.
6
6
 
@@ -55879,6 +55879,14 @@ do
55879
55879
  end
55880
55880
  end
55881
55881
  end
55882
+ do
55883
+ local ____export = require("src.maps.collectibleNameToTypeMap")
55884
+ for ____exportKey, ____exportValue in pairs(____export) do
55885
+ if ____exportKey ~= "default" then
55886
+ ____exports[____exportKey] = ____exportValue
55887
+ end
55888
+ end
55889
+ end
55882
55890
  do
55883
55891
  local ____export = require("src.maps.pillNameToEffectMap")
55884
55892
  for ____exportKey, ____exportValue in pairs(____export) do
@@ -55903,6 +55911,14 @@ do
55903
55911
  end
55904
55912
  end
55905
55913
  end
55914
+ do
55915
+ local ____export = require("src.maps.trinketNameToTypeMap")
55916
+ for ____exportKey, ____exportValue in pairs(____export) do
55917
+ if ____exportKey ~= "default" then
55918
+ ____exports[____exportKey] = ____exportValue
55919
+ end
55920
+ end
55921
+ end
55906
55922
  do
55907
55923
  local ____export = require("src.objects.colors")
55908
55924
  for ____exportKey, ____exportValue in pairs(____export) do
@@ -57027,6 +57043,14 @@ do
57027
57043
  end
57028
57044
  end
57029
57045
  end
57046
+ do
57047
+ local ____export = require("src.maps.collectibleNameToTypeMap")
57048
+ for ____exportKey, ____exportValue in pairs(____export) do
57049
+ if ____exportKey ~= "default" then
57050
+ ____exports[____exportKey] = ____exportValue
57051
+ end
57052
+ end
57053
+ end
57030
57054
  do
57031
57055
  local ____export = require("src.maps.pillNameToEffectMap")
57032
57056
  for ____exportKey, ____exportValue in pairs(____export) do
@@ -57051,6 +57075,14 @@ do
57051
57075
  end
57052
57076
  end
57053
57077
  end
57078
+ do
57079
+ local ____export = require("src.maps.trinketNameToTypeMap")
57080
+ for ____exportKey, ____exportValue in pairs(____export) do
57081
+ if ____exportKey ~= "default" then
57082
+ ____exports[____exportKey] = ____exportValue
57083
+ end
57084
+ end
57085
+ end
57054
57086
  do
57055
57087
  local ____export = require("src.objects.colors")
57056
57088
  for ____exportKey, ____exportValue in pairs(____export) do
@@ -7,7 +7,10 @@ import { ItemConfigCardType } from "isaac-typescript-definitions";
7
7
  */
8
8
  export declare function getCardDescription(cardType: CardType): string;
9
9
  /**
10
- * Helper function to get a card name from a `CardType`.
10
+ * Helper function to get the name of a card. Returns "Unknown" if the provided card type is not
11
+ * valid.
12
+ *
13
+ * This function works for both vanilla and modded trinkets.
11
14
  *
12
15
  * For example, `getCardName(Card.FOOL)` would return "0 - The Fool".
13
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../../../src/functions/cards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAW,MAAM,8BAA8B,CAAC;AAW3E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAgB7D;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAgBtD;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,QAAQ,GACjB,kBAAkB,GAAG,SAAS,CAOhC;AAED;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAOlD;AAED,uFAAuF;AACvF,wBAAgB,UAAU,CACxB,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAET;AAED,wDAAwD;AACxD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAA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wBAAgB,UAAU,CACxB,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAET;AAED,wDAAwD;AACxD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE5D;AAED,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE9D;AAED,2EAA2E;AAC3E,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE9D;AAED,kEAAkE;AAClE,wBAAgB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAElD;AAED,qEAAqE;AACrE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAEzD;AAED,kEAAkE;AAClE,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAEtD;AAED,mEAAmE;AACnE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAEvD;AAED,iDAAiD;AACjD,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE7D;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAG1E"}
@@ -34,7 +34,10 @@ function ____exports.getCardDescription(self, cardType)
34
34
  end
35
35
  return DEFAULT_CARD_DESCRIPTION
36
36
  end
37
- --- Helper function to get a card name from a `CardType`.
37
+ --- Helper function to get the name of a card. Returns "Unknown" if the provided card type is not
38
+ -- valid.
39
+ --
40
+ -- This function works for both vanilla and modded trinkets.
38
41
  --
39
42
  -- For example, `getCardName(Card.FOOL)` would return "0 - The Fool".
40
43
  function ____exports.getCardName(self, cardType)
@@ -57,9 +57,9 @@ export declare function getCollectibleMaxCharges(collectibleOrCollectibleType: E
57
57
  * Helper function to get the name of a collectible. Returns "Unknown" if the provided collectible
58
58
  * type is not valid.
59
59
  *
60
- * For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
61
- *
62
60
  * This function works for both vanilla and modded collectibles.
61
+ *
62
+ * For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
63
63
  */
64
64
  export declare function getCollectibleName(collectibleOrCollectibleType: EntityPickup | CollectibleType): string;
65
65
  /**
@@ -265,9 +265,9 @@ end
265
265
  --- Helper function to get the name of a collectible. Returns "Unknown" if the provided collectible
266
266
  -- type is not valid.
267
267
  --
268
- -- For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
269
- --
270
268
  -- This function works for both vanilla and modded collectibles.
269
+ --
270
+ -- For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
271
271
  function ____exports.getCollectibleName(self, collectibleOrCollectibleType)
272
272
  local collectibleType = getCollectibleTypeFromArg(nil, collectibleOrCollectibleType, "getCollectibleName")
273
273
  local collectibleName = COLLECTIBLE_TYPE_TO_NAME_MAP:get(collectibleType)
@@ -1,26 +1,36 @@
1
1
  import type { BatterySubType, BombSubType, CoinSubType, HeartSubType, KeySubType, PickupVariant, SackSubType } from "isaac-typescript-definitions";
2
2
  /**
3
- * Helper function to get a battery name from a `BatterySubType`, as listed in the "entities2.xml"
4
- * file.
3
+ * Helper function to get the name of a battery, as listed in the "entities2.xml" file. Returns
4
+ * "Unknown" if the provided battery sub-type is not valid.
5
+ *
6
+ * This function only works for vanilla battery types.
5
7
  *
6
8
  * For example, `getBatteryName(BatterySubType.MICRO)` would return "Micro Battery".
7
9
  */
8
10
  export declare function getBatteryName(batterySubType: BatterySubType): string;
9
11
  /**
10
- * Helper function to get a bomb name from a `BombSubType`, as listed in the "entities2.xml" file.
12
+ * Helper function to get the name of a bomb, as listed in the "entities2.xml" file. Returns
13
+ * "Unknown" if the provided bomb sub-type is not valid.
14
+ *
15
+ * This function only works for vanilla bomb types.
11
16
  *
12
17
  * For example, `getBombName(BombSubType.DOUBLE_PACK)` would return "Double Bomb".
13
18
  */
14
19
  export declare function getBombName(bombSubType: BombSubType): string;
15
20
  /**
16
- * Helper function to get a chest name from a `PickupVariant`, as listed in the "entities2.xml"
17
- * file. Returns "Unknown" if the pickup variant was not a chest.
21
+ * Helper function to get the name of a chest, as listed in the "entities2.xml" file. Returns
22
+ * "Unknown" if the pickup variant was not a chest.
23
+ *
24
+ * This function only works for vanilla chest types.
18
25
  *
19
26
  * For example, `getChestName(PickupVariant.SPIKED_CHEST)` would return "Spiked Chest".
20
27
  */
21
28
  export declare function getChestName(pickupVariant: PickupVariant): string;
22
29
  /**
23
- * Helper function to get a coin name from a `CoinSubType`, as listed in the "entities2.xml" file.
30
+ * Helper function to get the name of a coin, as listed in the "entities2.xml" file. Returns
31
+ * "Unknown" if the provided coin sub-type is not valid.
32
+ *
33
+ * This function only works for vanilla chest types.
24
34
  *
25
35
  * For example, `getCoinName(CoinSubType.DOUBLE_PACK)` would return "Double Penny".
26
36
  */
@@ -31,13 +41,19 @@ export declare function getCoinName(coinSubType: CoinSubType): string;
31
41
  */
32
42
  export declare function getCoinValue(coinSubType: CoinSubType): int;
33
43
  /**
34
- * Helper function to get a heart name from a `HeartSubType`, as listed in the "entities2.xml" file.
44
+ * Helper function to get the name of a heart, as listed in the "entities2.xml" file. Returns
45
+ * "Unknown" if the provided heart sub-type is not valid.
46
+ *
47
+ * This function only works for vanilla heart types.
35
48
  *
36
49
  * For example, `getHeartName(HeartSubType.ETERNAL)` would return "Heart (eternal)".
37
50
  */
38
51
  export declare function getHeartName(heartSubType: HeartSubType): string;
39
52
  /**
40
- * Helper function to get a key name from a `KeySubType`, as listed in the "entities2.xml" file.
53
+ * Helper function to get the name of a key, as listed in the "entities2.xml" file. Returns
54
+ * "Unknown" if the provided key sub-type is not valid.
55
+ *
56
+ * This function only works for vanilla key types.
41
57
  *
42
58
  * For example, `getKeyName(KeySubType.DOUBLE_PACK)` would return "Key Ring".
43
59
  */
@@ -45,7 +61,10 @@ export declare function getKeyName(keySubType: KeySubType): string;
45
61
  /** Helper function to get all of the red heart pickup entities in the room. */
46
62
  export declare function getRedHearts(): EntityPickupHeart[];
47
63
  /**
48
- * Helper function to get a sack name from a `SackSubType`, as listed in the "entities2.xml" file.
64
+ * Helper function to get the name of a sack, as listed in the "entities2.xml" file. Returns
65
+ * "Unknown" if the provided sack sub-type is not valid.
66
+ *
67
+ * This function only works for vanilla sack types.
49
68
  *
50
69
  * For example, `getSackName(SackSubType.NORMAL)` would return "Grab Bag".
51
70
  */
@@ -1 +1 @@
1
- {"version":3,"file":"pickups.d.ts","sourceRoot":"","sources":["../../../src/functions/pickups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,WAAW,EACX,YAAY,EACZ,UAAU,EACV,aAAa,EACb,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAkBtC;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAIrE;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAI5D;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAGjE;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAI5D;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,WAAW,EAAE,WAAW,GAAG,GAAG,CAK1D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAI/D;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAIzD;AAED,+EAA+E;AAC/E,wBAAgB,YAAY,IAAI,iBAAiB,EAAE,CAGlD;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAI5D;AAED,gGAA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H,wBAAgB,WAAW,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAI5D;AAED,gGAAgG;AAChG,wBAAgB,OAAO,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAErD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,aAAa,EAAE,aAAa,GAAG,OAAO,CAEpE;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAExD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAErE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,iBAAiB,EAAE,CAGjE"}
@@ -38,28 +38,38 @@ local getHearts = ____pickupsSpecific.getHearts
38
38
  function ____exports.isChestVariant(self, pickupVariant)
39
39
  return CHEST_PICKUP_VARIANTS_SET:has(pickupVariant)
40
40
  end
41
- --- Helper function to get a battery name from a `BatterySubType`, as listed in the "entities2.xml"
42
- -- file.
41
+ --- Helper function to get the name of a battery, as listed in the "entities2.xml" file. Returns
42
+ -- "Unknown" if the provided battery sub-type is not valid.
43
+ --
44
+ -- This function only works for vanilla battery types.
43
45
  --
44
46
  -- For example, `getBatteryName(BatterySubType.MICRO)` would return "Micro Battery".
45
47
  function ____exports.getBatteryName(self, batterySubType)
46
48
  return BATTERY_NAMES[batterySubType] or DEFAULT_BATTERY_NAME
47
49
  end
48
- --- Helper function to get a bomb name from a `BombSubType`, as listed in the "entities2.xml" file.
50
+ --- Helper function to get the name of a bomb, as listed in the "entities2.xml" file. Returns
51
+ -- "Unknown" if the provided bomb sub-type is not valid.
52
+ --
53
+ -- This function only works for vanilla bomb types.
49
54
  --
50
55
  -- For example, `getBombName(BombSubType.DOUBLE_PACK)` would return "Double Bomb".
51
56
  function ____exports.getBombName(self, bombSubType)
52
57
  return BOMB_NAMES[bombSubType] or DEFAULT_BOMB_NAME
53
58
  end
54
- --- Helper function to get a chest name from a `PickupVariant`, as listed in the "entities2.xml"
55
- -- file. Returns "Unknown" if the pickup variant was not a chest.
59
+ --- Helper function to get the name of a chest, as listed in the "entities2.xml" file. Returns
60
+ -- "Unknown" if the pickup variant was not a chest.
61
+ --
62
+ -- This function only works for vanilla chest types.
56
63
  --
57
64
  -- For example, `getChestName(PickupVariant.SPIKED_CHEST)` would return "Spiked Chest".
58
65
  function ____exports.getChestName(self, pickupVariant)
59
66
  local chestNames = CHEST_NAMES
60
67
  return chestNames[pickupVariant] or "Unknown"
61
68
  end
62
- --- Helper function to get a coin name from a `CoinSubType`, as listed in the "entities2.xml" file.
69
+ --- Helper function to get the name of a coin, as listed in the "entities2.xml" file. Returns
70
+ -- "Unknown" if the provided coin sub-type is not valid.
71
+ --
72
+ -- This function only works for vanilla chest types.
63
73
  --
64
74
  -- For example, `getCoinName(CoinSubType.DOUBLE_PACK)` would return "Double Penny".
65
75
  function ____exports.getCoinName(self, coinSubType)
@@ -71,13 +81,19 @@ function ____exports.getCoinValue(self, coinSubType)
71
81
  local value = COIN_SUB_TYPE_TO_VALUE[coinSubType]
72
82
  return value or DEFAULT_COIN_VALUE
73
83
  end
74
- --- Helper function to get a heart name from a `HeartSubType`, as listed in the "entities2.xml" file.
84
+ --- Helper function to get the name of a heart, as listed in the "entities2.xml" file. Returns
85
+ -- "Unknown" if the provided heart sub-type is not valid.
86
+ --
87
+ -- This function only works for vanilla heart types.
75
88
  --
76
89
  -- For example, `getHeartName(HeartSubType.ETERNAL)` would return "Heart (eternal)".
77
90
  function ____exports.getHeartName(self, heartSubType)
78
91
  return HEART_NAMES[heartSubType] or DEFAULT_HEART_NAME
79
92
  end
80
- --- Helper function to get a key name from a `KeySubType`, as listed in the "entities2.xml" file.
93
+ --- Helper function to get the name of a key, as listed in the "entities2.xml" file. Returns
94
+ -- "Unknown" if the provided key sub-type is not valid.
95
+ --
96
+ -- This function only works for vanilla key types.
81
97
  --
82
98
  -- For example, `getKeyName(KeySubType.DOUBLE_PACK)` would return "Key Ring".
83
99
  function ____exports.getKeyName(self, keySubType)
@@ -91,7 +107,10 @@ function ____exports.getRedHearts(self)
91
107
  function(____, heart) return RED_HEART_SUB_TYPES_SET:has(heart.SubType) end
92
108
  )
93
109
  end
94
- --- Helper function to get a sack name from a `SackSubType`, as listed in the "entities2.xml" file.
110
+ --- Helper function to get the name of a sack, as listed in the "entities2.xml" file. Returns
111
+ -- "Unknown" if the provided sack sub-type is not valid.
112
+ --
113
+ -- This function only works for vanilla sack types.
95
114
  --
96
115
  -- For example, `getSackName(SackSubType.NORMAL)` would return "Grab Bag".
97
116
  function ____exports.getSackName(self, sackSubType)
@@ -60,7 +60,10 @@ export declare function getPillColorFromEffect(pillEffect: PillEffect): PillColo
60
60
  */
61
61
  export declare function getPillEffectClass(pillEffect: PillEffect): ItemConfigPillEffectClass;
62
62
  /**
63
- * Helper function to get a pill effect name from a `PillEffect`.
63
+ * Helper function to get a pill effect name from a `PillEffect`. Returns "Unknown" if the provided
64
+ * pill effect is not valid.
65
+ *
66
+ * This function works for both vanilla and modded pill effects.
64
67
  *
65
68
  * For example, `getPillEffectName(PillEffect.BAD_GAS)` would return "Bad Gas".
66
69
  */
@@ -1 +1 @@
1
- {"version":3,"file":"pills.d.ts","sourceRoot":"","sources":["../../../src/functions/pills.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACxB,UAAU,EACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAoCzD;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,SAAS,EAAE,CAE9C;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAGxE;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAEjE;AAED,4EAA4E;AAC5E,wBAAgB,kBAAkB,IAAI,SAAS,EA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,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAEjE;AAED,4EAA4E;AAC5E,wBAAgB,kBAAkB,IAAI,SAAS,EAAE,CAEhD;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAM3E;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,IAAI,SAAS,EAAE,CAEjD;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAGnE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,UAAU,GAAG,SAAS,CAWxE;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,UAAU,GACrB,yBAAyB,CAQ3B;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAgBhE;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,UAAU,GACrB,wBAAwB,CAQ1B;AAED,iGAAiG;AACjG,wBAAgB,UAAU,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAExD;AAED,sEAAsE;AACtE,wBAAgB,WAAW,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAEzD;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAElE;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAEnE"}
@@ -119,7 +119,10 @@ function ____exports.getPillEffectClass(self, pillEffect)
119
119
  local pillEffectClass = PILL_EFFECT_CLASSES[pillEffect]
120
120
  return pillEffectClass or DEFAULT_PILL_EFFECT_CLASS
121
121
  end
122
- --- Helper function to get a pill effect name from a `PillEffect`.
122
+ --- Helper function to get a pill effect name from a `PillEffect`. Returns "Unknown" if the provided
123
+ -- pill effect is not valid.
124
+ --
125
+ -- This function works for both vanilla and modded pill effects.
123
126
  --
124
127
  -- For example, `getPillEffectName(PillEffect.BAD_GAS)` would return "Bad Gas".
125
128
  function ____exports.getPillEffectName(self, pillEffect)
@@ -49,9 +49,9 @@ export declare function getTrinketGfxFilename(trinketType: TrinketType): string;
49
49
  * Helper function to get the name of a trinket. Returns "Unknown" if the provided trinket type is
50
50
  * not valid.
51
51
  *
52
- * For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
53
- *
54
52
  * This function works for both vanilla and modded trinkets.
53
+ *
54
+ * For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
55
55
  */
56
56
  export declare function getTrinketName(trinketType: TrinketType): string;
57
57
  export declare function isGoldenTrinketType(trinketType: TrinketType): boolean;
@@ -104,9 +104,9 @@ end
104
104
  --- Helper function to get the name of a trinket. Returns "Unknown" if the provided trinket type is
105
105
  -- not valid.
106
106
  --
107
- -- For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
108
- --
109
107
  -- This function works for both vanilla and modded trinkets.
108
+ --
109
+ -- For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
110
110
  function ____exports.getTrinketName(self, trinketType)
111
111
  local trinketName = TRINKET_TYPE_TO_NAME_MAP:get(trinketType)
112
112
  if trinketName ~= nil then
@@ -146,9 +146,11 @@ export * from "./interfaces/TSTLClassMetatable";
146
146
  export * from "./interfaces/TrinketSituation";
147
147
  export * from "./maps/cardNameToTypeMap";
148
148
  export * from "./maps/characterNameToTypeMap";
149
+ export * from "./maps/collectibleNameToTypeMap";
149
150
  export * from "./maps/pillNameToEffectMap";
150
151
  export * from "./maps/roomNameToTypeMap";
151
152
  export * from "./maps/transformationNameToPlayerFormMap";
153
+ export * from "./maps/trinketNameToTypeMap";
152
154
  export * from "./objects/colors";
153
155
  export * from "./objects/kColors";
154
156
  export * from "./types/AddSubtract";
@@ -1 +1 @@
1
- {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;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yCAAyC,CAAC;AACxD,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC"}
@@ -1079,6 +1079,14 @@ do
1079
1079
  end
1080
1080
  end
1081
1081
  end
1082
+ do
1083
+ local ____export = require("src.maps.collectibleNameToTypeMap")
1084
+ for ____exportKey, ____exportValue in pairs(____export) do
1085
+ if ____exportKey ~= "default" then
1086
+ ____exports[____exportKey] = ____exportValue
1087
+ end
1088
+ end
1089
+ end
1082
1090
  do
1083
1091
  local ____export = require("src.maps.pillNameToEffectMap")
1084
1092
  for ____exportKey, ____exportValue in pairs(____export) do
@@ -1103,6 +1111,14 @@ do
1103
1111
  end
1104
1112
  end
1105
1113
  end
1114
+ do
1115
+ local ____export = require("src.maps.trinketNameToTypeMap")
1116
+ for ____exportKey, ____exportValue in pairs(____export) do
1117
+ if ____exportKey ~= "default" then
1118
+ ____exports[____exportKey] = ____exportValue
1119
+ end
1120
+ end
1121
+ end
1106
1122
  do
1107
1123
  local ____export = require("src.objects.colors")
1108
1124
  for ____exportKey, ____exportValue in pairs(____export) do
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "47.0.0",
3
+ "version": "47.1.0",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -34,7 +34,10 @@ export function getCardDescription(cardType: CardType): string {
34
34
  }
35
35
 
36
36
  /**
37
- * Helper function to get a card name from a `CardType`.
37
+ * Helper function to get the name of a card. Returns "Unknown" if the provided card type is not
38
+ * valid.
39
+ *
40
+ * This function works for both vanilla and modded trinkets.
38
41
  *
39
42
  * For example, `getCardName(Card.FOOL)` would return "0 - The Fool".
40
43
  */
@@ -314,9 +314,9 @@ export function getCollectibleMaxCharges(
314
314
  * Helper function to get the name of a collectible. Returns "Unknown" if the provided collectible
315
315
  * type is not valid.
316
316
  *
317
- * For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
318
- *
319
317
  * This function works for both vanilla and modded collectibles.
318
+ *
319
+ * For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
320
320
  */
321
321
  export function getCollectibleName(
322
322
  collectibleOrCollectibleType: EntityPickup | CollectibleType,
@@ -25,8 +25,10 @@ import { isHeart } from "./pickupVariants";
25
25
  import { getHearts } from "./pickupsSpecific";
26
26
 
27
27
  /**
28
- * Helper function to get a battery name from a `BatterySubType`, as listed in the "entities2.xml"
29
- * file.
28
+ * Helper function to get the name of a battery, as listed in the "entities2.xml" file. Returns
29
+ * "Unknown" if the provided battery sub-type is not valid.
30
+ *
31
+ * This function only works for vanilla battery types.
30
32
  *
31
33
  * For example, `getBatteryName(BatterySubType.MICRO)` would return "Micro Battery".
32
34
  */
@@ -37,7 +39,10 @@ export function getBatteryName(batterySubType: BatterySubType): string {
37
39
  }
38
40
 
39
41
  /**
40
- * Helper function to get a bomb name from a `BombSubType`, as listed in the "entities2.xml" file.
42
+ * Helper function to get the name of a bomb, as listed in the "entities2.xml" file. Returns
43
+ * "Unknown" if the provided bomb sub-type is not valid.
44
+ *
45
+ * This function only works for vanilla bomb types.
41
46
  *
42
47
  * For example, `getBombName(BombSubType.DOUBLE_PACK)` would return "Double Bomb".
43
48
  */
@@ -48,8 +53,10 @@ export function getBombName(bombSubType: BombSubType): string {
48
53
  }
49
54
 
50
55
  /**
51
- * Helper function to get a chest name from a `PickupVariant`, as listed in the "entities2.xml"
52
- * file. Returns "Unknown" if the pickup variant was not a chest.
56
+ * Helper function to get the name of a chest, as listed in the "entities2.xml" file. Returns
57
+ * "Unknown" if the pickup variant was not a chest.
58
+ *
59
+ * This function only works for vanilla chest types.
53
60
  *
54
61
  * For example, `getChestName(PickupVariant.SPIKED_CHEST)` would return "Spiked Chest".
55
62
  */
@@ -59,7 +66,10 @@ export function getChestName(pickupVariant: PickupVariant): string {
59
66
  }
60
67
 
61
68
  /**
62
- * Helper function to get a coin name from a `CoinSubType`, as listed in the "entities2.xml" file.
69
+ * Helper function to get the name of a coin, as listed in the "entities2.xml" file. Returns
70
+ * "Unknown" if the provided coin sub-type is not valid.
71
+ *
72
+ * This function only works for vanilla chest types.
63
73
  *
64
74
  * For example, `getCoinName(CoinSubType.DOUBLE_PACK)` would return "Double Penny".
65
75
  */
@@ -81,7 +91,10 @@ export function getCoinValue(coinSubType: CoinSubType): int {
81
91
  }
82
92
 
83
93
  /**
84
- * Helper function to get a heart name from a `HeartSubType`, as listed in the "entities2.xml" file.
94
+ * Helper function to get the name of a heart, as listed in the "entities2.xml" file. Returns
95
+ * "Unknown" if the provided heart sub-type is not valid.
96
+ *
97
+ * This function only works for vanilla heart types.
85
98
  *
86
99
  * For example, `getHeartName(HeartSubType.ETERNAL)` would return "Heart (eternal)".
87
100
  */
@@ -92,7 +105,10 @@ export function getHeartName(heartSubType: HeartSubType): string {
92
105
  }
93
106
 
94
107
  /**
95
- * Helper function to get a key name from a `KeySubType`, as listed in the "entities2.xml" file.
108
+ * Helper function to get the name of a key, as listed in the "entities2.xml" file. Returns
109
+ * "Unknown" if the provided key sub-type is not valid.
110
+ *
111
+ * This function only works for vanilla key types.
96
112
  *
97
113
  * For example, `getKeyName(KeySubType.DOUBLE_PACK)` would return "Key Ring".
98
114
  */
@@ -109,7 +125,10 @@ export function getRedHearts(): EntityPickupHeart[] {
109
125
  }
110
126
 
111
127
  /**
112
- * Helper function to get a sack name from a `SackSubType`, as listed in the "entities2.xml" file.
128
+ * Helper function to get the name of a sack, as listed in the "entities2.xml" file. Returns
129
+ * "Unknown" if the provided sack sub-type is not valid.
130
+ *
131
+ * This function only works for vanilla sack types.
113
132
  *
114
133
  * For example, `getSackName(SackSubType.NORMAL)` would return "Grab Bag".
115
134
  */
@@ -149,9 +149,10 @@ export function getPillEffectClass(
149
149
  }
150
150
 
151
151
  /**
152
- * Helper function to get a pill effect name from a `PillEffect`.
152
+ * Helper function to get a pill effect name from a `PillEffect`. Returns "Unknown" if the provided
153
+ * pill effect is not valid.
153
154
  *
154
- * This function works for both vanilla and modded trinkets.
155
+ * This function works for both vanilla and modded pill effects.
155
156
  *
156
157
  * For example, `getPillEffectName(PillEffect.BAD_GAS)` would return "Bad Gas".
157
158
  */
@@ -121,9 +121,9 @@ export function getTrinketGfxFilename(trinketType: TrinketType): string {
121
121
  * Helper function to get the name of a trinket. Returns "Unknown" if the provided trinket type is
122
122
  * not valid.
123
123
  *
124
- * For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
125
- *
126
124
  * This function works for both vanilla and modded trinkets.
125
+ *
126
+ * For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
127
127
  */
128
128
  export function getTrinketName(trinketType: TrinketType): string {
129
129
  // "ItemConfigItem.Name" is bugged with vanilla items on patch v1.7.6, so we use a hard-coded map
package/src/index.ts CHANGED
@@ -146,9 +146,11 @@ export * from "./interfaces/TSTLClassMetatable";
146
146
  export * from "./interfaces/TrinketSituation";
147
147
  export * from "./maps/cardNameToTypeMap";
148
148
  export * from "./maps/characterNameToTypeMap";
149
+ export * from "./maps/collectibleNameToTypeMap";
149
150
  export * from "./maps/pillNameToEffectMap";
150
151
  export * from "./maps/roomNameToTypeMap";
151
152
  export * from "./maps/transformationNameToPlayerFormMap";
153
+ export * from "./maps/trinketNameToTypeMap";
152
154
  export * from "./objects/colors";
153
155
  export * from "./objects/kColors";
154
156
  export * from "./types/AddSubtract";