Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
local options= {}
if getSandboxPresets():indexOf("pillow") == nil then
SandboxVars = require "Sandbox/Apocalypse"
else options = getSandboxOptions():loadPresetFile("pillow");
end
You could try to change the ini mid-game, OnDusk triggers the updating of sandboxvars.
Or do not use any rule for it and instead use a cheat mod with a lua interpreter to the ElecShut vars by hand. You'll probably have to call getSandboxOptions():updateFromLua(). But I'm not really sure anymore, it's been almost a year since I've modded Zomboid.
sandbox ElecShut 7 1 2
sandbox ElecShutModifier 900 -1 2
sandbox ElecShut 1 7 4
sandbox ElecShutModifier -1 900 4
sandbox ElecShut 7 1 6
sandbox ElecShutModifier 900 -1 6
sandbox ElecShut 1 7 8
sandbox ElecShutModifier -1 900 8
So in this example the electricity would cut off after 2 days, then switch back on after 4, then off again after 6 and then back on again after 8 days.
I'm not sure what you mean. The [Amount of Days] already counts from the start date. Do you mean deciding every value for a specific date? (passedDays, value) tuples or something?
Like this: http://puu.sh/yeM5O/99d8998901.png
That being said, loot drop rate isn't completely determined by sandbox variables. I might be able to make that decrease more gradually. I'm going to look into that.