Skip to main content

FB2GameOptionManager

Overview

  • Manages game option settings.

Metadata

FieldValue
Kindsystem
EnvironmentB2 - Simulation
Categorysystems
ExtendsFB2ManagerBase
Requirerequire('Systems.B2GameOptionManager')

Properties (20)

NameTypeDescription
ActiveActionEnergyCostinteger
AgeProgressRatetable<EB1GrowthStep, number>
CostumeVarietyLevelinteger
FreezeAgeToOtherZoisboolean
FreezeAgeToPossessHouseholdboolean
MaxCostumeVarietyLevelinteger
MaxWaitingFamilyZoiCountinteger
PregnancyDurationRatenumber
RecommendedInteractionLevelinteger
SimulationPresetEB1SimulationPresetSimulation preset (Custom/Minimum..Ultra). The Custom path falls back to OptimizeAutonomy.
TemperatureEffectEB1TemperatureEffect
bAutonomyMultiInteractionboolean
bEnableActiveActionboolean
bEnableGhostboolean
bFreezeMuscleboolean
bFreezeObesityboolean
bOptimizeAutonomyboolean
bPlayFamilyAutoScheduleboolean
bTeleportToDestinationPopupboolean
bVehicleQuickTravelEnabledboolean

Functions (37)

FunctionParametersReturnsDescription
AdjustPlayFamilyAutoScheduleInPrevHouseholdEntityId: FB1EntityId, InCurrHouseholdEntityId: FB1EntityId-
GetActiveActionEnergyCost-integerReturns Active Action Energy Cost.
GetAgeProgressRateInGrowthStep: EB1GrowthStepnumberReturns Age Progress Rate.
GetCostumeVarietyLevel-integerReturns Costume Variety Level.
GetMaxCostumeVarietyLevel-integerReturns Max Costume Variety Level.
GetMaxWaitingFamilyZoiCount-integerReturns Max Waiting Family Zoi Count.
GetPregnancyDurationRate-numberReturns Pregnancy Duration Rate.
GetRecommendedInteractionLevel-integerReturns Recommended Interaction Level.
GetSimulationPreset-EB1SimulationPresetReturns Simulation Preset.
GetTeleportToDestinationPopup-booleanReturns Teleport To Destination Popup.
GetTemperatureEffect-EB1TemperatureEffectReturns Temperature Effect.
GetType-EB2ManagerTypeReturns Type.
IsAgingPausedInPossessHousehold: booleanbooleanReturns whether Aging Paused.
IsAutonomyMultiInteractionEnabled-booleanReturns whether Autonomy Multi Interaction Enabled.
IsFreezeMuscle-booleanReturns whether Freeze Muscle.
IsFreezeObesity-booleanReturns whether Freeze Obesity.
IsGhostEnabled-booleanReturns whether Ghost Enabled.
IsOptimizeAutonomyEnabled-booleanReturns whether Optimize Autonomy Enabled.
IsPlayFamilyAutoSchedule-booleanReturns whether Play Family Auto Schedule.
OnChangePossessHouseholdEntityIdInPrevHouseholdEntityId: FB1EntityId, InCurrHouseholdEntityId: FB1EntityId-Callback invoked on Change Possess Household Entity Id.
SetActiveActionEnergyCostInCost: integer-Sets Active Action Energy Cost.
SetAgeProgressRateInGrowthStep: EB1GrowthStep, InValue: number-Sets Age Progress Rate.
SetAutonomyMultiInteractionInAutonomyMultiInteraction: boolean-Sets Autonomy Multi Interaction.
SetCostumeVarietyInLevel: integer, InMaxLevel: integer-Sets Costume Variety.
SetEnableGhostbInEnableGhost: boolean-Sets Enable Ghost.
SetFreezeAgeToOtherZoisInFreezeAge: boolean-Sets Freeze Age To Other Zois.
SetFreezeAgeToPossessHouseholdInFreezeAge: boolean-Sets Freeze Age To Possess Household.
SetFreezeMusclebInFreezeMuscle: boolean-Sets Freeze Muscle.
SetFreezeObesitybInFreezeObesity: boolean-Sets Freeze Obesity.
SetMaxWaitingFamilyZoiCountInMaxWaitingFamilyZoiCount: integer-Sets Max Waiting Family Zoi Count.
SetOptimizeAutonomybInValue: boolean-Sets Optimize Autonomy.
SetPlayFamilyAutoSchedulebInValue: boolean-Sets Play Family Auto Schedule.
SetPregnancyDurationRateInValue: number-Sets Pregnancy Duration Rate.
SetRecommendedInteractionLevelInLevel: integer-Sets Recommended Interaction Level.
SetSimulationPresetInPreset: EB1SimulationPreset-Links the simulation preset; the top-priority input for deciding the SLOD2 spread-out interval.
SetTeleportToDestinationPopupInTeleportToDestinationPopup: boolean-Sets Teleport To Destination Popup.
SetTemperatureEffectInLevel: EB1TemperatureEffect-Sets Temperature Effect.

Override points (2)

Implement these in Lua as FB2GameOptionManager.Override_Name = function(...) end.

FunctionParametersReturnsDescription
Override_AdjustPlayFamilyAutoScheduleInPrevHouseholdEntityId: FB1EntityId, InCurrHouseholdEntityId: FB1EntityId-
Override_OnChangePossessHouseholdEntityIdInPrevHouseholdEntityId: FB1EntityId, InCurrHouseholdEntityId: FB1EntityId-Callback invoked on Change Possess Household Entity Id.