isaacscript-common 61.0.0 → 62.0.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 (55) hide show
  1. package/dist/index.rollup.d.ts +2 -2
  2. package/dist/isaacscript-common.lua +1889 -1902
  3. package/dist/src/functions/collectibles.d.ts.map +1 -1
  4. package/dist/src/functions/collectibles.lua +8 -8
  5. package/dist/src/functions/frames.lua +2 -2
  6. package/dist/src/functions/trinkets.d.ts.map +1 -1
  7. package/dist/src/functions/trinkets.lua +8 -8
  8. package/dist/src/maps/collectibleNameToTypeMap.d.ts +3 -2
  9. package/dist/src/maps/collectibleNameToTypeMap.d.ts.map +1 -1
  10. package/dist/src/maps/collectibleNameToTypeMap.lua +16 -23
  11. package/dist/src/maps/trinketNameToTypeMap.d.ts +1 -1
  12. package/dist/src/maps/trinketNameToTypeMap.d.ts.map +1 -1
  13. package/dist/src/maps/trinketNameToTypeMap.lua +7 -6
  14. package/dist/src/objects/collectibleDescriptions.d.ts +727 -0
  15. package/dist/src/objects/collectibleDescriptions.d.ts.map +1 -0
  16. package/dist/src/objects/collectibleDescriptions.lua +730 -0
  17. package/dist/src/objects/collectibleNames.d.ts +731 -0
  18. package/dist/src/objects/collectibleNames.d.ts.map +1 -0
  19. package/dist/src/objects/collectibleNames.lua +732 -0
  20. package/dist/src/objects/pillEffectTypeToPillEffects.d.ts +0 -1
  21. package/dist/src/objects/pillEffectTypeToPillEffects.d.ts.map +1 -1
  22. package/dist/src/objects/pillEffectTypeToPillEffects.lua +0 -1
  23. package/dist/src/objects/trinketDescriptions.d.ts +194 -0
  24. package/dist/src/objects/trinketDescriptions.d.ts.map +1 -0
  25. package/dist/src/objects/trinketDescriptions.lua +197 -0
  26. package/dist/src/objects/trinketNames.d.ts +198 -0
  27. package/dist/src/objects/trinketNames.d.ts.map +1 -0
  28. package/dist/src/objects/trinketNames.lua +199 -0
  29. package/package.json +2 -2
  30. package/src/functions/collectibles.ts +10 -7
  31. package/src/functions/frames.ts +2 -2
  32. package/src/functions/trinkets.ts +10 -11
  33. package/src/maps/collectibleNameToTypeMap.ts +20 -11
  34. package/src/maps/trinketNameToTypeMap.ts +4 -3
  35. package/src/objects/collectibleDescriptions.ts +743 -0
  36. package/src/objects/collectibleNames.ts +744 -0
  37. package/src/objects/pillEffectTypeToPillEffects.ts +0 -5
  38. package/src/objects/trinketDescriptions.ts +199 -0
  39. package/src/objects/trinketNames.ts +201 -0
  40. package/dist/src/maps/collectibleDescriptionMap.d.ts +0 -10
  41. package/dist/src/maps/collectibleDescriptionMap.d.ts.map +0 -1
  42. package/dist/src/maps/collectibleDescriptionMap.lua +0 -733
  43. package/dist/src/maps/collectibleTypeToNameMap.d.ts +0 -12
  44. package/dist/src/maps/collectibleTypeToNameMap.d.ts.map +0 -1
  45. package/dist/src/maps/collectibleTypeToNameMap.lua +0 -735
  46. package/dist/src/maps/trinketDescriptionMap.d.ts +0 -10
  47. package/dist/src/maps/trinketDescriptionMap.d.ts.map +0 -1
  48. package/dist/src/maps/trinketDescriptionMap.lua +0 -201
  49. package/dist/src/maps/trinketTypeToNameMap.d.ts +0 -12
  50. package/dist/src/maps/trinketTypeToNameMap.d.ts.map +0 -1
  51. package/dist/src/maps/trinketTypeToNameMap.lua +0 -203
  52. package/src/maps/collectibleDescriptionMap.ts +0 -738
  53. package/src/maps/collectibleTypeToNameMap.ts +0 -738
  54. package/src/maps/trinketDescriptionMap.ts +0 -203
  55. package/src/maps/trinketTypeToNameMap.ts +0 -203
