# Hanover

#########################################################################
#  Ernst August's Constitution
#########################################################################
event = {
	id = 3900
	random = no
	country = HAN

	# Triggered by ENG 6901

	name = "EVT_3900_NAME"
	desc = "EVT_1506_DESC"
	style = 0

	action_a = {
		name = "ACTIONNAME3900A" # I rule here!
		command = { type = end_satellite }
		command = { type = leave_alliance which = ENG }
		command = { type = alliance which = PRU when = 1 }
		command = { type = alliance which = AUS value = 1 when = 1 }
		command = { type = alliance which = ANH value = 1 when = 1 }
		command = { type = alliance which = BAD value = 1 when = 1 }
		command = { type = alliance which = BAY value = 1 when = 1 }
		command = { type = alliance which = BRA value = 1 when = 1 }
		command = { type = alliance which = BRE value = 1 when = 1 }
		command = { type = alliance which = COB value = 1 when = 1 }
		command = { type = alliance which = FRM value = 1 when = 1 }
		command = { type = alliance which = HAM value = 1 when = 1 }
		command = { type = alliance which = HED value = 1 when = 1 }
		command = { type = alliance which = HEK value = 1 when = 1 }
		command = { type = alliance which = LIP value = 1 when = 1 }
		command = { type = alliance which = MEC value = 1 when = 1 }
		command = { type = alliance which = MEI value = 1 when = 1 }
		command = { type = alliance which = OLD value = 1 when = 1 }
		command = { type = alliance which = SAX value = 1 when = 1 }
		command = { type = alliance which = WEI value = 1 when = 1 }
		command = { type = alliance which = WUR value = 1 when = 1 }
		command = { type = alliance which = LUB value = 1 when = 1 }
		command = { type = alliance which = NAS value = 1 when = 1 }
		command = { type = constitution which = monarchy }
		command = { type = executive_designation which = laws_by_decree }
		command = { type = party_system which = one_party }
		command = { type = national_value which = order }
		command = { type = set_ruling_party which = 3908 }

		command = { type = pop_consciousness which = aristocrats value = 1  }
		command = { type = pop_consciousness which = officers value = 1 }
		command = { type = pop_consciousness which = clergymen value = 1  }
		command = { type = pop_consciousness which = capitalists value = 1  }
		command = { type = pop_consciousness which = clerks value = 1 }
		command = { type = pop_consciousness which = craftsmen value = 1  }
		command = { type = pop_consciousness which = soldiers value = -1  }
		command = { type = pop_consciousness which = farmers value = -1 }
		command = { type = pop_consciousness which = labourers value = -1  }
		command = { type = pop_militancy which = aristocrats value = -1  }
		command = { type = pop_militancy which = officers value = -1  }
		command = { type = pop_militancy which = clergymen value = -1  }
		command = { type = pop_militancy which = capitalists value = 1  }
		command = { type = pop_militancy which = clerks value = 1  }
		command = { type = pop_militancy which = craftsmen value = 1  }
		command = { type = pop_militancy which = soldiers value = 1  }
		command = { type = pop_militancy which = farmers value = 1  }
		command = { type = pop_militancy which = labourers value = 1  }
	}
}

#########################################################################
#  The Professors Protest
#########################################################################
event = {
	id = 3901
	random = no
	country = HAN

	trigger = {
		event = 3900
		constitution = { type = monarchy }
	}

	name = "EVT_3901_NAME"
	desc = "EVT_1506_DESC"
	style = 0

	date = { day = 30 month = december year = 1836 }
	offset = 10
	deathdate = { day = 30 month = december year = 1837 }

	action_a = {
		name = "ACTIONNAME3901A" # Dismiss these disloyal subjects
		command = { type = pop_consciousness which = capitalists value = 3  }
		command = { type = pop_consciousness which = clerks value = 3 }
		command = { type = pop_consciousness which = craftsmen value = 3  }
		command = { type = pop_militancy which = capitalists value = 3  }
		command = { type = pop_militancy which = clerks value = 3  }
		command = { type = pop_militancy which = craftsmen value = 3  }
		command = { type = trigger which = 3300  } #BAD
		command = { type = trigger which = 4900  } #WUR
		command = { type = trigger which = 3500  } #BRA
		command = { type = trigger which = 3600  } #BRE
		command = { type = trigger which = 3400  } #BAY
		command = { type = trigger which = 3700  } #FRM
		command = { type = trigger which = 4000  } #HED
		command = { type = trigger which = 4100  } #HEK
		command = { type = trigger which = 3800  } #HAM
		command = { type = trigger which = 4200  } #HLS
		command = { type = trigger which = 4500  } #OLD
		command = { type = trigger which = 4300  } #LUB
		command = { type = trigger which = 4700  } #SAX
		command = { type = trigger which = 5100  } #LIP
		command = { type = trigger which = 5200  } #MEC
		command = { type = trigger which = 5000  } #COB
		command = { type = trigger which = 18200  } #NAS
		command = { type = trigger which = 18300  } #ANH
		command = { type = trigger which = 18400  } #WEI
		command = { type = trigger which = 18500  } #MEI
		command = { type = trigger which = 4617  } #PRU
		command = { type = trigger which = 1506  } #AUS
	}
	action_b = {
		name = "ACTIONNAME3901B" # Agree to their demands
		command = { type = pop_consciousness which = capitalists value = 3  }
		command = { type = pop_consciousness which = clerks value = 3 }
		command = { type = pop_consciousness which = craftsmen value = 3  }
		command = { type = pop_militancy which = capitalists value = -1  }
		command = { type = pop_militancy which = clerks value = -1  }
		command = { type = pop_militancy which = craftsmen value = -1  }
		command = { type = prestige value = -100  }
		command = { type = trigger which = 3301  } #BAD
		command = { type = trigger which = 4901  } #WUR
		command = { type = trigger which = 3501  } #BRA
		command = { type = trigger which = 3601  } #BRE
		command = { type = trigger which = 3401  } #BAY
		command = { type = trigger which = 3701  } #FRM
		command = { type = trigger which = 4001  } #HED
		command = { type = trigger which = 4101  } #HEK
		command = { type = trigger which = 3801  } #HAM
		command = { type = trigger which = 4201  } #HLS
		command = { type = trigger which = 4501  } #OLD
		command = { type = trigger which = 4301  } #LUB
		command = { type = trigger which = 4701  } #SAX
		command = { type = trigger which = 5101  } #LIP
		command = { type = trigger which = 5201  } #MEC
		command = { type = trigger which = 5001  } #COB
		command = { type = trigger which = 18201  } #NAS
		command = { type = trigger which = 18301  } #ANH
		command = { type = trigger which = 18401  } #WEI
		command = { type = trigger which = 18501  } #MEI
		command = { type = trigger which = 4618  } #PRU
		command = { type = trigger which = 1507  } #AUS
	}
}

#########################################################################
#  The Rhine Crisis
#########################################################################
event = {
	id = 3902
	random = no
	country = HAN

	# Triggered by FRA 7228

	trigger = {
		NOT = { satellite = { country = HAN country = FRA } }
	}

	name = "EVT_3302_NAME"
	desc = "EVT_3302_DESC"
	style = 0

	action_a = {
		name = "ACTIONNAME3302A" # Die wacht am Rhein stands fast
		command = { type = pop_consciousness which = capitalists value = 1  }
		command = { type = pop_consciousness which = clerks value = 1 }
		command = { type = pop_consciousness which = craftsmen value = 1  }
		command = { type = pop_consciousness which = soldiers value = 1  }
		command = { type = pop_consciousness which = farmers value = 1 }
		command = { type = pop_consciousness which = labourers value = 1  }
		command = { type = pop_militancy which = capitalists value = 2  }
		command = { type = pop_militancy which = clerks value = 2  }
		command = { type = pop_militancy which = craftsmen value = 2  }
		command = { type = pop_militancy which = soldiers value = 1  }
		command = { type = pop_militancy which = farmers value = 1  }
		command = { type = pop_militancy which = labourers value = 1  }
	}
}

#########################################################################
#  The Greek Constitution
#########################################################################
event = {
	id = 3903
	random = no
	country = HAN

	# Triggered by GRE 600

	name = "EVT_600_NAME"
	desc = "EVT_600_DESC"
	style = 0

	action_a = {
		name = "ACTIONNAME3303A" # Dangerous new ideas are spreading
		command = { type = pop_consciousness which = capitalists value = 1  }
		command = { type = pop_consciousness which = clerks value = 1 }
		command = { type = pop_consciousness which = craftsmen value = 1  }
		command = { type = pop_consciousness which = soldiers value = 1  }
		command = { type = pop_consciousness which = farmers value = 1 }
		command = { type = pop_consciousness which = labourers value = 1  }
		command = { type = pop_militancy which = capitalists value = 1  }
		command = { type = pop_militancy which = clerks value = 1  }
		command = { type = pop_militancy which = craftsmen value = 1  }
		command = { type = pop_militancy which = soldiers value = 1  }
		command = { type = pop_militancy which = farmers value = 1  }
		command = { type = pop_militancy which = labourers value = 1  }
	}
}

#########################################################################
#  Popular Unification of Germany
#########################################################################
event = {
	id = 3904
	random = no
	country = HAN

	trigger = {
		event = 4612 # PRU
		exists = GER
		NOT = { war = { country = GER  country = HAN } }
	}

	name = "EVT_1509_NAME"
	desc = "EVT_1509_DESC"
	style = 0

	date = { day = 5 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = april year = 1852 }

	action_a = {
		name = "ACCEPT_END" # Accept
		command = { type = surrender which = GER }
	}
	action_b = {
		name = "REFUSE" # Refuse
		command = { }
	}
}

#########################################################################
#  The Conservative Empire
#########################################################################
event = {
	id = 3905
	random = no
	country = HAN

	trigger = {
		event = 4616 # PRU
		exists = GER
		NOT = { war = { country = GER  country = HAN } }
	}

	name = "EVT_3305_NAME"
	desc = "EVT_3305_DESC"
	style = 0

	date = { day = 15 month = june year = 1850 }
	offset = 15
	deathdate = { day = 30 month = august year = 1852 }

	action_a = {
		name = "ACCEPT_END" # Accept (Game Over)
		command = { type = pop_militancy which = liberal value = 2 }
		command = { type = surrender which = GER }
	}
	action_b = {
		name = "DECLINE" # Refuse
		command = { type = prestige value = 25 }
		command = { type = relation which = GER value = -75 }
		command = { type = relation which = AUS value = 75 }
		command = { type = relation which = FRA value = 75 }
	}
}

#########################################################################
#  The North German Confederation
#########################################################################
event = {
	id = 3906
	random = no
	country = HAN

	trigger = {
		event = 3705 # FRM
		exists = NGF
		NOT = { war = { country = NGF  country = HAN } }
	}

	name = "EVT_3506_NAME"
	desc = "EVT_1512_DESC"
	style = 0

	date = { day = 5 month = january year = 1836 }
	offset = 33
	deathdate = { day = 30 month = april year = 1852 }

	action_a = {
		name = "ACTIONNAME3306A" # Accept membership
		command = { type = surrender which = NGF }
	}
	action_b = {
		name = "ACTIONNAME3306B" # Refuse membership
		command = { }
	}
}

#########################################################################
#  The Development of the Zollverein
#########################################################################
event = {
	id = 3907
	random = no
	country = HAN

	trigger = {
		event = 4622 # PRU
		exists = NGF
		NOT = { war = { country = NGF  country = HAN } }
	}

	name = "EVT_3307_NAME"
	desc = "EVT_3307_DESC"
	style = 0

	date = { day = 16 month = january year = 1862 }
	offset = 30
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "ACTIONNAME3307B" # Join the Union (Game Over)
		command = { type = trigger which = 3115 } # NGF
	}
	action_b = {
		name = "DECLINE" # Decline
		command = { type = relation which = AUS value = 100 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = NGF value = -100 }
	}
}

#########################################################################
#  Three Hurrays for the German Empire
#########################################################################
event = {
	id = 3908
	random = no
	country = HAN

	trigger = {
		OR = {
		event = 4632 # PRU (now GER)
		event = 4641
		}
		exists = GER
		NOT = { war = { country = GER  country = HAN } }
	}

	name = "EVT_4632_NAME"
	desc = "EVT_3309_DESC"
	style = 0

	date = { day = 4 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "ACCEPT_END" # Accept
		command = { type = surrender which = GER }
	}
	action_b = {
		name = "REFUSE" # Refuse
		command = { }
	}
}