Class SandboxOptions
java.lang.Object
zombie.SandboxOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal class
static class
static class
static class
static class
final class
final class
static interface
static class
final class
final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SandboxOptions.Basement
final int
static final SandboxOptions
final SandboxOptions.Map
int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SandboxOptions
addOption
(SandboxOptions.SandboxOption sandboxOption) void
void
copyValuesFrom
(SandboxOptions other) boolean
int
int
int
getCurrentDiminishedLootPercentage
(IsoGridSquare isoGridSquare) int
int
getCurrentLootedChance
(IsoGridSquare isoGridSquare) float
float
getCurrentLootMultiplier
(IsoGridSquare isoGridSquare) int
int
int
int
double
int
int
static SandboxOptions
int
getOptionByIndex
(int index) getOptionByName
(String name) int
double
int
int
int
void
void
void
void
boolean
static boolean
isValidPresetName
(String name) void
load()
void
load
(ByteBuffer input) void
boolean
loadGameFile
(String presetName) boolean
loadPresetFile
(String presetName) boolean
loadServerLuaFile
(String serverName) boolean
loadServerTextFile
(String serverName) boolean
loadServerZombiesFile
(String serverName) newCopy()
void
newCustomOption
(CustomSandboxOption customSandboxOption) int
randomAlarmDecay
(int int0) int
randomElectricityShut
(int electricityShutoffModifier) Random the number of day for the selectricity shut offint
randomWaterShut
(int waterShutoffModifier) Random the number of day for the water shut offstatic void
Reset()
void
void
save
(ByteBuffer output) boolean
saveGameFile
(String presetName) boolean
savePresetFile
(String presetName) boolean
saveServerLuaFile
(String serverName) void
void
void
void
toLua()
void
-
Field Details
-
instance
-
FIRST_YEAR
public final int FIRST_YEAR- See Also:
-
Speed
public int Speed -
Zombies
-
Distribution
-
ZombieRespawn
-
ZombieMigrate
-
DayLength
-
StartYear
-
StartMonth
-
StartDay
-
StartTime
-
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
-
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() -
addOption
-
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()
-