isaacscript-common 2.0.16 → 2.0.19

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 (180) hide show
  1. package/dist/callbacks/itemPickup.lua +3 -3
  2. package/dist/callbacks/postCustomDoorEnter.d.ts +5 -3
  3. package/dist/callbacks/postDoorRender.d.ts +1 -0
  4. package/dist/callbacks/postDoorRender.lua +24 -0
  5. package/dist/callbacks/postDoorUpdate.d.ts +1 -0
  6. package/dist/callbacks/postDoorUpdate.lua +24 -0
  7. package/dist/callbacks/postEffectStateChanged.lua +1 -1
  8. package/dist/callbacks/postFamiliarStateChanged.lua +1 -1
  9. package/dist/callbacks/postGridEntity.lua +5 -4
  10. package/dist/callbacks/postGridEntityRender.d.ts +1 -0
  11. package/dist/callbacks/postGridEntityRender.lua +24 -0
  12. package/dist/callbacks/postItemDischarged.lua +5 -5
  13. package/dist/callbacks/postNPCStateChanged.lua +1 -1
  14. package/dist/callbacks/postPickupStateChanged.lua +1 -1
  15. package/dist/callbacks/postPitRender.d.ts +1 -0
  16. package/dist/callbacks/postPitRender.lua +24 -0
  17. package/dist/callbacks/postPitUpdate.d.ts +1 -0
  18. package/dist/callbacks/postPitUpdate.lua +24 -0
  19. package/dist/callbacks/postPlayerChangeType.lua +1 -1
  20. package/dist/callbacks/postPoopRender.d.ts +1 -0
  21. package/dist/callbacks/postPoopRender.lua +24 -0
  22. package/dist/callbacks/postPoopUpdate.d.ts +1 -0
  23. package/dist/callbacks/postPoopUpdate.lua +24 -0
  24. package/dist/callbacks/postPressurePlateRender.d.ts +1 -0
  25. package/dist/callbacks/postPressurePlateRender.lua +24 -0
  26. package/dist/callbacks/postPressurePlateUpdate.d.ts +1 -0
  27. package/dist/callbacks/postPressurePlateUpdate.lua +24 -0
  28. package/dist/callbacks/postRockRender.d.ts +1 -0
  29. package/dist/callbacks/postRockRender.lua +24 -0
  30. package/dist/callbacks/postRockUpdate.d.ts +1 -0
  31. package/dist/callbacks/postRockUpdate.lua +24 -0
  32. package/dist/callbacks/postSlotRender.lua +1 -1
  33. package/dist/callbacks/postSpikesRender.d.ts +1 -0
  34. package/dist/callbacks/postSpikesRender.lua +24 -0
  35. package/dist/callbacks/postSpikesUpdate.d.ts +1 -0
  36. package/dist/callbacks/postSpikesUpdate.lua +24 -0
  37. package/dist/callbacks/postTNTRender.d.ts +1 -0
  38. package/dist/callbacks/postTNTRender.lua +24 -0
  39. package/dist/callbacks/postTNTUpdate.d.ts +1 -0
  40. package/dist/callbacks/postTNTUpdate.lua +24 -0
  41. package/dist/callbacks/subscriptions/postDoorRender.d.ts +5 -0
  42. package/dist/callbacks/subscriptions/postDoorRender.lua +24 -0
  43. package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +5 -0
  44. package/dist/callbacks/subscriptions/postDoorUpdate.lua +24 -0
  45. package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +2 -1
  46. package/dist/callbacks/subscriptions/postGridEntityBroken.lua +8 -2
  47. package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +2 -1
  48. package/dist/callbacks/subscriptions/postGridEntityCollision.lua +5 -0
  49. package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +2 -1
  50. package/dist/callbacks/subscriptions/postGridEntityInit.lua +8 -2
  51. package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +2 -1
  52. package/dist/callbacks/subscriptions/postGridEntityRemove.lua +5 -1
  53. package/dist/callbacks/subscriptions/postGridEntityRender.d.ts +6 -0
  54. package/dist/callbacks/subscriptions/postGridEntityRender.lua +29 -0
  55. package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +2 -1
  56. package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +8 -2
  57. package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +2 -1
  58. package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +8 -2
  59. package/dist/callbacks/subscriptions/postItemPickup.d.ts +9 -5
  60. package/dist/callbacks/subscriptions/postItemPickup.lua +2 -2
  61. package/dist/callbacks/subscriptions/postPitRender.d.ts +5 -0
  62. package/dist/callbacks/subscriptions/postPitRender.lua +24 -0
  63. package/dist/callbacks/subscriptions/postPitUpdate.d.ts +5 -0
  64. package/dist/callbacks/subscriptions/postPitUpdate.lua +24 -0
  65. package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +3 -2
  66. package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +5 -0
  67. package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +3 -2
  68. package/dist/callbacks/subscriptions/postPlayerChangeType.lua +8 -1
  69. package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +3 -2
  70. package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +5 -0
  71. package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +3 -2
  72. package/dist/callbacks/subscriptions/postPlayerInitLate.lua +5 -0
  73. package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts +3 -2
  74. package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +5 -0
  75. package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +3 -2
  76. package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +5 -0
  77. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +3 -2
  78. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +5 -0
  79. package/dist/callbacks/subscriptions/postPoopRender.d.ts +5 -0
  80. package/dist/callbacks/subscriptions/postPoopRender.lua +24 -0
  81. package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +5 -0
  82. package/dist/callbacks/subscriptions/postPoopUpdate.lua +24 -0
  83. package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +5 -0
  84. package/dist/callbacks/subscriptions/postPressurePlateRender.lua +24 -0
  85. package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +5 -0
  86. package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +24 -0
  87. package/dist/callbacks/subscriptions/postRockRender.d.ts +5 -0
  88. package/dist/callbacks/subscriptions/postRockRender.lua +24 -0
  89. package/dist/callbacks/subscriptions/postRockUpdate.d.ts +5 -0
  90. package/dist/callbacks/subscriptions/postRockUpdate.lua +24 -0
  91. package/dist/callbacks/subscriptions/postSacrifice.d.ts +4 -2
  92. package/dist/callbacks/subscriptions/postSacrifice.lua +13 -1
  93. package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +1 -1
  94. package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +1 -1
  95. package/dist/callbacks/subscriptions/postSlotInit.d.ts +1 -1
  96. package/dist/callbacks/subscriptions/postSlotRender.d.ts +1 -1
  97. package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +1 -1
  98. package/dist/callbacks/subscriptions/postSpikesRender.d.ts +5 -0
  99. package/dist/callbacks/subscriptions/postSpikesRender.lua +24 -0
  100. package/dist/callbacks/subscriptions/postSpikesUpdate.d.ts +5 -0
  101. package/dist/callbacks/subscriptions/postSpikesUpdate.lua +24 -0
  102. package/dist/callbacks/subscriptions/postTNTRender.d.ts +5 -0
  103. package/dist/callbacks/subscriptions/postTNTRender.lua +24 -0
  104. package/dist/callbacks/subscriptions/postTNTUpdate.d.ts +5 -0
  105. package/dist/callbacks/subscriptions/postTNTUpdate.lua +24 -0
  106. package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +3 -2
  107. package/dist/callbacks/subscriptions/preBerserkDeath.lua +5 -0
  108. package/dist/callbacks/subscriptions/preCustomRevive.d.ts +4 -2
  109. package/dist/callbacks/subscriptions/preCustomRevive.lua +15 -3
  110. package/dist/callbacks/subscriptions/preItemPickup.d.ts +9 -5
  111. package/dist/callbacks/subscriptions/preItemPickup.lua +2 -2
  112. package/dist/classes/DefaultMap.d.ts +8 -8
  113. package/dist/classes/DefaultMap.lua +3 -3
  114. package/dist/constants.d.ts +3 -2
  115. package/dist/constants.lua +2 -2
  116. package/dist/constantsMax.d.ts +15 -9
  117. package/dist/constantsMax.lua +7 -1
  118. package/dist/enums/ModCallbackCustom.d.ts +69 -54
  119. package/dist/enums/ModCallbackCustom.lua +84 -54
  120. package/dist/features/debugDisplay.d.ts +7 -0
  121. package/dist/features/debugDisplay.lua +117 -14
  122. package/dist/features/deployJSONRoom.lua +2 -2
  123. package/dist/features/extraConsoleCommands/commands.lua +32 -27
  124. package/dist/features/extraConsoleCommands/commandsDisplay.d.ts +63 -0
  125. package/dist/features/extraConsoleCommands/commandsDisplay.lua +49 -0
  126. package/dist/features/extraConsoleCommands/init.d.ts +2 -2
  127. package/dist/features/extraConsoleCommands/init.lua +18 -1
  128. package/dist/features/getCollectibleItemPoolType.lua +3 -2
  129. package/dist/features/playerInventory.lua +6 -6
  130. package/dist/features/preventCollectibleRotate.lua +7 -2
  131. package/dist/functions/array.lua +1 -1
  132. package/dist/functions/boss.d.ts +2 -3
  133. package/dist/functions/cards.lua +3 -1
  134. package/dist/functions/character.lua +2 -2
  135. package/dist/functions/charge.d.ts +6 -6
  136. package/dist/functions/collectibleCacheFlag.lua +3 -1
  137. package/dist/functions/collectibleSet.lua +3 -1
  138. package/dist/functions/collectibleTag.lua +3 -1
  139. package/dist/functions/collectibles.d.ts +1 -0
  140. package/dist/functions/collectibles.lua +32 -16
  141. package/dist/functions/entity.d.ts +1 -1
  142. package/dist/functions/entitySpecific.d.ts +4 -5
  143. package/dist/functions/entityTypes.d.ts +5 -0
  144. package/dist/functions/entityTypes.lua +10 -0
  145. package/dist/functions/familiars.d.ts +3 -3
  146. package/dist/functions/gridEntity.d.ts +0 -5
  147. package/dist/functions/gridEntity.lua +0 -14
  148. package/dist/functions/gridEntitySpecific.d.ts +18 -0
  149. package/dist/functions/gridEntitySpecific.lua +88 -0
  150. package/dist/functions/log.lua +2 -3
  151. package/dist/functions/npc.lua +3 -1
  152. package/dist/functions/npcTypes.d.ts +3 -0
  153. package/dist/functions/npcTypes.lua +7 -0
  154. package/dist/functions/pickupVariants.d.ts +13 -0
  155. package/dist/functions/pickupVariants.lua +22 -0
  156. package/dist/functions/pickups.lua +3 -1
  157. package/dist/functions/playerIndex.d.ts +2 -2
  158. package/dist/functions/rooms.d.ts +2 -3
  159. package/dist/functions/rooms.lua +5 -3
  160. package/dist/functions/run.lua +3 -1
  161. package/dist/functions/stage.d.ts +1 -1
  162. package/dist/functions/stage.lua +6 -5
  163. package/dist/functions/trinketCacheFlag.lua +3 -1
  164. package/dist/functions/trinketSet.lua +3 -1
  165. package/dist/functions/trinkets.lua +7 -3
  166. package/dist/index.d.ts +3 -0
  167. package/dist/index.lua +24 -0
  168. package/dist/initCustomCallbacks.lua +45 -0
  169. package/dist/initFeatures.lua +0 -3
  170. package/dist/maps/cardMap.lua +204 -202
  171. package/dist/maps/pillEffectMap.lua +82 -80
  172. package/dist/objects/callbackRegisterFunctions.lua +45 -0
  173. package/dist/objects/cardDescriptions.lua +1 -1
  174. package/dist/objects/cardNames.lua +1 -1
  175. package/dist/objects/cardTypes.lua +1 -1
  176. package/dist/types/AddCallbackParameterCustom.d.ts +30 -0
  177. package/dist/types/PickingUpItem.d.ts +2 -0
  178. package/dist/types/PickingUpItem.lua +10 -0
  179. package/dist/types/private/TSTLClassMetatable.d.ts +1 -1
  180. package/package.json +3 -3
