isaacscript-common 9.13.6 → 9.16.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.
- package/dist/features/extraConsoleCommands/listCommands.d.ts +4 -0
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +81 -19
- package/dist/functions/collectibles.lua +4 -4
- package/dist/functions/minimap.d.ts +22 -4
- package/dist/functions/minimap.d.ts.map +1 -1
- package/dist/functions/minimap.lua +67 -7
- package/dist/functions/string.d.ts +2 -0
- package/dist/functions/string.d.ts.map +1 -1
- package/dist/functions/string.lua +5 -0
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +4 -4
- package/dist/index.d.ts +34 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.lua +4 -4
- package/dist/maps/cardNameToTypeMap.d.ts +4 -0
- package/dist/maps/cardNameToTypeMap.d.ts.map +1 -0
- package/dist/maps/{cardMap.lua → cardNameToTypeMap.lua} +2 -2
- package/dist/maps/characterNameToTypeMap.d.ts +4 -0
- package/dist/maps/characterNameToTypeMap.d.ts.map +1 -0
- package/dist/maps/characterNameToTypeMap.lua +92 -0
- package/dist/maps/collectibleDescriptionMap.d.ts +6 -0
- package/dist/maps/collectibleDescriptionMap.d.ts.map +1 -1
- package/dist/maps/collectibleDescriptionMap.lua +4 -0
- package/dist/maps/collectibleNameToTypeMap.d.ts +3 -0
- package/dist/maps/collectibleNameToTypeMap.d.ts.map +1 -0
- package/dist/maps/collectibleNameToTypeMap.lua +21 -0
- package/dist/maps/collectibleTypeToNameMap.d.ts +12 -0
- package/dist/maps/collectibleTypeToNameMap.d.ts.map +1 -0
- package/dist/maps/{collectibleNameMap.lua → collectibleTypeToNameMap.lua} +7 -1
- package/dist/maps/{pillEffectMap.d.ts → pillNameToEffectMap.d.ts} +2 -2
- package/dist/maps/pillNameToEffectMap.d.ts.map +1 -0
- package/dist/maps/{pillEffectMap.lua → pillNameToEffectMap.lua} +1 -1
- package/dist/maps/roomNameToTypeMap.d.ts +4 -0
- package/dist/maps/roomNameToTypeMap.d.ts.map +1 -0
- package/dist/maps/{roomTypeMap.lua → roomNameToTypeMap.lua} +2 -2
- package/dist/maps/trinketDescriptionMap.d.ts +6 -0
- package/dist/maps/trinketDescriptionMap.d.ts.map +1 -1
- package/dist/maps/trinketDescriptionMap.lua +4 -0
- package/dist/maps/trinketNameToTypeMap.d.ts +3 -0
- package/dist/maps/trinketNameToTypeMap.d.ts.map +1 -0
- package/dist/maps/trinketNameToTypeMap.lua +21 -0
- package/dist/maps/trinketTypeToNameMap.d.ts +12 -0
- package/dist/maps/trinketTypeToNameMap.d.ts.map +1 -0
- package/dist/maps/{trinketNameMap.lua → trinketTypeToNameMap.lua} +7 -1
- package/dist/objects/characterDamageMultipliers.lua +1 -1
- package/dist/objects/characterNames.lua +1 -1
- package/dist/objects/playerNamePNGFileNames.lua +1 -1
- package/dist/objects/playerPortraitPNGFileNames.lua +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.lua +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.lua +1 -1
- package/package.json +2 -2
- package/src/features/extraConsoleCommands/listCommands.ts +91 -16
- package/src/functions/collectibles.ts +3 -3
- package/src/functions/minimap.ts +78 -7
- package/src/functions/string.ts +6 -0
- package/src/functions/trinkets.ts +5 -2
- package/src/index.ts +4 -4
- package/src/maps/{cardMap.ts → cardNameToTypeMap.ts} +2 -2
- package/src/maps/characterNameToTypeMap.ts +88 -0
- package/src/maps/collectibleDescriptionMap.ts +6 -2
- package/src/maps/collectibleNameToTypeMap.ts +19 -0
- package/src/maps/collectibleTypeToNameMap.ts +739 -0
- package/src/maps/pillNameToEffectMap.ts +90 -0
- package/src/maps/{roomTypeMap.ts → roomNameToTypeMap.ts} +2 -2
- package/src/maps/trinketDescriptionMap.ts +6 -2
- package/src/maps/trinketNameToTypeMap.ts +17 -0
- package/src/maps/trinketTypeToNameMap.ts +205 -0
- package/src/objects/characterDamageMultipliers.ts +1 -1
- package/src/objects/characterNames.ts +1 -1
- package/src/objects/playerNamePNGFileNames.ts +1 -1
- package/src/objects/playerPortraitPNGFileNames.ts +1 -1
- package/src/sets/charactersWithBlackHeartFromEternalHeartSet.ts +1 -1
- package/src/sets/charactersWithNoRedHeartsSet.ts +1 -1
- package/dist/maps/cardMap.d.ts +0 -4
- package/dist/maps/cardMap.d.ts.map +0 -1
- package/dist/maps/characterMap.d.ts +0 -4
- package/dist/maps/characterMap.d.ts.map +0 -1
- package/dist/maps/characterMap.lua +0 -90
- package/dist/maps/collectibleNameMap.d.ts +0 -4
- package/dist/maps/collectibleNameMap.d.ts.map +0 -1
- package/dist/maps/pillEffectMap.d.ts.map +0 -1
- package/dist/maps/roomTypeMap.d.ts +0 -4
- package/dist/maps/roomTypeMap.d.ts.map +0 -1
- package/dist/maps/trinketNameMap.d.ts +0 -4
- package/dist/maps/trinketNameMap.d.ts.map +0 -1
- package/src/maps/characterMap.ts +0 -87
- package/src/maps/collectibleNameMap.ts +0 -731
- package/src/maps/pillEffectMap.ts +0 -88
- package/src/maps/trinketNameMap.ts +0 -198
|
@@ -183,6 +183,8 @@ export declare function gridEntities(): void;
|
|
|
183
183
|
export declare function hearts(params: string): void;
|
|
184
184
|
/** Alias for the "debug 6" command. */
|
|
185
185
|
export declare function hitboxes(): void;
|
|
186
|
+
/** Warps to the Blue Womb Boss Room. */
|
|
187
|
+
export declare function hush(): void;
|
|
186
188
|
/** Warps to the I AM ERROR room for the floor. */
|
|
187
189
|
export declare function iAmErrorRoom(): void;
|
|
188
190
|
/**
|
|
@@ -352,8 +354,10 @@ export declare function sounds(): void;
|
|
|
352
354
|
* "debug 10".
|
|
353
355
|
*/
|
|
354
356
|
export declare function spam(): void;
|
|
357
|
+
export declare function spawnCollectible(params: string): void;
|
|
355
358
|
/** Spawns a golden version of the specified trinket type. */
|
|
356
359
|
export declare function spawnGoldenTrinket(params: string): void;
|
|
360
|
+
export declare function spawnTrinket(params: string): void;
|
|
357
361
|
/** Toggles maximum movement speed and flight for the player. */
|
|
358
362
|
export declare function speed(): void;
|
|
359
363
|
/** Alias for the "startingRoom" command. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AAiIA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED,+CAA+C;AAC/C,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED,4CAA4C;AAC5C,wBAAgB,KAAK,IAAI,IAAI,CAG5B;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAcjD;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,IAAI,IAAI,CAEzB;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAczC;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAc1C;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAE/C;AAED,wCAAwC;AACxC,wBAAgB,IAAI,IAAI,IAAI,CAE3B;AAED,kEAAkE;AAClE,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED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gB,SAAS,IAAI,IAAI,CAEhC;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAQ5B;AAED,wCAAwC;AACxC,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,6CAA6C;AAC7C,wBAAgB,QAAQ,IAAI,IAAI,CAE/B;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,8CAA8C;AAC9C,wBAAgB,OAAO,IAAI,IAAI,CAG9B;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC"}
|
|
@@ -67,7 +67,7 @@ local runMergeTests = ____mergeTests.runMergeTests
|
|
|
67
67
|
local ____pickupsSpecific = require("functions.pickupsSpecific")
|
|
68
68
|
local spawnCard = ____pickupsSpecific.spawnCard
|
|
69
69
|
local spawnPill = ____pickupsSpecific.spawnPill
|
|
70
|
-
local
|
|
70
|
+
local spawnTrinketFunction = ____pickupsSpecific.spawnTrinket
|
|
71
71
|
local ____pills = require("functions.pills")
|
|
72
72
|
local getPillEffectName = ____pills.getPillEffectName
|
|
73
73
|
local ____playerIndex = require("functions.playerIndex")
|
|
@@ -87,24 +87,32 @@ local ____run = require("functions.run")
|
|
|
87
87
|
local onSetSeed = ____run.onSetSeed
|
|
88
88
|
local restart = ____run.restart
|
|
89
89
|
local setUnseeded = ____run.setUnseeded
|
|
90
|
+
local ____spawnCollectible = require("functions.spawnCollectible")
|
|
91
|
+
local spawnCollectibleFunction = ____spawnCollectible.spawnCollectible
|
|
90
92
|
local ____stage = require("functions.stage")
|
|
91
93
|
local setStage = ____stage.setStage
|
|
92
94
|
local ____trinkets = require("functions.trinkets")
|
|
93
95
|
local getGoldenTrinketType = ____trinkets.getGoldenTrinketType
|
|
94
96
|
local ____types = require("functions.types")
|
|
95
97
|
local asCardType = ____types.asCardType
|
|
98
|
+
local asCollectibleType = ____types.asCollectibleType
|
|
99
|
+
local asTrinketType = ____types.asTrinketType
|
|
96
100
|
local ____utils = require("functions.utils")
|
|
97
101
|
local irange = ____utils.irange
|
|
98
102
|
local printConsole = ____utils.printConsole
|
|
99
103
|
local printEnabled = ____utils.printEnabled
|
|
100
|
-
local
|
|
101
|
-
local
|
|
102
|
-
local
|
|
103
|
-
local
|
|
104
|
-
local
|
|
105
|
-
local
|
|
106
|
-
local
|
|
107
|
-
local
|
|
104
|
+
local ____cardNameToTypeMap = require("maps.cardNameToTypeMap")
|
|
105
|
+
local CARD_NAME_TO_TYPE_MAP = ____cardNameToTypeMap.CARD_NAME_TO_TYPE_MAP
|
|
106
|
+
local ____characterNameToTypeMap = require("maps.characterNameToTypeMap")
|
|
107
|
+
local CHARACTER_NAME_TO_TYPE_MAP = ____characterNameToTypeMap.CHARACTER_NAME_TO_TYPE_MAP
|
|
108
|
+
local ____collectibleNameToTypeMap = require("maps.collectibleNameToTypeMap")
|
|
109
|
+
local COLLECTIBLE_NAME_TO_TYPE_MAP = ____collectibleNameToTypeMap.COLLECTIBLE_NAME_TO_TYPE_MAP
|
|
110
|
+
local ____pillNameToEffectMap = require("maps.pillNameToEffectMap")
|
|
111
|
+
local PILL_NAME_TO_EFFECT_MAP = ____pillNameToEffectMap.PILL_NAME_TO_EFFECT_MAP
|
|
112
|
+
local ____roomNameToTypeMap = require("maps.roomNameToTypeMap")
|
|
113
|
+
local ROOM_NAME_TO_TYPE_MAP = ____roomNameToTypeMap.ROOM_NAME_TO_TYPE_MAP
|
|
114
|
+
local ____trinketNameToTypeMap = require("maps.trinketNameToTypeMap")
|
|
115
|
+
local TRINKET_NAME_TO_TYPE_MAP = ____trinketNameToTypeMap.TRINKET_NAME_TO_TYPE_MAP
|
|
108
116
|
local ____firstLast = require("features.firstLast")
|
|
109
117
|
local getLastCardType = ____firstLast.getLastCardType
|
|
110
118
|
local getLastPillEffect = ____firstLast.getLastPillEffect
|
|
@@ -361,7 +369,7 @@ function ____exports.card(self, params)
|
|
|
361
369
|
local cardType
|
|
362
370
|
local num = tonumber(params)
|
|
363
371
|
if num == nil then
|
|
364
|
-
local match = getMapPartialMatch(nil, params,
|
|
372
|
+
local match = getMapPartialMatch(nil, params, CARD_NAME_TO_TYPE_MAP)
|
|
365
373
|
if match == nil then
|
|
366
374
|
printConsole(nil, "Unknown card: " .. params)
|
|
367
375
|
return
|
|
@@ -430,7 +438,7 @@ function ____exports.character(self, params)
|
|
|
430
438
|
local playerType
|
|
431
439
|
local num = tonumber(params)
|
|
432
440
|
if num == nil then
|
|
433
|
-
local match = getMapPartialMatch(nil, params,
|
|
441
|
+
local match = getMapPartialMatch(nil, params, CHARACTER_NAME_TO_TYPE_MAP)
|
|
434
442
|
if match == nil then
|
|
435
443
|
printConsole(nil, "Unknown character: " .. params)
|
|
436
444
|
return
|
|
@@ -676,6 +684,11 @@ end
|
|
|
676
684
|
function ____exports.hitboxes(self)
|
|
677
685
|
Isaac.ExecuteCommand("debug 6")
|
|
678
686
|
end
|
|
687
|
+
--- Warps to the Blue Womb Boss Room.
|
|
688
|
+
function ____exports.hush(self)
|
|
689
|
+
setStage(nil, LevelStage.BLUE_WOMB, StageType.ORIGINAL)
|
|
690
|
+
____exports.bossRoom(nil)
|
|
691
|
+
end
|
|
679
692
|
--- Gives a key. Provide a number to give a custom amount of key. (You can use negative numbers to
|
|
680
693
|
-- remove keys.)
|
|
681
694
|
function ____exports.key(self, params)
|
|
@@ -805,7 +818,7 @@ function ____exports.pill(self, params)
|
|
|
805
818
|
local pillEffect
|
|
806
819
|
local num = tonumber(params)
|
|
807
820
|
if num == nil then
|
|
808
|
-
local match = getMapPartialMatch(nil, params,
|
|
821
|
+
local match = getMapPartialMatch(nil, params, PILL_NAME_TO_EFFECT_MAP)
|
|
809
822
|
if match == nil then
|
|
810
823
|
printConsole(nil, "Unknown pill effect: " .. params)
|
|
811
824
|
return
|
|
@@ -1099,21 +1112,70 @@ function ____exports.spam(self)
|
|
|
1099
1112
|
v.run.spamBloodRights = not v.run.spamBloodRights
|
|
1100
1113
|
printEnabled(nil, v.run.spamBloodRights, "spamming Blood Rights")
|
|
1101
1114
|
end
|
|
1115
|
+
function ____exports.spawnCollectible(self, params)
|
|
1116
|
+
if params == "" then
|
|
1117
|
+
printConsole(nil, "You must specify the name or number corresponding to the collectible type.")
|
|
1118
|
+
return
|
|
1119
|
+
end
|
|
1120
|
+
local collectibleTypeNumber = tonumber(params)
|
|
1121
|
+
local collectibleType
|
|
1122
|
+
if collectibleTypeNumber == nil then
|
|
1123
|
+
local match = getMapPartialMatch(nil, params, COLLECTIBLE_NAME_TO_TYPE_MAP)
|
|
1124
|
+
if match == nil then
|
|
1125
|
+
printConsole(nil, "Unknown collectible: " .. params)
|
|
1126
|
+
return
|
|
1127
|
+
end
|
|
1128
|
+
collectibleType = match[2]
|
|
1129
|
+
else
|
|
1130
|
+
collectibleType = asCollectibleType(nil, collectibleTypeNumber)
|
|
1131
|
+
end
|
|
1132
|
+
local roomClass = game:GetRoom()
|
|
1133
|
+
local centerPos = roomClass:GetCenterPos()
|
|
1134
|
+
spawnCollectibleFunction(nil, collectibleType, centerPos)
|
|
1135
|
+
end
|
|
1102
1136
|
--- Spawns a golden version of the specified trinket type.
|
|
1103
1137
|
function ____exports.spawnGoldenTrinket(self, params)
|
|
1104
1138
|
if params == "" then
|
|
1105
|
-
printConsole(nil, "You must specify the number corresponding to the trinket type.")
|
|
1139
|
+
printConsole(nil, "You must specify the name or number corresponding to the trinket type.")
|
|
1106
1140
|
return
|
|
1107
1141
|
end
|
|
1108
|
-
local
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1142
|
+
local trinketTypeNumber = tonumber(params)
|
|
1143
|
+
local trinketType
|
|
1144
|
+
if trinketTypeNumber == nil then
|
|
1145
|
+
local match = getMapPartialMatch(nil, params, TRINKET_NAME_TO_TYPE_MAP)
|
|
1146
|
+
if match == nil then
|
|
1147
|
+
printConsole(nil, "Unknown trinket: " .. params)
|
|
1148
|
+
return
|
|
1149
|
+
end
|
|
1150
|
+
trinketType = match[2]
|
|
1151
|
+
else
|
|
1152
|
+
trinketType = asTrinketType(nil, trinketTypeNumber)
|
|
1112
1153
|
end
|
|
1154
|
+
local roomClass = game:GetRoom()
|
|
1155
|
+
local centerPos = roomClass:GetCenterPos()
|
|
1113
1156
|
local goldenTrinketType = getGoldenTrinketType(nil, trinketType)
|
|
1157
|
+
spawnTrinketFunction(nil, goldenTrinketType, centerPos)
|
|
1158
|
+
end
|
|
1159
|
+
function ____exports.spawnTrinket(self, params)
|
|
1160
|
+
if params == "" then
|
|
1161
|
+
printConsole(nil, "You must specify the name or number corresponding to the trinket type.")
|
|
1162
|
+
return
|
|
1163
|
+
end
|
|
1164
|
+
local trinketTypeNumber = tonumber(params)
|
|
1165
|
+
local trinketType
|
|
1166
|
+
if trinketTypeNumber == nil then
|
|
1167
|
+
local match = getMapPartialMatch(nil, params, TRINKET_NAME_TO_TYPE_MAP)
|
|
1168
|
+
if match == nil then
|
|
1169
|
+
printConsole(nil, "Unknown trinket: " .. params)
|
|
1170
|
+
return
|
|
1171
|
+
end
|
|
1172
|
+
trinketType = match[2]
|
|
1173
|
+
else
|
|
1174
|
+
trinketType = asTrinketType(nil, trinketTypeNumber)
|
|
1175
|
+
end
|
|
1114
1176
|
local roomClass = game:GetRoom()
|
|
1115
1177
|
local centerPos = roomClass:GetCenterPos()
|
|
1116
|
-
|
|
1178
|
+
spawnTrinketFunction(nil, trinketType, centerPos)
|
|
1117
1179
|
end
|
|
1118
1180
|
--- Toggles maximum movement speed and flight for the player.
|
|
1119
1181
|
function ____exports.speed(self)
|
|
@@ -1190,7 +1252,7 @@ function ____exports.warp(self, params)
|
|
|
1190
1252
|
local roomType
|
|
1191
1253
|
local num = tonumber(params)
|
|
1192
1254
|
if num == nil then
|
|
1193
|
-
local match = getMapPartialMatch(nil, params,
|
|
1255
|
+
local match = getMapPartialMatch(nil, params, ROOM_NAME_TO_TYPE_MAP)
|
|
1194
1256
|
if match == nil then
|
|
1195
1257
|
printConsole(nil, "Unknown room type: " .. params)
|
|
1196
1258
|
return
|
|
@@ -20,9 +20,9 @@ local LAST_VANILLA_COLLECTIBLE_TYPE = ____constantsFirstLast.LAST_VANILLA_COLLEC
|
|
|
20
20
|
local ____collectibleDescriptionMap = require("maps.collectibleDescriptionMap")
|
|
21
21
|
local COLLECTIBLE_DESCRIPTION_MAP = ____collectibleDescriptionMap.COLLECTIBLE_DESCRIPTION_MAP
|
|
22
22
|
local DEFAULT_COLLECTIBLE_DESCRIPTION = ____collectibleDescriptionMap.DEFAULT_COLLECTIBLE_DESCRIPTION
|
|
23
|
-
local
|
|
24
|
-
local
|
|
25
|
-
local DEFAULT_COLLECTIBLE_NAME =
|
|
23
|
+
local ____collectibleTypeToNameMap = require("maps.collectibleTypeToNameMap")
|
|
24
|
+
local COLLECTIBLE_TYPE_TO_NAME_MAP = ____collectibleTypeToNameMap.COLLECTIBLE_TYPE_TO_NAME_MAP
|
|
25
|
+
local DEFAULT_COLLECTIBLE_NAME = ____collectibleTypeToNameMap.DEFAULT_COLLECTIBLE_NAME
|
|
26
26
|
local ____singleUseActiveCollectibleTypesSet = require("sets.singleUseActiveCollectibleTypesSet")
|
|
27
27
|
local SINGLE_USE_ACTIVE_COLLECTIBLE_TYPES_SET = ____singleUseActiveCollectibleTypesSet.SINGLE_USE_ACTIVE_COLLECTIBLE_TYPES_SET
|
|
28
28
|
local ____entities = require("functions.entities")
|
|
@@ -285,7 +285,7 @@ end
|
|
|
285
285
|
--
|
|
286
286
|
-- For example, `getCollectibleName(CollectibleType.SAD_ONION)` would return "Sad Onion".
|
|
287
287
|
function ____exports.getCollectibleName(self, collectibleType)
|
|
288
|
-
local collectibleName =
|
|
288
|
+
local collectibleName = COLLECTIBLE_TYPE_TO_NAME_MAP:get(collectibleType)
|
|
289
289
|
if collectibleName ~= nil then
|
|
290
290
|
return collectibleName
|
|
291
291
|
end
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { DisplayFlag } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Helper function to add a `DisplayFlag` to a particular room's minimap display flags (e.g. whether
|
|
4
|
+
* or not it is visible and so on).
|
|
5
|
+
*
|
|
6
|
+
* @param roomGridIndex Set to undefined to use the current room index.
|
|
7
|
+
* @param displayFlag The `DisplayFlag` to set. (See the `DisplayFlag` enum.)
|
|
8
|
+
* @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
9
|
+
* make the changes immediately visible. Default is true.
|
|
10
|
+
*/
|
|
11
|
+
export declare function addRoomDisplayFlag(roomGridIndex: int | undefined, displayFlag: DisplayFlag, updateVisibility?: boolean): void;
|
|
2
12
|
/**
|
|
3
13
|
* Helper function to set the value of `DisplayFlag` for every room on the floor to 0.
|
|
4
14
|
*
|
|
@@ -33,11 +43,19 @@ export declare function setFloorDisplayFlags(displayFlagsMap: Map<int, BitFlags<
|
|
|
33
43
|
* Helper function to set a particular room's minimap display flags (e.g. whether or not it is
|
|
34
44
|
* visible and so on).
|
|
35
45
|
*
|
|
36
|
-
* You must call the `Level.UpdateVisibility` method after using this function for the changes to
|
|
37
|
-
* take effect.
|
|
38
|
-
*
|
|
39
46
|
* @param roomGridIndex Set to undefined to use the current room index.
|
|
40
47
|
* @param displayFlags The bit flags value to set. (See the `DisplayFlag` enum.)
|
|
48
|
+
* @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
49
|
+
* make the changes immediately visible. Default is true.
|
|
50
|
+
*/
|
|
51
|
+
export declare function setRoomDisplayFlags(roomGridIndex: int | undefined, displayFlags: BitFlags<DisplayFlag>, updateVisibility?: boolean): void;
|
|
52
|
+
/**
|
|
53
|
+
* Helper function to make a single room visible in a similar way to how the Compass makes a Boss
|
|
54
|
+
* Room visible (e.g. by adding `DisplayFlag.SHOW_ICON`).
|
|
55
|
+
*
|
|
56
|
+
* @param roomGridIndex Set to undefined to use the current room index.
|
|
57
|
+
* @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
58
|
+
* make the changes immediately visible. Default is true.
|
|
41
59
|
*/
|
|
42
|
-
export declare function
|
|
60
|
+
export declare function setRoomVisible(roomGridIndex: int | undefined, updateVisibility?: boolean): void;
|
|
43
61
|
//# sourceMappingURL=minimap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../src/functions/minimap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"minimap.d.ts","sourceRoot":"","sources":["../../src/functions/minimap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAmB,MAAM,8BAA8B,CAAC;AAM5E;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,WAAW,EAAE,WAAW,EACxB,gBAAgB,UAAO,GACtB,IAAI,CAwBN;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAS7C;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAYtE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,CAAC,EAAE,GAAG,GAClB,QAAQ,CAAC,WAAW,CAAC,CAGvB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,eAAe,EAAE,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,GAC/C,IAAI,CAiBN;AAED,gDAAgD;AAChD,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,GAC/C,IAAI,CAEN;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,EACnC,gBAAgB,UAAO,GACtB,IAAI,CAkBN;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,aAAa,EAAE,GAAG,GAAG,SAAS,EAC9B,gBAAgB,UAAO,GACtB,IAAI,CAEN"}
|
|
@@ -4,24 +4,72 @@ local __TS__New = ____lualib.__TS__New
|
|
|
4
4
|
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
5
5
|
local ____exports = {}
|
|
6
6
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
7
|
+
local DisplayFlag = ____isaac_2Dtypescript_2Ddefinitions.DisplayFlag
|
|
7
8
|
local DisplayFlagZero = ____isaac_2Dtypescript_2Ddefinitions.DisplayFlagZero
|
|
8
9
|
local ____cachedClasses = require("core.cachedClasses")
|
|
9
10
|
local game = ____cachedClasses.game
|
|
11
|
+
local ____flag = require("functions.flag")
|
|
12
|
+
local addFlag = ____flag.addFlag
|
|
10
13
|
local ____roomData = require("functions.roomData")
|
|
11
14
|
local getRoomDescriptor = ____roomData.getRoomDescriptor
|
|
15
|
+
local getRoomGridIndex = ____roomData.getRoomGridIndex
|
|
12
16
|
local ____rooms = require("functions.rooms")
|
|
13
17
|
local getRoomsInsideGrid = ____rooms.getRoomsInsideGrid
|
|
14
18
|
--- Helper function to set a particular room's minimap display flags (e.g. whether or not it is
|
|
15
19
|
-- visible and so on).
|
|
16
20
|
--
|
|
17
|
-
-- You must call the `Level.UpdateVisibility` method after using this function for the changes to
|
|
18
|
-
-- take effect.
|
|
19
|
-
--
|
|
20
21
|
-- @param roomGridIndex Set to undefined to use the current room index.
|
|
21
22
|
-- @param displayFlags The bit flags value to set. (See the `DisplayFlag` enum.)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
-- @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
24
|
+
-- make the changes immediately visible. Default is true.
|
|
25
|
+
function ____exports.setRoomDisplayFlags(self, roomGridIndex, displayFlags, updateVisibility)
|
|
26
|
+
if updateVisibility == nil then
|
|
27
|
+
updateVisibility = true
|
|
28
|
+
end
|
|
29
|
+
if MinimapAPI == nil then
|
|
30
|
+
local roomDescriptor = getRoomDescriptor(nil, roomGridIndex)
|
|
31
|
+
roomDescriptor.DisplayFlags = displayFlags
|
|
32
|
+
else
|
|
33
|
+
if roomGridIndex == nil then
|
|
34
|
+
roomGridIndex = getRoomGridIndex(nil)
|
|
35
|
+
end
|
|
36
|
+
local roomDescriptor = MinimapAPI:GetRoomByIdx(roomGridIndex)
|
|
37
|
+
if roomDescriptor ~= nil then
|
|
38
|
+
roomDescriptor.DisplayFlags = displayFlags
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
if updateVisibility then
|
|
42
|
+
local level = game:GetLevel()
|
|
43
|
+
level:UpdateVisibility()
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
--- Helper function to add a `DisplayFlag` to a particular room's minimap display flags (e.g. whether
|
|
47
|
+
-- or not it is visible and so on).
|
|
48
|
+
--
|
|
49
|
+
-- @param roomGridIndex Set to undefined to use the current room index.
|
|
50
|
+
-- @param displayFlag The `DisplayFlag` to set. (See the `DisplayFlag` enum.)
|
|
51
|
+
-- @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
52
|
+
-- make the changes immediately visible. Default is true.
|
|
53
|
+
function ____exports.addRoomDisplayFlag(self, roomGridIndex, displayFlag, updateVisibility)
|
|
54
|
+
if updateVisibility == nil then
|
|
55
|
+
updateVisibility = true
|
|
56
|
+
end
|
|
57
|
+
if MinimapAPI == nil then
|
|
58
|
+
local roomDescriptor = getRoomDescriptor(nil, roomGridIndex)
|
|
59
|
+
roomDescriptor.DisplayFlags = addFlag(nil, roomDescriptor.DisplayFlags, displayFlag)
|
|
60
|
+
else
|
|
61
|
+
if roomGridIndex == nil then
|
|
62
|
+
roomGridIndex = getRoomGridIndex(nil)
|
|
63
|
+
end
|
|
64
|
+
local roomDescriptor = MinimapAPI:GetRoomByIdx(roomGridIndex)
|
|
65
|
+
if roomDescriptor ~= nil then
|
|
66
|
+
roomDescriptor.DisplayFlags = addFlag(nil, roomDescriptor.DisplayFlags, displayFlag)
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
if updateVisibility then
|
|
70
|
+
local level = game:GetLevel()
|
|
71
|
+
level:UpdateVisibility()
|
|
72
|
+
end
|
|
25
73
|
end
|
|
26
74
|
--- Helper function to set the value of `DisplayFlag` for every room on the floor to 0.
|
|
27
75
|
--
|
|
@@ -64,7 +112,7 @@ function ____exports.setDisplayFlags(self, displayFlagsMap)
|
|
|
64
112
|
local roomGridIndex = ____value[1]
|
|
65
113
|
local displayFlags = ____value[2]
|
|
66
114
|
if MinimapAPI == nil then
|
|
67
|
-
____exports.setRoomDisplayFlags(nil, roomGridIndex, displayFlags)
|
|
115
|
+
____exports.setRoomDisplayFlags(nil, roomGridIndex, displayFlags, false)
|
|
68
116
|
else
|
|
69
117
|
local roomDescriptor = MinimapAPI:GetRoomByIdx(roomGridIndex)
|
|
70
118
|
if roomDescriptor ~= nil then
|
|
@@ -78,4 +126,16 @@ end
|
|
|
78
126
|
function ____exports.setFloorDisplayFlags(self, displayFlagsMap)
|
|
79
127
|
____exports.setDisplayFlags(nil, displayFlagsMap)
|
|
80
128
|
end
|
|
129
|
+
--- Helper function to make a single room visible in a similar way to how the Compass makes a Boss
|
|
130
|
+
-- Room visible (e.g. by adding `DisplayFlag.SHOW_ICON`).
|
|
131
|
+
--
|
|
132
|
+
-- @param roomGridIndex Set to undefined to use the current room index.
|
|
133
|
+
-- @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
134
|
+
-- make the changes immediately visible. Default is true.
|
|
135
|
+
function ____exports.setRoomVisible(self, roomGridIndex, updateVisibility)
|
|
136
|
+
if updateVisibility == nil then
|
|
137
|
+
updateVisibility = true
|
|
138
|
+
end
|
|
139
|
+
____exports.addRoomDisplayFlag(nil, roomGridIndex, DisplayFlag.SHOW_ICON, updateVisibility)
|
|
140
|
+
end
|
|
81
141
|
return ____exports
|
|
@@ -22,6 +22,8 @@ export declare function removeAllCharacters(string: string, character: string):
|
|
|
22
22
|
* modified string.
|
|
23
23
|
*/
|
|
24
24
|
export declare function removeCharactersBefore(string: string, substring: string): string;
|
|
25
|
+
/** Helper function to remove all characters from a string that are not letters or numbers. */
|
|
26
|
+
export declare function removeNonAlphanumericCharacters(str: string): string;
|
|
25
27
|
/**
|
|
26
28
|
* Helper function to remove one or more substrings from a string, if they exist. Returns the
|
|
27
29
|
* modified string.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/functions/string.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAM5D;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,EAAE,GACd,MAAM,GAAG,SAAS,CAYpB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE7E;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAChB,MAAM,CAGR;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,MAAM,EACd,GAAG,UAAU,EAAE,MAAM,EAAE,GACtB,MAAM,CAMR;AAED,gGAAgG;AAChG,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAMjE;AAED,gGAAgG;AAChG,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAOjE"}
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../src/functions/string.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAM5D;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,MAAM,EAAE,GACd,MAAM,GAAG,SAAS,CAYpB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE7E;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAChB,MAAM,CAGR;AAED,8FAA8F;AAC9F,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAGnE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,MAAM,EACd,GAAG,UAAU,EAAE,MAAM,EAAE,GACtB,MAAM,CAMR;AAED,gGAAgG;AAChG,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAMjE;AAED,gGAAgG;AAChG,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAOjE"}
|
|
@@ -49,6 +49,11 @@ function ____exports.removeCharactersBefore(self, ____string, substring)
|
|
|
49
49
|
local index = (string.find(____string, substring, nil, true) or 0) - 1
|
|
50
50
|
return __TS__StringSlice(____string, index)
|
|
51
51
|
end
|
|
52
|
+
--- Helper function to remove all characters from a string that are not letters or numbers.
|
|
53
|
+
function ____exports.removeNonAlphanumericCharacters(self, str)
|
|
54
|
+
local returnValue, _ = string.gsub(str, "%W", "")
|
|
55
|
+
return returnValue
|
|
56
|
+
end
|
|
52
57
|
--- Helper function to remove one or more substrings from a string, if they exist. Returns the
|
|
53
58
|
-- modified string.
|
|
54
59
|
--
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trinkets.d.ts","sourceRoot":"","sources":["../../src/functions/trinkets.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"trinkets.d.ts","sourceRoot":"","sources":["../../src/functions/trinkets.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAkCtC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAE1E;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,GAAG,SAAS,CAkBxE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CActE;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAOtE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAc/D;AAED,kFAAkF;AAClF,wBAAgB,sBAAsB,IAAI,WAAW,EAAE,CAEtD;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAOhE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAErE;AAED,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,CAEtE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CASjE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,YAAY,EACrB,OAAO,EAAE,MAAM,GAAG,SAAS,GAC1B,IAAI,CAeN"}
|
|
@@ -13,9 +13,9 @@ local LAST_VANILLA_TRINKET_TYPE = ____constantsFirstLast.LAST_VANILLA_TRINKET_TY
|
|
|
13
13
|
local ____trinketDescriptionMap = require("maps.trinketDescriptionMap")
|
|
14
14
|
local DEFAULT_TRINKET_DESCRIPTION = ____trinketDescriptionMap.DEFAULT_TRINKET_DESCRIPTION
|
|
15
15
|
local TRINKET_DESCRIPTION_MAP = ____trinketDescriptionMap.TRINKET_DESCRIPTION_MAP
|
|
16
|
-
local
|
|
17
|
-
local DEFAULT_TRINKET_NAME =
|
|
18
|
-
local
|
|
16
|
+
local ____trinketTypeToNameMap = require("maps.trinketTypeToNameMap")
|
|
17
|
+
local DEFAULT_TRINKET_NAME = ____trinketTypeToNameMap.DEFAULT_TRINKET_NAME
|
|
18
|
+
local TRINKET_TYPE_TO_NAME_MAP = ____trinketTypeToNameMap.TRINKET_TYPE_TO_NAME_MAP
|
|
19
19
|
local ____entities = require("functions.entities")
|
|
20
20
|
local getEntityID = ____entities.getEntityID
|
|
21
21
|
local ____pickupVariants = require("functions.pickupVariants")
|
|
@@ -104,7 +104,7 @@ end
|
|
|
104
104
|
--
|
|
105
105
|
-- For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
|
|
106
106
|
function ____exports.getTrinketName(self, trinketType)
|
|
107
|
-
local trinketName =
|
|
107
|
+
local trinketName = TRINKET_TYPE_TO_NAME_MAP:get(trinketType)
|
|
108
108
|
if trinketName ~= nil then
|
|
109
109
|
return trinketName
|
|
110
110
|
end
|
package/dist/index.d.ts
CHANGED
|
@@ -287,6 +287,17 @@ export declare function addRoomClearCharges(bigRoomDoubleCharge?: boolean): void
|
|
|
287
287
|
*/
|
|
288
288
|
export declare function addRoomClearChargeToSlot(player: EntityPlayer, activeSlot: ActiveSlot, bigRoomDoubleCharge?: boolean, playSoundEffect?: boolean): void;
|
|
289
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Helper function to add a `DisplayFlag` to a particular room's minimap display flags (e.g. whether
|
|
292
|
+
* or not it is visible and so on).
|
|
293
|
+
*
|
|
294
|
+
* @param roomGridIndex Set to undefined to use the current room index.
|
|
295
|
+
* @param displayFlag The `DisplayFlag` to set. (See the `DisplayFlag` enum.)
|
|
296
|
+
* @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
297
|
+
* make the changes immediately visible. Default is true.
|
|
298
|
+
*/
|
|
299
|
+
export declare function addRoomDisplayFlag(roomGridIndex: int | undefined, displayFlag: DisplayFlag, updateVisibility?: boolean): void;
|
|
300
|
+
|
|
290
301
|
/**
|
|
291
302
|
* Helper function to add all of the values in one set to another set. The first set passed will be
|
|
292
303
|
* modified in place.
|
|
@@ -615,8 +626,8 @@ export declare function canRunUnlockAchievements(): boolean;
|
|
|
615
626
|
|
|
616
627
|
export declare function capitalizeFirstLetter(string: string): string;
|
|
617
628
|
|
|
618
|
-
/** Maps card names to
|
|
619
|
-
export declare const
|
|
629
|
+
/** Maps card names to the values of the `CardType` enum. */
|
|
630
|
+
export declare const CARD_NAME_TO_TYPE_MAP: ReadonlyMap<string, CardType>;
|
|
620
631
|
|
|
621
632
|
/**
|
|
622
633
|
* Helper function for quickly switching to a new room without playing a particular animation. Use
|
|
@@ -625,8 +636,8 @@ export declare const CARD_MAP: ReadonlyMap<string, CardType>;
|
|
|
625
636
|
*/
|
|
626
637
|
export declare function changeRoom(roomGridIndex: int): void;
|
|
627
638
|
|
|
628
|
-
/** Maps character names to
|
|
629
|
-
export declare const
|
|
639
|
+
/** Maps character names to the values of the `PlayerType` enum. */
|
|
640
|
+
export declare const CHARACTER_NAME_TO_TYPE_MAP: Map<string, PlayerType>;
|
|
630
641
|
|
|
631
642
|
/**
|
|
632
643
|
* Helper function to determine if the given character can have red heart containers. Returns true
|
|
@@ -8520,7 +8531,7 @@ export declare type PickupIndex = int & {
|
|
|
8520
8531
|
};
|
|
8521
8532
|
|
|
8522
8533
|
/** Maps pill effect names to the values of the `PillEffect` enum. */
|
|
8523
|
-
export declare const
|
|
8534
|
+
export declare const PILL_NAME_TO_EFFECT_MAP: ReadonlyMap<string, PillEffect>;
|
|
8524
8535
|
|
|
8525
8536
|
export declare function playChargeSoundEffect(player: EntityPlayer, activeSlot: ActiveSlot): void;
|
|
8526
8537
|
|
|
@@ -9778,6 +9789,9 @@ export declare function removeGridEntities<T extends AnyGridEntity>(gridEntities
|
|
|
9778
9789
|
*/
|
|
9779
9790
|
export declare function removeGridEntity(gridEntityOrGridIndex: GridEntity | int, updateRoom: boolean): void;
|
|
9780
9791
|
|
|
9792
|
+
/** Helper function to remove all characters from a string that are not letters or numbers. */
|
|
9793
|
+
export declare function removeNonAlphanumericCharacters(str: string): string;
|
|
9794
|
+
|
|
9781
9795
|
/**
|
|
9782
9796
|
* Helper function to stop an entity spawned with the `spawnPersistentEntity` helper function from
|
|
9783
9797
|
* respawning.
|
|
@@ -9901,8 +9915,8 @@ export declare enum RockAltType {
|
|
|
9901
9915
|
BUCKET_DROSS = 5
|
|
9902
9916
|
}
|
|
9903
9917
|
|
|
9904
|
-
/** Maps room
|
|
9905
|
-
export declare const
|
|
9918
|
+
/** Maps room names to the values of the `RoomType` enum. */
|
|
9919
|
+
export declare const ROOM_NAME_TO_TYPE_MAP: ReadonlyMap<string, RoomType>;
|
|
9906
9920
|
|
|
9907
9921
|
/** This is used by the room history feature of the standard library. */
|
|
9908
9922
|
export declare interface RoomDescription {
|
|
@@ -10725,13 +10739,12 @@ export declare function setRoomData(roomGridIndex: int, roomData: Readonly<RoomC
|
|
|
10725
10739
|
* Helper function to set a particular room's minimap display flags (e.g. whether or not it is
|
|
10726
10740
|
* visible and so on).
|
|
10727
10741
|
*
|
|
10728
|
-
* You must call the `Level.UpdateVisibility` method after using this function for the changes to
|
|
10729
|
-
* take effect.
|
|
10730
|
-
*
|
|
10731
10742
|
* @param roomGridIndex Set to undefined to use the current room index.
|
|
10732
10743
|
* @param displayFlags The bit flags value to set. (See the `DisplayFlag` enum.)
|
|
10744
|
+
* @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
10745
|
+
* make the changes immediately visible. Default is true.
|
|
10733
10746
|
*/
|
|
10734
|
-
export declare function setRoomDisplayFlags(roomGridIndex: int | undefined, displayFlags: BitFlags<DisplayFlag
|
|
10747
|
+
export declare function setRoomDisplayFlags(roomGridIndex: int | undefined, displayFlags: BitFlags<DisplayFlag>, updateVisibility?: boolean): void;
|
|
10735
10748
|
|
|
10736
10749
|
/**
|
|
10737
10750
|
* Helper function to emulate what happens when you bomb an Angel Statue or push a Reward Plate that
|
|
@@ -10739,6 +10752,16 @@ export declare function setRoomDisplayFlags(roomGridIndex: int | undefined, disp
|
|
|
10739
10752
|
*/
|
|
10740
10753
|
export declare function setRoomUncleared(): void;
|
|
10741
10754
|
|
|
10755
|
+
/**
|
|
10756
|
+
* Helper function to make a single room visible in a similar way to how the Compass makes a Boss
|
|
10757
|
+
* Room visible (e.g. by adding `DisplayFlag.SHOW_ICON`).
|
|
10758
|
+
*
|
|
10759
|
+
* @param roomGridIndex Set to undefined to use the current room index.
|
|
10760
|
+
* @param updateVisibility Optional. Whether to call the `Level.UpdateVisibility` method in order to
|
|
10761
|
+
* make the changes immediately visible. Default is true.
|
|
10762
|
+
*/
|
|
10763
|
+
export declare function setRoomVisible(roomGridIndex: int | undefined, updateVisibility?: boolean): void;
|
|
10764
|
+
|
|
10742
10765
|
/** Helper function to set a seed to an RNG object using Blade's recommended shift index. */
|
|
10743
10766
|
export declare function setSeed(rng: RNG, seed: Seed): void;
|
|
10744
10767
|
|
package/dist/index.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BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mBAAmB,CAAC"}
|
package/dist/index.lua
CHANGED
|
@@ -1200,7 +1200,7 @@ do
|
|
|
1200
1200
|
end
|
|
1201
1201
|
end
|
|
1202
1202
|
do
|
|
1203
|
-
local ____export = require("maps.
|
|
1203
|
+
local ____export = require("maps.cardNameToTypeMap")
|
|
1204
1204
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
1205
1205
|
if ____exportKey ~= "default" then
|
|
1206
1206
|
____exports[____exportKey] = ____exportValue
|
|
@@ -1208,7 +1208,7 @@ do
|
|
|
1208
1208
|
end
|
|
1209
1209
|
end
|
|
1210
1210
|
do
|
|
1211
|
-
local ____export = require("maps.
|
|
1211
|
+
local ____export = require("maps.characterNameToTypeMap")
|
|
1212
1212
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
1213
1213
|
if ____exportKey ~= "default" then
|
|
1214
1214
|
____exports[____exportKey] = ____exportValue
|
|
@@ -1216,7 +1216,7 @@ do
|
|
|
1216
1216
|
end
|
|
1217
1217
|
end
|
|
1218
1218
|
do
|
|
1219
|
-
local ____export = require("maps.
|
|
1219
|
+
local ____export = require("maps.pillNameToEffectMap")
|
|
1220
1220
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
1221
1221
|
if ____exportKey ~= "default" then
|
|
1222
1222
|
____exports[____exportKey] = ____exportValue
|
|
@@ -1224,7 +1224,7 @@ do
|
|
|
1224
1224
|
end
|
|
1225
1225
|
end
|
|
1226
1226
|
do
|
|
1227
|
-
local ____export = require("maps.
|
|
1227
|
+
local ____export = require("maps.roomNameToTypeMap")
|
|
1228
1228
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
1229
1229
|
if ____exportKey ~= "default" then
|
|
1230
1230
|
____exports[____exportKey] = ____exportValue
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cardNameToTypeMap.d.ts","sourceRoot":"","sources":["../../src/maps/cardNameToTypeMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAIxD,4DAA4D;AAC5D,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,CA2M9D,CAAC"}
|