isaacscript-common 30.4.0 → 30.4.2
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.
- package/dist/index.rollup.d.ts +31 -21
- package/dist/isaacscript-common.lua +57 -52
- package/dist/lualib_bundle.lua +15 -0
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts +4 -4
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +1 -1
- package/dist/src/classes/features/other/PressInput.d.ts.map +1 -1
- package/dist/src/classes/features/other/PressInput.lua +7 -8
- package/dist/src/classes/features/other/StageHistory.d.ts +2 -4
- package/dist/src/classes/features/other/StageHistory.d.ts.map +1 -1
- package/dist/src/classes/features/other/StageHistory.lua +3 -13
- package/dist/src/functions/levelGrid.d.ts +20 -13
- package/dist/src/functions/levelGrid.d.ts.map +1 -1
- package/dist/src/functions/levelGrid.lua +7 -5
- package/dist/src/functions/playerHealth.d.ts.map +1 -1
- package/dist/src/functions/playerHealth.lua +19 -24
- package/dist/src/indexLua.d.ts +185 -0
- package/dist/src/indexLua.d.ts.map +1 -0
- package/dist/src/indexLua.lua +1114 -0
- package/dist/src/interfaces/StageHistoryEntry.d.ts +7 -0
- package/dist/src/interfaces/StageHistoryEntry.d.ts.map +1 -0
- package/dist/src/interfaces/StageHistoryEntry.lua +2 -0
- package/package.json +1 -1
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +9 -5
- package/src/classes/features/other/PressInput.ts +10 -8
- package/src/classes/features/other/StageHistory.ts +8 -8
- package/src/functions/levelGrid.ts +45 -20
- package/src/functions/playerHealth.ts +29 -22
- package/src/interfaces/StageHistoryEntry.ts +7 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"levelGrid.d.ts","sourceRoot":"","sources":["../../../src/functions/levelGrid.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAEL,QAAQ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;;;GAKG;AACH,wBAAgB,YAAY,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,CAGzD;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,CAAC,EAAE,GAAG,GAAG,OAAO,CAM7D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,SAAS,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,SAAS,CAmD/D;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,aAAa,EAAE,GAAG,GAAG,OAAO,CAGtD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,GAAG,GAAG,QAAQ,CAAC,MAAM,CAAC,CAK1E;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,CAE7D"}
|
|
@@ -116,7 +116,7 @@ function ____exports.getNewRoomCandidatesBesideRoom(self, roomGridIndex)
|
|
|
116
116
|
if not ____exports.isDeadEnd(nil, adjacentRoomGridIndex) then
|
|
117
117
|
goto __continue17
|
|
118
118
|
end
|
|
119
|
-
roomCandidates[#roomCandidates + 1] = {doorSlot, adjacentRoomGridIndex}
|
|
119
|
+
roomCandidates[#roomCandidates + 1] = {doorSlot = doorSlot, roomGridIndex = adjacentRoomGridIndex}
|
|
120
120
|
end
|
|
121
121
|
::__continue17::
|
|
122
122
|
end
|
|
@@ -137,9 +137,9 @@ function ____exports.getNewRoomCandidatesForLevel(self)
|
|
|
137
137
|
for ____, room in ipairs(normalRooms) do
|
|
138
138
|
local newRoomCandidatesBesideRoom = ____exports.getNewRoomCandidatesBesideRoom(nil, room.SafeGridIndex)
|
|
139
139
|
for ____, ____value in ipairs(newRoomCandidatesBesideRoom) do
|
|
140
|
-
local doorSlot = ____value
|
|
141
|
-
local
|
|
142
|
-
newRoomCandidates[#newRoomCandidates + 1] = {room.SafeGridIndex, doorSlot, newRoomGridIndex}
|
|
140
|
+
local doorSlot = ____value.doorSlot
|
|
141
|
+
local roomGridIndex = ____value.roomGridIndex
|
|
142
|
+
newRoomCandidates[#newRoomCandidates + 1] = {adjacentRoomGridIndex = room.SafeGridIndex, doorSlot = doorSlot, newRoomGridIndex = roomGridIndex}
|
|
143
143
|
end
|
|
144
144
|
end
|
|
145
145
|
return newRoomCandidates
|
|
@@ -385,7 +385,9 @@ function ____exports.newRoom(self, seedOrRNG)
|
|
|
385
385
|
if newRoomCandidate == nil then
|
|
386
386
|
return nil
|
|
387
387
|
end
|
|
388
|
-
local adjacentRoomGridIndex
|
|
388
|
+
local adjacentRoomGridIndex = newRoomCandidate.adjacentRoomGridIndex
|
|
389
|
+
local doorSlot = newRoomCandidate.doorSlot
|
|
390
|
+
local newRoomGridIndex = newRoomCandidate.newRoomGridIndex
|
|
389
391
|
level:MakeRedRoomDoor(adjacentRoomGridIndex, doorSlot)
|
|
390
392
|
local roomDescriptor = getRoomDescriptor(nil, newRoomGridIndex)
|
|
391
393
|
roomDescriptor.Flags = removeFlag(nil, roomDescriptor.Flags, RoomDescriptorFlag.RED_ROOM)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playerHealth.d.ts","sourceRoot":"","sources":["../../../src/functions/playerHealth.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"playerHealth.d.ts","sourceRoot":"","sources":["../../../src/functions/playerHealth.ts"],"names":[],"mappings":";;AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAiB,MAAM,4BAA4B,CAAC;AAYzE,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,GAAG,GACb,IAAI,CA+CN;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAMlE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,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CAC7B,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,YAAY,GACzB,IAAI,CAyHN;AAED;;;;;;;;;GASG;AACH,wBAAgB,sDAAsD,CACpE,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,KAAK,GAClB,OAAO,CAyBT"}
|
|
@@ -7,8 +7,6 @@ local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
|
7
7
|
local HeartSubType = ____isaac_2Dtypescript_2Ddefinitions.HeartSubType
|
|
8
8
|
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
9
9
|
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
10
|
-
local ____cachedEnumValues = require("src.arrays.cachedEnumValues")
|
|
11
|
-
local ACTIVE_SLOT_VALUES = ____cachedEnumValues.ACTIVE_SLOT_VALUES
|
|
12
10
|
local ____constants = require("src.core.constants")
|
|
13
11
|
local MAX_PLAYER_HEART_CONTAINERS = ____constants.MAX_PLAYER_HEART_CONTAINERS
|
|
14
12
|
local ____HealthType = require("src.enums.HealthType")
|
|
@@ -22,6 +20,7 @@ local getCharacterMaxHeartContainers = ____characters.getCharacterMaxHeartContai
|
|
|
22
20
|
local ____charge = require("src.functions.charge")
|
|
23
21
|
local getTotalCharge = ____charge.getTotalCharge
|
|
24
22
|
local ____players = require("src.functions.players")
|
|
23
|
+
local getActiveItemSlots = ____players.getActiveItemSlots
|
|
25
24
|
local isCharacter = ____players.isCharacter
|
|
26
25
|
local isKeeper = ____players.isKeeper
|
|
27
26
|
local setActiveItem = ____players.setActiveItem
|
|
@@ -106,18 +105,14 @@ end
|
|
|
106
105
|
function ____exports.setPlayerHealth(self, player, playerHealth)
|
|
107
106
|
local character = player:GetPlayerType()
|
|
108
107
|
local subPlayer = player:GetSubPlayer()
|
|
109
|
-
|
|
110
|
-
local
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
local totalCharge = getTotalCharge(nil, player, activeSlot)
|
|
116
|
-
setActiveItem(nil, player, CollectibleType.NULL, activeSlot)
|
|
117
|
-
alabasterBoxes[#alabasterBoxes + 1] = {activeSlot, totalCharge}
|
|
118
|
-
end
|
|
119
|
-
end
|
|
108
|
+
local alabasterBoxDescriptions = {}
|
|
109
|
+
local alabasterBoxActiveSlots = getActiveItemSlots(nil, player, CollectibleType.ALABASTER_BOX)
|
|
110
|
+
for ____, activeSlot in ipairs(alabasterBoxActiveSlots) do
|
|
111
|
+
local totalCharge = getTotalCharge(nil, player, activeSlot)
|
|
112
|
+
setActiveItem(nil, player, CollectibleType.NULL, activeSlot)
|
|
113
|
+
alabasterBoxDescriptions[#alabasterBoxDescriptions + 1] = {activeSlot = activeSlot, totalCharge = totalCharge}
|
|
120
114
|
end
|
|
115
|
+
____exports.removeAllPlayerHealth(nil, player)
|
|
121
116
|
if character == PlayerType.SOUL and subPlayer ~= nil then
|
|
122
117
|
subPlayer:AddMaxHearts(playerHealth.maxHearts, false)
|
|
123
118
|
else
|
|
@@ -134,25 +129,25 @@ function ____exports.setPlayerHealth(self, player, playerHealth)
|
|
|
134
129
|
addAmount = 1
|
|
135
130
|
end
|
|
136
131
|
repeat
|
|
137
|
-
local
|
|
138
|
-
local
|
|
139
|
-
if
|
|
132
|
+
local ____switch70 = soulHeartType
|
|
133
|
+
local ____cond70 = ____switch70 == HeartSubType.SOUL
|
|
134
|
+
if ____cond70 then
|
|
140
135
|
do
|
|
141
136
|
player:AddSoulHearts(addAmount)
|
|
142
137
|
soulHeartsRemaining = soulHeartsRemaining - addAmount
|
|
143
138
|
break
|
|
144
139
|
end
|
|
145
140
|
end
|
|
146
|
-
|
|
147
|
-
if
|
|
141
|
+
____cond70 = ____cond70 or ____switch70 == HeartSubType.BLACK
|
|
142
|
+
if ____cond70 then
|
|
148
143
|
do
|
|
149
144
|
player:AddBlackHearts(addAmount)
|
|
150
145
|
soulHeartsRemaining = soulHeartsRemaining - addAmount
|
|
151
146
|
break
|
|
152
147
|
end
|
|
153
148
|
end
|
|
154
|
-
|
|
155
|
-
if
|
|
149
|
+
____cond70 = ____cond70 or ____switch70 == HeartSubType.BONE
|
|
150
|
+
if ____cond70 then
|
|
156
151
|
do
|
|
157
152
|
player:AddBoneHearts(addAmount)
|
|
158
153
|
break
|
|
@@ -161,7 +156,7 @@ function ____exports.setPlayerHealth(self, player, playerHealth)
|
|
|
161
156
|
until true
|
|
162
157
|
end
|
|
163
158
|
)
|
|
164
|
-
player:AddRottenHearts(playerHealth.rottenHearts)
|
|
159
|
+
player:AddRottenHearts(playerHealth.rottenHearts * 2)
|
|
165
160
|
if character == PlayerType.MAGDALENE_B then
|
|
166
161
|
____repeat(
|
|
167
162
|
nil,
|
|
@@ -190,9 +185,9 @@ function ____exports.setPlayerHealth(self, player, playerHealth)
|
|
|
190
185
|
elseif character == PlayerType.BETHANY_B then
|
|
191
186
|
player:SetBloodCharge(playerHealth.bloodCharges)
|
|
192
187
|
end
|
|
193
|
-
for ____, ____value in ipairs(
|
|
194
|
-
local activeSlot = ____value
|
|
195
|
-
local totalCharge = ____value
|
|
188
|
+
for ____, ____value in ipairs(alabasterBoxDescriptions) do
|
|
189
|
+
local activeSlot = ____value.activeSlot
|
|
190
|
+
local totalCharge = ____value.totalCharge
|
|
196
191
|
setActiveItem(
|
|
197
192
|
nil,
|
|
198
193
|
player,
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
export * from "./classes/DefaultMap";
|
|
2
|
+
export * from "./classes/ModFeature";
|
|
3
|
+
export * from "./classes/ModUpgraded";
|
|
4
|
+
export * from "./core/cachedClasses";
|
|
5
|
+
export * from "./core/constants";
|
|
6
|
+
export * from "./core/constantsFirstLast";
|
|
7
|
+
export * from "./core/upgradeMod";
|
|
8
|
+
export * from "./enums/AmbushType";
|
|
9
|
+
export * from "./enums/CornerType";
|
|
10
|
+
export * from "./enums/HealthType";
|
|
11
|
+
export * from "./enums/ISCFeature";
|
|
12
|
+
export * from "./enums/LadderSubTypeCustom";
|
|
13
|
+
export * from "./enums/ModCallbackCustom";
|
|
14
|
+
export * from "./enums/MysteriousPaperEffect";
|
|
15
|
+
export * from "./enums/PocketItemType";
|
|
16
|
+
export * from "./enums/RockAltType";
|
|
17
|
+
export * from "./enums/SaveDataKey";
|
|
18
|
+
export * from "./enums/SerializationType";
|
|
19
|
+
export * from "./enums/SlotDestructionType";
|
|
20
|
+
export * from "./enums/StatType";
|
|
21
|
+
export * from "./functions/ambush";
|
|
22
|
+
export * from "./functions/array";
|
|
23
|
+
export * from "./functions/arrayLua";
|
|
24
|
+
export * from "./functions/benchmark";
|
|
25
|
+
export * from "./functions/bitSet128";
|
|
26
|
+
export * from "./functions/bitwise";
|
|
27
|
+
export * from "./functions/bombs";
|
|
28
|
+
export * from "./functions/bosses";
|
|
29
|
+
export * from "./functions/cards";
|
|
30
|
+
export * from "./functions/challenges";
|
|
31
|
+
export * from "./functions/characters";
|
|
32
|
+
export * from "./functions/charge";
|
|
33
|
+
export * from "./functions/chargeBar";
|
|
34
|
+
export * from "./functions/collectibles";
|
|
35
|
+
export * from "./functions/collectibleTag";
|
|
36
|
+
export * from "./functions/color";
|
|
37
|
+
export * from "./functions/console";
|
|
38
|
+
export * from "./functions/curses";
|
|
39
|
+
export * from "./functions/debugFunctions";
|
|
40
|
+
export * from "./functions/decorators";
|
|
41
|
+
export * from "./functions/deepCopy";
|
|
42
|
+
export * from "./functions/deepCopyTests";
|
|
43
|
+
export * from "./functions/dimensions";
|
|
44
|
+
export * from "./functions/direction";
|
|
45
|
+
export * from "./functions/doors";
|
|
46
|
+
export * from "./functions/easing";
|
|
47
|
+
export * from "./functions/effects";
|
|
48
|
+
export * from "./functions/emptyRoom";
|
|
49
|
+
export * from "./functions/entities";
|
|
50
|
+
export * from "./functions/entitiesSpecific";
|
|
51
|
+
export * from "./functions/entityTypes";
|
|
52
|
+
export * from "./functions/enums";
|
|
53
|
+
export * from "./functions/familiars";
|
|
54
|
+
export * from "./functions/flag";
|
|
55
|
+
export * from "./functions/globals";
|
|
56
|
+
export * from "./functions/gridEntities";
|
|
57
|
+
export * from "./functions/gridEntitiesSpecific";
|
|
58
|
+
export * from "./functions/gridIndex";
|
|
59
|
+
export * from "./functions/hex";
|
|
60
|
+
export * from "./functions/initArray";
|
|
61
|
+
export * from "./functions/input";
|
|
62
|
+
export * from "./functions/isaacAPIClass";
|
|
63
|
+
export * from "./functions/itemPool";
|
|
64
|
+
export * from "./functions/jsonHelpers";
|
|
65
|
+
export * from "./functions/jsonRoom";
|
|
66
|
+
export * from "./functions/kColor";
|
|
67
|
+
export * from "./functions/language";
|
|
68
|
+
export * from "./functions/level";
|
|
69
|
+
export * from "./functions/levelGrid";
|
|
70
|
+
export * from "./functions/log";
|
|
71
|
+
export * from "./functions/logEntities";
|
|
72
|
+
export * from "./functions/logMisc";
|
|
73
|
+
export * from "./functions/map";
|
|
74
|
+
export * from "./functions/math";
|
|
75
|
+
export * from "./functions/merge";
|
|
76
|
+
export * from "./functions/mergeTests";
|
|
77
|
+
export * from "./functions/minimap";
|
|
78
|
+
export * from "./functions/modFeatures";
|
|
79
|
+
export * from "./functions/nextStage";
|
|
80
|
+
export * from "./functions/npcs";
|
|
81
|
+
export * from "./functions/pickups";
|
|
82
|
+
export * from "./functions/pickupsSpecific";
|
|
83
|
+
export * from "./functions/pickupVariants";
|
|
84
|
+
export * from "./functions/pills";
|
|
85
|
+
export * from "./functions/playerCenter";
|
|
86
|
+
export * from "./functions/playerDataStructures";
|
|
87
|
+
export * from "./functions/playerHealth";
|
|
88
|
+
export * from "./functions/playerIndex";
|
|
89
|
+
export * from "./functions/players";
|
|
90
|
+
export * from "./functions/playerStats";
|
|
91
|
+
export * from "./functions/pocketItems";
|
|
92
|
+
export * from "./functions/positionVelocity";
|
|
93
|
+
export * from "./functions/pressurePlate";
|
|
94
|
+
export * from "./functions/projectiles";
|
|
95
|
+
export * from "./functions/random";
|
|
96
|
+
export * from "./functions/readOnly";
|
|
97
|
+
export * from "./functions/revive";
|
|
98
|
+
export * from "./functions/rng";
|
|
99
|
+
export * from "./functions/rockAlt";
|
|
100
|
+
export * from "./functions/roomData";
|
|
101
|
+
export * from "./functions/roomGrid";
|
|
102
|
+
export * from "./functions/rooms";
|
|
103
|
+
export * from "./functions/roomShape";
|
|
104
|
+
export * from "./functions/roomShapeWalls";
|
|
105
|
+
export * from "./functions/roomTransition";
|
|
106
|
+
export * from "./functions/run";
|
|
107
|
+
export * from "./functions/seeds";
|
|
108
|
+
export * from "./functions/serialization";
|
|
109
|
+
export * from "./functions/set";
|
|
110
|
+
export * from "./functions/slots";
|
|
111
|
+
export * from "./functions/sort";
|
|
112
|
+
export * from "./functions/sound";
|
|
113
|
+
export * from "./functions/spawnCollectible";
|
|
114
|
+
export * from "./functions/sprites";
|
|
115
|
+
export * from "./functions/stage";
|
|
116
|
+
export * from "./functions/stats";
|
|
117
|
+
export * from "./functions/string";
|
|
118
|
+
export * from "./functions/table";
|
|
119
|
+
export * from "./functions/tears";
|
|
120
|
+
export * from "./functions/transformations";
|
|
121
|
+
export * from "./functions/trinketGive";
|
|
122
|
+
export * from "./functions/trinkets";
|
|
123
|
+
export * from "./functions/tstlClass";
|
|
124
|
+
export * from "./functions/types";
|
|
125
|
+
export * from "./functions/ui";
|
|
126
|
+
export * from "./functions/utils";
|
|
127
|
+
export * from "./functions/vector";
|
|
128
|
+
export * from "./functions/weighted";
|
|
129
|
+
export * from "./interfaces/ChargeBarSprites";
|
|
130
|
+
export * from "./interfaces/Corner";
|
|
131
|
+
export * from "./interfaces/CustomStageTSConfig";
|
|
132
|
+
export * from "./interfaces/GridEntityCustomData";
|
|
133
|
+
export * from "./interfaces/JSONRoomsFile";
|
|
134
|
+
export * from "./interfaces/PlayerHealth";
|
|
135
|
+
export * from "./interfaces/PocketItemDescription";
|
|
136
|
+
export * from "./interfaces/RoomDescription";
|
|
137
|
+
export * from "./interfaces/SaveData";
|
|
138
|
+
export * from "./interfaces/StatTypeType";
|
|
139
|
+
export * from "./interfaces/TrinketSituation";
|
|
140
|
+
export * from "./interfaces/TSTLClassMetatable";
|
|
141
|
+
export * from "./maps/cardNameToTypeMap";
|
|
142
|
+
export * from "./maps/characterNameToTypeMap";
|
|
143
|
+
export * from "./maps/pillNameToEffectMap";
|
|
144
|
+
export * from "./maps/roomNameToTypeMap";
|
|
145
|
+
export * from "./maps/transformationNameToPlayerFormMap";
|
|
146
|
+
export * from "./objects/colors";
|
|
147
|
+
export * from "./objects/kColors";
|
|
148
|
+
export * from "./types/AllButFirst";
|
|
149
|
+
export * from "./types/AllButLast";
|
|
150
|
+
export * from "./types/AnyClass";
|
|
151
|
+
export * from "./types/AnyEntity";
|
|
152
|
+
export * from "./types/AnyFunction";
|
|
153
|
+
export * from "./types/AnyGridEntity";
|
|
154
|
+
export * from "./types/ConversionHeartSubType";
|
|
155
|
+
export * from "./types/Decrement";
|
|
156
|
+
export * from "./types/EntityID";
|
|
157
|
+
export * from "./types/FunctionTuple";
|
|
158
|
+
export * from "./types/GridEntityID";
|
|
159
|
+
export * from "./types/HasFunction";
|
|
160
|
+
export * from "./types/Immutable";
|
|
161
|
+
export * from "./types/Increment";
|
|
162
|
+
export * from "./types/LowercaseKeys";
|
|
163
|
+
export * from "./types/NaturalNumbersLessThan";
|
|
164
|
+
export * from "./types/NaturalNumbersLessThanOrEqualTo";
|
|
165
|
+
export * from "./types/PickingUpItem";
|
|
166
|
+
export * from "./types/PickupIndex";
|
|
167
|
+
export * from "./types/PlayerIndex";
|
|
168
|
+
export * from "./types/PossibleStatType";
|
|
169
|
+
export * from "./types/PublicInterface";
|
|
170
|
+
export * from "./types/Range";
|
|
171
|
+
export * from "./types/ReadonlyMap";
|
|
172
|
+
export * from "./types/ReadonlySet";
|
|
173
|
+
export * from "./types/StartsWithLowercase";
|
|
174
|
+
export * from "./types/StartsWithUppercase";
|
|
175
|
+
export * from "./types/TSTLClass";
|
|
176
|
+
export * from "./types/Tuple";
|
|
177
|
+
export * from "./types/TupleToIntersection";
|
|
178
|
+
export * from "./types/TupleToUnion";
|
|
179
|
+
export * from "./types/TupleWithMaxLength";
|
|
180
|
+
export * from "./types/UnionToIntersection";
|
|
181
|
+
export * from "./types/UppercaseKeys";
|
|
182
|
+
export * from "./types/WeightedArray";
|
|
183
|
+
export * from "./types/Writable";
|
|
184
|
+
export * from "isaac-typescript-definitions";
|
|
185
|
+
//# sourceMappingURL=indexLua.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indexLua.d.ts","sourceRoot":"","sources":["../../../../../packages/isaacscript-common/src/indexLua.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAA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