@@ -2,208 +2,210 @@ local ____lualib = require("lualib_bundle")
2
2
  local Map = ____lualib.Map
3
3
  local __TS__New = ____lualib.__TS__New
4
4
  local ____exports = {}
5
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
6
+ local Card = ____isaac_2Dtypescript_2Ddefinitions.Card
5
7
  ____exports.CARD_MAP = __TS__New(Map, {
6
- {"fool", 1},
7
- {"magician", 2},
8
- {"mag", 2},
9
- {"highpriestess", 3},
10
- {"priestess", 3},
11
- {"priest", 3},
12
- {"hp", 3},
13
- {"empress", 4},
14
- {"emperor", 5},
15
- {"emp", 5},
16
- {"hierophant", 6},
17
- {"hi", 6},
18
- {"lovers", 7},
19
- {"chariot", 8},
20
- {"justice", 9},
21
- {"hermit", 10},
22
- {"wheeloffortune", 11},
23
- {"wheel", 11},
24
- {"fortune", 11},
25
- {"strength", 12},
26
- {"str", 12},
27
- {"hangedman", 13},
28
- {"hanged", 13},
29
- {"death", 14},
30
- {"temperance", 15},
31
- {"devil", 16},
32
- {"tower", 17},
33
- {"stars", 18},
34
- {"moon", 19},
35
- {"sun", 20},
36
- {"judgement", 21},
37
- {"judge", 21},
38
- {"world", 22},
39
- {"2ofclubs", 23},
40
- {"2clubs", 23},
41
- {"2ofdiamonds", 24},
42
- {"2diamonds", 24},
43
- {"2ofspades", 25},
44
- {"2spades", 25},
45
- {"2ofhearts", 26},
46
- {"2hearts", 26},
47
- {"aceofclubs", 27},
48
- {"aceclubs", 27},
49
- {"aceofdiamonds", 28},
50
- {"acediamonds", 28},
51
- {"aceofspades", 29},
52
- {"acespades", 29},
53
- {"aceofhearts", 30},
54
- {"acehearts", 30},
55
- {"joker", 31},
56
- {"hagalaz", 32},
57
- {"destruction", 32},
58
- {"jera", 33},
59
- {"abundance", 33},
60
- {"ehwaz", 34},
61
- {"passage", 34},
62
- {"dagaz", 35},
63
- {"purity", 35},
64
- {"ansuz", 36},
65
- {"vision", 36},
66
- {"perthro", 37},
67
- {"change", 37},
68
- {"berkano", 38},
69
- {"companionship", 38},
70
- {"algiz", 39},
71
- {"resistance", 39},
72
- {"shield", 39},
73
- {"blank", 40},
74
- {"black", 41},
75
- {"chaos", 42},
76
- {"credit", 43},
77
- {"rules", 44},
78
- {"againsthumanity", 45},
79
- {"humanity", 45},
80
- {"suicideking", 46},
81
- {"suicide", 46},
82
- {"getoutofjailfree", 47},
83
- {"jail", 47},
84
- {"?", 48},
85
- {"diceshard", 49},
86
- {"shard", 49},
87
- {"emergencycontact", 50},
88
- {"contact", 50},
89
- {"holy", 51},
90
- {"hugegrowth", 52},
91
- {"growth", 52},
92
- {"ancientrecall", 53},
93
- {"recall", 53},
94
- {"erawalk", 54},
95
- {"walk", 54},
96
- {"runeshard", 55},
97
- {"shard", 55},
98
- {"fool?", 56},
99
- {"magician?", 57},
100
- {"magi?", 57},
101
- {"mag?", 57},
102
- {"highpriestess?", 58},
103
- {"high?", 58},
104
- {"hi?", 58},
105
- {"priestess?", 58},
106
- {"priest?", 58},
107
- {"hp?", 58},
108
- {"empress?", 59},
109
- {"emperor?", 60},
110
- {"emp?", 60},
111
- {"hierophant?", 61},
112
- {"hiero?", 61},
113
- {"lovers?", 62},
114
- {"chariot?", 63},
115
- {"justice?", 64},
116
- {"hermit?", 65},
117
- {"wheeloffortune?", 66},
118
- {"wheel?", 66},
119
- {"fortune?", 66},
120
- {"strength?", 67},
121
- {"str?", 67},
122
- {"hangedman?", 68},
123
- {"hanged?", 68},
124
- {"death?", 69},
125
- {"temperance?", 70},
126
- {"devil?", 71},
127
- {"tower?", 72},
128
- {"stars?", 73},
129
- {"moon?", 74},
130
- {"sun?", 75},
131
- {"judgement?", 76},
132
- {"judge?", 76},
133
- {"world?", 77},
134
- {"crackedkey", 78},
135
- {"key", 78},
136
- {"queenofhearts", 79},
137
- {"queenhearts", 79},
138
- {"wildcard", 80},
139
- {"soulofisaac", 81},
140
- {"soulisaac", 81},
141
- {"isaac", 81},
142
- {"soulofmagdalene", 82},
143
- {"soulmagdalene", 82},
144
- {"magdalene", 82},
145
- {"soulofcain", 83},
146
- {"soulcain", 83},
147
- {"cain", 83},
148
- {"soulofjudas", 84},
149
- {"souljudas", 84},
150
- {"judas", 84},
151
- {"soulof???", 85},
152
- {"soul???", 85},
153
- {"???", 85},
154
- {"soulofbluebaby", 85},
155
- {"soulbluebaby", 85},
156
- {"bluebaby", 85},
157
- {"soulofeve", 86},
158
- {"souleve", 86},
159
- {"eve", 86},
160
- {"soulofsamson", 87},
161
- {"soulsamson", 87},
162
- {"samson", 87},
163
- {"soulofazazel", 88},
164
- {"soulazazel", 88},
165
- {"azazel", 88},
166
- {"souloflazarus", 89},
167
- {"soullazarus", 89},
168
- {"lazarus", 89},
169
- {"soulofeden", 90},
170
- {"souleden", 90},
171
- {"eden", 90},
172
- {"soulofthelost", 91},
173
- {"soulthelost", 91},
174
- {"thelost", 91},
175
- {"souloflost", 91},
176
- {"soullost", 91},
177
- {"lost", 91},
178
- {"souloflilith", 92},
179
- {"soullilith", 92},
180
- {"lilith", 92},
181
- {"soulofthekeeper", 93},
182
- {"soulthekeeper", 93},
183
- {"thekeeper", 93},
184
- {"soulofkeeper", 93},
185
- {"soulkeeper", 93},
186
- {"keeper", 93},
187
- {"soulofapollyon", 94},
188
- {"soulapollyon", 94},
189
- {"apollyon", 94},
190
- {"souloftheforgotten", 95},
191
- {"soultheforgotten", 95},
192
- {"theforgotten", 95},
193
- {"soulofforgotten", 95},
194
- {"soulforgotten", 95},
195
- {"forgotten", 95},
196
- {"soulofbethany", 96},
197
- {"soulbethany", 96},
198
- {"bethany", 96},
199
- {"soulofjacobandesau", 97},
200
- {"souljacobandesau", 97},
201
- {"jacobandesau", 97},
202
- {"soulofjacob&esau", 97},
203
- {"souljacob&esau", 97},
204
- {"jacob&esau", 97},
205
- {"soulofjacob", 97},
206
- {"souljacob", 97},
207
- {"jacob", 97}
8
+ {"fool", Card.FOOL},
9
+ {"magician", Card.MAGICIAN},
10
+ {"mag", Card.MAGICIAN},
11
+ {"highpriestess", Card.HIGH_PRIESTESS},
12
+ {"priestess", Card.HIGH_PRIESTESS},
13
+ {"priest", Card.HIGH_PRIESTESS},
14
+ {"hp", Card.HIGH_PRIESTESS},
15
+ {"empress", Card.EMPRESS},
16
+ {"emperor", Card.EMPEROR},
17
+ {"emp", Card.EMPEROR},
18
+ {"hierophant", Card.HIEROPHANT},
19
+ {"hi", Card.HIEROPHANT},
20
+ {"lovers", Card.LOVERS},
21
+ {"chariot", Card.CHARIOT},
22
+ {"justice", Card.JUSTICE},
23
+ {"hermit", Card.HERMIT},
24
+ {"wheeloffortune", Card.WHEEL_OF_FORTUNE},
25
+ {"wheel", Card.WHEEL_OF_FORTUNE},
26
+ {"fortune", Card.WHEEL_OF_FORTUNE},
27
+ {"strength", Card.STRENGTH},
28
+ {"str", Card.STRENGTH},
29
+ {"hangedman", Card.HANGED_MAN},
30
+ {"hanged", Card.HANGED_MAN},
31
+ {"death", Card.DEATH},
32
+ {"temperance", Card.TEMPERANCE},
33
+ {"devil", Card.DEVIL},
34
+ {"tower", Card.TOWER},
35
+ {"stars", Card.STARS},
36
+ {"moon", Card.MOON},
37
+ {"sun", Card.SUN},
38
+ {"judgement", Card.JUDGEMENT},
39
+ {"judge", Card.JUDGEMENT},
40
+ {"world", Card.WORLD},
41
+ {"2ofclubs", Card.CLUBS_2},
42
+ {"2clubs", Card.CLUBS_2},
43
+ {"2ofdiamonds", Card.DIAMONDS_2},
44
+ {"2diamonds", Card.DIAMONDS_2},
45
+ {"2ofspades", Card.SPADES_2},
46
+ {"2spades", Card.SPADES_2},
47
+ {"2ofhearts", Card.HEARTS_2},
48
+ {"2hearts", Card.HEARTS_2},
49
+ {"aceofclubs", Card.ACE_OF_CLUBS},
50
+ {"aceclubs", Card.ACE_OF_CLUBS},
51
+ {"aceofdiamonds", Card.ACE_OF_DIAMONDS},
52
+ {"acediamonds", Card.ACE_OF_DIAMONDS},
53
+ {"aceofspades", Card.ACE_OF_SPADES},
54
+ {"acespades", Card.ACE_OF_SPADES},
55
+ {"aceofhearts", Card.ACE_OF_HEARTS},
56
+ {"acehearts", Card.ACE_OF_HEARTS},
57
+ {"joker", Card.JOKER},
58
+ {"hagalaz", Card.RUNE_HAGALAZ},
59
+ {"destruction", Card.RUNE_HAGALAZ},
60
+ {"jera", Card.RUNE_JERA},
61
+ {"abundance", Card.RUNE_JERA},
62
+ {"ehwaz", Card.RUNE_EHWAZ},
63
+ {"passage", Card.RUNE_EHWAZ},
64
+ {"dagaz", Card.RUNE_DAGAZ},
65
+ {"purity", Card.RUNE_DAGAZ},
66
+ {"ansuz", Card.RUNE_ANSUZ},
67
+ {"vision", Card.RUNE_ANSUZ},
68
+ {"perthro", Card.RUNE_PERTHRO},
69
+ {"change", Card.RUNE_PERTHRO},
70
+ {"berkano", Card.RUNE_BERKANO},
71
+ {"companionship", Card.RUNE_BERKANO},
72
+ {"algiz", Card.RUNE_ALGIZ},
73
+ {"resistance", Card.RUNE_ALGIZ},
74
+ {"shield", Card.RUNE_ALGIZ},
75
+ {"blank", Card.RUNE_BLANK},
76
+ {"black", Card.RUNE_BLACK},
77
+ {"chaos", Card.CHAOS},
78
+ {"credit", Card.CREDIT},
79
+ {"rules", Card.RULES},
80
+ {"againsthumanity", Card.AGAINST_HUMANITY},
81
+ {"humanity", Card.AGAINST_HUMANITY},
82
+ {"suicideking", Card.SUICIDE_KING},
83
+ {"suicide", Card.SUICIDE_KING},
84
+ {"getoutofjailfree", Card.GET_OUT_OF_JAIL_FREE},
85
+ {"jail", Card.GET_OUT_OF_JAIL_FREE},
86
+ {"?", Card.QUESTION_MARK},
87
+ {"diceshard", Card.DICE_SHARD},
88
+ {"shard", Card.DICE_SHARD},
89
+ {"emergencycontact", Card.EMERGENCY_CONTACT},
90
+ {"contact", Card.EMERGENCY_CONTACT},
91
+ {"holy", Card.HOLY},
92
+ {"hugegrowth", Card.HUGE_GROWTH},
93
+ {"growth", Card.HUGE_GROWTH},
94
+ {"ancientrecall", Card.ANCIENT_RECALL},
95
+ {"recall", Card.ANCIENT_RECALL},
96
+ {"erawalk", Card.ERA_WALK},
97
+ {"walk", Card.ERA_WALK},
98
+ {"runeshard", Card.RUNE_SHARD},
99
+ {"shard", Card.RUNE_SHARD},
100
+ {"fool?", Card.REVERSE_FOOL},
101
+ {"magician?", Card.REVERSE_MAGICIAN},
102
+ {"magi?", Card.REVERSE_MAGICIAN},
103
+ {"mag?", Card.REVERSE_MAGICIAN},
104
+ {"highpriestess?", Card.REVERSE_HIGH_PRIESTESS},
105
+ {"high?", Card.REVERSE_HIGH_PRIESTESS},
106
+ {"hi?", Card.REVERSE_HIGH_PRIESTESS},
107
+ {"priestess?", Card.REVERSE_HIGH_PRIESTESS},
108
+ {"priest?", Card.REVERSE_HIGH_PRIESTESS},
109
+ {"hp?", Card.REVERSE_HIGH_PRIESTESS},
110
+ {"empress?", Card.REVERSE_EMPRESS},
111
+ {"emperor?", Card.REVERSE_EMPEROR},
112
+ {"emp?", Card.REVERSE_EMPEROR},
113
+ {"hierophant?", Card.REVERSE_HIEROPHANT},
114
+ {"hiero?", Card.REVERSE_HIEROPHANT},
115
+ {"lovers?", Card.REVERSE_LOVERS},
116
+ {"chariot?", Card.REVERSE_CHARIOT},
117
+ {"justice?", Card.REVERSE_JUSTICE},
118
+ {"hermit?", Card.REVERSE_HERMIT},
119
+ {"wheeloffortune?", Card.REVERSE_WHEEL_OF_FORTUNE},
120
+ {"wheel?", Card.REVERSE_WHEEL_OF_FORTUNE},
121
+ {"fortune?", Card.REVERSE_WHEEL_OF_FORTUNE},
122
+ {"strength?", Card.REVERSE_STRENGTH},
123
+ {"str?", Card.REVERSE_STRENGTH},
124
+ {"hangedman?", Card.REVERSE_HANGED_MAN},
125
+ {"hanged?", Card.REVERSE_HANGED_MAN},
126
+ {"death?", Card.REVERSE_DEATH},
127
+ {"temperance?", Card.REVERSE_TEMPERANCE},
128
+ {"devil?", Card.REVERSE_DEVIL},
129
+ {"tower?", Card.REVERSE_TOWER},
130
+ {"stars?", Card.REVERSE_STARS},
131
+ {"moon?", Card.REVERSE_MOON},
132
+ {"sun?", Card.REVERSE_SUN},
133
+ {"judgement?", Card.REVERSE_JUDGEMENT},
134
+ {"judge?", Card.REVERSE_JUDGEMENT},
135
+ {"world?", Card.REVERSE_WORLD},
136
+ {"crackedkey", Card.CRACKED_KEY},
137
+ {"key", Card.CRACKED_KEY},
138
+ {"queenofhearts", Card.QUEEN_OF_HEARTS},
139
+ {"queenhearts", Card.QUEEN_OF_HEARTS},
140
+ {"wildcard", Card.WILD},
141
+ {"soulofisaac", Card.SOUL_ISAAC},
142
+ {"soulisaac", Card.SOUL_ISAAC},
143
+ {"isaac", Card.SOUL_ISAAC},
144
+ {"soulofmagdalene", Card.SOUL_MAGDALENE},
145
+ {"soulmagdalene", Card.SOUL_MAGDALENE},
146
+ {"magdalene", Card.SOUL_MAGDALENE},
147
+ {"soulofcain", Card.SOUL_CAIN},
148
+ {"soulcain", Card.SOUL_CAIN},
149
+ {"cain", Card.SOUL_CAIN},
150
+ {"soulofjudas", Card.SOUL_JUDAS},
151
+ {"souljudas", Card.SOUL_JUDAS},
152
+ {"judas", Card.SOUL_JUDAS},
153
+ {"soulof???", Card.SOUL_BLUE_BABY},
154
+ {"soul???", Card.SOUL_BLUE_BABY},
155
+ {"???", Card.SOUL_BLUE_BABY},
156
+ {"soulofbluebaby", Card.SOUL_BLUE_BABY},
157
+ {"soulbluebaby", Card.SOUL_BLUE_BABY},
158
+ {"bluebaby", Card.SOUL_BLUE_BABY},
159
+ {"soulofeve", Card.SOUL_EVE},
160
+ {"souleve", Card.SOUL_EVE},
161
+ {"eve", Card.SOUL_EVE},
162
+ {"soulofsamson", Card.SOUL_SAMSON},
163
+ {"soulsamson", Card.SOUL_SAMSON},
164
+ {"samson", Card.SOUL_SAMSON},
165
+ {"soulofazazel", Card.SOUL_AZAZEL},
166
+ {"soulazazel", Card.SOUL_AZAZEL},
167
+ {"azazel", Card.SOUL_AZAZEL},
168
+ {"souloflazarus", Card.SOUL_LAZARUS},
169
+ {"soullazarus", Card.SOUL_LAZARUS},
170
+ {"lazarus", Card.SOUL_LAZARUS},
171
+ {"soulofeden", Card.SOUL_EDEN},
172
+ {"souleden", Card.SOUL_EDEN},
173
+ {"eden", Card.SOUL_EDEN},
174
+ {"soulofthelost", Card.SOUL_LOST},
175
+ {"soulthelost", Card.SOUL_LOST},
176
+ {"thelost", Card.SOUL_LOST},
177
+ {"souloflost", Card.SOUL_LOST},
178
+ {"soullost", Card.SOUL_LOST},
179
+ {"lost", Card.SOUL_LOST},
180
+ {"souloflilith", Card.SOUL_LILITH},
181
+ {"soullilith", Card.SOUL_LILITH},
182
+ {"lilith", Card.SOUL_LILITH},
183
+ {"soulofthekeeper", Card.SOUL_KEEPER},
184
+ {"soulthekeeper", Card.SOUL_KEEPER},
185
+ {"thekeeper", Card.SOUL_KEEPER},
186
+ {"soulofkeeper", Card.SOUL_KEEPER},
187
+ {"soulkeeper", Card.SOUL_KEEPER},
188
+ {"keeper", Card.SOUL_KEEPER},
189
+ {"soulofapollyon", Card.SOUL_APOLLYON},
190
+ {"soulapollyon", Card.SOUL_APOLLYON},
191
+ {"apollyon", Card.SOUL_APOLLYON},
192
+ {"souloftheforgotten", Card.SOUL_FORGOTTEN},
193
+ {"soultheforgotten", Card.SOUL_FORGOTTEN},
194
+ {"theforgotten", Card.SOUL_FORGOTTEN},
195
+ {"soulofforgotten", Card.SOUL_FORGOTTEN},
196
+ {"soulforgotten", Card.SOUL_FORGOTTEN},
197
+ {"forgotten", Card.SOUL_FORGOTTEN},
198
+ {"soulofbethany", Card.SOUL_BETHANY},
199
+ {"soulbethany", Card.SOUL_BETHANY},
200
+ {"bethany", Card.SOUL_BETHANY},
201
+ {"soulofjacobandesau", Card.SOUL_JACOB},
202
+ {"souljacobandesau", Card.SOUL_JACOB},
203
+ {"jacobandesau", Card.SOUL_JACOB},
204
+ {"soulofjacob&esau", Card.SOUL_JACOB},
205
+ {"souljacob&esau", Card.SOUL_JACOB},
206
+ {"jacob&esau", Card.SOUL_JACOB},
207
+ {"soulofjacob", Card.SOUL_JACOB},
208
+ {"souljacob", Card.SOUL_JACOB},
209
+ {"jacob", Card.SOUL_JACOB}
208
210
  })
