Package zombie
Class SandboxOptions
java.lang.Object
zombie.SandboxOptions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
final class
static interface
static class
final class
final class
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
static final SandboxOptions
final SandboxOptions.Map
protected final HashMap
protected final ArrayList
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected SandboxOptions
addOption
(SandboxOptions.SandboxOption sandboxOption) void
void
copyValuesFrom
(SandboxOptions sandboxOptions) boolean
int
int
int
int
double
int
int
int
static SandboxOptions
int
getOptionByIndex
(int int1) getOptionByName
(String string) int
int
double
int
int
int
int
void
void
void
void
static boolean
isValidPresetName
(String string) void
load()
void
load
(ByteBuffer byteBuffer) void
boolean
loadGameFile
(String string) boolean
loadPresetFile
(String string) boolean
loadServerLuaFile
(String string) boolean
loadServerTextFile
(String string) boolean
loadServerZombiesFile
(String string) newCopy()
void
newCustomOption
(CustomSandboxOption customSandboxOption) int
randomElectricityShut
(int int1) int
randomWaterShut
(int int1) static void
Reset()
void
void
save
(ByteBuffer byteBuffer) boolean
saveGameFile
(String string) boolean
savePresetFile
(String string) boolean
saveServerLuaFile
(String string) void
void
void
void
toLua()
void
-
Field Details
-
instance
-
Speed
public int Speed -
Zombies
-
Distribution
-
DayLength
-
StartYear
-
StartMonth
-
StartDay
-
StartTime
-
WaterShut
-
ElecShut
-
WaterShutModifier
-
ElecShutModifier
-
FoodLoot
-
LiteratureLoot
-
MedicalLoot
-
SurvivalGearsLoot
-
CannedFoodLoot
-
WeaponLoot
-
RangedWeaponLoot
-
AmmoLoot
-
MechanicsLoot
-
OtherLoot
-
Temperature
-
Rain
-
ErosionSpeed
-
ErosionDays
-
XpMultiplier
-
XpMultiplierAffectsPassive
-
Farming
-
CompostTime
-
StatsDecrease
-
NatureAbundance
-
Alarm
-
LockedHouses
-
StarterKit
-
Nutrition
-
FoodRotSpeed
-
FridgeFactor
-
LootRespawn
-
SeenHoursPreventLootRespawn
-
WorldItemRemovalList
-
HoursForWorldItemRemoval
-
ItemRemovalListBlacklistToggle
-
TimeSinceApo
-
PlantResilience
-
PlantAbundance
-
EndRegen
-
Helicopter
-
MetaEvent
-
SleepingEvent
-
GeneratorFuelConsumption
-
GeneratorSpawning
-
SurvivorHouseChance
-
AnnotatedMapChance
-
CharacterFreePoints
-
ConstructionBonusPoints
-
NightDarkness
-
NightLength
-
BoneFracture
-
InjurySeverity
-
HoursForCorpseRemoval
-
DecayingCorpseHealthImpact
-
BloodLevel
-
ClothingDegradation
-
FireSpread
-
DaysForRottenFoodRemoval
-
AllowExteriorGenerator
-
MaxFogIntensity
-
MaxRainFxIntensity
-
EnableSnowOnGround
-
AttackBlockMovements
-
VehicleStoryChance
-
ZoneStoryChance
-
AllClothesUnlocked
-
EnableTaintedWaterText
-
EnableVehicles
-
CarSpawnRate
-
ZombieAttractionMultiplier
-
VehicleEasyUse
-
InitialGas
-
FuelStationGas
-
LockedCar
-
CarGasConsumption
-
CarGeneralCondition
-
CarDamageOnImpact
-
DamageToPlayerFromHitByACar
-
TrafficJam
-
CarAlarm
-
PlayerDamageFromCrash
-
SirenShutoffHours
-
ChanceHasGas
-
RecentlySurvivorVehicles
-
MultiHitZombies
-
RearVulnerability
-
EnablePoisoning
-
MaggotSpawn
-
LightBulbLifespan
-
options
-
optionByName
-
Map
-
Lore
-
zombieConfig
-
FIRST_YEAR
public final int FIRST_YEAR- See Also:
-
-
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 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
- 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()
-