﻿# Called from code after history generation
# Empty scope
on_game_start = {
	on_actions = {
		agotma_on_game_start
	}
}

agotma_on_game_start = {
	effect = {
		# Dragons are extinct
		if = {
			limit = {
				game_start_date > 8153.1.1
				agot_is_any_dragon_alive = no
				NOT = { exists = title:b_ruins.holder.var:agotma_age_of_dragons_over }
			}
			title:b_ruins.holder = { set_variable = agotma_age_of_dragons_over }
		}
	}
}