209
211
  return ____exports
@@ -2,86 +2,88 @@ local ____lualib = require("lualib_bundle")
2
2
  local Map = ____lualib.Map
3
3
  local __TS__New = ____lualib.__TS__New
4
4
  local ____exports = {}
5
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
6
+ local PillEffect = ____isaac_2Dtypescript_2Ddefinitions.PillEffect
5
7
  ____exports.PILL_EFFECT_MAP = __TS__New(Map, {
6
- {"badgas", 0},
7
- {"gas", 0},
8
- {"badtrip", 1},
9
- {"trip", 1},
10
- {"ballsofsteel", 2},
11
- {"ballssteel", 2},
12
- {"steel", 2},
13
- {"bombsarekey", 3},
14
- {"bombskey", 3},
15
- {"key", 3},
16
- {"explosivediarrhea", 4},
17
- {"diarrhea", 4},
18
- {"fullhealth", 5},
19
- {"healthdown", 6},
20
- {"healthup", 7},
21
- {"ifoundpills", 8},
22
- {"foundpills", 8},
23
- {"pills", 8},
24
- {"puberty", 9},
25
- {"prettyfly", 10},
26
- {"fly", 10},
27
- {"rangedown", 11},
28
- {"rangeup", 12},
29
- {"speeddown", 13},
30
- {"speedup", 14},
31
- {"tearsdown", 15},
32
- {"tearsup", 16},
33
- {"luckdown", 17},
34
- {"luckup", 18},
35
- {"telepills", 19},
36
- {"48hourenergy", 20},
37
- {"energy", 20},
38
- {"48", 20},
39
- {"hematemesis", 21},
40
- {"paralysis", 22},
41
- {"icanseeforever!", 23},
42
- {"cansee", 23},
43
- {"see", 23},
44
- {"pheromones", 24},
45
- {"amnesia", 25},
46
- {"lemonparty", 26},
47
- {"party", 26},
48
- {"ruawizard", 27},
49
- {"areyouawizard", 27},
50
- {"wizard", 27},
51
- {"percs!", 28},
52
- {"addicted!", 29},
53
- {"relax", 30},
54
- {"???", 31},
55
- {"onemakesyoularger", 32},
56
- {"larger", 32},
57
- {"onemakesyousmaller", 33},
58
- {"smaller", 33},
59
- {"infested!", 34},
60
- {"infest!", 34},
61
- {"inf!", 34},
62
- {"infested?", 35},
63
- {"infest?", 35},
64
- {"inf?", 35},
65
- {"powerpill", 36},
66
- {"retrovision", 37},
67
- {"vision", 37},
68
- {"friendstilltheend", 38},
69
- {"friendsutilltheend", 38},
70
- {"xlax", 39},
71
- {"somethingswrong", 40},
72
- {"wrong", 40},
73
- {"imdrowsy", 41},
74
- {"drowsy", 41},
75
- {"imexcited!!!", 42},
76
- {"excited", 42},
77
- {"gulp!", 43},
78
- {"horf!", 44},
79
- {"feelslikeimwalkingonsunshine!", 45},
80
- {"walking", 45},
81
- {"sunshine", 45},
82
- {"vurp!", 46},
83
- {"shotspeeddown", 47},
84
- {"shotspeedup", 48},
85
- {"experimental", 49}
8
+ {"badgas", PillEffect.BAD_GAS},
9
+ {"gas", PillEffect.BAD_GAS},
10
+ {"badtrip", PillEffect.BAD_TRIP},
11
+ {"trip", PillEffect.BAD_TRIP},
12
+ {"ballsofsteel", PillEffect.BALLS_OF_STEEL},
13
+ {"ballssteel", PillEffect.BALLS_OF_STEEL},
14
+ {"steel", PillEffect.BALLS_OF_STEEL},
15
+ {"bombsarekey", PillEffect.BOMBS_ARE_KEYS},
16
+ {"bombskey", PillEffect.BOMBS_ARE_KEYS},
17
+ {"key", PillEffect.BOMBS_ARE_KEYS},
18
+ {"explosivediarrhea", PillEffect.EXPLOSIVE_DIARRHEA},
19
+ {"diarrhea", PillEffect.EXPLOSIVE_DIARRHEA},
20
+ {"fullhealth", PillEffect.FULL_HEALTH},
21
+ {"healthdown", PillEffect.HEALTH_DOWN},
22
+ {"healthup", PillEffect.HEALTH_UP},
23
+ {"ifoundpills", PillEffect.I_FOUND_PILLS},
24
+ {"foundpills", PillEffect.I_FOUND_PILLS},
25
+ {"pills", PillEffect.I_FOUND_PILLS},
26
+ {"puberty", PillEffect.PUBERTY},
27
+ {"prettyfly", PillEffect.PRETTY_FLY},
28
+ {"fly", PillEffect.PRETTY_FLY},
29
+ {"rangedown", PillEffect.RANGE_DOWN},
30
+ {"rangeup", PillEffect.RANGE_UP},
31
+ {"speeddown", PillEffect.SPEED_DOWN},
32
+ {"speedup", PillEffect.SPEED_UP},
33
+ {"tearsdown", PillEffect.TEARS_DOWN},
34
+ {"tearsup", PillEffect.TEARS_UP},
35
+ {"luckdown", PillEffect.LUCK_DOWN},
36
+ {"luckup", PillEffect.LUCK_UP},
37
+ {"telepills", PillEffect.TELEPILLS},
38
+ {"48hourenergy", PillEffect.FORTY_EIGHT_HOUR_ENERGY},
39
+ {"energy", PillEffect.FORTY_EIGHT_HOUR_ENERGY},
40
+ {"48", PillEffect.FORTY_EIGHT_HOUR_ENERGY},
41
+ {"hematemesis", PillEffect.HEMATEMESIS},
42
+ {"paralysis", PillEffect.PARALYSIS},
43
+ {"icanseeforever!", PillEffect.I_CAN_SEE_FOREVER},
44
+ {"cansee", PillEffect.I_CAN_SEE_FOREVER},
45
+ {"see", PillEffect.I_CAN_SEE_FOREVER},
46
+ {"pheromones", PillEffect.PHEROMONES},
47
+ {"amnesia", PillEffect.AMNESIA},
48
+ {"lemonparty", PillEffect.LEMON_PARTY},
49
+ {"party", PillEffect.LEMON_PARTY},
50
+ {"ruawizard", PillEffect.R_U_A_WIZARD},
51
+ {"areyouawizard", PillEffect.R_U_A_WIZARD},
52
+ {"wizard", PillEffect.R_U_A_WIZARD},
53
+ {"percs!", PillEffect.PERCS},
54
+ {"addicted!", PillEffect.ADDICTED},
55
+ {"relax", PillEffect.RELAX},
56
+ {"???", PillEffect.QUESTION_MARKS},
57
+ {"onemakesyoularger", PillEffect.ONE_MAKES_YOU_LARGER},
58
+ {"larger", PillEffect.ONE_MAKES_YOU_LARGER},
59
+ {"onemakesyousmaller", PillEffect.ONE_MAKES_YOU_SMALL},
60
+ {"smaller", PillEffect.ONE_MAKES_YOU_SMALL},
61
+ {"infested!", PillEffect.INFESTED_EXCLAMATION},
62
+ {"infest!", PillEffect.INFESTED_EXCLAMATION},
63
+ {"inf!", PillEffect.INFESTED_EXCLAMATION},
64
+ {"infested?", PillEffect.INFESTED_QUESTION},
65
+ {"infest?", PillEffect.INFESTED_QUESTION},
66
+ {"inf?", PillEffect.INFESTED_QUESTION},
67
+ {"powerpill", PillEffect.POWER},
68
+ {"retrovision", PillEffect.RETRO_VISION},
69
+ {"vision", PillEffect.RETRO_VISION},
70
+ {"friendstilltheend", PillEffect.FRIENDS_TILL_THE_END},
71
+ {"friendsutilltheend", PillEffect.FRIENDS_TILL_THE_END},
72
+ {"xlax", PillEffect.X_LAX},
73
+ {"somethingswrong", PillEffect.SOMETHINGS_WRONG},
74
+ {"wrong", PillEffect.SOMETHINGS_WRONG},
75
+ {"imdrowsy", PillEffect.IM_DROWSY},
76
+ {"drowsy", PillEffect.IM_DROWSY},
77
+ {"imexcited!!!", PillEffect.IM_EXCITED},
78
+ {"excited", PillEffect.IM_EXCITED},
79
+ {"gulp!", PillEffect.GULP},
80
+ {"horf!", PillEffect.HORF},
81
+ {"feelslikeimwalkingonsunshine!", PillEffect.FEELS_LIKE_IM_WALKING_ON_SUNSHINE},
82
+ {"walking", PillEffect.FEELS_LIKE_IM_WALKING_ON_SUNSHINE},
83
+ {"sunshine", PillEffect.FEELS_LIKE_IM_WALKING_ON_SUNSHINE},
84
+ {"vurp!", PillEffect.VURP},
85
+ {"shotspeeddown", PillEffect.SHOT_SPEED_DOWN},
86
+ {"shotspeedup", PillEffect.SHOT_SPEED_UP},
87
+ {"experimental", PillEffect.EXPERIMENTAL}
86
88
  })
87
89
  return ____exports