isaacscript-common 30.11.6 → 30.11.8
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 +4 -4
- package/dist/isaacscript-common.lua +268 -248
- package/dist/lualib_bundle.lua +25 -5
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +6 -6
- package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.lua +4 -4
- package/dist/src/classes/features/other/CharacterHealthConversion.lua +2 -2
- package/dist/src/classes/features/other/CharacterStats.lua +2 -2
- package/dist/src/classes/features/other/CollectibleItemPoolType.lua +2 -2
- package/dist/src/classes/features/other/CustomHotkeys.lua +5 -5
- package/dist/src/classes/features/other/CustomItemPools.lua +3 -3
- package/dist/src/classes/features/other/CustomPickups.lua +2 -2
- package/dist/src/classes/features/other/CustomStages.lua +3 -3
- package/dist/src/classes/features/other/CustomTrapdoors.lua +3 -3
- package/dist/src/classes/features/other/DebugDisplay.lua +37 -37
- package/dist/src/classes/features/other/DeployJSONRoom.lua +2 -2
- package/dist/src/classes/features/other/DisableAllSound.lua +3 -3
- package/dist/src/classes/features/other/DisableInputs.lua +9 -9
- package/dist/src/classes/features/other/EdenStartingStats.lua +3 -3
- package/dist/src/classes/features/other/ExtraConsoleCommands.lua +3 -3
- package/dist/src/classes/features/other/FadeInRemover.lua +3 -3
- package/dist/src/classes/features/other/FastReset.lua +3 -3
- package/dist/src/classes/features/other/FlyingDetection.d.ts.map +1 -1
- package/dist/src/classes/features/other/FlyingDetection.lua +3 -3
- package/dist/src/classes/features/other/ForgottenSwitch.lua +2 -2
- package/dist/src/classes/features/other/ItemPoolDetection.lua +4 -4
- package/dist/src/classes/features/other/ModdedElementDetection.lua +24 -24
- package/dist/src/classes/features/other/ModdedElementSets.lua +38 -38
- package/dist/src/classes/features/other/NoSirenSteal.lua +2 -2
- package/dist/src/classes/features/other/Pause.lua +4 -4
- package/dist/src/classes/features/other/PersistentEntities.lua +3 -3
- package/dist/src/classes/features/other/PickupIndexCreation.lua +2 -2
- package/dist/src/classes/features/other/PlayerInventory.lua +3 -3
- package/dist/src/classes/features/other/PonyDetection.lua +3 -3
- package/dist/src/classes/features/other/PressInput.lua +2 -2
- package/dist/src/classes/features/other/PreventChildEntities.lua +2 -2
- package/dist/src/classes/features/other/PreventCollectibleRotation.lua +2 -2
- package/dist/src/classes/features/other/PreventGridEntityRespawn.lua +2 -2
- package/dist/src/classes/features/other/RoomClearFrame.lua +3 -3
- package/dist/src/classes/features/other/RoomHistory.lua +8 -8
- package/dist/src/classes/features/other/RunInNFrames.lua +8 -8
- package/dist/src/classes/features/other/RunNextRoom.lua +2 -2
- package/dist/src/classes/features/other/SaveDataManager.lua +10 -10
- package/dist/src/classes/features/other/SpawnCollectible.lua +3 -3
- package/dist/src/classes/features/other/SpawnRockAltRewards.lua +8 -8
- package/dist/src/classes/features/other/StageHistory.lua +5 -5
- package/dist/src/classes/features/other/StartAmbush.lua +2 -2
- package/dist/src/classes/features/other/TaintedLazarusPlayers.lua +2 -2
- package/dist/src/functions/random.d.ts +4 -4
- package/dist/src/functions/random.lua +4 -4
- package/package.json +1 -1
- package/src/classes/features/other/FlyingDetection.ts +4 -2
- package/src/functions/random.ts +4 -4
package/dist/index.rollup.d.ts
CHANGED
|
@@ -6091,8 +6091,8 @@ export declare function getPressurePlates(pressurePlateVariant?: PressurePlateVa
|
|
|
6091
6091
|
export declare function getProjectiles(projectileVariant?: ProjectileVariant | -1, subType?: number): EntityProjectile[];
|
|
6092
6092
|
|
|
6093
6093
|
/**
|
|
6094
|
-
*
|
|
6095
|
-
*
|
|
6094
|
+
* Returns a random float between 0 and 1. It is inclusive on the low end, but exclusive on the high
|
|
6095
|
+
* end. (This is because the `RNG.RandomFloat` method will never return a value of exactly 1.)
|
|
6096
6096
|
*
|
|
6097
6097
|
* @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided, the
|
|
6098
6098
|
* `RNG.Next` method will be called. Default is `getRandomSeed()`.
|
|
@@ -6151,7 +6151,7 @@ export declare function getRandomColor(seedOrRNG?: Seed | RNG, alpha?: number):
|
|
|
6151
6151
|
export declare function getRandomEnumValue<T>(transpiledEnum: T, seedOrRNG?: Seed | RNG, exceptions?: Array<T[keyof T]> | ReadonlyArray<T[keyof T]>): T[keyof T];
|
|
6152
6152
|
|
|
6153
6153
|
/**
|
|
6154
|
-
*
|
|
6154
|
+
* Returns a random float between min and max.
|
|
6155
6155
|
*
|
|
6156
6156
|
* For example:
|
|
6157
6157
|
*
|
|
@@ -6181,7 +6181,7 @@ export declare function getRandomFromWeightedArray<T>(weightedArray: WeightedArr
|
|
|
6181
6181
|
export declare function getRandomIndexFromWeightedArray<T>(weightedArray: WeightedArray<T>, seedOrRNG?: Seed | RNG): int;
|
|
6182
6182
|
|
|
6183
6183
|
/**
|
|
6184
|
-
*
|
|
6184
|
+
* Returns a random integer between min and max. It is inclusive on both ends.
|
|
6185
6185
|
*
|
|
6186
6186
|
* Note that this function will run the `Next` method on the `RNG` object before returning the
|
|
6187
6187
|
* random number.
|