MDE Scripting: OpenSeason

From Nomad DB
Syntax
game.traffic:OpenSeason(number seasonID)
Module Traffic
Library Game
Game Mafia: Definitive Edition


Description

Set the current season ID.

You have to close the previous season before with CloseSeason.


Parameters

Name Type Description
seasonID number Find season id here : Seasons


Returns

Returns nothing.


Examples

game.traffic:CloseSeason() -- closes the previous season
game.traffic:OpenSeason(1) -- set the current season as the year 1930