• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(2456)

Pure Evil Genius
Mar 29, 2001
11.211
0
www.hero6.com
This here is just the core stuff to make it function properly without any historic flavor. I have everything but the events for switching dynasties and flags done.
Code:
###################
# Civil War Japan #
###################
event = {
	id = 242034
	random = no
	trigger = {
		ai = yes
		monarch =  07357 # Yoshizumi
		}
	country = NIP
	name = "Breakup of Japan"
	desc = "The Onin War left the Ashikaga Shogunate will almost no power. After the death of Ashikaga Yoshihisa the reamining rulers, for what little athority they did have, were all puppets, sometimes even puppets of puppets. This lack of any kind of central athority lead the the breakup of Japan into numerous feudal lands all vying for the title of Shogunate. This dark period would be known as the Civil War peiod for Japan lasting almost 100 years, would cut the number of feudal lords by hundreds and noble families by hundreds of thousands."
	action_a = {
		name = "Ok"
		command = { type = country which = U36 } # Ezochi
		command = { type = domestic which = centralization value = -10 }
		command = { type = removecore which = 684 }
		command = { type = desertion which = 684 value = -100000 }
		command = { type = removecore which = 685 }
		command = { type = desertion which = 685 value = -100000 }
		command = { type = removecore which = 686 }
		command = { type = desertion which = 686 value = -100000 }
		command = { type = removecore which = 687 }
		command = { type = desertion which = 687 value = -100000 }
		command = { type = removecore which = 688 }
		command = { type = desertion which = 688 value = -100000 }
		command = { type = add_countryculture which = XXXX } # Ainu
		command = { type = remove_countryculture which = japanese }
		command = { type = religion which = pagan }
		command = { type = badboy value = -1000 }
		command = { type = ai which = NIP_Ezochi }
		command = { type = independence which = U31 } # Kyushu
		command = { type = trigger which = 242028 }
		command = { type = independence which = U32 } # Shikuku
		command = { type = trigger which = 242029 }
		command = { type = independence which = U33 } # Kantou
		command = { type = trigger which = 242030 }
		command = { type = independence which = U34 } # Kansai
		command = { type = trigger which = 242031 }
		command = { type = independence which = U35 } # Tohoku
		command = { type = trigger which = 242032 }
		command = { type = stability value = 6 )
	}
}event = {
	id = 242035
	random = no
	trigger = {
		ai = no
		monarch =  07357 # Yoshizumi
		}
	country = NIP
	name = "Breakup of Japan"
	desc = "The Onin War left the Ashikaga Shogunate will almost no power. After the death of Ashikaga Yoshihisa the reamining rulers, for what little athority they did have, were all puppets, sometimes even puppets of puppets. This lack of any kind of central athority lead the the breakup of Japan into numerous feudal lands all vying for the title of Shogunate. This dark period would be known as the Civil War peiod for Japan lasting almost 100 years, would cut the number of feudal lords by hundreds and noble families by hundreds of thousands. /n If you want to play historically chose eastern."
	action_a = {
		name = "An Eastern Shogunate"
		command = { type = trigger = 242027 }
	}
	action_b = {
		name = "A Western Shogunate"
		command = { type = trigger = 242026 }
	}
}

