ideas = {    
    hidden_ideas = {
        ZZZ_war_stage_0 = {
			on_add = { log = "[GetDateText]: [Root.GetName]: add idea ZZZ_war_stage_0"}
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
            cancel = {
                OR = {
                    exists = no
                    has_war = no
                }
            }
			removal_cost = -1
            on_remove = {
                log = "[GetDateText]: [Root.GetName]: remove idea ZZZ_war_stage_0"
                if = {
                    limit = {
                        has_war = yes
                        exists = yes
                    }
                    add_timed_idea = {
                        idea = ZZZ_war_stage_1
                        days = 60
                    }
                }
            }
        }

        ZZZ_war_stage_1 = {
			on_add = { log = "[GetDateText]: [Root.GetName]: add idea ZZZ_war_stage_1"}
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
            cancel = {
                OR = {
                    exists = no
                    has_war = no
                }
            }
			removal_cost = -1
            on_remove = {
                log = "[GetDateText]: [Root.GetName]: remove idea ZZZ_war_stage_1"
                if = {
                    limit = {
                        has_war = yes
                        exists = yes
                    }
                    add_timed_idea = {
                        idea = ZZZ_war_stage_2
                        days = 60
                    }
                }
            }
        }

        ZZZ_war_stage_2 = {
			on_add = { log = "[GetDateText]: [Root.GetName]: add idea ZZZ_war_stage_2"}
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
            cancel = {
                OR = {
                    exists = no
                    has_war = no
                }
            }
			removal_cost = -1
            on_remove = {
                log = "[GetDateText]: [Root.GetName]: remove idea ZZZ_war_stage_2"
                if = {
                    limit = {
                        has_war = yes
                        exists = yes
                    }
                    country_event = goering_expanded.4
                }
            }
        }

        ZZZ_war_stage_3 = {
			on_add = { log = "[GetDateText]: [Root.GetName]: add idea ZZZ_war_stage_3"}
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
            cancel = {
                OR = {
                    exists = no
                    has_war = no
                }
            }
			removal_cost = -1
            on_remove = {
                log = "[GetDateText]: [Root.GetName]: remove idea ZZZ_war_stage_3"
                clr_country_flag = war_ended
            }
        }
    }
}