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.
Files changed (52) hide show
  1. package/dist/index.rollup.d.ts +4 -4
  2. package/dist/isaacscript-common.lua +268 -248
  3. package/dist/lualib_bundle.lua +25 -5
  4. package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +6 -6
  5. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.lua +4 -4
  6. package/dist/src/classes/features/other/CharacterHealthConversion.lua +2 -2
  7. package/dist/src/classes/features/other/CharacterStats.lua +2 -2
  8. package/dist/src/classes/features/other/CollectibleItemPoolType.lua +2 -2
  9. package/dist/src/classes/features/other/CustomHotkeys.lua +5 -5
  10. package/dist/src/classes/features/other/CustomItemPools.lua +3 -3
  11. package/dist/src/classes/features/other/CustomPickups.lua +2 -2
  12. package/dist/src/classes/features/other/CustomStages.lua +3 -3
  13. package/dist/src/classes/features/other/CustomTrapdoors.lua +3 -3
  14. package/dist/src/classes/features/other/DebugDisplay.lua +37 -37
  15. package/dist/src/classes/features/other/DeployJSONRoom.lua +2 -2
  16. package/dist/src/classes/features/other/DisableAllSound.lua +3 -3
  17. package/dist/src/classes/features/other/DisableInputs.lua +9 -9
  18. package/dist/src/classes/features/other/EdenStartingStats.lua +3 -3
  19. package/dist/src/classes/features/other/ExtraConsoleCommands.lua +3 -3
  20. package/dist/src/classes/features/other/FadeInRemover.lua +3 -3
  21. package/dist/src/classes/features/other/FastReset.lua +3 -3
  22. package/dist/src/classes/features/other/FlyingDetection.d.ts.map +1 -1
  23. package/dist/src/classes/features/other/FlyingDetection.lua +3 -3
  24. package/dist/src/classes/features/other/ForgottenSwitch.lua +2 -2
  25. package/dist/src/classes/features/other/ItemPoolDetection.lua +4 -4
  26. package/dist/src/classes/features/other/ModdedElementDetection.lua +24 -24
  27. package/dist/src/classes/features/other/ModdedElementSets.lua +38 -38
  28. package/dist/src/classes/features/other/NoSirenSteal.lua +2 -2
  29. package/dist/src/classes/features/other/Pause.lua +4 -4
  30. package/dist/src/classes/features/other/PersistentEntities.lua +3 -3
  31. package/dist/src/classes/features/other/PickupIndexCreation.lua +2 -2
  32. package/dist/src/classes/features/other/PlayerInventory.lua +3 -3
  33. package/dist/src/classes/features/other/PonyDetection.lua +3 -3
  34. package/dist/src/classes/features/other/PressInput.lua +2 -2
  35. package/dist/src/classes/features/other/PreventChildEntities.lua +2 -2
  36. package/dist/src/classes/features/other/PreventCollectibleRotation.lua +2 -2
  37. package/dist/src/classes/features/other/PreventGridEntityRespawn.lua +2 -2
  38. package/dist/src/classes/features/other/RoomClearFrame.lua +3 -3
  39. package/dist/src/classes/features/other/RoomHistory.lua +8 -8
  40. package/dist/src/classes/features/other/RunInNFrames.lua +8 -8
  41. package/dist/src/classes/features/other/RunNextRoom.lua +2 -2
  42. package/dist/src/classes/features/other/SaveDataManager.lua +10 -10
  43. package/dist/src/classes/features/other/SpawnCollectible.lua +3 -3
  44. package/dist/src/classes/features/other/SpawnRockAltRewards.lua +8 -8
  45. package/dist/src/classes/features/other/StageHistory.lua +5 -5
  46. package/dist/src/classes/features/other/StartAmbush.lua +2 -2
  47. package/dist/src/classes/features/other/TaintedLazarusPlayers.lua +2 -2
  48. package/dist/src/functions/random.d.ts +4 -4
  49. package/dist/src/functions/random.lua +4 -4
  50. package/package.json +1 -1
  51. package/src/classes/features/other/FlyingDetection.ts +4 -2
  52. package/src/functions/random.ts +4 -4
@@ -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
- * This returns a random float between 0 and 1. It is inclusive on the low end, but exclusive on the
6095
- * high end. (This is because the `RNG.RandomFloat` method will never return a value of exactly 1.)
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
- * This returns a random float between min and max.
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
- * This returns a random integer between min and max. It is inclusive on both ends.
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.