P4 hazards: food spoilage with rot speed setting, smoking rack and salt, food poisoning, harsher blizzards, hard winters with lake ice, lightning on trees, snow on roofs (protocol 11)
This commit is contained in:
@@ -23,6 +23,7 @@ const DEFAULTS := {
|
||||
"day_length_minutes": 20,
|
||||
"wolf_grace_days": 3,
|
||||
"difficulty": "normal",
|
||||
"rot": "normal",
|
||||
"autosave_minutes": 2,
|
||||
"backups_kept": 10,
|
||||
"backup_hours": 6,
|
||||
@@ -32,7 +33,7 @@ const DEFAULTS := {
|
||||
}
|
||||
## Settings sent to players when they join (never the password or the lists).
|
||||
const PUBLIC := ["server_name", "motd", "max_players", "worldlet", "pvp", "raiding", "locks",
|
||||
"death_penalty", "sleep", "pause_when_empty", "day_length_minutes", "wolf_grace_days", "difficulty"]
|
||||
"death_penalty", "sleep", "pause_when_empty", "day_length_minutes", "wolf_grace_days", "difficulty", "rot"]
|
||||
|
||||
var path := DEFAULT_PATH
|
||||
var data: Dictionary = {} ## what's in server.json (saved)
|
||||
@@ -146,6 +147,7 @@ const SETTABLE := {
|
||||
"sleep": ["all_online", "half", "anyone", "off"],
|
||||
"pause_when_empty": ["false", "true"],
|
||||
"difficulty": ["easy", "normal", "hard"],
|
||||
"rot": ["normal", "slow", "off"],
|
||||
"wolf_grace_days": "0-10",
|
||||
"motd": "text",
|
||||
"server_name": "text",
|
||||
|
||||
Reference in New Issue
Block a user