add_namespace = wrs_agr

country_event = {
	id = wrs_agr.1
	title = wrs_agr.1.t
	desc = wrs_agr.1.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs_agr.1.a
		
		hidden_effect = {
			WRS = {
					country_event = {
							id = wrs_agr.2
							days = 5	
								}
						}
		}
	}
}

country_event = {
	id = wrs_agr.2
	title = wrs_agr.2.t
	desc = wrs_agr.2.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes


	option = {
		trigger = { }
		name = wrs_agr.2.a
		
		hidden_effect = {
			
			every_state = {
			limit = {
				OR = {
					state = 407
					state = 406
					state = 402
					state = 587
					state = 583
					state = 590
					state = 404
					state = 881
					state = 882
					state = 588
					state = 589
					state = 586
				}
			}

			WRS = {
				
				transfer_state = PREV
					
				hidden_effect = {
					add_state_core = PREV
					}
					
				}
				
			}

			every_state = {
			limit = {
				OR = {
					state = 584
					state = 832
					state = 823
					state = 831
					state = 585
					state = 830
				}
			}

			WRS = {

				
				hidden_effect = {
					add_state_core = PREV
					}

				transfer_state = PREV

				}
				
			}
			
			every_state = {
			limit = {
				OR = {
					state = 405
					state = 742
					state = 732
				}
			}

			WRS = {
				
				hidden_effect = {
					add_state_core = PREV
					}
				
				transfer_state = PREV
				
				}
				
				
			}
				
		}
	}
}

country_event = {
	id = wrs_agr.3
	title = wrs_agr.1.t
	desc = wrs_agr.3.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs_agr.1.a
		
		hidden_effect = {
			WRS = {
					country_event = {
							id = wrs_agr.4
							days = 5	
								}
						}
		}
	}
}

country_event = {
	id = wrs_agr.4
	title = wrs_agr.4.t
	desc = wrs_agr.4.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs_agr.1.a
		
		hidden_effect = {
			every_state = {
			limit = {
				OR = {
					state = 407
					state = 406
					state = 402
					state = 587
					state = 583
					state = 590
					state = 404
					state = 881
					state = 882
					state = 588
					state = 589
					state = 586
				}
			}

			WRS = {
				
				transfer_state = PREV
					
				hidden_effect = {
					add_state_core = PREV
					}
					
				}
				
			}
			
			every_state = {
                limit = {
                        OR = {
                                state = 572
                                state = 653
                                state = 403
                                state = 580
                                state = 577
                                state = 579
                                state = 824
                                state = 571
                                state = 578
                                state = 570
                                state = 40
                                state = 654
                                state = 569
                                state = 568
                                state = 576
                                state = 516
                                state = 878
                            }
                    }
                WRS = {
                        add_state_core = PREV
						
						transfer_state = PREV
                    }
					
					
            }
		}
	}
}