Binding of Isaac - Afterbirth+ Lua Reference/Guide
|
Public Member Functions | |
SetStartSeed (string StartSeed) | |
Empty string means we will pick a new random seed. More... | |
ClearStartSeed () | |
boolean | IsCustomRun () |
Restart (Challenge CurrentChallenge) | |
Re-selects a random start seed but only if the start seed was not custom. More... | |
Reset () | |
boolean | IsInitialized () |
integer | GetStartSeed () |
string | GetStartSeedString () |
integer | GetNextSeed () |
integer | GetStageSeed (LevelStage Stage) |
integer | GetPlayerInitSeed () |
ForgetStageSeed (LevelStage Stage) | |
boolean | HasSeedEffect (SeedEffect Value) |
AddSeedEffect (SeedEffect Value) | |
RemoveSeedEffect (SeedEffect Value) | |
RemoveBlockingSeedEffects (SeedEffect Value) | |
Removes seeds that are banned in conjunction with the given seed. More... | |
ClearSeedEffects () | |
boolean | CanAddSeedEffect (SeedEffect Value) |
integer | CountSeedEffects () |
boolean | IsSeedComboBanned (SeedEffect Seed1, SeedEffect Seed2) |
Static Public Member Functions | |
static integer | String2Seed (string str) |
static string | Seed2String (integer seed) |
static boolean | IsStringValidSeed (string str) |
static SeedEffect | GetSeedEffect (string str) |
static boolean | IsSpecialSeed (string str) |
static | InitSeedInfo () |
static integer | CountUnlockedSeedEffects () |
Seeds::AddSeedEffect | ( | SeedEffect | Value | ) |
boolean Seeds::CanAddSeedEffect | ( | SeedEffect | Value | ) |
Seeds::ClearSeedEffects | ( | ) |
Seeds::ClearStartSeed | ( | ) |
integer Seeds::CountSeedEffects | ( | ) |
|
static |
Seeds::ForgetStageSeed | ( | LevelStage | Stage | ) |
integer Seeds::GetNextSeed | ( | ) |
integer Seeds::GetPlayerInitSeed | ( | ) |
|
static |
integer Seeds::GetStageSeed | ( | LevelStage | Stage | ) |
integer Seeds::GetStartSeed | ( | ) |
string Seeds::GetStartSeedString | ( | ) |
boolean Seeds::HasSeedEffect | ( | SeedEffect | Value | ) |
|
static |
boolean Seeds::IsCustomRun | ( | ) |
Returns true if the player is in a challenge run or a seeded run.
boolean Seeds::IsInitialized | ( | ) |
boolean Seeds::IsSeedComboBanned | ( | SeedEffect | Seed1, |
SeedEffect | Seed2 | ||
) |
|
static |
|
static |
Seeds::RemoveBlockingSeedEffects | ( | SeedEffect | Value | ) |
Removes seeds that are banned in conjunction with the given seed.
Seeds::RemoveSeedEffect | ( | SeedEffect | Value | ) |
Seeds::Reset | ( | ) |
Removes all seed effects, only goes into effect when the run is restarted
Seeds::Restart | ( | Challenge | CurrentChallenge | ) |
Re-selects a random start seed but only if the start seed was not custom.
|
static |
Seeds::SetStartSeed | ( | string | StartSeed | ) |
Empty string means we will pick a new random seed.
|
static |
void RestoreGameState(const GameState& State); void SaveGameState(GameState& State);