isaacscript-common 13.2.0 → 13.3.1

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 (58) hide show
  1. package/dist/index.d.ts +37 -8
  2. package/dist/isaacscript-common.lua +6695 -6631
  3. package/dist/src/callbacks/customRevive.d.ts.map +1 -1
  4. package/dist/src/callbacks/customRevive.lua +2 -1
  5. package/dist/src/callbacks/postNewRoomEarly.lua +2 -2
  6. package/dist/src/classes/ModUpgraded.d.ts +5 -2
  7. package/dist/src/classes/ModUpgraded.d.ts.map +1 -1
  8. package/dist/src/classes/ModUpgraded.lua +39 -3
  9. package/dist/src/core/upgradeMod.d.ts +6 -1
  10. package/dist/src/core/upgradeMod.d.ts.map +1 -1
  11. package/dist/src/core/upgradeMod.lua +9 -2
  12. package/dist/src/features/customStage/exports.lua +2 -2
  13. package/dist/src/features/extraConsoleCommands/listCommands.lua +5 -5
  14. package/dist/src/features/pause.lua +2 -2
  15. package/dist/src/features/saveDataManager/load.d.ts.map +1 -1
  16. package/dist/src/features/saveDataManager/load.lua +2 -1
  17. package/dist/src/features/saveDataManager/main.lua +2 -2
  18. package/dist/src/features/taintedLazarusPlayers.lua +2 -2
  19. package/dist/src/functions/benchmark.d.ts +12 -0
  20. package/dist/src/functions/benchmark.d.ts.map +1 -1
  21. package/dist/src/functions/benchmark.lua +19 -0
  22. package/dist/src/functions/debugFunctions.d.ts +1 -0
  23. package/dist/src/functions/debugFunctions.d.ts.map +1 -1
  24. package/dist/src/functions/debugFunctions.lua +15 -23
  25. package/dist/src/functions/globals.lua +1 -1
  26. package/dist/src/functions/hex.lua +2 -2
  27. package/dist/src/functions/jsonHelpers.lua +2 -2
  28. package/dist/src/functions/log.d.ts +9 -70
  29. package/dist/src/functions/log.d.ts.map +1 -1
  30. package/dist/src/functions/log.lua +18 -504
  31. package/dist/src/functions/logMisc.d.ts +69 -0
  32. package/dist/src/functions/logMisc.d.ts.map +1 -0
  33. package/dist/src/functions/logMisc.lua +498 -0
  34. package/dist/src/index.d.ts +1 -0
  35. package/dist/src/index.d.ts.map +1 -1
  36. package/dist/src/index.lua +8 -0
  37. package/dist/src/indexLua.d.ts +185 -0
  38. package/dist/src/indexLua.d.ts.map +1 -0
  39. package/dist/src/indexLua.lua +1314 -0
  40. package/package.json +2 -2
  41. package/src/callbacks/customRevive.ts +2 -1
  42. package/src/callbacks/postNewRoomEarly.ts +1 -1
  43. package/src/classes/ModUpgraded.ts +50 -4
  44. package/src/core/upgradeMod.ts +10 -2
  45. package/src/features/customStage/exports.ts +1 -1
  46. package/src/features/extraConsoleCommands/listCommands.ts +1 -1
  47. package/src/features/pause.ts +1 -1
  48. package/src/features/saveDataManager/load.ts +2 -1
  49. package/src/features/saveDataManager/main.ts +1 -1
  50. package/src/features/taintedLazarusPlayers.ts +1 -1
  51. package/src/functions/benchmark.ts +23 -0
  52. package/src/functions/debugFunctions.ts +15 -25
  53. package/src/functions/globals.ts +1 -1
  54. package/src/functions/hex.ts +1 -1
  55. package/src/functions/jsonHelpers.ts +1 -1
  56. package/src/functions/log.ts +24 -455
  57. package/src/functions/logMisc.ts +441 -0
  58. package/src/index.ts +1 -0