@@ -1,203 +0,0 @@
1
- /* cspell:disable */
2
-
3
- import type { TrinketType } from "isaac-typescript-definitions";
4
- import { ReadonlyMap } from "../types/ReadonlyMap";
5
-
6
- export const DEFAULT_TRINKET_DESCRIPTION = "Unknown";
7
-
8
- /**
9
- * Maps trinket types to the real English descriptions from the "stringtable.sta" file.
10
- *
11
- * This is a temporary map due to missing features in the vanilla API. (Otherwise, this would be
12
- * converted to a type-safe object.)
13
- */
14
- export const TRINKET_DESCRIPTION_MAP = new ReadonlyMap<TrinketType, string>([
15
- [1, "Gulp!"],
16
- [2, "It feels lucky?"],
17
- [3, "Trickle charge"],
18
- [4, "It's broken"],
19
- [5, "Challenge up"],
20
- [6, "It kinda works"],
21
- [7, "Faith up"],
22
- [8, "I remember these"],
23
- [9, "Wub wub!"],
24
- [10, "Wiggle waggle!"],
25
- [11, "Woop woop!"],
26
- [12, "Blub blub!"],
27
- [13, "YES!"],
28
- [14, "Your feet feel stronger"],
29
- [15, "There's something inside it"],
30
- [16, "???"],
31
- [17, "Evil up"],
32
- [18, "Faith up"],
33
- [19, "Master of lockpicking"],
34
- [20, "Wish granted"],
35
- [21, "???"],
36
- [22, "Evil up"],
37
- [23, "???"],
38
- [24, "Wealth of gas"],
39
- [25, "Uh-oh!"],
40
- [26, "Zip zoop!"],
41
- [27, "Wooosh!"],
42
- [28, "Eternal life?"],
43
- [29, "It stinks"],
44
- [30, "Poison shots"],
45
- [31, "Piercing shots"],
46
- [32, "Touch fuzzy, get dizzy"],
47
- [33, "Fetal protection"],
48
- [34, "It calls out to its brothers"],
49
- [35, "DMG up"],
50
- [36, "It feels lucky?"],
51
- [37, "Speed up"],
52
- [38, "It emanates purity "],
53
- [39, "Yay, cancer!"],
54
- [40, "Your rage grows"],
55
- [41, "Tastes like burning"],
56
- [42, "Luck up!"],
57
- [43, "Cursed?"],
58
- [44, "Don't swallow it"],
59
- [45, "Luck of the draw"],
60
- [46, "Consume thy enemy"],
61
- [48, "It glows with power"],
62
- [49, "Wealth of health"],
63
- [50, "Wealth of chaos"],
64
- [51, "Wealth of answers"],
65
- [52, "Wealth of wealth"],
66
- [53, "Well, that's not coming off"],
67
- [54, "Dead friend"],
68
- [55, "Faith's reward"],
69
- [56, "Payment received "],
70
- [57, "Imaginary friend"],
71
- [58, "Your rage grows"],
72
- [59, "May you see your destination"],
73
- [60, "Revenge from beyond"],
74
- [61, "The left-hand path reaps dark rewards"],
75
- [62, "It shines for its brothers"],
76
- [63, "Fuse cutter"],
77
- [64, "Bleep bloop blop"],
78
- [65, "Floooooooooop!"],
79
- [66, "Pft"],
80
- [67, "You feel cursed... kinda."],
81
- [68, "It pulls"],
82
- [69, "You feel faded"],
83
- [70, "Itchy, tasty..."],
84
- [71, "Creepy bombs"],
85
- [72, "Lil charge"],
86
- [73, "Pop! Pop!"],
87
- [74, "The ground below feels hollow..."],
88
- [75, "Effect not found?"],
89
- [76, "It's double down time!"],
90
- [77, "Bounce back!"],
91
- [78, "Extended stat effect time!"],
92
- [79, "I'm stuck in a loop..."],
93
- [80, "With darkness comes power"],
94
- [81, "Blind to damage"],
95
- [82, "Feel lucky?"],
96
- [83, "Stores are open"],
97
- [84, "Feels greedy"],
98
- [85, "Karma up"],
99
- [86, "The poop is moving..."],
100
- [87, "You feel her love"],
101
- [88, "Never again!"],
102
- [89, "Keep your friends close..."],
103
- [90, "Fartoom!"],
104
- [91, "Eww"],
105
- [92, "Stat booster"],
106
- [93, "You stink"],
107
- [94, "It also stinks!"],
108
- [95, "It looks dead"],
109
- [96, "Foop foop!"],
110
- [97, "Sick..."],
111
- [98, "Seems magic..."],
112
- [99, "Boing!"],
113
- [100, "It needs power"],
114
- [101, "I think it's broken"],
115
- [102, "Double moon"],
116
- [103, "="],
117
- [104, "Make a wish"],
118
- [105, "I wonder what it is"],
119
- [106, "Uncorked"],
120
- [107, "Drain me"],
121
- [108, "That's a hard nut to crack!"],
122
- [109, "Stuck!"],
123
- [110, "Feels lucky..."],
124
- [111, "Drips with blood..."],
125
- [112, "..."],
126
- [113, "I bring War"],
127
- [114, "I bring Pestilence"],
128
- [115, "I bring Famine"],
129
- [116, "I bring Death"],
130
- [117, "I bring Conquest"],
131
- [118, "They are growing..."],
132
- [119, "Regen!"],
133
- [120, "Danger charge"],
134
- [121, "My faith protects me"],
135
- [122, "Can't hold it!"],
136
- [123, "Angelic spoils"],
137
- [124, "Hold the door"],
138
- [125, "Charged friends"],
139
- [126, "Wealth of flies"],
140
- [127, "Feed them magic!"],
141
- [128, "It looks brittle"],
142
- [129, "Don't chew on it"],
143
- [130, "It's leaking"],
144
- [131, "Wealth of purity"],
145
- [132, "Mystery medicine"],
146
- [133, "Faster explosions"],
147
- [134, "Mega farts"],
148
- [135, "Watch the world burn"],
149
- [136, "Bombs are key"],
150
- [137, "Forget me not..."],
151
- [138, "t's broken9Reroll your dest "],
152
- [139, "It feels lucky"],
153
- [140, "It feels empty"],
154
- [141, "Sing for your friends"],
155
- [142, "My faith protects me"],
156
- [143, "Voltage starving"],
157
- [144, "Ding!"],
158
- [145, "Luck way up. Don't lose it!"],
159
- [146, "His special customer"],
160
- [147, "Wealth of power"],
161
- [148, "Gather round"],
162
- [149, "Push in case of emergency"],
163
- [150, "Look between the rooms"],
164
- [151, "No more spikes"],
165
- [152, "Seek the stars"],
166
- [153, "A piece of her love"],
167
- [154, "Bonus roll"],
168
- [155, "Walk the path of the saint"],
169
- [156, "HP up"],
170
- [157, "Death awaits"],
171
- [158, "A hole in your pocket"],
172
- [159, "Less is more"],
173
- [160, "Free goodies!"],
174
- [161, "Walk the path of the wicked"],
175
- [162, "Unleash your inner demon"],
176
- [163, "Oops!"],
177
- [164, "Twice the bang!"],
178
- [165, "Don't want!"],
179
- [166, "???"],
180
- [167, "Friends from beyond"],
181
- [168, "A brittle blessing"],
182
- [169, "Looks familiar..."],
183
- [170, "Call to the other side"],
184
- [171, "Money talks"],
185
- [172, "Wealth of misery"],
186
- [173, "Give it to me"],
187
- [174, "6"],
188
- [175, "What could it open?"],
189
- [176, "Mini friend"],
190
- [177, "You feel braver"],
191
- [178, "Bang!"],
192
- [179, "Controllable buddies!"],
193
- [180, "Finally!"],
194
- [181, "Fun extras"],
195
- [182, "Virtue's reward"],
196
- [183, "I'm seeing double..."],
197
- [184, "Give them a home"],
198
- [185, "Infested"],
199
- [186, "Attack buddy"],
200
- [187, "Double vision?"],
201
- [188, "Stay frosty"],
202
- [189, "Revel in death"],
203
- ]);
@@ -1,203 +0,0 @@
1
- import type { TrinketType } from "isaac-typescript-definitions";
2
- import { ReadonlyMap } from "../types/ReadonlyMap";
3
-
4
- export const DEFAULT_TRINKET_NAME = "Unknown";
5
-
6
- /**
7
- * Maps trinket types to the real English names from the "stringtable.sta" file.
8
- *
9
- * This is a temporary map due to missing features in the vanilla API. (Otherwise, this would be
10
- * converted to a type-safe object.)
11
- *
12
- * For a mapping of name to `TrinketType`, see `TRINKET_NAME_TO_TYPE_MAP`.
13
- */
14
- export const TRINKET_TYPE_TO_NAME_MAP = new ReadonlyMap<TrinketType, string>([
15
- [1, "Swallowed Penny"],
16
- [2, "Petrified Poop"],
17
- [3, "AAA Battery"],
18
- [4, "Broken Remote"],
19
- [5, "Purple Heart"],
20
- [6, "Broken Magnet"],
21
- [7, "Rosary Bead"],
22
- [8, "Cartridge"],
23
- [9, "Pulse Worm"],
24
- [10, "Wiggle Worm"],
25
- [11, "Ring Worm"],
26
- [12, "Flat Worm"],
27
- [13, "Store Credit"],
28
- [14, "Callus"],
29
- [15, "Lucky Rock"],
30
- [16, "Mom's Toenail"],
31
- [17, "Black Lipstick"],
32
- [18, "Bible Tract"],
33
- [19, "Paper Clip"],
34
- [20, "Monkey Paw"],
35
- [21, "Mysterious Paper"],
36
- [22, "Daemon's Tail"],
37
- [23, "Missing Poster"],
38
- [24, "Butt Penny"],
39
- [25, "Mysterious Candy"],
40
- [26, "Hook Worm"],
41
- [27, "Whip Worm"],
42
- [28, "Broken Ankh"],
43
- [29, "Fish Head"],
44
- [30, "Pinky Eye"],
45
- [31, "Push Pin"],
46
- [32, "Liberty Cap"],
47
- [33, "Umbilical Cord"],
48
- [34, "Child's Heart"],
49
- [35, "Curved Horn"],
50
- [36, "Rusted Key"],
51
- [37, "Goat Hoof"],
52
- [38, "Mom's Pearl"],
53
- [39, "Cancer"],
54
- [40, "Red Patch"],
55
- [41, "Match Stick"],
56
- [42, "Lucky Toe"],
57
- [43, "Cursed Skull"],
58
- [44, "Safety Cap"],
59
- [45, "Ace of Spades"],
60
- [46, "Isaac's Fork"],
61
- [48, "A Missing Page"],
62
- [49, "Bloody Penny"],
63
- [50, "Burnt Penny"],
64
- [51, "Flat Penny"],
65
- [52, "Counterfeit Penny"],
66
- [53, "Tick"],
67
- [54, "Isaac's Head"],
68
- [55, "Maggy's Faith"],
69
- [56, "Judas' Tongue"],
70
- [57, "???'s Soul"],
71
- [58, "Samson's Lock"],
72
- [59, "Cain's Eye"],
73
- [60, "Eve's Bird Foot"],
74
- [61, "The Left Hand"],
75
- [62, "Shiny Rock"],
76
- [63, "Safety Scissors"],
77
- [64, "Rainbow Worm"],
78
- [65, "Tape Worm"],
79
- [66, "Lazy Worm"],
80
- [67, "Cracked Dice"],
81
- [68, "Super Magnet"],
82
- [69, "Faded Polaroid"],
83
- [70, "Louse"],
84
- [71, "Bob's Bladder"],
85
- [72, "Watch Battery"],
86
- [73, "Blasting Cap"],
87
- [74, "Stud Finder"],
88
- [75, "Error"],
89
- [76, "Poker Chip"],
90
- [77, "Blister"],
91
- [78, "Second Hand"],
92
- [79, "Endless Nameless"],
93
- [80, "Black Feather"],
94
- [81, "Blind Rage"],
95
- [82, "Golden Horse Shoe"],
96
- [83, "Store Key"],
97
- [84, "Rib of Greed"],
98
- [85, "Karma"],
99
- [86, "Lil Larva"],
100
- [87, "Mom's Locket"],
101
- [88, "NO!"],
102
- [89, "Child Leash"],
103
- [90, "Brown Cap"],
104
- [91, "Meconium"],
105
- [92, "Cracked Crown"],
106
- [93, "Used Diaper"],
107
- [94, "Fish Tail"],
108
- [95, "Black Tooth"],
109
- [96, "Ouroboros Worm"],
110
- [97, "Tonsil"],
111
- [98, "Nose Goblin"],
112
- [99, "Super Ball"],
113
- [100, "Vibrant Bulb"],
114
- [101, "Dim Bulb"],
115
- [102, "Fragmented Card"],
116
- [103, "Equality!"],
117
- [104, "Wish Bone"],
118
- [105, "Bag Lunch"],
119
- [106, "Lost Cork"],
120
- [107, "Crow Heart"],
121
- [108, "Walnut"],
122
- [109, "Duct Tape"],
123
- [110, "Silver Dollar"],
124
- [111, "Bloody Crown"],
125
- [112, "Pay To Win"],
126
- [113, "Locust of War"],
127
- [114, "Locust of Pestilence"],
128
- [115, "Locust of Famine"],
129
- [116, "Locust of Death"],
130
- [117, "Locust of Conquest"],
131
- [118, "Bat Wing"],
132
- [119, "Stem Cell"],
133
- [120, "Hairpin"],
134
- [121, "Wooden Cross"],
135
- [122, "Butter!"],
136
- [123, "Filigree Feather"],
137
- [124, "Door Stop"],
138
- [125, "Extension Cord"],
139
- [126, "Rotten Penny"],
140
- [127, "Baby-Bender"],
141
- [128, "Finger Bone"],
142
- [129, "Jawbreaker"],
143
- [130, "Chewed Pen"],
144
- [131, "Blessed Penny"],
145
- [132, "Broken Syringe"],
146
- [133, "Short Fuse"],
147
- [134, "Gigante Bean"],
148
- [135, "A Lighter"],
149
- [136, "Broken Padlock"],
150
- [137, "Myosotis"],
151
- [138, " 'M"],
152
- [139, "Teardrop Charm"],
153
- [140, "Apple of Sodom"],
154
- [141, "Forgotten Lullaby"],
155
- [142, "Beth's Faith"],
156
- [143, "Old Capacitor"],
157
- [144, "Brain Worm"],
158
- [145, "Perfection"],
159
- [146, "Devil's Crown"],
160
- [147, "Charged Penny"],
161
- [148, "Friendship Necklace"],
162
- [149, "Panic Button"],
163
- [150, "Blue Key"],
164
- [151, "Flat File"],
165
- [152, "Telescope Lens"],
166
- [153, "Mom's Lock"],
167
- [154, "Dice Bag"],
168
- [155, "Holy Crown"],
169
- [156, "Mother's Kiss"],
170
- [157, "Torn Card"],
171
- [158, "Torn Pocket"],
172
- [159, "Gilded Key"],
173
- [160, "Lucky Sack"],
174
- [161, "Wicked Crown"],
175
- [162, "Azazel's Stump"],
176
- [163, "Dingle Berry"],
177
- [164, "Ring Cap"],
178
- [165, "Nuh Uh!"],
179
- [166, "Modeling Clay"],
180
- [167, "Polished Bone"],
181
- [168, "Hollow Heart"],
182
- [169, "Kid's Drawing"],
183
- [170, "Crystal Key"],
184
- [171, "Keeper's Bargain"],
185
- [172, "Cursed Penny"],
186
- [173, "Your Soul"],
187
- [174, "Number Magnet"],
188
- [175, "Strange Key"],
189
- [176, "Lil Clot"],
190
- [177, "Temporary Tattoo"],
191
- [178, "Swallowed M80"],
192
- [179, "RC Remote"],
193
- [180, "Found Soul"],
194
- [181, "Expansion Pack"],
195
- [182, "Beth's Essence"],
196
- [183, "The Twins"],
197
- [184, "Adoption Papers"],
198
- [185, "Cricket Leg"],
199
- [186, "Apollyon's Best Friend"],
200
- [187, "Broken Glasses"],
201
- [188, "Ice Cube"],
202
- [189, "Sigil of Baphomet"],
203
- ]);