Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
WeatherChannel Class Reference

Static Public Member Functions

static void Init ()
static void OnLoadRadioScripts ()
static void OnEveryHour (RadioChannel _channel, GameTime _gametime, ZomboidRadio _radio)
static RadioBroadCast CreateBroadcast (GameTime _gametime)
static void FillBroadcast (GameTime _gametime, RadioBroadCast _bc)
static void AddFuzz (umbrella::RGB _c, RadioBroadCast _bc, number _chance)
static void AddPowerNotice (umbrella::RGB _c, RadioBroadCast _bc, boolean _force)
static void AddForecasting (umbrella::RGB _c, RadioBroadCast _bc, number _hour)
static void AddForecast (umbrella::RGB _c, RadioBroadCast _bc, ClimateForecaster::DayForecast _forecast, string _prefix, boolean _doFog)
static string GetForecastString (integer _type, ClimateForecaster::DayForecast _forecast)
static string GetDaySegmentForHour (integer _hour)
static void AddExtremesForecasting (umbrella::RGB _c, RadioBroadCast _bc, number offset, number _len)
static void GetRandomString (umbrella::RGB _c, RadioBroadCast _bc, number _doItThreshold, number _forceRand)
static void TestAll (GameTime _gametime, RadioBroadCast _bc)

Member Function Documentation

◆ AddExtremesForecasting()

void WeatherChannel::AddExtremesForecasting ( umbrella::RGB _c,
RadioBroadCast _bc,
number offset,
number _len )
static

◆ AddForecast()

void WeatherChannel::AddForecast ( umbrella::RGB _c,
RadioBroadCast _bc,
ClimateForecaster::DayForecast _forecast,
string _prefix,
boolean _doFog )
static

◆ AddForecasting()

void WeatherChannel::AddForecasting ( umbrella::RGB _c,
RadioBroadCast _bc,
number _hour )
static

◆ AddFuzz()

void WeatherChannel::AddFuzz ( umbrella::RGB _c,
RadioBroadCast _bc,
number _chance )
static

◆ AddPowerNotice()

void WeatherChannel::AddPowerNotice ( umbrella::RGB _c,
RadioBroadCast _bc,
boolean _force )
static

◆ CreateBroadcast()

RadioBroadCast WeatherChannel::CreateBroadcast ( GameTime _gametime)
static

◆ FillBroadcast()

void WeatherChannel::FillBroadcast ( GameTime _gametime,
RadioBroadCast _bc )
static

◆ GetDaySegmentForHour()

string WeatherChannel::GetDaySegmentForHour ( integer _hour)
static

◆ GetForecastString()

string WeatherChannel::GetForecastString ( integer _type,
ClimateForecaster::DayForecast _forecast )
static

◆ GetRandomString()

void WeatherChannel::GetRandomString ( umbrella::RGB _c,
RadioBroadCast _bc,
number _doItThreshold,
number _forceRand )
static

◆ Init()

void WeatherChannel::Init ( )
static

◆ OnEveryHour()

void WeatherChannel::OnEveryHour ( RadioChannel _channel,
GameTime _gametime,
ZomboidRadio _radio )
static

◆ OnLoadRadioScripts()

void WeatherChannel::OnLoadRadioScripts ( )
static

◆ TestAll()

void WeatherChannel::TestAll ( GameTime _gametime,
RadioBroadCast _bc )
static

The documentation for this class was generated from the following file: