on_actions = {

	on_war = {
		effect = {
			if = {
				limit = {
					tag = GER
					has_war_with = ENG
					is_faction_leader = yes
				}

				set_variable = {
					WWMorality = 0
				}
			}
		}
	}

	on_state_control_changed = {
		effect = {
			add_to_variable = {
			    var = ROOT.WWMorality
			    value = 2
			}

			subtract_from_variable = {
			    var = FROM.WWMorality
			    value = 2
			}
		}
	}

	on_capitulation = {
		effect = {
			subtract_from_variable = {
			    var = ROOT.WWMorality
			    value = 25
			}

			add_to_variable = {
			    var = FROM.WWMorality
			    value = 25
			}
		}
	}

	on_uncapitulation = {
		effect = {
			add_to_variable = {
			    var = ROOT.WWMorality
			    value = 40
			}

			subtract_from_variable = {
			    var = FROM.WWMorality
			    value = 40
			}
		}
	}
}