event = {
	id = 242036
	random = no
	country = NIP
	name = "Breakup of Japan: Western Shogunates"
	desc = "The Western Front consists of three provinces: Kyushu, Shigoku and Kantou. Each of these is represented by the major clans of the area. Kyushu will start with Ouichi. Shigoku will have the Tosa clan and Kantou will continue with the Ashikaga Shogunates."
	action_a = {
		name = "Kyushu and Ouichi"
		command = { type = country which = U31 }
		command = { type = removecore which = 683 }
		command = { type = removecore which = 684 }
		command = { type = removecore which = 685 }
		command = { type = removecore which = 686 }
		command = { type = removecore which = 687 }
		command = { type = badboy value = -1000 }
		command = { type = independence which = U32 } # Shikuku
		command = { type = casusbelli which = U32 value = 4000 }
		command = { type = trigger which = 242029 }
		command = { type = independence which = U33 } # Kantou
		command = { type = casusbelli which = U33 value = 4000 }
		command = { type = trigger which = 242030 }
		command = { type = independence which = U34 } # Kansai
		command = { type = casusbelli which = U34 value = 4000 }
		command = { type = trigger which = 242031 }
		command = { type = independence which = U35 } # Tohoku
		command = { type = casusbelli which = U35 value = 4000 }
		command = { type = trigger which = 242032 }
		command = { type = independence which = U36 } # Ezochi
		command = { type = trigger which = 242033 }
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = stability value = 6 )
		command = { type = secedeprovince which = U36 value = 624 }
		command = { type = secedeprovince which = U36 value = 625 }
		command = { type = secedeprovince which = U36 value = 626 }
		command = { type = secedeprovince which = U36 value = 627 }
		command = { type = secedeprovince which = U36 value = 628 }
		command = { type = secedeprovince which = U36 value = 629 }
		command = { type = secedeprovince which = U36 value = 633 }
		command = { type = secedeprovince which = U36 value = 634 }
		command = { type = secedeprovince which = U36 value = 635 }
		command = { type = secedeprovince which = U36 value = 636 }
		command = { type = secedeprovince which = U36 value = 637 }
		command = { type = secedeprovince which = U36 value = 638 }
		command = { type = secedeprovince which = U36 value = 639 }
		command = { type = secedeprovince which = U36 value = 640 }
		command = { type = secedeprovince which = U36 value = 641 }
		command = { type = secedeprovince which = U36 value = 642 }
		command = { type = secedeprovince which = U36 value = 643 }
		command = { type = secedeprovince which = U36 value = 644 }
		command = { type = secedeprovince which = U36 value = 645 }
		command = { type = secedeprovince which = U36 value = 646 }
		command = { type = secedeprovince which = U36 value = 647 }
		command = { type = secedeprovince which = U36 value = 648 }
		command = { type = secedeprovince which = U36 value = 649 }
		command = { type = secedeprovince which = U36 value = 650 }
		command = { type = secedeprovince which = U36 value = 651 }
		command = { type = secedeprovince which = U36 value = 652 }
		command = { type = secedeprovince which = U36 value = 653 }
		command = { type = secedeprovince which = U36 value = 654 }
		command = { type = secedeprovince which = U36 value = 655 }
		command = { type = secedeprovince which = U36 value = 656 }
		command = { type = secedeprovince which = U36 value = 657 }
		command = { type = secedeprovince which = U36 value = 658 }
		command = { type = secedeprovince which = U36 value = 659 }
		command = { type = secedeprovince which = U36 value = 660 }
		command = { type = secedeprovince which = U36 value = 661 }
		command = { type = secedeprovince which = U36 value = 662 }
		command = { type = secedeprovince which = U36 value = 663 }
		command = { type = secedeprovince which = U36 value = 664 }
		command = { type = secedeprovince which = U36 value = 665 }
		command = { type = secedeprovince which = U36 value = 666 }
		command = { type = secedeprovince which = U36 value = 667 }
		command = { type = secedeprovince which = U36 value = 668 }
		command = { type = secedeprovince which = U36 value = 669 }
		command = { type = secedeprovince which = U36 value = 660 }
		command = { type = secedeprovince which = U36 value = 661 }
		command = { type = secedeprovince which = U36 value = 662 }
		command = { type = secedeprovince which = U36 value = 663 }
		command = { type = secedeprovince which = U36 value = 664 }
		command = { type = secedeprovince which = U36 value = 665 }
		command = { type = secedeprovince which = U36 value = 666 }
		command = { type = secedeprovince which = U36 value = 667 }
		command = { type = secedeprovince which = U36 value = 668 }
		command = { type = secedeprovince which = U36 value = 669 }
		command = { type = secedeprovince which = U36 value = 670 }
		command = { type = secedeprovince which = U36 value = 671 }
		command = { type = secedeprovince which = U36 value = 672 }
		command = { type = secedeprovince which = U36 value = 673 }
		command = { type = secedeprovince which = U36 value = 674 }
		command = { type = secedeprovince which = U36 value = 675 }
		command = { type = secedeprovince which = U36 value = 676 }
		command = { type = secedeprovince which = U36 value = 1468 }
		command = { type = secedeprovince which = U36 value = 1539 }
		command = { type = secedeprovince which = U36 value = 1540 }
		command = { type = secedeprovince which = U36 value = 1541 }
		command = { type = secedeprovince which = U36 value = 1542 }
		command = { type = secedeprovince which = U36 value = 1543 }
		command = { type = secedeprovince which = U36 value = 1544 }
		command = { type = secedeprovince which = U36 value = 1545 }
		command = { type = secedeprovince which = U36 value = 1546 }
		command = { type = secedeprovince which = U36 value = 1547 }
		command = { type = secedeprovince which = U36 value = 1548 }
		command = { type = secedeprovince which = U36 value = 1549 }
		command = { type = secedeprovince which = U36 value = 1550 }
		command = { type = secedeprovince which = U36 value = 1551 }
		command = { type = secedeprovince which = U36 value = 1552 }
		command = { type = secedeprovince which = U36 value = 1553 }
		command = { type = secedeprovince which = U36 value = 1554 }
		command = { type = secedeprovince which = U36 value = 1555 }
		command = { type = secedeprovince which = U36 value = 1556 }
		command = { type = secedeprovince which = U36 value = 1557 }
		command = { type = secedeprovince which = U36 value = 1558 }
		command = { type = secedeprovince which = U36 value = 1559 }
		command = { type = secedeprovince which = U36 value = 1560 }
		command = { type = secedeprovince which = U36 value = 1561 }
		command = { type = secedeprovince which = U36 value = 1562 }
		command = { type = secedeprovince which = U36 value = 1563 }
		command = { type = secedeprovince which = U36 value = 1564 }
		command = { type = secedeprovince which = U36 value = 1565 }
		command = { type = secedeprovince which = U36 value = 1567 }
		command = { type = secedeprovince which = U36 value = 1600 }
		command = { type = secedeprovince which = U36 value = 1601 }
		command = { type = secedeprovince which = U36 value = 1602 }
		command = { type = secedeprovince which = U36 value = 1603 }
		command = { type = secedeprovince which = U36 value = 1604 }
		command = { type = secedeprovince which = U36 value = 1605 }
		command = { type = secedeprovince which = U36 value = 1606 }
		command = { type = secedeprovince which = U36 value = 1607 }
		command = { type = secedeprovince which = U36 value = 1608 }
	}
	action_b = {
		name = "Shigoku and Tosa"
		command = { type = country which = U32 }
		command = { type = removecore which = 683 }
		command = { type = removecore which = 684 }
		command = { type = removecore which = 685 }
		command = { type = removecore which = 686 }
		command = { type = removecore which = 688 }
		command = { type = badboy value = -1000 }
		command = { type = independence which = U31 } # Kyushu
		command = { type = casusbelli which = U31 value = 4000 }
		command = { type = trigger which = 242028 }
		command = { type = independence which = U33 } # Kantou
		command = { type = casusbelli which = U33 value = 4000 }
		command = { type = trigger which = 242030 }
		command = { type = independence which = U34 } # Kansai
		command = { type = casusbelli which = U34 value = 4000 }
		command = { type = trigger which = 242031 }
		command = { type = independence which = U35 } # Tohoku
		command = { type = casusbelli which = U35 value = 4000 }
		command = { type = trigger which = 242032 }
		command = { type = independence which = U36 } # Ezochi
		command = { type = trigger which = 242033 }
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = stability value = 6 )
		command = { type = secedeprovince which = U36 value = 624 }
		[COLOR=Green]-snip-[/COLOR]
		command = { type = secedeprovince which = U36 value = 1608 }
	}
	action_c = {
		name = "Kantou and Ashikaga"
		command = { type = country which = U33 }
		command = { type = removecore which = 683 }
		command = { type = removecore which = 684 }
		command = { type = removecore which = 685 }
		command = { type = removecore which = 687 }
		command = { type = removecore which = 688 }
		command = { type = badboy value = -1000 }
		command = { type = independence which = U31 } # Kyushu
		command = { type = casusbelli which = U31 value = 4000 }
		command = { type = trigger which = 242028 }
		command = { type = independence which = U32 } # Shikoku
		command = { type = casusbelli which = U32 value = 4000 }
		command = { type = trigger which = 242029 }
		command = { type = independence which = U34 } # Kansai
		command = { type = casusbelli which = U34 value = 4000 }
		command = { type = trigger which = 242031 }
		command = { type = independence which = U35 } # Tohoku
		command = { type = casusbelli which = U35 value = 4000 }
		command = { type = trigger which = 242032 }
		command = { type = independence which = U36 } # Ezochi
		command = { type = trigger which = 242033 }
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = stability value = 6 )
		command = { type = secedeprovince which = U36 value = 624 }
		[COLOR=Green]-snip-[/COLOR]
		command = { type = secedeprovince which = U36 value = 1608 }
	}
}

event = {
	id = 242037
	random = no
	country = NIP
	name = "Breakup of Japan: Western Shogunates"
	desc = "The Eastern Front consists of two provinces: Kansai and Tohoku. Ezochi did not take part in the civil war. Each of two that did are represented by the major clans of the area. Kantou will start with Asakura and Tohoku will start with Hojo."
	action_a = {
		name = "Kansai and Asakura"
		command = { type = country which = U34 }
		command = { type = removecore which = 683 }
		command = { type = removecore which = 684 }
		command = { type = removecore which = 686 }
		command = { type = removecore which = 687 }
		command = { type = removecore which = 688 }
		command = { type = badboy value = -1000 }
		command = { type = independence which = U31 } # Kyushu
		command = { type = casusbelli which = U31 value = 4000 }
		command = { type = trigger which = 242028 }
		command = { type = independence which = U32 } # Shikuku
		command = { type = casusbelli which = U32 value = 4000 }
		command = { type = trigger which = 242029 }
		command = { type = independence which = U33 } # Kantou
		command = { type = casusbelli which = U33 value = 4000 }
		command = { type = trigger which = 242030 }
		command = { type = independence which = U35 } # Tohoku
		command = { type = casusbelli which = U35 value = 4000 }
		command = { type = trigger which = 242032 }
		command = { type = independence which = U36 } # Ezochi
		command = { type = trigger which = 242033 }
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = stability value = 6 )
		command = { type = secedeprovince which = U36 value = 624 }
		[COLOR=Green]-snip-[/COLOR]
		command = { type = secedeprovince which = U36 value = 1608 }
	}
	action_b = {
		name = "Tohoku and Hojo"
		command = { type = country which = U35 }
		command = { type = removecore which = 683 }
		command = { type = removecore which = 685 }
		command = { type = removecore which = 686 }
		command = { type = removecore which = 687 }
		command = { type = removecore which = 688 }
		command = { type = badboy value = -1000 }
		command = { type = independence which = U31 } # Kyushu
		command = { type = casusbelli which = U31 value = 4000 }
		command = { type = trigger which = 242028 }
		command = { type = independence which = U32 } # Shikoku
		command = { type = casusbelli which = U32 value = 4000 }
		command = { type = trigger which = 242029 }
		command = { type = independence which = U33 } # Kantou
		command = { type = casusbelli which = U33 value = 4000 }
		command = { type = trigger which = 242030 }
		command = { type = independence which = U34 } # Kansai
		command = { type = casusbelli which = U34 value = 4000 }
		command = { type = trigger which = 242031 }
		command = { type = independence which = U36 } # Ezochi
		command = { type = trigger which = 242033 }
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = stability value = 6 )
		command = { type = secedeprovince which = U36 value = 624 }
		[COLOR=Green]-snip-[/COLOR]
		command = { type = secedeprovince which = U36 value = 1608 }
	}
}

event = {
	id = 242038
	random = no
	country = U31
	name = "AI_EVENT"
	desc = "Formation of Kyushu"
	action_a = {
		name = "Ok"
		command = { type = breakvassal which = U32 }
		command = { type = breakvassal which = U33 }
		command = { type = breakvassal which = U34 }
		command = { type = breakvassal which = U35 }
		command = { type = breakvassal which = U36 }
		command = { type = stability value = 6 )
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = setflag which = civilwarjapan_kyushu }
		command = { type = ai which = NIP_Shogunates }
	}
}

event = {
	id = 242039
	random = no
	country = U32
	name = "AI_EVENT"
	desc = "Formation of Shikaku
	action_a = {
		name = "Ok"
		command = { type = breakvassal which = U31 }
		command = { type = breakvassal which = U33 }
		command = { type = breakvassal which = U34 }
		command = { type = breakvassal which = U35 }
		command = { type = breakvassal which = U36 }
		command = { type = stability value = 6 )
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = setflag which = civilwarjapan_shikaku }
		command = { type = ai which = NIP_Shogunates }
	}
}

event = {
	id = 242040
	random = no
	country = U33
	name = "AI_EVENT"
	desc = "Formation of Kantou"
	action_a = {
		name = "Ok"
		command = { type = breakvassal which = U31 }
		command = { type = breakvassal which = U32 }
		command = { type = breakvassal which = U34 }
		command = { type = breakvassal which = U35 }
		command = { type = breakvassal which = U36 }
		command = { type = stability value = 6 )
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = setflag which = civilwarjapan_kantou }
		command = { type = ai which = NIP_Shogunates }
	}
}

