mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Moved weather randomization back to postInit
This commit is contained in:
parent
71df545d52
commit
78eba4e703
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user