﻿##############################################################################
# Code actions
##############################################################################

on_game_start_after_lobby = {
    on_actions = {
        wld_on_game_start_after_lobby
    }
}

random_yearly_playable_pulse = {
    on_actions = {
        wld_random_yearly_playable_pulse
    }
}

##############################################################################
# Script actions
##############################################################################

wld_on_game_start_after_lobby = {
    effect = {
        # Try to initialize once during game start, but otherwise rely on global story if mod is loaded mid-save
        wld_try_initialize = yes
        wld_try_setup_global_story = yes
    }
}

wld_random_yearly_playable_pulse = {
    effect = {
        wld_try_setup_global_story = yes
    }
}