event = {
	id = 242041
	random = no
	country = U34
	name = "AI_EVENT"
	desc = "Formation of Kansai"
	action_a = {
		name = "Ok"
		command = { type = breakvassal which = U31 }
		command = { type = breakvassal which = U32 }
		command = { type = breakvassal which = U33 }
		command = { type = breakvassal which = U35 }
		command = { type = breakvassal which = U36 }
		command = { type = stability value = 6 )
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = setflag which = civilwarjapan_kansai }
		command = { type = ai which = NIP_Shogunates }
	}
}

event = {
	id = 242042
	random = no
	country = U35
	name = "AI_EVENT"
	desc = "Formation of Tohoku"
	action_a = {
		name = "Ok"
		command = { type = breakvassal which = U31 }
		command = { type = breakvassal which = U32 }
		command = { type = breakvassal which = U33 }
		command = { type = breakvassal which = U34 }
		command = { type = breakvassal which = U36 }
		command = { type = stability value = 6 )
		command = { type = INF which = -2 value = 20000 }
		command = { type = CAV which = -3 value = 20000 }
		command = { type = setflag which = civilwarjapan_tohoku }
		command = { type = ai which = NIP_Shogunates }
	}
}

event = {
	id = 242043
	random = no
	country = U36
	name = "AI_EVENT"
	desc = "Formation of Ezochi"
	action_a = {
		name = "Ok"
		command = { type = breakvassal which = U31 }
		command = { type = breakvassal which = U32 }
		command = { type = breakvassal which = U33 }
		command = { type = breakvassal which = U34 }
		command = { type = breakvassal which = U35 }
		command = { type = stability value = 6 )
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -3 value = 10000 }
		command = { type = ai which = NIP_Shogunates }
	}
}

event = {
	id = 242044
	random = no
	country = U31 # Kyushu
	name = "Reunification of Japan"
	desc = "After years of stuggle, Japan is finally reunited under the rule of one Shogun. Gone are the days of feudalism as over ninety percent of the clans were stripped of most of their power, if they survived at all. Thus ends one of the bloodiest wars in Japan's history and one of the most devasting civil wars ever known."
	tigger = {
		NOT = {
			exist = U32
			exist = U33
			exist = U34
			exist = U35
			exist = NIP
		}
		control  = { province = 684 data = -1 }
		control  = { province = 685 data = -1 }
		control  = { province = 686 data = -1 }
		control  = { province = 687 data = -1 }
		control  = { province = 688 data = -1 }
		owned  = { province = 684 data = -1 }
		owned  = { province = 685 data = -1 }
		owned  = { province = 686 data = -1 }
		owned  = { province = 687 data = -1 }
		owned  = { province = 688 data = -1 }
		flag = civilwarjapan_kyushu
	}
	action_a = {
		command = { type = stability value = 1 }
		command = { type = vp value = 200 }
		command = { type = country which = NIP }
		command = { type = inherit which = U36 }
		command = { type = addcore which = 683 }
		command = { type = addcore which = 684 }
		command = { type = addcore which = 685 }
		command = { type = addcore which = 686 }
		command = { type = addcore which = 687 }
		command = { type = clrflag which = civilwarjapan_kyushu }
		command = { type = clrflag which = civilwarjapan_shikaku }
		command = { type = clrflag which = civilwarjapan_kantou }
		command = { type = clrflag which = civilwarjapan_kansai }
		command = { type = clrflag which = civilwarjapan_tohoku }
		command = { type = setflag which = postwar_japan }
		command = { type = ai which = NIP_Postwar }
		command = { type = wakemonarch value = XXXX }
	}
}

event = {
	id = 242045
	random = no
	country = U32 # Shikaku
	name = "Reunification of Japan"
	desc = "After years of stuggle, Japan is finally reunited under the rule of one Shogun. Gone are the days of feudalism as over ninety percent of the clans were stripped of most of their power, if they survived at all. Thus ends one of the bloodiest wars in Japan's history and one of the most devasting civil wars ever known."
	tigger = {
		NOT = {
			exist = U31
			exist = U33
			exist = U34
			exist = U35
			exist = NIP
		}
		control  = { province = 684 data = -1 }
		control  = { province = 685 data = -1 }
		control  = { province = 686 data = -1 }
		control  = { province = 687 data = -1 }
		control  = { province = 688 data = -1 }
		owned  = { province = 684 data = -1 }
		owned  = { province = 685 data = -1 }
		owned  = { province = 686 data = -1 }
		owned  = { province = 687 data = -1 }
		owned  = { province = 688 data = -1 }
	}
	action_a = {
		command = { type = stability value = 1 }
		command = { type = vp value = 200 }
		command = { type = country which = NIP }
		command = { type = inherit which = U36 }
		command = { type = addcore which = 683 }
		command = { type = addcore which = 684 }
		command = { type = addcore which = 685 }
		command = { type = addcore which = 686 }
		command = { type = addcore which = 688 }
		command = { type = clrflag which = civilwarjapan_kyushu }
		command = { type = clrflag which = civilwarjapan_shikaku }

		command = { type = clrflag which = civilwarjapan_kantou }
		command = { type = clrflag which = civilwarjapan_kansai }
		command = { type = clrflag which = civilwarjapan_tohoku }
		command = { type = setflag which = postwar_japan }
		command = { type = ai which = NIP_Postwar }
		command = { type = wakemonarch value = XXXX }
	}
}

