Moved weather randomization back to postInit

This commit is contained in:
ulteq 2015-04-25 18:56:55 +02:00
parent 71df545d52
commit 78eba4e703
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,10 @@
#include "script_component.hpp"
// Randomization
GVAR(temperatureShift) = 3 - random 6;
GVAR(badWeatherShift) = (random 1) ^ 2 * 10;
GVAR(humidityShift) = (5 - random 10) / 100;
GVAR(wind_period_start_time) = time;
GVAR(rain_period_start_time) = time;

View File

@ -1,10 +1,5 @@
#include "script_component.hpp"
// Randomization
GVAR(temperatureShift) = 3 - random 6;
GVAR(badWeatherShift) = (random 1) ^ 2 * 10;
GVAR(humidityShift) = (5 - random 10) / 100;
// Rain
GVAR(rain_next_period) = -1;
GVAR(rain_period_count) = 0;