isaacscript-common 1.2.97 → 1.2.98
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/callbacks/itemPickup.lua +1 -2
- package/dist/callbacks/postBombInitLate.lua +1 -3
- package/dist/callbacks/postBoneSwing.lua +1 -4
- package/dist/callbacks/postCursedTeleport.lua +1 -3
- package/dist/callbacks/postEffectInitLate.lua +1 -3
- package/dist/callbacks/postEsauJr.lua +1 -2
- package/dist/callbacks/postFamiliarInitLate.lua +1 -3
- package/dist/callbacks/postFlip.lua +1 -2
- package/dist/callbacks/postGridEntity.lua +1 -4
- package/dist/callbacks/postGridEntityCollision.lua +1 -6
- package/dist/callbacks/postKnifeInitLate.lua +1 -3
- package/dist/callbacks/postLaserInitLate.lua +1 -3
- package/dist/callbacks/postNPCInitLate.lua +1 -3
- package/dist/callbacks/postPickupCollect.lua +1 -3
- package/dist/callbacks/postPickupInitLate.lua +1 -3
- package/dist/callbacks/postPlayerChangeHealth.lua +7 -6
- package/dist/callbacks/postPlayerChangeType.lua +1 -3
- package/dist/callbacks/postPlayerFatalDamage.lua +1 -2
- package/dist/callbacks/postPlayerInitLate.lua +1 -3
- package/dist/callbacks/postPlayerReordered.lua +1 -2
- package/dist/callbacks/postProjectileInitLate.lua +1 -3
- package/dist/callbacks/postPurchase.lua +1 -6
- package/dist/callbacks/postSlotInitUpdate.lua +1 -3
- package/dist/callbacks/postSlotRenderBroken.lua +1 -3
- package/dist/callbacks/postTearInitLate.lua +1 -3
- package/dist/callbacks/postTearInitVeryLate.lua +1 -3
- package/dist/callbacks/postTransformation.lua +1 -4
- package/dist/callbacks/postTrinketBreak.lua +1 -2
- package/dist/callbacks/preNewLevel.lua +1 -3
- package/dist/callbacks/subscriptions/postBombInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postBoneSwing.lua +1 -2
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +1 -2
- package/dist/callbacks/subscriptions/postCustomRevive.lua +1 -2
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postEsauJr.lua +1 -2
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +1 -2
- package/dist/callbacks/subscriptions/postFirstFlip.lua +1 -2
- package/dist/callbacks/subscriptions/postFlip.lua +1 -2
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +1 -2
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +1 -2
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +1 -2
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +1 -2
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +1 -2
- package/dist/callbacks/subscriptions/postGridEntityStateChange.lua +1 -2
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +1 -2
- package/dist/callbacks/subscriptions/postItemPickup.lua +1 -2
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +1 -2
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +1 -2
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +1 -2
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +1 -2
- package/dist/callbacks/subscriptions/postPickupCollect.lua +1 -2
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +1 -2
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +1 -2
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +1 -2
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +1 -2
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +1 -2
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +1 -2
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postPurchase.lua +1 -2
- package/dist/callbacks/subscriptions/postSacrifice.lua +1 -2
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +1 -2
- package/dist/callbacks/subscriptions/postSlotInit.lua +1 -2
- package/dist/callbacks/subscriptions/postSlotRender.lua +1 -2
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +1 -2
- package/dist/callbacks/subscriptions/postTearInitLate.lua +1 -2
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +1 -2
- package/dist/callbacks/subscriptions/postTransformation.lua +1 -2
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +1 -2
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +1 -2
- package/dist/callbacks/subscriptions/preCustomRevive.lua +1 -2
- package/dist/callbacks/subscriptions/preItemPickup.lua +1 -2
- package/dist/callbacks/subscriptions/preNewLevel.lua +1 -2
- package/dist/constants.lua +1 -3
- package/dist/features/deployJSONRoom.lua +1 -6
- package/dist/features/disableInputs.lua +1 -5
- package/dist/features/getCollectibleItemPoolType.lua +1 -3
- package/dist/features/isPonyActive.lua +1 -3
- package/dist/features/preventCollectibleRotate.lua +1 -3
- package/dist/features/runInNFrames.lua +1 -4
- package/dist/features/saveDataManager/exports.lua +1 -3
- package/dist/features/saveDataManager/load.lua +1 -2
- package/dist/features/saveDataManager/main.lua +0 -2
- package/dist/features/saveDataManager/maps.lua +1 -3
- package/dist/features/saveDataManager/merge.lua +1 -4
- package/dist/features/saveDataManager/save.lua +1 -3
- package/dist/features/sirenHelpers.lua +1 -3
- package/dist/functions/array.lua +1 -8
- package/dist/functions/cards.lua +1 -2
- package/dist/functions/collectibleCacheFlag.lua +1 -6
- package/dist/functions/collectibleSet.lua +1 -3
- package/dist/functions/deepCopy.lua +1 -6
- package/dist/functions/deepCopyTests.lua +1 -5
- package/dist/functions/doors.lua +1 -6
- package/dist/functions/entity.lua +1 -6
- package/dist/functions/entitySpecific.lua +1 -2
- package/dist/functions/familiars.lua +1 -3
- package/dist/functions/flying.lua +1 -4
- package/dist/functions/globals.lua +1 -6
- package/dist/functions/gridEntity.lua +1 -7
- package/dist/functions/input.lua +1 -7
- package/dist/functions/jsonRoom.lua +1 -3
- package/dist/functions/log.lua +1 -6
- package/dist/functions/map.lua +1 -4
- package/dist/functions/math.lua +1 -2
- package/dist/functions/npc.lua +1 -5
- package/dist/functions/player.lua +4 -12
- package/dist/functions/playerHealth.lua +1 -3
- package/dist/functions/pocketItems.lua +1 -4
- package/dist/functions/positionVelocity.lua +1 -3
- package/dist/functions/rooms.lua +1 -9
- package/dist/functions/set.lua +1 -4
- package/dist/functions/string.lua +1 -4
- package/dist/functions/transformations.lua +1 -5
- package/dist/functions/trinketCacheFlag.lua +1 -5
- package/dist/functions/trinketSet.lua +1 -3
- package/dist/functions/utils.lua +1 -5
- package/dist/lualib_bundle.lua +1027 -1158
- package/dist/maps/cardDescriptionMap.lua +1 -3
- package/dist/maps/cardNameMap.lua +1 -3
- package/dist/maps/challengeNameMap.lua +1 -3
- package/dist/maps/collectibleDescriptionMap.lua +1 -3
- package/dist/maps/collectibleNameMap.lua +1 -3
- package/dist/maps/gridEntityTypeToBrokenStateMap.lua +1 -3
- package/dist/maps/gridEntityXMLMap.lua +1 -3
- package/dist/maps/pillEffectClassMap.lua +1 -3
- package/dist/maps/pillEffectNameMap.lua +1 -3
- package/dist/maps/pillEffectTypeMap.lua +1 -3
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +1 -3
- package/dist/maps/transformationNameMap.lua +1 -3
- package/dist/maps/trinketDescriptionMap.lua +1 -3
- package/dist/maps/trinketNameMap.lua +1 -3
- package/dist/patchErrorFunctions.lua +1 -4
- package/dist/sets/cards.lua +1 -3
- package/dist/types/DefaultMap.lua +1 -5
- package/dist/types/ModUpgraded.lua +1 -4
- package/dist/types/SerializationBrand.lua +1 -3
- package/dist/upgradeMod.lua +1 -2
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postPlayerRenderReorderedHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postPlayerUpdateReorderedHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postProjectileInitLateHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postPurchaseHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postSacrificeHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postSlotDestroyedHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postSlotInitHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postSlotRenderHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postSlotUpdateHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postTearInitLateHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postTearInitVeryLateHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postTransformationHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.postTrinketBreakHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.preBerserkDeathHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.preCustomReviveHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.preItemPickupHasSubscriptions(self)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local subscriptions = {}
|
|
6
5
|
function ____exports.preNewLevelHasSubscriptions(self)
|
package/dist/constants.lua
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
____exports.AZAZEL_DEFAULT_BRIMSTONE_DISTANCE = 75.125
|
|
7
5
|
____exports.BLIND_ITEM_PNG_PATH = "gfx/items/collectibles/questionmark.png"
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
6
|
-
local Map = ____lualib.Map
|
|
7
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
2
|
+
require("lualib_bundle");
|
|
8
3
|
local ____exports = {}
|
|
9
4
|
local postNewRoom, setDecorationsInvisible, respawnPersistentEntities, removeSpecificNPCs, fillRoomWithDecorations, spawnAllEntities, spawnGridEntityForJSONRoom, spawnNormalEntityForJSONRoom, storePersistentEntity, fixPitGraphics, getPitMap, getPitFrame, FEATURE_NAME, NPC_TYPES_TO_NOT_REMOVE, PERSISTENT_ENTITY_TYPES, initialized, v
|
|
10
5
|
local ____errors = require("errors")
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
6
|
-
local Set = ____lualib.Set
|
|
2
|
+
require("lualib_bundle");
|
|
7
3
|
local ____exports = {}
|
|
8
4
|
local isActionPressed, isActionTriggered, getActionValue, getReturnValue, v
|
|
9
5
|
local ____errors = require("errors")
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local postPickupInitCollectible, v
|
|
7
5
|
local ____errors = require("errors")
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local postPEffectUpdate, FLAGS_WHEN_PONY_IS_ACTIVE, v
|
|
7
5
|
local ____errors = require("errors")
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local useCardSoulOfIsaac, postPickupUpdateCollectible, v
|
|
7
5
|
local ____errors = require("errors")
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
4
|
-
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
|
|
5
|
-
local __TS__ArraySplice = ____lualib.__TS__ArraySplice
|
|
2
|
+
require("lualib_bundle");
|
|
6
3
|
local ____exports = {}
|
|
7
4
|
local postUpdate, postRender, checkExecuteQueuedFunctions, v
|
|
8
5
|
local ____errors = require("errors")
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local ____errors = require("errors")
|
|
7
5
|
local getUpgradeErrorMsg = ____errors.getUpgradeErrorMsg
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__StringTrim = ____lualib.__TS__StringTrim
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local readSaveDatFile, tryLoadModData, DEFAULT_MOD_DATA
|
|
6
5
|
local ____jsonHelpers = require("functions.jsonHelpers")
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
local ____lualib = require("lualib_bundle")
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
2
|
local ____exports = {}
|
|
5
3
|
local postPlayerInit, preGameExit, postNewLevel, postNewRoomEarly, restoreDefaultsAll, restoreDefaults, clearAndCopyAllElements, mod, loadedDataOnThisRun
|
|
6
4
|
local ____errors = require("errors")
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
____exports.saveDataMap = {}
|
|
7
5
|
____exports.saveDataDefaultsMap = {}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__InstanceOf = ____lualib.__TS__InstanceOf
|
|
5
|
-
local Set = ____lualib.Set
|
|
2
|
+
require("lualib_bundle");
|
|
6
3
|
local ____exports = {}
|
|
7
4
|
local mergeArray, mergeTSTLObject, mergeTable, mergeVector
|
|
8
5
|
local ____array = require("functions.array")
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__ObjectKeys = ____lualib.__TS__ObjectKeys
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local getAllSaveDataToWriteToDisk
|
|
7
5
|
local ____deepCopy = require("functions.deepCopy")
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
4
|
-
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local postNPCInitSirenHelper, checkReturnFamiliarToPlayer, blacklistEntryExists, getSirenHelper, v
|
|
7
5
|
local ____errors = require("errors")
|
package/dist/functions/array.lua
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
|
|
4
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
5
|
-
local __TS__ArraySplice = ____lualib.__TS__ArraySplice
|
|
6
|
-
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
7
|
-
local __TS__ArrayReduce = ____lualib.__TS__ArrayReduce
|
|
8
|
-
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
9
|
-
local __TS__ArrayIndexOf = ____lualib.__TS__ArrayIndexOf
|
|
2
|
+
require("lualib_bundle");
|
|
10
3
|
local ____exports = {}
|
|
11
4
|
local ____random = require("functions.random")
|
|
12
5
|
local getRandomInt = ____random.getRandomInt
|
package/dist/functions/cards.lua
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local ____cardDescriptionMap = require("maps.cardDescriptionMap")
|
|
6
5
|
local CARD_DESCRIPTION_MAP = ____cardDescriptionMap.CARD_DESCRIPTION_MAP
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local Set = ____lualib.Set
|
|
6
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
7
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
2
|
+
require("lualib_bundle");
|
|
8
3
|
local ____exports = {}
|
|
9
4
|
local ____collectibles = require("functions.collectibles")
|
|
10
5
|
local collectibleHasCacheFlag = ____collectibles.collectibleHasCacheFlag
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local ____collectibles = require("functions.collectibles")
|
|
7
5
|
local getMaxCollectibleType = ____collectibles.getMaxCollectibleType
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local Map = ____lualib.Map
|
|
6
|
-
local __TS__InstanceOf = ____lualib.__TS__InstanceOf
|
|
7
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
2
|
+
require("lualib_bundle");
|
|
8
3
|
local ____exports = {}
|
|
9
4
|
local isTSTLClass, copyClass, getNewClassFromMetatable, deepCopyValue, copyVector, checkMetatable, validateValue, TSTL_CLASS_KEYS
|
|
10
5
|
local ____debug = require("features.saveDataManager.debug")
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__InstanceOf = ____lualib.__TS__InstanceOf
|
|
6
|
-
local Set = ____lualib.Set
|
|
2
|
+
require("lualib_bundle");
|
|
7
3
|
local ____exports = {}
|
|
8
4
|
local copiedObjectIsTable, copiedObjectHasKeyAndValueString, copiedTableHasKeyAndValueNumber, copiedTableDoesNotCoerceTypes, copiedObjectHasNoReferencesForPrimitivesForward, copiedObjectHasNoReferencesForPrimitivesBackward, copiedObjectHasNoReferencesForArray, copiedObjectHasChildObject, copiedMapIsMap, copiedMapHasValue, copiedSetIsSet, copiedSetHasValue, copiedMapHasChildMap, copiedDefaultMapHasChildDefaultMap, copiedDefaultMapHasBrand
|
|
9
5
|
local ____DefaultMap = require("types.DefaultMap")
|
package/dist/functions/doors.lua
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
6
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
7
|
-
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
2
|
+
require("lualib_bundle");
|
|
8
3
|
local ____exports = {}
|
|
9
4
|
local ____constants = require("constants")
|
|
10
5
|
local MAX_NUM_DOORS = ____constants.MAX_NUM_DOORS
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
4
|
-
local Set = ____lualib.Set
|
|
5
|
-
local __TS__New = ____lualib.__TS__New
|
|
6
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
7
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
8
3
|
local ____exports = {}
|
|
9
4
|
local ____constants = require("constants")
|
|
10
5
|
local STORY_BOSSES = ____constants.STORY_BOSSES
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local ____entity = require("functions.entity")
|
|
6
5
|
local getEntities = ____entity.getEntities
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
4
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local ____constants = require("constants")
|
|
7
5
|
local FAMILIARS_THAT_SHOOT_PLAYER_TEARS = ____constants.FAMILIARS_THAT_SHOOT_PLAYER_TEARS
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
2
|
+
require("lualib_bundle");
|
|
6
3
|
local ____exports = {}
|
|
7
4
|
local ____collectibleCacheFlag = require("functions.collectibleCacheFlag")
|
|
8
5
|
local getCollectiblesForCacheFlag = ____collectibleCacheFlag.getCollectiblesForCacheFlag
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
6
|
-
local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
7
|
-
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
|
|
2
|
+
require("lualib_bundle");
|
|
8
3
|
local ____exports = {}
|
|
9
4
|
local twoDimensionalSort
|
|
10
5
|
local ____log = require("functions.log")
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
6
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
7
|
-
local Map = ____lualib.Map
|
|
8
|
-
local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
|
|
2
|
+
require("lualib_bundle");
|
|
9
3
|
local ____exports = {}
|
|
10
4
|
local getAllGridEntities
|
|
11
5
|
local ____constants = require("constants")
|
package/dist/functions/input.lua
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__StringReplace = ____lualib.__TS__StringReplace
|
|
6
|
-
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
7
|
-
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
8
|
-
local __TS__StringSlice = ____lualib.__TS__StringSlice
|
|
2
|
+
require("lualib_bundle");
|
|
9
3
|
local ____exports = {}
|
|
10
4
|
local ____constants = require("constants")
|
|
11
5
|
local MAX_NUM_INPUTS = ____constants.MAX_NUM_INPUTS
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
4
|
-
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local getTotalWeightOfJSONRooms, getJSONRoomWithChosenWeight
|
|
7
5
|
local ____array = require("functions.array")
|
package/dist/functions/log.lua
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__Spread = ____lualib.__TS__Spread
|
|
5
|
-
local __TS__ArraySort = ____lualib.__TS__ArraySort
|
|
6
|
-
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
|
|
7
|
-
local Set = ____lualib.Set
|
|
2
|
+
require("lualib_bundle");
|
|
8
3
|
local ____exports = {}
|
|
9
4
|
local ____array = require("functions.array")
|
|
10
5
|
local arrayToString = ____array.arrayToString
|
package/dist/functions/map.lua
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
2
|
+
require("lualib_bundle");
|
|
6
3
|
local ____exports = {}
|
|
7
4
|
function ____exports.copyMap(self, oldMap)
|
|
8
5
|
local newMap = __TS__New(Map)
|
package/dist/functions/math.lua
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
4
3
|
local ____exports = {}
|
|
5
4
|
local getCircleInitialPosition
|
|
6
5
|
local ____utils = require("functions.utils")
|
package/dist/functions/npc.lua
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
6
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
2
|
+
require("lualib_bundle");
|
|
7
3
|
local ____exports = {}
|
|
8
4
|
local NON_ALIVE_NPCS_TYPE_VARIANT, NON_ALIVE_NPCS_TYPE_VARIANT_SUBTYPE
|
|
9
5
|
local ____constants = require("constants")
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
5
|
-
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
6
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
7
|
-
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
8
|
-
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
9
|
-
local Map = ____lualib.Map
|
|
10
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
11
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
2
|
+
require("lualib_bundle");
|
|
12
3
|
local ____exports = {}
|
|
13
4
|
local getPlayerIndexCollectibleType, getAdjustedPlayerName, isTaintedModded, DEFAULT_COLLECTIBLE_TYPE, EXCLUDED_CHARACTERS
|
|
14
5
|
local ____constants = require("constants")
|
|
@@ -296,8 +287,9 @@ function ____exports.getAzazelBrimstoneDistance(self, playerOrTearHeight)
|
|
|
296
287
|
return 32 - 2.5 * tearHeight
|
|
297
288
|
end
|
|
298
289
|
function ____exports.getBlackHearts(self, player)
|
|
299
|
-
local
|
|
300
|
-
|
|
290
|
+
local blackHeartsBitmask = player:GetBlackHearts()
|
|
291
|
+
local blackHeartBits = countSetBits(nil, blackHeartsBitmask)
|
|
292
|
+
return blackHeartBits * 2
|
|
301
293
|
end
|
|
302
294
|
function ____exports.getClosestPlayer(self, position)
|
|
303
295
|
local closestPlayer = nil
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
4
|
-
local __TS__ArrayForEach = ____lualib.__TS__ArrayForEach
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local ____constants = require("constants")
|
|
7
5
|
local MAX_PLAYER_HEART_CONTAINERS = ____constants.MAX_PLAYER_HEART_CONTAINERS
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
4
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
5
|
-
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
2
|
+
require("lualib_bundle");
|
|
6
3
|
local ____exports = {}
|
|
7
4
|
local ____constants = require("constants")
|
|
8
5
|
local MAX_PLAYER_POCKET_ITEM_SLOTS = ____constants.MAX_PLAYER_POCKET_ITEM_SLOTS
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Map = ____lualib.Map
|
|
4
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
5
3
|
local ____exports = {}
|
|
6
4
|
local ____constants = require("constants")
|
|
7
5
|
local DISTANCE_OF_GRID_TILE = ____constants.DISTANCE_OF_GRID_TILE
|
package/dist/functions/rooms.lua
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
4
|
-
local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
|
|
5
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
6
|
-
local __TS__ArrayPush = ____lualib.__TS__ArrayPush
|
|
7
|
-
local Set = ____lualib.Set
|
|
8
|
-
local __TS__New = ____lualib.__TS__New
|
|
9
|
-
local __TS__ArrayEvery = ____lualib.__TS__ArrayEvery
|
|
10
|
-
local Map = ____lualib.Map
|
|
2
|
+
require("lualib_bundle");
|
|
11
3
|
local ____exports = {}
|
|
12
4
|
local ____constants = require("constants")
|
|
13
5
|
local GENESIS_ROOM_SUBTYPE = ____constants.GENESIS_ROOM_SUBTYPE
|
package/dist/functions/set.lua
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local Set = ____lualib.Set
|
|
4
|
-
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
5
|
-
local __TS__New = ____lualib.__TS__New
|
|
2
|
+
require("lualib_bundle");
|
|
6
3
|
local ____exports = {}
|
|
7
4
|
function ____exports.addSetsToSet(self, mainSet, ...)
|
|
8
5
|
local setsToAdd = {...}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
-
|
|
3
|
-
local __TS__StringStartsWith = ____lualib.__TS__StringStartsWith
|
|
4
|
-
local __TS__StringSlice = ____lualib.__TS__StringSlice
|
|
5
|
-
local __TS__StringEndsWith = ____lualib.__TS__StringEndsWith
|
|
2
|
+
require("lualib_bundle");
|
|
6
3
|
local ____exports = {}
|
|
7
4
|
function ____exports.stringContains(self, ____string, searchString)
|
|
8
5
|
return (string.find(____string, searchString, nil, true) or 0) - 1 ~= -1
|