event = {
	id = 242046
	random = no
	country = U33 # Kantou
	name = "Reunification of Japan"
	desc = "After years of stuggle, Japan is finally reunited under the rule of one Shogun. Gone are the days of feudalism as over ninety percent of the clans were stripped of most of their power, if they survived at all. Thus ends one of the bloodiest wars in Japan's history and one of the most devasting civil wars ever known."
	tigger = {
		NOT = {
			exist = U31
			exist = U32
			exist = U34
			exist = U35
			exist = NIP
		}
		control  = { province = 684 data = -1 }
		control  = { province = 685 data = -1 }
		control  = { province = 686 data = -1 }
		control  = { province = 687 data = -1 }
		control  = { province = 688 data = -1 }
		owned  = { province = 684 data = -1 }
		owned  = { province = 685 data = -1 }
		owned  = { province = 686 data = -1 }
		owned  = { province = 687 data = -1 }
		owned  = { province = 688 data = -1 }
	}
	action_a = {
		command = { type = stability value = 1 }
		command = { type = vp value = 200 }
		command = { type = country which = NIP }
		command = { type = inherit which = U36 }
		command = { type = addcore which = 683 }
		command = { type = addcore which = 684 }
		command = { type = addcore which = 685 }
		command = { type = addcore which = 687 }
		command = { type = addcore which = 688 }
		command = { type = clrflag which = civilwarjapan_kyushu }
		command = { type = clrflag which = civilwarjapan_shikaku }
		command = { type = clrflag which = civilwarjapan_kantou }
		command = { type = clrflag which = civilwarjapan_kansai }
		command = { type = clrflag which = civilwarjapan_tohoku }
		command = { type = setflag which = postwar_japan }
		command = { type = ai which = NIP_Postwar }
		command = { type = sleepevent which = 242039 }
		command = { type = wakemonarch value = XXXX }
	}
}

event = {
	id = 242047
	random = no
	country = U34 # Kansai
	name = "Reunification of Japan"
	desc = "After years of stuggle, Japan is finally reunited under the rule of one Shogun. Gone are the days of feudalism as over ninety percent of the clans were stripped of most of their power, if they survived at all. Thus ends one of the bloodiest wars in Japan's history and one of the most devasting civil wars ever known."
	tigger = {
		NOT = {
			exist = U31
			exist = U32
			exist = U33
			exist = U35
			exist = NIP
		}
		control  = { province = 684 data = -1 }
		control  = { province = 685 data = -1 }
		control  = { province = 686 data = -1 }
		control  = { province = 687 data = -1 }
		control  = { province = 688 data = -1 }
		owned  = { province = 684 data = -1 }
		owned  = { province = 685 data = -1 }
		owned  = { province = 686 data = -1 }
		owned  = { province = 687 data = -1 }
		owned  = { province = 688 data = -1 }
	}
	action_a = {
		command = { type = stability value = 1 }
		command = { type = vp value = 200 }
		command = { type = country which = NIP }
		command = { type = inherit which = U36 }
		command = { type = addcore which = 683 }
		command = { type = addcore which = 684 }
		command = { type = addcore which = 686 }
		command = { type = addcore which = 687 }
		command = { type = addcore which = 688 }
		command = { type = clrflag which = civilwarjapan_kyushu }
		command = { type = clrflag which = civilwarjapan_shikaku }
		command = { type = clrflag which = civilwarjapan_kantou }
		command = { type = clrflag which = civilwarjapan_kansai }
		command = { type = clrflag which = civilwarjapan_tohoku }
		command = { type = setflag which = postwar_japan }
		command = { type = ai which = NIP_Postwar }
		command = { type = wakemonarch value = XXXX }
	}
}


event = {
	id = 242048
	random = no
	country = U35 # Tohoku
	name = "Reunification of Japan"
	desc = "After years of stuggle, Japan is finally reunited under the rule of one Shogun. Gone are the days of feudalism as over ninety percent of the clans were stripped of most of their power, if they survived at all. Thus ends one of the bloodiest wars in Japan's history and one of the most devasting civil wars ever known."
	tigger = {
		NOT = {
			exist = U31
			exist = U32
			exist = U33
			exist = U34
			exist = NIP
		}
		control  = { province = 684 data = -1 }
		control  = { province = 685 data = -1 }
		control  = { province = 686 data = -1 }
		control  = { province = 687 data = -1 }
		control  = { province = 688 data = -1 }
		owned  = { province = 684 data = -1 }
		owned  = { province = 685 data = -1 }
		owned  = { province = 686 data = -1 }
		owned  = { province = 687 data = -1 }
		owned  = { province = 688 data = -1 }
	}
	action_a = {
		command = { type = stability value = 1 }
		command = { type = vp value = 200 }
		command = { type = country which = NIP }
		command = { type = inherit which = U36 }
		command = { type = addcore which = 683 }
		command = { type = addcore which = 685 }
		command = { type = addcore which = 686 }
		command = { type = addcore which = 687 }
		command = { type = addcore which = 688 }
		command = { type = clrflag which = civilwarjapan_kyushu }
		command = { type = clrflag which = civilwarjapan_shikaku }
		command = { type = clrflag which = civilwarjapan_kantou }
		command = { type = clrflag which = civilwarjapan_kansai }

		command = { type = clrflag which = civilwarjapan_tohoku }
		command = { type = setflag which = postwar_japan }
		command = { type = ai which = NIP_Postwar }
		command = { type = wakemonarch value = XXXX }
	}
}

event = {
	id = 242049
	random = no
	country = NIP
	name = "Emperor asks the capital to be moved back to Kyoto"
	desc = "After the civil war was over, there was pressure, which continues to some extent even today, to move the capital back to Kyoto to where the Emperor resides. However, the Emperor was no longer the ruler, except in purely spiritual matters and the new Shogun felt the location of the current capital was a better location. As well the movement would cost money and would weaken his ability to rule."
	trigger = { flag = postwar_japan }
	action_a = (
		name = "The capital is fine where it is."
		command = { type = stability value = -2 }
		command = { type = aristocracy value = -1 }
	}
	action_a = (
		name = "Aceed to the Empeor's wish."
		command = { type = stability value = 1 }
		command = { type = capital value = 686 }
		command = { type = aristocracy value = 1 }
		command = { type = centralization value = -1 }
	}
}

event = {
	id = 242050
	random = no
	province = 684
	name = "Loyal Defenders of the Daimyo rally to his aid!"
	desc = "Because of Japan's highly feudal nature, even the conquest of the major family in a province did not signify the passification of all the lords in a province. Once the main army was defeated, the worst wasn't over."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kantou
		flag = civilwarjapan_kansai
		OR = {
			control = { province = 684 data = U31 }
			control = { province = 684 data = U32 }
			control = { province = 684 data = U33 }
			control = { province = 684 data = U34 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242051
	random = no
	province = 685
	name = "Loyal Defenders of the Daimyo rally to his aid!"
	desc = "Because of Japan's highly feudal nature, even the conquest of the major family in a province did not signify the passification of all the lords in a province. Once the main army was defeated, the worst wasn't over."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kantou
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 685 data = U31 }
			control = { province = 685 data = U32 }
			control = { province = 685 data = U33 }
			control = { province = 685 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242052
	random = no
	province = 686
	name = "Loyal Defenders of the Daimyo rally to his aid!"
	desc = "Because of Japan's highly feudal nature, even the conquest of the major family in a province did not signify the passification of all the lords in a province. Once the main army was defeated, the worst wasn't over."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kansai
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 686 data = U31 }
			control = { province = 686 data = U32 }
			control = { province = 686 data = U34 }
			control = { province = 686 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242053
	random = no
	province = 687
	name = "Loyal Defenders of the Daimyo rally to his aid!"
	desc = "Because of Japan's highly feudal nature, even the conquest of the major family in a province did not signify the passification of all the lords in a province. Once the main army was defeated, the worst wasn't over."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_kantou
		flag = civilwarjapan_kansai
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 687 data = U31 }
			control = { province = 687 data = U33 }
			control = { province = 687 data = U34 }
			control = { province = 687 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242054
	random = no
	province = 688
	name = "Loyal Defenders of the Daimyo rally to his aid!"
	desc = "Because of Japan's highly feudal nature, even the conquest of the major family in a province did not signify the passification of all the lords in a province. Once the main army was defeated, the worst wasn't over."
	trigger = {
		ai = no
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kantou
		flag = civilwarjapan_kansai
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 688 data = U32 }
			control = { province = 688 data = U33 }
			control = { province = 688 data = U34 }
			control = { province = 688 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}
 
Last edited:

unmerged(2456)

Pure Evil Genius
Mar 29, 2001
11.211
0
www.hero6.com
Code:
event = {
	id = 242055
	random = no
	province = 684
	name = "Ronin rally for their former lord!"
	desc = "While some Samurai would switch aligences many others who did not commit sepuku would continue to resist the occuptation of the new lord as Ronin or finding other local lords to continue to wage a war of vengance."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kantou
		flag = civilwarjapan_kansai
		OR = {
			control = { province = 684 data = U31 }
			control = { province = 684 data = U32 }
			control = { province = 684 data = U33 }
			control = { province = 684 data = U34 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which - 60 value = 1 }
		command = { type = revoltrisk which - 24 value = 1 }
		command = { type = revoltrisk value = 1 }
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242056
	random = no
	province = 685
	name = "Ronin rally for their former lord!"
	desc = "While some Samurai would switch aligences many others who did not commit sepuku would continue to resist the occuptation of the new lord as Ronin or finding other local lords to continue to wage a war of vengance."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kantou
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 685 data = U31 }
			control = { province = 685 data = U32 }
			control = { province = 685 data = U33 }
			control = { province = 685 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which - 60 value = 1 }
		command = { type = revoltrisk which - 24 value = 1 }
		command = { type = revoltrisk value = 1 }
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242057
	random = no
	province = 686
	name = "Ronin rally for their former lord!"
	desc = "While some Samurai would switch aligences many others who did not commit sepuku would continue to resist the occuptation of the new lord as Ronin or finding other local lords to continue to wage a war of vengance."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kansai
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 686 data = U31 }
			control = { province = 686 data = U32 }
			control = { province = 686 data = U34 }
			control = { province = 686 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which - 60 value = 1 }
		command = { type = revoltrisk which - 24 value = 1 }
		command = { type = revoltrisk value = 1 }
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242058
	random = no
	province = 687
	name = "Ronin rally for their former lord!"
	desc = "While some Samurai would switch aligences many others who did not commit sepuku would continue to resist the occuptation of the new lord as Ronin or finding other local lords to continue to wage a war of vengance."
	trigger = {
		ai = no
		flag = civilwarjapan_kyushu
		flag = civilwarjapan_kantou
		flag = civilwarjapan_kansai
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 687 data = U31 }
			control = { province = 687 data = U33 }
			control = { province = 687 data = U34 }
			control = { province = 687 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which - 60 value = 1 }
		command = { type = revoltrisk which - 24 value = 1 }
		command = { type = revoltrisk value = 1 }
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}

event = {
	id = 242059
	random = no
	province = 688
	name = "Ronin rally for their former lord!"
	desc = "While some Samurai would switch aligences many others who did not commit sepuku would continue to resist the occuptation of the new lord as Ronin or finding other local lords to continue to wage a war of vengance."
	trigger = {
		ai = no
		flag = civilwarjapan_shikaku
		flag = civilwarjapan_kantou
		flag = civilwarjapan_kansai
		flag = civilwarjapan_tohoku
		OR = {
			control = { province = 688 data = U32 }
			control = { province = 688 data = U33 }
			control = { province = 688 data = U34 }
			control = { province = 688 data = U35 }
		}
	}
	action_a = (
		name = "Will this ever end?"
		command = { type = stability value = -1 }
		command = { type = revoltrisk which - 60 value = 1 }
		command = { type = revoltrisk which - 24 value = 1 }
		command = { type = revoltrisk value = 1 }
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
		command = { type = revolt value = 684 }		
	}
}
 

unmerged(2456)

Pure Evil Genius
Mar 29, 2001
11.211
0
www.hero6.com
Code:
# Civil War Daimyo
# Kyushu
# Nabeshima Clan

historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1601 }
	deathdate = { year = 1618 }
	name = "Nabeshima Naoshige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1614 }
	deathdate = { year = 1657 }
	name = "Nabeshima Katsushige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1657 }
	deathdate = { year = 1700 }
	name = "Nabeshima Mitsushige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1578 }
	deathdate = { year = }
	name = "Nabeshima Tsunashige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Kunishige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Yoshishige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Muneshige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Munenori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Atsushige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Nanushige"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Noritoda"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Tadamasa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Tadahiro"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Nabeshima Tadateru"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

# Shimazu

historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1474 }
	deathdate = { year = 1508 }
	name = "Shimazu Takehisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1508 }
	deathdate = { year = 1515 }
	name = "Shimazu Tadeharu"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1515 }
	deathdate = { year = 1519 }
	name = "Shimazu Tadataka"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1519 }
	deathdate = { year = 1526 }
	name = "Shimazu Katsuhisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1526 }
	deathdate = { year = 1571 }
	name = "Shimazu Takehisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1571 }
	deathdate = { year = 1611 }
	name = "Shimazu Yoshihisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1611 }
	deathdate = { year = 1619 }
	name = "Shimazu Yoshihiro"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1619 }
	deathdate = { year = 1638 }
	name = "Shimazu Iehisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1638 }
	deathdate = { year = 1650 }
	name = "Shimazu Mitsuhisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1650 }
	deathdate = { year = 1704 }
	name = "Shimazu Tsunehisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1704 }
	deathdate = { year = 1747 }
	name = "Shimazu Reun Tunetake"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1747 }
	deathdate = { year = 1774 }
	name = "Shimazu Tsugutoyo"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1747 }
	deathdate = { year = 1749 }
	name = "Shimazu Munenobu" # Alternate ruler
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1749 }
	deathdate = { year = 1756 }
	name = "Shimazu Shigetoshi" # Alternate ruler
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1756 }
	deathdate = { year = 1831 }
	name = "Shimazu Shigetoshi" # Alternate ruler for part of time
	DIP =
	ADM =
	MIL =
	dormant = yes
}

# Kansai
# Mori Clan

historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1491 }
	deathdate = { year = 1516 }
	name = "Mori Okimoto"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1516 }
	deathdate = { year = 1521 }
	name = "Mori Kamatsumaru"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1497 }
	deathdate = { year = 1571 }
	name = "Mori Motonari"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1571 }
	deathdate = { year = 1625 }
	name = "Mori Terumoto"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1625 }
	deathdate = { year = 1637 }
	name = "Mori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1637 }
	deathdate = { year = 16 }
	name = "Mori Tsunehiro"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 16 }
	deathdate = { year = }
	name = "Mori Yoshinari"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Yoshihiro"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Yoshimoto"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Munehiro"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Shigenari"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Naruchika"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Narifisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Narihiro I"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Narimoto"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Mori Narihisa II"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

# Kantou

# Sanada Clan

historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1490 }
	deathdate = { year = 1512 }
	name = "Uno Munetsuma"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1512 }
	deathdate = { year = 1574 }
	name = "Sanada Yukitaka"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1574 }
	deathdate = { year = 1608 }
	name = "Sanada Masayuki"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1608 }
	deathdate = { year = 1658 } (?)
	name = "Sanada Noboyuki"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1593 } (?)
	deathdate = { year = 1634 }
	name = "Sanada Noboyoshi"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

# Takeda Clan

historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1447 }
	deathdate = { year = 1505 }
	name = "Takeda Nobumasa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1505 }
	deathdate = { year = 1507 }
	name = "Takeda Nobutsuna"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1507 }
	deathdate = { year = 1573 } (?)
	name = "Takeda Nobutora"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1521 }
	deathdate = { year = 1573 } (?)
	name = "Takeda Harunobu"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1573 }
	deathdate = { year = 1582 }
	name = "Takeda Katsuyori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

# Uesugi Clan
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1645 }
	deathdate = { year = 1668 }
	name = "Uesugi Tsunakatsu"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1668 }
	deathdate = { year = }
	name = "Uesugi Tsunanori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Uesugi Yoshinori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Uesugi Munenori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Uesugi Munefisa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = 1767 }
	name = "Uesugi Shigasada"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1767 }
	deathdate = { year = 1785 }
	name = "Uesugi Haranori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1785 }
	deathdate = { year = }
	name = "Uesugi Haruhiro"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Uesugi Narisada"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Uesugi Narinori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Uesugi Shigenori"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = 1868 }
	name = "Uesugi Noriaki"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

#Tohoku
# Date Clan

historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1601 }
	deathdate = { year = 1637 }
	name = "Date Masamune"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1637 }
	deathdate = { year = 1658 }
	name = "Date Tadamune"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1658 }
	deathdate = { year = 1660 }
	name = "Date Tsunamune"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1660 }
	deathdate = { year = 1703 }
	name = "Date Tsunamura"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1660 }
	deathdate = { year = 1670 }
	name = "Date Munekatsu" # Regent..unsure if i should use him
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1703 }
	deathdate = { year = 1743 }
	name = "Date Yoshimurae"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1743 }
	deathdate = { year = 1756 }
	name = "Date Munemura"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1743 }
	deathdate = { year = 1756 }
	name = "Date Shigemura"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1790 }
	deathdate = { year = 1796 }
	name = "Date Narimura"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1790 }
	deathdate = { year = 1796 }
	name = "Date Mawamune"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1796 }
	deathdate = { year = 1819 }
	name = "Date Narimune"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1819 }
	deathdate = { year = 1827 }
	name = "Date Nariyosi"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

# Hojo Clan

historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1432 }
	deathdate = { year = 1519 }
	name = "Hojo Nagauji"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1519 }
	deathdate = { year = 1541 }
	name = "Hojo Ijitsuna"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1541 }
	deathdate = { year = 1571 }
	name = "Hojo Ijiyasu"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1571 }
	deathdate = { year = 1590 }
	name = "Hojo Ujimasa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1590 }
	deathdate = { year = 1591 }
	name = "Hojo Ujinao"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

#Shikoku
#Chokosabe
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 159 }
	deathdate = { year = 1600 }
	name = "Chokosabe Morichika"
	DIP =
	ADM =
	MIL =
	dormant = yes
}

#Yamanouchi
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1600 }
	deathdate = { year = 1605 }
	name = "Yamanouchi Kazutoyo"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1605 }
	deathdate = { year = 1659 }
	name = "Yamanouchi Tadayoshi"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1659 }
	deathdate = { year = }
	name = "Yamanouchi Tadatoyo"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyomasa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyofusa"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyofaka"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyotsune"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyonobu"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyoyasu"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = 1769 }
	name = "Yamanouchi Toyokatsu"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = 1769 }
	deathdate = { year = }
	name = "Yamanouchi Toyochika"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyosuki"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = }
	name = "Yamanouchi Toyosuke"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
historicalmonarch = {
	id = { type = 6 id = }
	startdate = { year = }
	deathdate = { year = 1858 }
	name = "Yamanouchi Toyohiro"
	DIP =
	ADM =
	MIL =
	dormant = yes
}
 

unmerged(2456)

Pure Evil Genius
Mar 29, 2001
11.211
0
www.hero6.com
Code:
# Ezochi of Japan AI
#
# Coded by Jinnai
#
# Preferred areas for expansion
#
continent = { }
region = { }
area = { }

# The amount of provinces we try to colonize at the same time
expansion = 0

# % of the time we prefer to establish a tradingpost if both are good.
tradingpost = 20

# Bonus for areas to establish colonies adjacent to previous ones.
neighbour = 50

# Bonus/Penalty for establish colonies adjacent to other countries.
enemies = -50

# 100 = max trader rate, lesser means slower focus on sending a trader.
traders = 0

# 100 = Total monopolist, will refuse trade as much as possible.
monopoly = 0

# 100 = Total warmonger, 0 = absolute pacifist
war = 0
ferocity = no

#if possible we WILL go counter reform
counterreform = no

#Which countries to conquer if possible. (to guide nation historically)
combat = { }

#How important is it to gather troops close to base
base = .01
#How important is it to be as close to target position when gathering troops.
front = 0.01


#Evaluation factors for conquer plans 
conquer = 
{ 
	# multiply enemy province value 
	enemy = 0.1 
	# multiplying supply factor 
	supply = 0.1 
	# factor for distance to not owner provinces 
	distance = 0.1 
	# factor for owned provines 
	owner = 1.0
	# Multiplier for provinces not in supply. 
	notsupply = .1 
	# Multiplying the base constant for conquer. 
	base = .1
} 

# Modifiers for garrison plans 
garrison = 
{ 
	fortress = 0.01
	strategic = 0.01 
	size = 1.0 
	supply = .01 
	war = 0.01 
}
 

unmerged(2456)

Pure Evil Genius
Mar 29, 2001
11.211
0
www.hero6.com
Code:
# Shogunates of Japan AI
#
# Coded by Jinnai


#
# Preferred areas for expansion
#
continent = { }
region = { }
area = { }

# The amount of provinces we try to colonize at the same time
expansion = 0

# % of the time we prefer to establish a tradingpost if both are good.
tradingpost = 20

# Bonus for areas to establish colonies adjacent to previous ones.
neighbour = 50

# Bonus/Penalty for establish colonies adjacent to other countries.
enemies = -50

# 100 = max trader rate, lesser means slower focus on sending a trader.
traders = 75

# 100 = Total monopolist, will refuse trade as much as possible.
monopoly = 0

# 100 = Total warmonger, 0 = absolute pacifist
war = 25
ferocity = no

#if possible we WILL go counter reform
counterreform = no

#Which countries to conquer if possible. (to guide nation historically)
combat = { U31 U32 U33 U34 U35 }

#How important is it to gather troops close to base
base = 1.0
#How important is it to be as close to target position when gathering troops.
front = 1.0


#Evaluation factors for conquer plans 
conquer = 
{ 
	# multiply enemy province value 
	enemy = 5.0
	# multiplying supply factor 
	supply = 1.0 
	# factor for distance to not owner provinces 
	distance = 0.5 
	# factor for owned provines 
	owner = 6.0
	# Multiplier for provinces not in supply. 
	notsupply = 1.0 
	# Multiplying the base constant for conquer. 
	base = 2.0
} 

# Modifiers for garrison plans 
garrison = 
{ 
	fortress = 6.0
	strategic = 12.0 
	size = 8.0
	supply = 2.0
	war = 5.0
}
 

unmerged(1385)

AGCEEP French Translator
Mar 1, 2001
2.903
0
Visit site
Just a little remark : you have put 2 ids for the first event (just under the quotes # Civil War Japan #)
Code:
###################
# Civil War Japan #
###################
event = {
	id = 242034
	[B]id = 242023[/B]
	random = no
...
I think the id in excess is that in bold.