Package zombie
Class SandboxOptions
java.lang.Object
zombie.SandboxOptions
public class SandboxOptions
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SandboxOptions.BooleanSandboxOption
static class
SandboxOptions.DoubleSandboxOption
static class
SandboxOptions.EnumSandboxOption
static class
SandboxOptions.IntegerSandboxOption
static interface
SandboxOptions.SandboxOption
static class
SandboxOptions.ZombieConfig
static class
SandboxOptions.ZombieLore
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SandboxOptions()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
Speed
public int Speed -
Zombies
-
Distribution
-
DayLength
-
StartYear
-
StartMonth
-
StartDay
-
StartTime
-
WaterShut
-
ElecShut
-
WaterShutModifier
-
ElecShutModifier
-
FoodLoot
-
WeaponLoot
-
OtherLoot
-
Temperature
-
Rain
-
ErosionSpeed
-
ErosionDays
-
XpMultiplier
-
Farming
-
CompostTime
-
StatsDecrease
-
NatureAbundance
-
Alarm
-
LockedHouses
-
StarterKit
-
Nutrition
-
FoodRotSpeed
-
FridgeFactor
-
LootRespawn
-
SeenHoursPreventLootRespawn
-
TimeSinceApo
-
PlantResilience
-
PlantAbundance
-
EndRegen
-
Helicopter
-
MetaEvent
-
SleepingEvent
-
GeneratorFuelConsumption
-
GeneratorSpawning
-
SurvivorHouseChance
-
AnnotatedMapChance
-
CharacterFreePoints
-
ConstructionBonusPoints
-
NightDarkness
-
BoneFracture
-
InjurySeverity
-
HoursForCorpseRemoval
-
DecayingCorpseHealthImpact
-
BloodLevel
-
ClothingDegradation
-
FireSpread
-
DaysForRottenFoodRemoval
-
AllowExteriorGenerator
-
MaxFogIntensity
-
MaxRainFxIntensity
-
EnableSnowOnGround
-
EnableVehicles
-
CarSpawnRate
-
ZombieAttractionMultiplier
-
VehicleEasyUse
-
InitialGas
-
LockedCar
-
CarGasConsumption
-
CarGeneralCondition
-
CarDamageOnImpact
-
DamageToPlayerFromHitByACar
-
TrafficJam
-
CarAlarm
-
PlayerDamageFromCrash
-
SirenShutoffHours
-
ChanceHasGas
-
RecentlySurvivorVehicles
-
Lore
-
zombieConfig
-
options
protected java.util.ArrayList options -
optionByName
protected java.util.HashMap optionByName -
FIRST_YEAR
public final int FIRST_YEAR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SandboxOptions
public SandboxOptions()
-
-
Method Details
-
getInstance
-
toLua
public void toLua() -
updateFromLua
public void updateFromLua() -
randomWaterShut
public int randomWaterShut(int int1) -
randomElectricityShut
public int randomElectricityShut(int int1) -
getTemperatureModifier
public int getTemperatureModifier() -
getRainModifier
public int getRainModifier() -
getErosionSpeed
public int getErosionSpeed() -
getFoodLootModifier
public int getFoodLootModifier() -
getWeaponLootModifier
public int getWeaponLootModifier() -
getOtherLootModifier
public int getOtherLootModifier() -
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
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
getFirstYear
public int getFirstYear() -
addOption
-
getNumOptions
public int getNumOptions() -
getOptionByIndex
-
getOptionByName
-
set
public void set(java.lang.String string, java.lang.Object object) -
copyValuesFrom
-
resetToDefault
public void resetToDefault() -
setDefaultsToCurrentValues
public void setDefaultsToCurrentValues() -
newCopy
-
isValidPresetName
public static boolean isValidPresetName(java.lang.String string) -
loadServerTextFile
public boolean loadServerTextFile(java.lang.String string) -
loadServerLuaFile
public boolean loadServerLuaFile(java.lang.String string) -
saveServerLuaFile
public boolean saveServerLuaFile(java.lang.String string) -
loadPresetFile
public boolean loadPresetFile(java.lang.String string) -
savePresetFile
public boolean savePresetFile(java.lang.String string) -
loadGameFile
public boolean loadGameFile(java.lang.String string) -
saveGameFile
public boolean saveGameFile(java.lang.String string) -
handleOldZombiesFile1
public void handleOldZombiesFile1() -
handleOldZombiesFile2
public void handleOldZombiesFile2() -
handleOldServerZombiesFile
public void handleOldServerZombiesFile() -
loadServerZombiesFile
public boolean loadServerZombiesFile(java.lang.String string) -
loadCurrentGameBinFile
public void loadCurrentGameBinFile() -
sendToServer
public void sendToServer()
-