Class SandboxOptions
java.lang.Object
zombie.SandboxOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classstatic classstatic classstatic classstatic classfinal classfinal classstatic interfacestatic classfinal classfinal class -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SandboxOptions.Basementfinal intstatic final SandboxOptionsfinal SandboxOptions.Mapint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcopyValuesFrom(SandboxOptions other) booleanbooleandoesPowerGridExist(int int0) booleanintintintintintgetCurrentLootedChance(IsoGridSquare square) floatfloatintintintintdoubleintintstatic SandboxOptionsintgetOptionByIndex(int index) getOptionByName(String name) intdoubleintintintvoidvoidvoidvoidbooleanstatic booleanisValidPresetName(String name) voidload()voidload(ByteBuffer input) voidbooleanloadGameFile(String presetName) booleanloadPresetFile(String presetName) booleanloadServerLuaFile(String serverName) booleanloadServerTextFile(String serverName) booleanloadServerZombiesFile(String serverName) booleanlootItemRemovalListContains(String string) newCopy()voidnewCustomOption(CustomSandboxOption customSandboxOption) intrandomAlarmDecay(int int0) intrandomElectricityShut(int electricityShutoffModifier) Random the number of day for the selectricity shut offintrandomWaterShut(int waterShutoffModifier) Random the number of day for the water shut offstatic voidReset()voidvoidsave(ByteBuffer output) booleansaveGameFile(String presetName) booleansavePresetFile(String presetName) booleansaveServerLuaFile(String serverName) voidvoidvoidvoidtoLua()voidbooleanworldItemRemovalListContains(String string)
-
Field Details
-
instance
-
FIRST_YEAR
public final int FIRST_YEAR- See Also:
-
Speed
public int Speed -
Zombies
-
Distribution
-
ZombieVoronoiNoise
-
ZombieRespawn
-
ZombieMigrate
-
DayLength
-
StartYear
-
StartMonth
-
StartDay
-
StartTime
-
DayNightCycle
-
ClimateCycle
-
FogCycle
-
WaterShut
-
ElecShut
-
AlarmDecay
-
WaterShutModifier
-
ElecShutModifier
-
AlarmDecayModifier
-
FoodLootNew
-
LiteratureLootNew
-
MedicalLootNew
-
SurvivalGearsLootNew
-
CannedFoodLootNew
-
WeaponLootNew
-
RangedWeaponLootNew
-
AmmoLootNew
-
MechanicsLootNew
-
OtherLootNew
-
ClothingLootNew
-
ContainerLootNew
-
KeyLootNew
-
MediaLootNew
-
MementoLootNew
-
CookwareLootNew
-
MaterialLootNew
-
FarmingLootNew
-
ToolLootNew
-
RollsMultiplier
-
LootItemRemovalList
-
RemoveStoryLoot
-
RemoveZombieLoot
-
ZombiePopLootEffect
-
InsaneLootFactor
-
ExtremeLootFactor
-
RareLootFactor
-
NormalLootFactor
-
CommonLootFactor
-
AbundantLootFactor
-
Temperature
-
Rain
-
ErosionSpeed
-
ErosionDays
-
Farming
-
CompostTime
-
StatsDecrease
-
NatureAbundance
-
Alarm
-
LockedHouses
-
StarterKit
-
Nutrition
-
FoodRotSpeed
-
FridgeFactor
-
SeenHoursPreventLootRespawn
-
HoursForLootRespawn
-
MaxItemsForLootRespawn
-
ConstructionPreventsLootRespawn
-
WorldItemRemovalList
-
HoursForWorldItemRemoval
-
ItemRemovalListBlacklistToggle
-
TimeSinceApo
-
PlantResilience
-
PlantAbundance
-
EndRegen
-
Helicopter
-
MetaEvent
-
SleepingEvent
-
GeneratorFuelConsumption
-
GeneratorSpawning
-
AnnotatedMapChance
-
CharacterFreePoints
-
ConstructionBonusPoints
-
NightDarkness
-
NightLength
-
BoneFracture
-
InjurySeverity
-
HoursForCorpseRemoval
-
DecayingCorpseHealthImpact
-
ZombieHealthImpact
-
BloodLevel
-
ClothingDegradation
-
FireSpread
-
DaysForRottenFoodRemoval
-
AllowExteriorGenerator
-
MaxFogIntensity
-
MaxRainFxIntensity
-
EnableSnowOnGround
-
AttackBlockMovements
-
SurvivorHouseChance
-
VehicleStoryChance
-
ZoneStoryChance
-
AllClothesUnlocked
-
EnableTaintedWaterText
-
EnableVehicles
-
CarSpawnRate
-
ZombieAttractionMultiplier
-
VehicleEasyUse
-
InitialGas
-
FuelStationGasInfinite
-
FuelStationGasMin
-
FuelStationGasMax
-
FuelStationGasEmptyChance
-
LockedCar
-
CarGasConsumption
-
CarGeneralCondition
-
CarDamageOnImpact
-
DamageToPlayerFromHitByACar
-
TrafficJam
-
CarAlarm
-
PlayerDamageFromCrash
-
SirenShutoffHours
-
ChanceHasGas
-
RecentlySurvivorVehicles
-
MultiHitZombies
-
RearVulnerability
-
SirenEffectsZombies
-
AnimalStatsModifier
-
AnimalMetaStatsModifier
-
AnimalPregnancyTime
-
AnimalAgeModifier
-
AnimalMilkIncModifier
-
AnimalWoolIncModifier
-
AnimalRanchChance
-
AnimalGrassRegrowTime
-
AnimalMetaPredator
-
AnimalMatingSeason
-
AnimalEggHatch
-
AnimalSoundAttractZombies
-
MaximumRatIndex
-
DaysUntilMaximumRatIndex
-
MetaKnowledge
-
SeeNotLearntRecipe
-
MaximumLootedBuildingRooms
-
EnablePoisoning
-
MaggotSpawn
-
LightBulbLifespan
-
FishAbundance
-
LevelForMediaXPCutoff
-
LevelForDismantleXPCutoff
-
BloodSplatLifespanDays
-
LiteratureCooldown
-
NegativeTraitsPenalty
-
MinutesPerPage
-
KillInsideCrops
-
PlantGrowingSeasons
-
PlaceDirtAboveground
-
FarmingSpeedNew
-
FarmingAmountNew
-
MaximumLooted
-
DaysUntilMaximumLooted
-
RuralLooted
-
MaximumDiminishedLoot
-
DaysUntilMaximumDiminishedLoot
-
MuscleStrainFactor
-
DiscomfortFactor
-
WoundInfectionFactor
-
NoBlackClothes
-
EasyClimbing
-
MaximumFireFuelHours
-
FirearmUseDamageChance
-
FirearmNoiseMultiplier
-
FirearmJamMultiplier
-
FirearmMoodleMultiplier
-
FirearmWeatherMultiplier
-
FirearmHeadGearEffect
-
ClayLakeChance
-
ClayRiverChance
-
GeneratorTileRange
-
GeneratorVerticalPowerRange
-
Basement
-
Map
-
Lore
-
zombieConfig
-
multipliersConfig
-
-
Constructor Details
-
SandboxOptions
public SandboxOptions()
-
-
Method Details
-
getInstance
-
toLua
public void toLua() -
updateFromLua
public void updateFromLua() -
initSandboxVars
public void initSandboxVars() -
randomWaterShut
public int randomWaterShut(int waterShutoffModifier) Random the number of day for the water shut off -
randomElectricityShut
public int randomElectricityShut(int electricityShutoffModifier) Random the number of day for the selectricity shut off -
randomAlarmDecay
public int randomAlarmDecay(int int0) -
getTemperatureModifier
public int getTemperatureModifier() -
getRainModifier
public int getRainModifier() -
getErosionSpeed
public int getErosionSpeed() -
getWaterShutModifier
public int getWaterShutModifier() -
getElecShutModifier
public int getElecShutModifier() -
getTimeSinceApo
public int getTimeSinceApo() -
getEnduranceRegenMultiplier
public double getEnduranceRegenMultiplier() -
getStatsDecreaseMultiplier
public double getStatsDecreaseMultiplier() -
getDayLengthMinutes
public int getDayLengthMinutes() -
getDayLengthMinutesDefault
public int getDayLengthMinutesDefault() -
getCompostHours
public int getCompostHours() -
applySettings
public void applySettings() -
save
- Throws:
IOException
-
load
- Throws:
IOException
-
getFirstYear
public int getFirstYear() -
getNumOptions
public int getNumOptions() -
getOptionByIndex
-
getOptionByName
-
set
-
copyValuesFrom
-
resetToDefault
public void resetToDefault() -
setDefaultsToCurrentValues
public void setDefaultsToCurrentValues() -
newCopy
-
isValidPresetName
-
loadServerTextFile
-
loadServerLuaFile
-
saveServerLuaFile
-
loadPresetFile
-
savePresetFile
-
loadGameFile
-
saveGameFile
-
handleOldZombiesFile1
public void handleOldZombiesFile1() -
handleOldZombiesFile2
public void handleOldZombiesFile2() -
handleOldServerZombiesFile
public void handleOldServerZombiesFile() -
loadServerZombiesFile
-
load
public void load() -
loadCurrentGameBinFile
public void loadCurrentGameBinFile() -
sendToServer
public void sendToServer() -
newCustomOption
-
Reset
public static void Reset() -
getAllClothesUnlocked
public boolean getAllClothesUnlocked() -
getCurrentRatIndex
public int getCurrentRatIndex() -
getCurrentLootedChance
public int getCurrentLootedChance() -
getCurrentLootedChance
-
getCurrentDiminishedLootPercentage
public int getCurrentDiminishedLootPercentage() -
getCurrentDiminishedLootPercentage
-
getCurrentLootMultiplier
public float getCurrentLootMultiplier() -
getCurrentLootMultiplier
-
isUnstableScriptNameSpam
public boolean isUnstableScriptNameSpam() -
doesPowerGridExist
public boolean doesPowerGridExist() -
doesPowerGridExist
public boolean doesPowerGridExist(int int0) -
lootItemRemovalListContains
-
worldItemRemovalListContains
-