@@ -0,0 +1,185 @@
1
+ export * from "./classes/DefaultMap";
2
+ export * from "./classes/ModUpgraded";
3
+ export * from "./core/cachedClasses";
4
+ export * from "./core/constants";
5
+ export * from "./core/constantsFirstLast";
6
+ export * from "./core/upgradeMod";
7
+ export * from "./enums/AmbushType";
8
+ export * from "./enums/CornerType";
9
+ export * from "./enums/HealthType";
10
+ export * from "./enums/ModCallbackCustom";
11
+ export * from "./enums/PocketItemType";
12
+ export * from "./enums/RockAltType";
13
+ export * from "./enums/SaveDataKey";
14
+ export * from "./enums/SerializationType";
15
+ export * from "./enums/SlotDestructionType";
16
+ export * from "./enums/StatType";
17
+ export * from "./features/characterHealthConversion";
18
+ export * from "./features/characterStats";
19
+ export * from "./features/collectibleItemPoolType";
20
+ export * from "./features/customDoor";
21
+ export * from "./features/customGridEntity";
22
+ export * from "./features/customPickup";
23
+ export * from "./features/customStage/exports";
24
+ export * from "./features/customTrapdoor/exports";
25
+ export * from "./features/debugDisplay/exports";
26
+ export * from "./features/deployJSONRoom";
27
+ export * from "./features/disableAllSound";
28
+ export * from "./features/disableInputs";
29
+ export * from "./features/extraConsoleCommands/exports";
30
+ export * from "./features/fadeInRemover";
31
+ export * from "./features/fastReset";
32
+ export * from "./features/firstLast";
33
+ export * from "./features/forgottenSwitch";
34
+ export * from "./features/pause";
35
+ export * from "./features/persistentEntities";
36
+ export * from "./features/pickupIndex";
37
+ export * from "./features/playerInventory";
38
+ export * from "./features/ponyDetection";
39
+ export * from "./features/preventChildEntities";
40
+ export * from "./features/preventCollectibleRotation";
41
+ export * from "./features/roomClearFrame";
42
+ export * from "./features/roomHistory";
43
+ export * from "./features/runInNFrames";
44
+ export * from "./features/saveDataManager/exports";
45
+ export * from "./features/setHotkey";
46
+ export * from "./features/sirenHelpers";
47
+ export * from "./features/stageHistory";
48
+ export * from "./features/taintedLazarusPlayers";
49
+ export * from "./functions/ambush";
50
+ export * from "./functions/array";
51
+ export * from "./functions/arrayLua";
52
+ export * from "./functions/benchmark";
53
+ export * from "./functions/bitSet128";
54
+ export * from "./functions/bitwise";
55
+ export * from "./functions/bombs";
56
+ export * from "./functions/bosses";
57
+ export * from "./functions/cards";
58
+ export * from "./functions/challenges";
59
+ export * from "./functions/characters";
60
+ export * from "./functions/charge";
61
+ export * from "./functions/chargeBar";
62
+ export * from "./functions/collectibleCacheFlag";
63
+ export * from "./functions/collectibles";
64
+ export * from "./functions/collectibleSet";
65
+ export * from "./functions/collectibleTag";
66
+ export * from "./functions/color";
67
+ export * from "./functions/curses";
68
+ export * from "./functions/debugFunctions";
69
+ export * from "./functions/deepCopy";
70
+ export * from "./functions/deepCopyTests";
71
+ export * from "./functions/dimensions";
72
+ export * from "./functions/direction";
73
+ export * from "./functions/doors";
74
+ export * from "./functions/easing";
75
+ export * from "./functions/eden";
76
+ export * from "./functions/effects";
77
+ export * from "./functions/emptyRoom";
78
+ export * from "./functions/entities";
79
+ export * from "./functions/entitiesSpecific";
80
+ export * from "./functions/entityTypes";
81
+ export * from "./functions/enums";
82
+ export * from "./functions/familiars";
83
+ export * from "./functions/flag";
84
+ export * from "./functions/flying";
85
+ export * from "./functions/globals";
86
+ export * from "./functions/gridEntities";
87
+ export * from "./functions/gridEntitiesSpecific";
88
+ export * from "./functions/gridIndex";
89
+ export * from "./functions/hex";
90
+ export * from "./functions/initArray";
91
+ export * from "./functions/input";
92
+ export * from "./functions/isaacAPIClass";
93
+ export * from "./functions/itemPool";
94
+ export * from "./functions/jsonHelpers";
95
+ export * from "./functions/jsonRoom";
96
+ export * from "./functions/kColor";
97
+ export * from "./functions/language";
98
+ export * from "./functions/level";
99
+ export * from "./functions/levelGrid";
100
+ export * from "./functions/log";
101
+ export * from "./functions/logEntities";
102
+ export * from "./functions/logMisc";
103
+ export * from "./functions/map";
104
+ export * from "./functions/math";
105
+ export * from "./functions/mergeTests";
106
+ export * from "./functions/minimap";
107
+ export * from "./functions/nextStage";
108
+ export * from "./functions/npcs";
109
+ export * from "./functions/pickups";
110
+ export * from "./functions/pickupsSpecific";
111
+ export * from "./functions/pickupVariants";
112
+ export * from "./functions/pills";
113
+ export * from "./functions/playerCenter";
114
+ export * from "./functions/playerDataStructures";
115
+ export * from "./functions/playerHealth";
116
+ export * from "./functions/playerIndex";
117
+ export * from "./functions/players";
118
+ export * from "./functions/playerStats";
119
+ export * from "./functions/pocketItems";
120
+ export * from "./functions/positionVelocity";
121
+ export * from "./functions/pressurePlate";
122
+ export * from "./functions/projectiles";
123
+ export * from "./functions/random";
124
+ export * from "./functions/reorderedCallbacks";
125
+ export * from "./functions/revive";
126
+ export * from "./functions/rng";
127
+ export * from "./functions/rockAlt";
128
+ export * from "./functions/roomData";
129
+ export * from "./functions/roomGrid";
130
+ export * from "./functions/rooms";
131
+ export * from "./functions/roomShape";
132
+ export * from "./functions/roomShapeWalls";
133
+ export * from "./functions/roomTransition";
134
+ export * from "./functions/run";
135
+ export * from "./functions/saveFile";
136
+ export * from "./functions/seeds";
137
+ export * from "./functions/serialization";
138
+ export * from "./functions/set";
139
+ export * from "./functions/sound";
140
+ export * from "./functions/spawnCollectible";
141
+ export * from "./functions/sprites";
142
+ export * from "./functions/stage";
143
+ export * from "./functions/string";
144
+ export * from "./functions/table";
145
+ export * from "./functions/tears";
146
+ export * from "./functions/transformations";
147
+ export * from "./functions/trinketCacheFlag";
148
+ export * from "./functions/trinketGive";
149
+ export * from "./functions/trinkets";
150
+ export * from "./functions/trinketSet";
151
+ export * from "./functions/tstlClass";
152
+ export * from "./functions/types";
153
+ export * from "./functions/ui";
154
+ export * from "./functions/utils";
155
+ export * from "./functions/vector";
156
+ export * from "./functions/weighted";
157
+ export * from "./interfaces/ChargeBarSprites";
158
+ export * from "./interfaces/Corner";
159
+ export * from "./interfaces/CustomStageTSConfig";
160
+ export * from "./interfaces/GridEntityCustomData";
161
+ export * from "./interfaces/JSONRoomsFile";
162
+ export * from "./interfaces/PlayerHealth";
163
+ export * from "./interfaces/PocketItemDescription";
164
+ export * from "./interfaces/RoomDescription";
165
+ export * from "./interfaces/SaveData";
166
+ export * from "./interfaces/StatTypeType";
167
+ export * from "./interfaces/TrinketSituation";
168
+ export * from "./maps/cardNameToTypeMap";
169
+ export * from "./maps/characterNameToTypeMap";
170
+ export * from "./maps/pillNameToEffectMap";
171
+ export * from "./maps/roomNameToTypeMap";
172
+ export * from "./objects/colors";
173
+ export * from "./objects/kColors";
174
+ export * from "./types/AnyEntity";
175
+ export * from "./types/AnyGridEntity";
176
+ export * from "./types/CollectibleIndex";
177
+ export * from "./types/Immutable";
178
+ export * from "./types/PickingUpItem";
179
+ export * from "./types/PickupIndex";
180
+ export * from "./types/PlayerIndex";
181
+ export * from "./types/PossibleStatType";
182
+ export * from "./types/TSTLClass";
183
+ export * from "./types/WeightedArray";
184
+ export * from "isaac-typescript-definitions";
185
+ //# sourceMappingUR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