#########################################################################
#
#		資源調整MOD　ソ連戦争イベント
#
#########################################################################

#########################################################################
#  The Lend-Lease Act to USSR? or GER?
#########################################################################
event = {
	id = 90800
	random = no
	country = USA
	persistent = yes

	trigger = {
		war = { country = SOV country = GER }
		random = 6 # 5% chance every 12 days
		NOT = {
			war = { country = SOV country = USA }
			war = { country = GER country = ENG }
			war = { country = GER country = USA }
		}
	}
	
	name = "EVT_90800_NAME"
	desc = "EVT_90800_DESC"
	style = 0
	picture = "Lend_Lease_SOV"
	
	date = { day = 1 month = april year = 1938 }
	offset = 12 # Check for trigger conditions every 12 days
	deathdate = { day = 29 month = december year = 1950 }
	
	action_a = {
		name = "EVT_90800_ACTA" # Send more supplies
		ai_chance = 25
		command = { type = supplies value = -7500 }
		command = { type = oilpool value = -2000 }
		command = { type = rarematerialspool value = -500 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = relation which = SOV value = -15 }
		command = { type = relation which = GER value = 10 }
		command = { type = trigger which = 90801 } # GER
		command = { type = trigger which = 90802 } # SOV
	}
	action_b = {
		name = "EVT_90800_ACTB" # Send more supplies
		ai_chance = 25
		command = { type = supplies value = -10000 }
		command = { type = rarematerialspool value = -500 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = relation which = GER value = -15 }
		command = { type = relation which = SOV value = 10 }
		command = { type = trigger which = 90803 } # GER
		command = { type = trigger which = 90804 } # SOV
	}
	action_c = {
		name = "EVT_90800_ACTC" # Not this time
		ai_chance = 35
		command = { type = relation which = SOV value = -2 }
		command = { type = relation which = GER value = -2 }
		command = { type = dissent value = -3 }
	}
	action_d = {
		name = "EVT_90800_ACTD" # Not More
		ai_chance = 15
		command = { type = domestic which = interventionism value = -1 }
		command = { type = sleepevent which = 90800 }
	}
}
event = {
	id = 90801
	random = no
	country = GER
	persistent = yes

	name = "EVT_90801_NAME"
	desc = "EVT_90801_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "OK" # Excellent!
		command = { type = supplies value = 7500 }
		command = { type = rarematerialspool value = 500 }
		command = { type = oilpool value = 2000 }
	}
}
event = {
	id = 90802
	random = no
	country = SOV
	persistent = yes

	name = "EVT_90802_NAME"
	desc = "EVT_90802_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "EVT_90802_ACTA" # Excellent!
		ai_chance = 70
		command = { type = relation which = USA value = -12 }
		command = { type = domestic which = defense_lobby value = 1 }
	}
	action_b = {
		name = "EVT_90802_ACTB" # Excellent!
		ai_chance = 2
		command = { type = war which = USA }
	}
	action_c = {
		name = "EVT_90802_ACTC" # Excellent!
		ai_chance = 28
		command = { type = relation which = USA value = 8 }
		command = { type = domestic which = defense_lobby value = -1 }
	}
}
event = {
	id = 90803
	random = no
	country = GER
	persistent = yes

	name = "EVT_90803_NAME"
	desc = "EVT_90803_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "EVT_90803_ACTA" # Excellent!
		ai_chance = 70
		command = { type = relation which = USA value = -12 }
		command = { type = domestic which = defense_lobby value = 1 }
	}
	action_b = {
		name = "EVT_90803_ACTB" # Excellent!
		ai_chance = 2
		command = { type = war which = USA }
	}
	action_c = {
		name = "EVT_90803_ACTC" # Excellent!
		ai_chance = 28
		command = { type = relation which = USA value = 8 }
		command = { type = domestic which = defense_lobby value = -1 }
	}
}
event = {
	id = 90804
	random = no
	country = SOV
	persistent = yes

	name = "EVT_90804_NAME"
	desc = "EVT_90804_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "OK" # Excellent!
		command = { type = supplies value = 10000 }
		command = { type = rarematerialspool value = 500 }
	}
}
#########################################################################
#  The Lend-Lease Act to USSR? or JAP?
#########################################################################
event = {
	id = 90805
	random = no
	country = USA
	persistent = yes

	trigger = {
		war = { country = SOV country = JAP }
		random = 5 # 5% chance every 12 days
		NOT = {
			war = { country = SOV country = USA }
			war = { country = JAP country = ENG }
			war = { country = JAP country = USA }
			event = 3701
		}
	}
	
	name = "EVT_90805_NAME"
	desc = "EVT_90805_DESC"
	style = 0
	picture = "Lend_Lease_SOV"
	
	date = { day = 1 month = april year = 1938 }
	offset = 12 # Check for trigger conditions every 12 days
	deathdate = { day = 29 month = december year = 1950 }
	
	action_a = {
		name = "EVT_90805_ACTA" # Send more supplies
		ai_chance = 25
		command = { type = supplies value = -7500 }
		command = { type = oilpool value = -2000 }
		command = { type = rarematerialspool value = -500 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = relation which = SOV value = -15 }
		command = { type = relation which = JAP value = 10 }
		command = { type = trigger which = 90806 } # JAP
		command = { type = trigger which = 90807 } # SOV
	}
	action_b = {
		name = "EVT_90805_ACTB" # Send more supplies
		ai_chance = 25
		command = { type = supplies value = -10000 }
		command = { type = rarematerialspool value = -500 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = relation which = JAP value = -15 }
		command = { type = relation which = SOV value = 10 }
		command = { type = trigger which = 90808 } # JAP
		command = { type = trigger which = 90809 } # SOV
	}
	action_c = {
		name = "EVT_90805_ACTC" # Not this time
		ai_chance = 35
		command = { type = relation which = SOV value = -2 }
		command = { type = relation which = JAP value = -2 }
		command = { type = dissent value = -3 }
	}
	action_d = {
		name = "EVT_90805_ACTD" # Not More
		ai_chance = 15
		command = { type = domestic which = interventionism value = -1 }
		command = { type = sleepevent which = 90805 }
	}
}
event = {
	id = 90806
	random = no
	country = JAP
	persistent = yes

	name = "EVT_90806_NAME"
	desc = "EVT_90806_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "OK" # Excellent!
		command = { type = supplies value = 7500 }
		command = { type = rarematerialspool value = 500 }
		command = { type = oilpool value = 2000 }
	}
}
event = {
	id = 90807
	random = no
	country = SOV
	persistent = yes

	name = "EVT_90807_NAME"
	desc = "EVT_90807_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "EVT_90807_ACTA" # Excellent!
		ai_chance = 70
		command = { type = relation which = USA value = -12 }
		command = { type = domestic which = defense_lobby value = 1 }
	}
	action_b = {
		name = "EVT_90807_ACTB" # Excellent!
		ai_chance = 2
		command = { type = war which = USA }
	}
	action_c = {
		name = "EVT_90807_ACTC" # Excellent!
		ai_chance = 28
		command = { type = relation which = USA value = 8 }
		command = { type = domestic which = defense_lobby value = -1 }
	}
}
event = {
	id = 90808
	random = no
	country = JAP
	persistent = yes

	name = "EVT_90808_NAME"
	desc = "EVT_90808_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "EVT_90808_ACTA" # Excellent!
		ai_chance = 70
		command = { type = relation which = USA value = -12 }
		command = { type = domestic which = defense_lobby value = 1 }
	}
	action_b = {
		name = "EVT_90808_ACTB" # Excellent!
		ai_chance = 2
		command = { type = war which = USA }
	}
	action_c = {
		name = "EVT_90808_ACTC" # Excellent!
		ai_chance = 28
		command = { type = relation which = USA value = 8 }
		command = { type = domestic which = defense_lobby value = -1 }
	}
}
event = {
	id = 90809
	random = no
	country = SOV
	persistent = yes

	name = "EVT_90809_NAME"
	desc = "EVT_90809_DESC"
	style = 0
	picture = "Lend_Lease_SOV"

	action_a = {
		name = "OK" # Excellent!
		command = { type = supplies value = 10000 }
		command = { type = rarematerialspool value = 500 }
	}
}
#########################################################################
#  対日講和 三国同盟後
#########################################################################
event = {
	id = 90810
	random = no
	country = SOV
	persistent = yes

	trigger = {
		war = { country = SOV country = JAP }
		NOT = {
			war = { country = SOV country = GER }
			war = { country = JAP country = GER }
		}
		random = 75 # 5% chance every 12 days
		OR = {
			flag = jap_ACP
			flag = JAPtripartite
		}
		NOT = { control = { province = 1163 data = SOV } } #Yakutsk
		NOT = { control = { province = 1525 data = SOV } } #Okhotsk
		NOT = { control = { province = 1383 data = SOV } } #ボルジャ
		NOT = { control = { province = 1372 data = SOV } } #Vladivostok
		NOT = { control = { province = 1373 data = SOV } } #スパスクダリーニャ
	}
	
	name = "EVT_90810_NAME"
	desc = "EVT_90810_DESC"
	style = 0
	
	date = { day = 1 month = april year = 1936 }
	offset = 15 
	deathdate = { day = 29 month = december year = 1950 }
	
	action_a = {
		name = "EVT_90810_ACTA" # Send more supplies
		ai_chance = 60
		command = { type = trigger which = 90811 } # JAP
		command = { type = dissent which = 5 }
		command = { type = removecore which = 1175 } #Oha
		command = { type = removecore which = 1369 } #プリモルスク
		command = { type = removecore which = 1370 }
		command = { type = removecore which = 1371 }
		command = { type = removecore which = 1372 }
		command = { type = removecore which = 1373 }
	}
	action_b = {
		name = "EVT_90810_ACTB" # Send more supplies
		ai_chance = 40
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 5 }
	}
}
event = {
	id = 90811
	random = no
	country = JAP
	persistent = yes
	
	name = "EVT_90811_NAME"
	desc = "EVT_90811_DESC"
	style = 0
	
	action_a = {
		name = "EVT_90811_ACTA" # Accept Peace
		ai_chance = 85
		
		command = { type = peace which = SOV value = 0 }
		command = { type = dissent which = -25 }
		
		command = { type = sleepevent which = 90810 }
		command = { type = trigger which = 90812 }
		
		command = { type = addcore which = 1175 } #Oha
	}
	action_b = {
		name = "EVT_90811_ACTB" # Do not
		ai_chance = 15
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 2 }
	}
}
event = {
	id = 90812
	random = no
	country = SOV

	name = "EVT_90812_NAME"
	desc = "EVT_90812_DESC"
	style = 0

	action_a = {
		name = "EVT_90812_ACTA"
				
		command = { type = secedeprovince which = JAP value = 1369 } #プリモルスク
		command = { type = secedeprovince which = JAP value = 1370 }
		command = { type = secedeprovince which = JAP value = 1371 }
		command = { type = secedeprovince which = JAP value = 1372 }
		command = { type = secedeprovince which = JAP value = 1373 }

		command = { type = secedeprovince which = JAP value = 1170 } #Kamchatka
		command = { type = secedeprovince which = JAP value = 1171 }
		command = { type = secedeprovince which = JAP value = 1172 }
		command = { type = secedeprovince which = JAP value = 1405 }

		command = { type = secedeprovince which = JAP value = 1166 } #マカダン
		command = { type = secedeprovince which = JAP value = 1167 }
		command = { type = secedeprovince which = JAP value = 1524 }
		command = { type = secedeprovince which = JAP value = 1525 }

		command = { type = secedeprovince which = JAP value = 1527 } #Khabarovsk
		command = { type = secedeprovince which = JAP value = 1366 }
		command = { type = secedeprovince which = JAP value = 1367 }
		command = { type = secedeprovince which = JAP value = 1368 }
		
		command = { type = secedeprovince which = JAP value = 1523 } #Amur
		command = { type = secedeprovince which = JAP value = 1528 }
		command = { type = secedeprovince which = JAP value = 1526 }
		command = { type = secedeprovince which = JAP value = 1529 }
		
		command = { type = secedeprovince which = JAP value = 1521 } #Baikal
		command = { type = secedeprovince which = JAP value = 1522 }
		command = { type = secedeprovince which = JAP value = 1520 }
		command = { type = secedeprovince which = JAP value = 1383 }
		command = { type = secedeprovince which = JAP value = 1384 }
		
		command = { type = non_aggression which = JAP where = SOV }
	}
}
#########################################################################
#  対日降伏
#########################################################################
event = {
	id = 90813
	random = no
	country = SOV
	persistent = yes

	trigger = {
		war = { country = SOV country = JAP }
		NOT = {
			war = { country = JAP country = GER }
		}
		random = 75
		control = { province = 175 data = JAP } # Moscow
	}
	
	name = "EVT_90813_NAME"
	desc = "EVT_90813_DESC"
	style = 0
	
	date = { day = 1 month = april year = 1936 }
	offset = 10 
	deathdate = { day = 29 month = december year = 1950 }
	
	action_a = {
		name = "EVT_90813_ACTA" # Send more supplies
		ai_chance = 90
		command = { type = trigger which = 90814 } # JAP
		command = { type = dissent which = 5 }
		
		command = { type = sleepminister which = 4002 } #Stalin
		command = { type = sleepminister which = 4074 }
		command = { type = sleepminister which = 4059 }
		command = { type = sleepminister which = 4073 }
		command = { type = sleepminister which = 4034 } #Molotov
		command = { type = sleepminister which = 4076 } 
		command = { type = sleepminister which = 4072 } 
		command = { type = headofgovernment which = 4075 } #Beria
		command = { type = ministerofsecurity which = 4041 } #Beria

		command = { type = removecore which = 1175 } #Oha
		command = { type = removecore which = 1369 } #プリモルスク
		command = { type = removecore which = 1370 }
		command = { type = removecore which = 1371 }
		command = { type = removecore which = 1372 }
		command = { type = removecore which = 1373 }
		command = { type = independence which = MON value = 0 when = 0 }
	}
	action_b = {
		name = "EVT_90813_ACTB" # Send more supplies
		ai_chance = 10
		command = { type = dissent which = 25 }
		command = { type = domestic which = defense_lobby value = 5 }
	}
}
event = {
	id = 90814
	random = no
	country = JAP
	persistent = yes
	
	name = "EVT_90814_NAME"
	desc = "EVT_90814_DESC"
	style = 0
	
	action_a = {
		name = "EVT_90814_ACTA" # Accept Peace
		ai_chance = 95
		
		command = { type = dissent which = -25 }
		command = { type = inherit which = MON }
		command = { type = inherit which = TAN }
		command = { type = addcore which = 1175 } #Oha
		
		command = { type = sleepevent which = 90814 }
		command = { type = trigger which = 90815 }
		
		command = { type = peace which = SOV value = 0 }
		
		command = { type = independence which = TRA value = 0 when = 1 }
		command = { type = independence which = SIB value = 0 when = 0 }
	}
	action_b = {
		name = "EVT_90814_ACTB" # Do not
		ai_chance = 5
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 2 }
	}
}
event = {
	id = 90815
	random = no
	country = SOV

	name = "EVT_90815_NAME"
	desc = "EVT_90815_DESC"
	style = 0

	action_a = {
		name = "EVT_90815_ACTA"
		
		command = { type = secedeprovince which = JAP value = 1175 } #オハ

		command = { type = secedeprovince which = JAP value = 1369 } #プリモルスク
		command = { type = secedeprovince which = JAP value = 1370 }
		command = { type = secedeprovince which = JAP value = 1371 }
		command = { type = secedeprovince which = JAP value = 1372 }
		command = { type = secedeprovince which = JAP value = 1373 }

		command = { type = secedeprovince which = JAP value = 1170 } #Kamchatka
		command = { type = secedeprovince which = JAP value = 1171 }
		command = { type = secedeprovince which = JAP value = 1172 }
		command = { type = secedeprovince which = JAP value = 1405 }

		command = { type = secedeprovince which = JAP value = 1166 } #マカダン
		command = { type = secedeprovince which = JAP value = 1167 }
		command = { type = secedeprovince which = JAP value = 1524 }
		command = { type = secedeprovince which = JAP value = 1525 }

		command = { type = secedeprovince which = JAP value = 1527 } #Khabarovsk
		command = { type = secedeprovince which = JAP value = 1366 }
		command = { type = secedeprovince which = JAP value = 1367 }
		command = { type = secedeprovince which = JAP value = 1368 }
		
		command = { type = secedeprovince which = JAP value = 1523 } #Amur
		command = { type = secedeprovince which = JAP value = 1528 }
		command = { type = secedeprovince which = JAP value = 1526 }
		command = { type = secedeprovince which = JAP value = 1529 }
		
		command = { type = secedeprovince which = JAP value = 1521 } #Baikal
		command = { type = secedeprovince which = JAP value = 1522 }
		command = { type = secedeprovince which = JAP value = 1520 }
		command = { type = secedeprovince which = JAP value = 1383 }
		command = { type = secedeprovince which = JAP value = 1384 }
		
		command = { type = removecore which = 1567 }
		command = { type = removecore which = 1151 }
		command = { type = removecore which = 1574 }
		command = { type = removecore which = 1827 }
		command = { type = removecore which = 1828 }
		command = { type = removecore which = 1150 }
		command = { type = removecore which = 1566 }
		command = { type = removecore which = 1152 }
		command = { type = removecore which = 1153 }
		command = { type = removecore which = 1149 }
		command = { type = removecore which = 1154 }
		command = { type = removecore which = 1155 }
		command = { type = removecore which = 1564 }
		command = { type = removecore which = 1565 }
		command = { type = removecore which = 1571 }
		command = { type = removecore which = 1575 }
		command = { type = removecore which = 1570 }
		command = { type = removecore which = 1577 }
		command = { type = removecore which = 1593 }
		command = { type = removecore which = 1594 }
		command = { type = removecore which = 1596 }
		command = { type = removecore which = 1597 }
		command = { type = removecore which = 1598 }
		command = { type = removecore which = 1541 }
		command = { type = removecore which = 1542 }
		command = { type = removecore which = 1552 }
		command = { type = removecore which = 1772 }
		command = { type = removecore which = 1773 }
		command = { type = removecore which = 1782 }

		command = { type = independence which = TRA value = 0 when = 1 }

		command = { type = trigger which = 90816 }
		
		command = { type = addcore which = 1567 }
		command = { type = addcore which = 1151 }
		command = { type = addcore which = 1574 }
		command = { type = addcore which = 1827 }
		command = { type = addcore which = 1828 }
		command = { type = addcore which = 1150 }
		command = { type = addcore which = 1566 }
		command = { type = addcore which = 1152 }
		command = { type = addcore which = 1153 }
		command = { type = addcore which = 1149 }
		command = { type = addcore which = 1154 }
		command = { type = addcore which = 1155 }
		command = { type = addcore which = 1564 }
		command = { type = addcore which = 1565 }
		command = { type = addcore which = 1571 }
		command = { type = addcore which = 1575 }
		command = { type = addcore which = 1570 }
		command = { type = addcore which = 1577 }
		command = { type = addcore which = 1593 }
		command = { type = addcore which = 1594 }
		command = { type = addcore which = 1596 }
		command = { type = addcore which = 1597 }
		command = { type = addcore which = 1598 }
		command = { type = addcore which = 1541 }
		command = { type = addcore which = 1542 }
		command = { type = addcore which = 1552 }
		command = { type = addcore which = 1772 }
		command = { type = addcore which = 1773 }
		command = { type = addcore which = 1782 }
		
		command = { type = non_aggression which = JAP where = SOV }

		command = { type = secedeprovince which = JAP value = 1548 } #SIB
		command = { type = secedeprovince which = JAP value = 1531 }
		command = { type = secedeprovince which = JAP value = 1532 }
		command = { type = secedeprovince which = JAP value = 1533 }
		command = { type = secedeprovince which = JAP value = 1534 }
		command = { type = secedeprovince which = JAP value = 1535 }
		command = { type = secedeprovince which = JAP value = 1536 }
		command = { type = secedeprovince which = JAP value = 1537 }
		command = { type = secedeprovince which = JAP value = 1538 }
		command = { type = secedeprovince which = JAP value = 1539 }
		command = { type = secedeprovince which = JAP value = 1540 }
		command = { type = secedeprovince which = JAP value = 1543 }
		command = { type = secedeprovince which = JAP value = 1544 }
		command = { type = secedeprovince which = JAP value = 1545 }
		command = { type = secedeprovince which = JAP value = 1546 }
		command = { type = secedeprovince which = JAP value = 1547 }
		command = { type = secedeprovince which = JAP value = 1549 }
		command = { type = secedeprovince which = JAP value = 1558 }
		command = { type = secedeprovince which = JAP value = 1559 }
		command = { type = secedeprovince which = JAP value = 1560 }
		command = { type = secedeprovince which = JAP value = 1561 }
		command = { type = secedeprovince which = JAP value = 1412 }
		command = { type = secedeprovince which = JAP value = 1413 }
		command = { type = secedeprovince which = JAP value = 1414 }
		command = { type = secedeprovince which = JAP value = 1415 }
		command = { type = secedeprovince which = JAP value = 1416 }
		command = { type = secedeprovince which = JAP value = 1417 }
		command = { type = secedeprovince which = JAP value = 1520 }
		command = { type = secedeprovince which = JAP value = 1522 }
		command = { type = secedeprovince which = JAP value = 1521 }
		command = { type = secedeprovince which = JAP value = 1383 }
		command = { type = secedeprovince which = JAP value = 1384 }
		command = { type = secedeprovince which = JAP value = 1157 }
		command = { type = secedeprovince which = JAP value = 1158 }
		command = { type = secedeprovince which = JAP value = 1159 }
		command = { type = secedeprovince which = JAP value = 1160 }
		command = { type = secedeprovince which = JAP value = 1161 }
		command = { type = secedeprovince which = JAP value = 1162 }
		command = { type = secedeprovince which = JAP value = 1163 }
		command = { type = secedeprovince which = JAP value = 1562 }
		command = { type = secedeprovince which = JAP value = 1563 }
		command = { type = secedeprovince which = JAP value = 1409 }
		command = { type = secedeprovince which = JAP value = 1410 }
		command = { type = secedeprovince which = JAP value = 1411 }
		command = { type = secedeprovince which = JAP value = 1523 }
		command = { type = secedeprovince which = JAP value = 1164 }
		command = { type = secedeprovince which = JAP value = 1165 }
		command = { type = secedeprovince which = JAP value = 1594 }
		command = { type = secedeprovince which = JAP value = 1596 }
		command = { type = secedeprovince which = JAP value = 1598 }
		command = { type = secedeprovince which = JAP value = 1155 }
		command = { type = secedeprovince which = JAP value = 1541 }
		command = { type = secedeprovince which = JAP value = 1542 }
		command = { type = secedeprovince which = JAP value = 1593 }
		command = { type = secedeprovince which = JAP value = 1552 }
		command = { type = secedeprovince which = JAP value = 1156 }
	}
}

event = {
	id = 90816
	random = no
	country = JAP

	name = "EVT_90816_NAME"
	desc = "EVT_90816_DESC"
	style = 0
	
	action_a = {
		name = "EVT_90816_ACTA"
		ai_chance = 15
		command = { type = guarantee which = JAP where = SIB }
		command = { type = guarantee which = JAP where = TRA }
		command = { type = guarantee which = SOV where = TRA }
		command = { type = relation which = SIB value = 400 }
		command = { type = relation which = TRA value = 200 }
		command = { type = secedeprovince which = SIB value = 1418 }
	}
	action_b = {
		name = "EVT_90816_ACTB"
		ai_chance = 85
		command = { type = make_puppet which = SIB }
		command = { type = guarantee which = JAP where = TRA }
		command = { type = guarantee which = SOV where = TRA }
		command = { type = relation which = SIB value = 400 }
		command = { type = relation which = TRA value = 100 }
		command = { type = secedeprovince which = SIB value = 1418 }
	}
}
event = {
	id = 90817
	random = no
	country = JAP

	trigger = {
		exists = MEN
		NOT = { exists = MON }
		control = { province = 1404 data = JAP }
	}
	
	name = "EVT_90817_NAME"
	desc = "EVT_90817_DESC"
	style = 0
	
	date = { day = 1 month = april year = 1936 }
	offset = 15 
	deathdate = { day = 29 month = december year = 1950 }
	
	action_a = {
		name = "EVT_90817_ACTA" # Send more supplies
		ai_chance = 90
		command = { type = secedeprovince which = MEN value = 1385 }
		command = { type = secedeprovince which = MEN value = 1399 }
		command = { type = secedeprovince which = MEN value = 1404 }
		command = { type = secedeprovince which = MEN value = 1419 }
		command = { type = secedeprovince which = MEN value = 1420 }
		command = { type = secedeprovince which = MEN value = 1434 }
		command = { type = secedeprovince which = MEN value = 1436 }
		command = { type = secedeprovince which = MEN value = 1437 }
		command = { type = secedeprovince which = MEN value = 1438 }
	}
	action_b = {
		name = "EVT_90817_ACTB" # Send more supplies
		ai_chance = 10
		command = { type = relation which = MEN value = -15 }
	}
}

event = {
	id = 90818
	random = no
	country = JAP

	trigger = {
		war = { country = SOV country = JAP }
		random = 75 # 5% chance every 12 days
		NOT = { control = { province = 1163 data = JAP } } #Yakutsk
		NOT = { control = { province = 1525 data = JAP } } #Okhotsk
		NOT = { control = { province = 1372 data = JAP } } #Vladivostok
		NOT = { exists = MAN }
		NOT = { exists = MEN }
		NOT = { control = { province = 1379 data = JAP } } #Harbin
		NOT = { control = { province = 1201 data = JAP } } #Pyongyan
		NOT = { control = { province = 1197 data = JAP } } #Seoul
		NOT = { control = { province = 1196 data = JAP } } #Busan
		NOT = { control = { province = 1195 data = JAP } } #Gwanju
		NOT = { control = { province = 1202 data = JAP } } #Dailian
		ispuppet = no
	}
	
	name = "EVT_90818_NAME"
	desc = "EVT_90818_DESC"
	style = 0
	
	date = { day = 1 month = april year = 1936 }
	offset = 15 
	deathdate = { day = 29 month = december year = 1950 }
	
	action_a = {
		name = "EVT_90818_ACTA" # Send more supplies
		ai_chance = 85
		command = { type = trigger which = 90819 } # SOV
		command = { type = dissent which = 5 }
		command = { type = removecore which = 1202 } #Dailian
	}
	action_b = {
		name = "EVT_90818_ACTB" # Send more supplies
		ai_chance = 15
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 5 }
	}
}
event = {
	id = 90819
	random = no
	country = SOV
	
	name = "EVT_90819_NAME"
	desc = "EVT_90819_DESC"
	style = 0
	
	action_a = {
		name = "EVT_90819_ACTA" # Accept Peace
		ai_chance = 95
		
		command = { type = dissent which = -25 }
		command = { type = addcore which = 1176 } #Toyohara
		command = { type = addcore which = 1174 } #Chisima
		command = { type = addcore which = 1177 } 
		
		command = { type = sleepevent which = 90818 }
		command = { type = trigger which = 90820 }
		
		command = { type = peace which = JAP value = 0 }
		
	}
	action_b = {
		name = "EVT_90819_ACTB" # Do not
		ai_chance = 5
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 2 }
	}
}
event = {
	id = 90820
	random = no
	country = JAP

	name = "EVT_90820_NAME"
	desc = "EVT_90820_DESC"
	style = 0

	action_a = {
		name = "EVT_90820_ACTA"
				
		command = { type = secedeprovince which = SOV value = 1174 } #千島樺太
		command = { type = secedeprovince which = SOV value = 1176 }
		command = { type = secedeprovince which = SOV value = 1177 }

		command = { type = secedeprovince which = SOV value = 1202 } #大連
		
		command = { type = secedeprovince which = SOV value = 1397 } #Changde
		command = { type = secedeprovince which = SOV value = 1203 } 

		command = { type = secedeprovince which = MON value = 1386 } #外蒙古
		command = { type = secedeprovince which = MON value = 1398 }
		command = { type = secedeprovince which = MON value = 1207 }
		command = { type = secedeprovince which = MON value = 1206 }
		command = { type = secedeprovince which = MON value = 1208 }
		command = { type = secedeprovince which = MON value = 1272 }
		command = { type = secedeprovince which = MON value = 1273 }
		command = { type = secedeprovince which = MON value = 1274 }
		command = { type = secedeprovince which = MON value = 1439 }

		command = { type = secedeprovince which = SOV value = 1382 } #満州
		command = { type = secedeprovince which = SOV value = 1381 }
		command = { type = secedeprovince which = SOV value = 1530 }
		command = { type = secedeprovince which = SOV value = 1374 }
		command = { type = secedeprovince which = SOV value = 1380 }
		command = { type = secedeprovince which = SOV value = 1379 }
		command = { type = secedeprovince which = SOV value = 1387 }
		command = { type = secedeprovince which = SOV value = 1388 }
		command = { type = secedeprovince which = SOV value = 1396 }
		command = { type = secedeprovince which = SOV value = 1389 }
		command = { type = secedeprovince which = SOV value = 1394 }
		command = { type = secedeprovince which = SOV value = 1395 }
		command = { type = secedeprovince which = SOV value = 1390 }
		command = { type = secedeprovince which = SOV value = 1379 }
		command = { type = secedeprovince which = SOV value = 1375 }
		command = { type = secedeprovince which = SOV value = 1377 }
		command = { type = secedeprovince which = SOV value = 1378 }

		command = { type = secedeprovince which = SOV value = 1376 } #朝鮮
		command = { type = secedeprovince which = SOV value = 1391 }
		command = { type = secedeprovince which = SOV value = 1393 }
		command = { type = secedeprovince which = SOV value = 1392 }
		command = { type = secedeprovince which = SOV value = 1200 }
		command = { type = secedeprovince which = SOV value = 1201 }
		command = { type = secedeprovince which = SOV value = 1199 }
		command = { type = secedeprovince which = SOV value = 1198 }
		command = { type = secedeprovince which = SOV value = 1197 }
		command = { type = secedeprovince which = SOV value = 1196 }
		command = { type = secedeprovince which = SOV value = 1195 }
		command = { type = secedeprovince which = SOV value = 1194 }
		
		command = { type = non_aggression which = JAP where = SOV }
		command = { type = trigger which = 47 }
	}
}
event = {
	id = 90821
	random = no
	country = SOV

	trigger = {
		war = { country = GER country = SOV }
		random = 40
		lost_national = { country = SOV value = 25 } #maybe raise this number
		NOT = {
			war = { country = GER country = ENG }
			war = { country = GER country = FRA }
			war = { country = GER country = USA }
			war = { country = GER country = JAP }
			war = { country = SOV country = JAP }
			war = { country = GER country = ITA }
			alliance = { country = GER country = JAP }
		}
		NOT = { control = { province = 187 data = SOV } } # Leningrad has fallen
		NOT = { control = { province = 163 data = SOV } } # Stalingrad has fallen
		NOT = { control = { province = 175 data = SOV } } # Moscow has fallen
		OR = {
			NOT = { control = { province = 1907 data = SOV } } # Baku has fallen
			NOT = { control = { province = 1572 data = SOV } } # Sverdlovsk has fallen
		}
	}

	name = "EVT_2624_NAME"
	desc = "EVT_2624_DESC"
	style = 0
	picture = "Bitter_Peace"

	date = { day = 1 month = january year = 1936 }
	offset = 10 # Check for trigger conditions every seven days
	deathdate = { day = 30 month = december year = 1963 }

	action_a = {
		name = "ACTIONNAME2624A" # We surrender! Just let us keep what we still have.
		ai_chance = 100
		command = { type = relation which = ENG value = -15 }
		command = { type = relation which = FRA value = -15 }
		command = { type = relation which = USA value = -15 }
		command = { type = dissent value = 15 }
		command = { type = sleepminister which = 4002 } #Stalin
		command = { type = sleepminister which = 4074 }
		command = { type = sleepminister which = 4059 }
		command = { type = sleepminister which = 4073 }
		command = { type = sleepminister which = 4034 } #Molotov
		command = { type = sleepminister which = 4076 } 
		command = { type = sleepminister which = 4072 } 
		command = { type = domestic which = interventionism value = 3 }
		command = { type = sleepevent which = 2624 }
		command = { type = sleepevent which = 364 }
		command = { type = removecore which = 231 }
		command = { type = removecore which = 232 }
		command = { type = removecore which = 233 }
		command = { type = headofgovernment which = 4075 } #Beria
		#command = { type = armamentminister which = 4014 }
		command = { type = ministerofsecurity which = 4041 } #Beria
		command = { type = trigger which = 2024 } # GER
	}
	action_b = {
		name = "ACTIONNAME2624B" # Fight to the bitter end!
		ai_chance = 0
		command = { type = dissent value = 30 }
		command = { type = relation which = ENG value = 15 }
		command = { type = relation which = FRA value = 15 }
		command = { type = relation which = USA value = 15 }
		command = { type = sleepevent which = 2645 }
	}
}

#########################################################################
#  USA VS USSR
#########################################################################

event = {
	id = 90822
	random = no
	country = SOV
	persistent = yes

	trigger = {
		war = { country = SOV country = USA }
		NOT = {
			war = { country = SOV country = JAP }
			war = { country = JAP country = USA }
			war = { country = SOV country = GER }
			war = { country = GER country = USA }
			exists = RUS
		}
		random = 75 # 5% chance every 12 days
		
		OR = {
			lost_IC = { country = SOV value = 50 }
			lost_VP = { country = SOV value = 50 }
			lost_national = { country = SOV value = 60 }
		}
	}
	
	name = "EVT_90822_NAME"
	desc = "EVT_90822_DESC"
	style = 0
	
	date = { day = 1 month = april year = 1944 }
	offset = 15 
	deathdate = { day = 29 month = december year = 1964 }
	
	action_a = {
		name = "EVT_90822_ACTA" 
		ai_chance = 45
		command = { type = trigger which = 90823 } # USA
		command = { type = dissent which = 10 }

		command = { type = end_mastery which = TAN }
		command = { type = end_mastery which = MON }
		command = { type = end_mastery which = BUL }
		command = { type = end_mastery which = CZE }
		command = { type = end_mastery which = HUN }
		command = { type = end_mastery which = POL }
		command = { type = end_mastery which = ROM }
		command = { type = end_mastery which = SIK }
		command = { type = end_mastery which = PRK }
	}
	action_b = {
		name = "EVT_90822_ACTB" 
		ai_chance = 30
		command = { type = trigger which = 90824 } # USA
		command = { type = dissent which = 5 }

		command = { type = end_mastery which = TAN }
		command = { type = end_mastery which = MON }
		command = { type = end_mastery which = BUL }
		command = { type = end_mastery which = CZE }
		command = { type = end_mastery which = HUN }
		command = { type = end_mastery which = POL }
		command = { type = end_mastery which = ROM }
		command = { type = end_mastery which = SIK }
		command = { type = end_mastery which = PRK }
	}
	action_c = {
		name = "EVT_90822_ACTC"
		ai_chance = 25
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 5 }
	}
}
event = {
	id = 90823
	random = no
	country = USA
	persistent = yes
	
	name = "EVT_90823_NAME"
	desc = "EVT_90823_DESC"
	style = 0
	
	action_a = {
		name = "EVT_90823_ACTA" # Accept Peace
		ai_chance = 95
		
		command = { type = dissent which = -25 }
		
		command = { type = sleepevent which = 90822 }
		
		command = { type = peace which = SOV value = 0 }
		
		command = { type = coup_nation which = SOV }
		command = { type = make_puppet which = SOV }
		command = { type = make_puppet which = RUS }
		command = { type = make_puppet which = TAN }
		command = { type = make_puppet which = MON }
		command = { type = make_puppet which = BUL }
		command = { type = make_puppet which = CZE }
		command = { type = make_puppet which = HUN }
		command = { type = make_puppet which = POL }
		command = { type = make_puppet which = ROM }
		command = { type = make_puppet which = SIK }
	}
	action_b = {
		name = "EVT_90823_ACTB" # Do not
		ai_chance = 5
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 2 }
	}
}
event = {
	id = 90824
	random = no
	country = USA
	persistent = yes
	
	name = "EVT_90824_NAME"
	desc = "EVT_90824_DESC"
	style = 0
	
	action_a = {
		name = "EVT_90824_ACTA" # Accept Peace
		ai_chance = 80
		
		command = { type = dissent which = -25 }
		command = { type = make_puppet which = TAN }
		command = { type = make_puppet which = MON }
		command = { type = make_puppet which = BUL }
		command = { type = make_puppet which = CZE }
		command = { type = make_puppet which = HUN }
		command = { type = make_puppet which = POL }
		command = { type = make_puppet which = ROM }
		command = { type = make_puppet which = SIK }
		
		command = { type = sleepevent which = 90822 }
		command = { type = trigger which = 90825 }
		
		command = { type = peace which = SOV value = 0 }
		
	}
	action_b = {
		name = "EVT_90824_ACTB" # Do not
		ai_chance = 20
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 2 }
	}
}
event = {
	id = 90825
	random = no
	country = SOV

	name = "EVT_90825_NAME"
	desc = "EVT_90825_DESC"
	style = 0

	action_a = {
		name = "EVT_90825_ACTA"
		
		command = { type = secedeprovince which = USA value = 1369 } #プリモルスク
		command = { type = secedeprovince which = USA value = 1370 }
		command = { type = secedeprovince which = USA value = 1371 }
		command = { type = secedeprovince which = USA value = 1372 }
		command = { type = secedeprovince which = USA value = 1373 }

		command = { type = secedeprovince which = USA value = 1170 } #Kamchatka
		command = { type = secedeprovince which = USA value = 1171 }
		command = { type = secedeprovince which = USA value = 1172 }
		command = { type = secedeprovince which = USA value = 1405 }

		command = { type = secedeprovince which = USA value = 1166 } #マカダン
		command = { type = secedeprovince which = USA value = 1167 }
		command = { type = secedeprovince which = USA value = 1524 }
		command = { type = secedeprovince which = USA value = 1525 }

		command = { type = secedeprovince which = USA value = 1527 } #Khabarovsk
		command = { type = secedeprovince which = USA value = 1366 }
		command = { type = secedeprovince which = USA value = 1367 }
		command = { type = secedeprovince which = USA value = 1368 }
		
		command = { type = secedeprovince which = USA value = 1523 } #Amur
		command = { type = secedeprovince which = USA value = 1528 }
		command = { type = secedeprovince which = USA value = 1526 }
		command = { type = secedeprovince which = USA value = 1529 }
		
		command = { type = secedeprovince which = USA value = 1521 } #Baikal
		command = { type = secedeprovince which = USA value = 1522 }
		command = { type = secedeprovince which = USA value = 1520 }
		command = { type = secedeprovince which = USA value = 1383 }
		command = { type = secedeprovince which = USA value = 1384 }
		
		command = { type = secedeprovince which = USA value = 1418 }

		command = { type = removecore which = 1567 }
		command = { type = removecore which = 1151 }
		command = { type = removecore which = 1574 }
		command = { type = removecore which = 1827 }
		command = { type = removecore which = 1828 }
		command = { type = removecore which = 1150 }
		command = { type = removecore which = 1566 }
		command = { type = removecore which = 1152 }
		command = { type = removecore which = 1153 }
		command = { type = removecore which = 1149 }
		command = { type = removecore which = 1154 }
		command = { type = removecore which = 1155 }
		command = { type = removecore which = 1564 }
		command = { type = removecore which = 1565 }
		command = { type = removecore which = 1571 }
		command = { type = removecore which = 1575 }
		command = { type = removecore which = 1570 }
		command = { type = removecore which = 1577 }
		command = { type = removecore which = 1593 }
		command = { type = removecore which = 1594 }
		command = { type = removecore which = 1596 }
		command = { type = removecore which = 1597 }
		command = { type = removecore which = 1598 }
		command = { type = removecore which = 1541 }
		command = { type = removecore which = 1542 }
		command = { type = removecore which = 1552 }
		command = { type = removecore which = 1772 }
		command = { type = removecore which = 1773 }
		command = { type = removecore which = 1782 }
		command = { type = removecore which = 1386 }

		command = { type = independence which = TRA value = 0 when = 1 }
		command = { type = independence which = MAN value = 1 when = 1 }


		command = { type = trigger which = 90826 }
		
		command = { type = addcore which = 1567 }
		command = { type = addcore which = 1151 }
		command = { type = addcore which = 1574 }
		command = { type = addcore which = 1827 }
		command = { type = addcore which = 1828 }
		command = { type = addcore which = 1150 }
		command = { type = addcore which = 1566 }
		command = { type = addcore which = 1152 }
		command = { type = addcore which = 1153 }
		command = { type = addcore which = 1149 }
		command = { type = addcore which = 1154 }
		command = { type = addcore which = 1155 }
		command = { type = addcore which = 1564 }
		command = { type = addcore which = 1565 }
		command = { type = addcore which = 1571 }
		command = { type = addcore which = 1575 }
		command = { type = addcore which = 1570 }
		command = { type = addcore which = 1577 }
		command = { type = addcore which = 1593 }
		command = { type = addcore which = 1594 }
		command = { type = addcore which = 1596 }
		command = { type = addcore which = 1597 }
		command = { type = addcore which = 1598 }
		command = { type = addcore which = 1541 }
		command = { type = addcore which = 1542 }
		command = { type = addcore which = 1552 }
		command = { type = addcore which = 1772 }
		command = { type = addcore which = 1773 }
		command = { type = addcore which = 1782 }
		command = { type = addcore which = 1386 }
		
		command = { type = non_aggression which = USA where = SOV }

		command = { type = secedeprovince which = USA value = 1548 } #SIB
		command = { type = secedeprovince which = USA value = 1531 }
		command = { type = secedeprovince which = USA value = 1532 }
		command = { type = secedeprovince which = USA value = 1533 }
		command = { type = secedeprovince which = USA value = 1534 }
		command = { type = secedeprovince which = USA value = 1535 }
		command = { type = secedeprovince which = USA value = 1536 }
		command = { type = secedeprovince which = USA value = 1537 }
		command = { type = secedeprovince which = USA value = 1538 }
		command = { type = secedeprovince which = USA value = 1539 }
		command = { type = secedeprovince which = USA value = 1540 }
		command = { type = secedeprovince which = USA value = 1543 }
		command = { type = secedeprovince which = USA value = 1544 }
		command = { type = secedeprovince which = USA value = 1545 }
		command = { type = secedeprovince which = USA value = 1546 }
		command = { type = secedeprovince which = USA value = 1547 }
		command = { type = secedeprovince which = USA value = 1549 }
		command = { type = secedeprovince which = USA value = 1558 }
		command = { type = secedeprovince which = USA value = 1559 }
		command = { type = secedeprovince which = USA value = 1560 }
		command = { type = secedeprovince which = USA value = 1561 }
		command = { type = secedeprovince which = USA value = 1412 }
		command = { type = secedeprovince which = USA value = 1413 }
		command = { type = secedeprovince which = USA value = 1414 }
		command = { type = secedeprovince which = USA value = 1415 }
		command = { type = secedeprovince which = USA value = 1416 }
		command = { type = secedeprovince which = USA value = 1417 }
		command = { type = secedeprovince which = USA value = 1520 }
		command = { type = secedeprovince which = USA value = 1522 }
		command = { type = secedeprovince which = USA value = 1521 }
		command = { type = secedeprovince which = USA value = 1383 }
		command = { type = secedeprovince which = USA value = 1384 }
		command = { type = secedeprovince which = USA value = 1157 }
		command = { type = secedeprovince which = USA value = 1158 }
		command = { type = secedeprovince which = USA value = 1159 }
		command = { type = secedeprovince which = USA value = 1160 }
		command = { type = secedeprovince which = USA value = 1161 }
		command = { type = secedeprovince which = USA value = 1162 }
		command = { type = secedeprovince which = USA value = 1163 }
		command = { type = secedeprovince which = USA value = 1562 }
		command = { type = secedeprovince which = USA value = 1563 }
		command = { type = secedeprovince which = USA value = 1409 }
		command = { type = secedeprovince which = USA value = 1410 }
		command = { type = secedeprovince which = USA value = 1411 }
		command = { type = secedeprovince which = USA value = 1523 }
		command = { type = secedeprovince which = USA value = 1164 }
		command = { type = secedeprovince which = USA value = 1165 }
		command = { type = secedeprovince which = USA value = 1594 }
		command = { type = secedeprovince which = USA value = 1596 }
		command = { type = secedeprovince which = USA value = 1598 }
		command = { type = secedeprovince which = USA value = 1155 }
		command = { type = secedeprovince which = USA value = 1541 }
		command = { type = secedeprovince which = USA value = 1542 }
		command = { type = secedeprovince which = USA value = 1593 }
		command = { type = secedeprovince which = USA value = 1552 }
		command = { type = secedeprovince which = USA value = 1156 }

		command = { type = secedeprovince which = USA value = 1421 }
		command = { type = secedeprovince which = USA value = 1432 }
		command = { type = secedeprovince which = USA value = 1422 }
		command = { type = secedeprovince which = USA value = 1423 }
		command = { type = secedeprovince which = USA value = 1556 }
		command = { type = secedeprovince which = USA value = 1555 }
		command = { type = secedeprovince which = USA value = 1550 }
		command = { type = secedeprovince which = USA value = 1424 }
		command = { type = secedeprovince which = USA value = 1569 }
		command = { type = secedeprovince which = USA value = 1579 }
		command = { type = secedeprovince which = USA value = 1583 }
		command = { type = secedeprovince which = USA value = 1580 }
		command = { type = secedeprovince which = USA value = 1582 }
		command = { type = secedeprovince which = USA value = 1587 }
		command = { type = secedeprovince which = USA value = 1425 }
		command = { type = secedeprovince which = USA value = 1568 }
		command = { type = secedeprovince which = USA value = 1578 }
		command = { type = secedeprovince which = USA value = 1588 }
		command = { type = secedeprovince which = USA value = 1589 }
		command = { type = secedeprovince which = USA value = 1590 }
		command = { type = secedeprovince which = USA value = 1591 }
		command = { type = secedeprovince which = USA value = 1581 }
		command = { type = secedeprovince which = USA value = 1592 }
		command = { type = secedeprovince which = USA value = 1551 }
		command = { type = secedeprovince which = USA value = 1557 }
		command = { type = secedeprovince which = USA value = 1553 }
		command = { type = secedeprovince which = USA value = 1554 }
		command = { type = secedeprovince which = USA value = 1426 }
		command = { type = secedeprovince which = USA value = 1586 }
		command = { type = secedeprovince which = USA value = 1576 }
		command = { type = secedeprovince which = USA value = 1429 }
		command = { type = secedeprovince which = USA value = 1428 }
		command = { type = secedeprovince which = USA value = 1485 }
		command = { type = secedeprovince which = USA value = 1484 }
		command = { type = secedeprovince which = USA value = 1490 }
		command = { type = secedeprovince which = USA value = 1491 }
		command = { type = secedeprovince which = USA value = 1584 }
		command = { type = secedeprovince which = USA value = 1585 }
		command = { type = secedeprovince which = USA value = 1489 }
		command = { type = secedeprovince which = USA value = 1487 }
		command = { type = secedeprovince which = USA value = 1427 }
		command = { type = secedeprovince which = USA value = 1488 }
		command = { type = secedeprovince which = USA value = 1433 }
		command = { type = secedeprovince which = USA value = 1446 }
		command = { type = secedeprovince which = USA value = 1430 }
		command = { type = secedeprovince which = USA value = 1431 }
		command = { type = secedeprovince which = USA value = 1435 }
		command = { type = secedeprovince which = USA value = 1445 }
		command = { type = secedeprovince which = USA value = 1447 }

		command = { type = secedeprovince which = KOR value = 1376 }
		command = { type = secedeprovince which = KOR value = 1391 }
		command = { type = secedeprovince which = KOR value = 1393 }
		command = { type = secedeprovince which = KOR value = 1392 }
		command = { type = secedeprovince which = KOR value = 1200 }
		command = { type = secedeprovince which = KOR value = 1201 }
		command = { type = secedeprovince which = KOR value = 1198 }
		command = { type = secedeprovince which = KOR value = 1199 }
		command = { type = secedeprovince which = KOR value = 1197 }
		command = { type = secedeprovince which = KOR value = 1196 }
		command = { type = secedeprovince which = KOR value = 1195 }
		command = { type = secedeprovince which = KOR value = 1194 }
		command = { type = secedeprovince which = USA value = 1376 }
		command = { type = secedeprovince which = USA value = 1391 }
		command = { type = secedeprovince which = USA value = 1393 }
		command = { type = secedeprovince which = USA value = 1392 }
		command = { type = secedeprovince which = USA value = 1200 }
		command = { type = secedeprovince which = USA value = 1201 }
		command = { type = secedeprovince which = USA value = 1198 }
		command = { type = secedeprovince which = USA value = 1199 }
		command = { type = secedeprovince which = USA value = 1197 }
		command = { type = secedeprovince which = USA value = 1196 }
		command = { type = secedeprovince which = USA value = 1195 }
		command = { type = secedeprovince which = USA value = 1194 }

		command = { type = secedeprovince which = USA value = 1174 }
		command = { type = secedeprovince which = USA value = 1175 }
		command = { type = secedeprovince which = USA value = 1176 }
		command = { type = secedeprovince which = USA value = 1177 }

		command = { type = secedeprovince which = USA value = 1856 }
		command = { type = secedeprovince which = USA value = 1907 }
		command = { type = secedeprovince which = USA value = 1848 }
		command = { type = secedeprovince which = USA value = 1850 }
		command = { type = secedeprovince which = USA value = 1851 }
		command = { type = secedeprovince which = USA value = 1858 }
		command = { type = secedeprovince which = USA value = 1859 }
		command = { type = secedeprovince which = USA value = 1858 }
		command = { type = secedeprovince which = USA value = 1857 }
		command = { type = secedeprovince which = USA value = 1845 }
		command = { type = secedeprovince which = USA value = 1844 }
		command = { type = secedeprovince which = USA value = 1849 }
		command = { type = secedeprovince which = USA value = 255 }
		command = { type = secedeprovince which = USA value = 256 }
		command = { type = secedeprovince which = USA value = 257 }
		command = { type = secedeprovince which = USA value = 270 }
		command = { type = secedeprovince which = USA value = 1833 }
		command = { type = secedeprovince which = USA value = 1837 }
		command = { type = secedeprovince which = USA value = 1838 }
		command = { type = secedeprovince which = USA value = 1842 }
		command = { type = secedeprovince which = USA value = 1843 }
		command = { type = secedeprovince which = USA value = 1846 }
		command = { type = secedeprovince which = USA value = 1847 }

		command = { type = secedeprovince which = PER value = 1500 }
		command = { type = secedeprovince which = PER value = 1501 }
		command = { type = secedeprovince which = PER value = 1503 }
		command = { type = secedeprovince which = PER value = 1859 }
		command = { type = secedeprovince which = PER value = 1787 }
		command = { type = secedeprovince which = PER value = 1788 }
	}
}
event = {
	id = 90826
	random = no
	country = USA

	name = "EVT_90826_NAME"
	desc = "EVT_90826_DESC"
	style = 0
	
	action_a = {
		name = "OK"
		command = { type = guarantee which = USA where = SOV }
		command = { type = independence which = SIB value = 0 when = 0 }
		command = { type = independence which = PRI value = 0 when = 0 }
		command = { type = independence which = U16 value = 0 when = 0 }
		command = { type = independence which = U17 value = 0 when = 0 }
		command = { type = independence which = TAN value = 0 when = 0 }
		
		command = { type = coup_nation which = SIB }
		command = { type = coup_nation which = TRA }
		command = { type = coup_nation which = PRI }
		command = { type = coup_nation which = U16 }
		command = { type = coup_nation which = U17 }
		command = { type = coup_nation which = TAN }
		command = { type = coup_nation which = MAN }

		command = { type = trigger which = 90830 }
	}
}
event = {
	id = 90830
	random = no
	country = USA

	name = "EVT_90830_NAME"
	desc = "EVT_90830_DESC"
	style = 0
	
	action_a = {
		name = "OK"
		command = { type = make_puppet which = SIB }
		command = { type = make_puppet which = TRA }
		command = { type = make_puppet which = PRI }
		command = { type = make_puppet which = U16 }
		command = { type = make_puppet which = U17 }
		command = { type = make_puppet which = TAN }
		command = { type = make_puppet which = MAN }
	}
}
event = {
	id = 90827
	random = no
	country = USA
	persistent = yes

	trigger = {
		war = { country = SOV country = USA }
		NOT = {
			war = { country = SOV country = JAP }
			war = { country = JAP country = USA }
			war = { country = SOV country = GER }
			war = { country = GER country = USA }
			exists = RUS
		}
		random = 75 # 5% chance every 12 days
		
		OR = {
			lost_IC = { country = USA value = 50 }
			lost_VP = { country = USA value = 50 }
			lost_national = { country = USA value = 60 }
		}
	}
	
	name = "EVT_90827_NAME"
	desc = "EVT_90827_DESC"
	style = 0
	
	date = { day = 1 month = april year = 1944 }
	offset = 15 
	deathdate = { day = 29 month = december year = 1964 }
	
	action_a = {
		name = "EVT_90827_ACTA" 
		ai_chance = 80
		command = { type = trigger which = 90828 } # SOV
		command = { type = dissent which = 10 }

		command = { type = end_mastery which = PHI }
		command = { type = end_mastery which = LIB }
		command = { type = end_mastery which = KOR }
		command = { type = end_mastery which = JAP }

	}
	action_b = {
		name = "EVT_90827_ACTB"
		ai_chance = 20
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 5 }
	}
}
event = {
	id = 90828
	random = no
	country = SOV
	persistent = yes
	
	name = "EVT_90828_NAME"
	desc = "EVT_90828_DESC"
	style = 0
	
	action_a = {
		name = "EVT_90828_ACTA" # Accept Peace
		ai_chance = 95
		
		command = { type = dissent which = -25 }
		
		command = { type = sleepevent which = 90827 }
		command = { type = trigger which = 90829 }
		
		command = { type = peace which = USA value = 0 }
		
		command = { type = coup_nation which = USA }
		command = { type = make_puppet which = USA }
		command = { type = make_puppet which = PHI }
	}
	action_b = {
		name = "EVT_90828_ACTB" # Do not
		ai_chance = 5
		command = { type = dissent which = 15 }
		command = { type = domestic which = defense_lobby value = 2 }
	}
}

event = {
	id = 90829
	random = no
	country = USA

	name = "EVT_90829_NAME"
	desc = "EVT_90829_DESC"
	style = 0

	action_a = {
		name = "EVT_90829_ACTA"
		command = { type = secedeprovince which = SOV value = 542 }
		command = { type = secedeprovince which = SOV value = 543 }
		command = { type = secedeprovince which = SOV value = 544 }
		command = { type = secedeprovince which = SOV value = 545 }
		command = { type = secedeprovince which = SOV value = 546 }
		command = { type = secedeprovince which = SOV value = 547 }
		command = { type = secedeprovince which = SOV value = 548 }
		command = { type = secedeprovince which = SOV value = 549 }
		command = { type = secedeprovince which = SOV value = 550 }
		command = { type = secedeprovince which = SOV value = 551 }
		command = { type = secedeprovince which = SOV value = 553 }
		command = { type = secedeprovince which = SOV value = 1 }
		command = { type = secedeprovince which = SOV value = 2 }
		command = { type = secedeprovince which = SOV value = 800 }
		command = { type = secedeprovince which = SOV value = 1408 }
		command = { type = secedeprovince which = SOV value = 1624 }
		command = { type = secedeprovince which = SOV value = 662 }
		command = { type = secedeprovince which = SOV value = 1621 }
		command = { type = secedeprovince which = SOV value = 1627 }
		command = { type = secedeprovince which = SOV value = 1613 }
		command = { type = secedeprovince which = SOV value = 1786 }
		command = { type = secedeprovince which = SOV value = 1785 }
		command = { type = secedeprovince which = SOV value = 1193 }
		command = { type = secedeprovince which = SOV value = 1625 }
		command = { type = secedeprovince which = SOV value = 1626 }
		command = { type = secedeprovince which = SOV value = 1599 }
		command = { type = secedeprovince which = SOV value = 1601 }

		command = { type = secedeprovince which = PRK value = 1376 }
		command = { type = secedeprovince which = PRK value = 1391 }
		command = { type = secedeprovince which = PRK value = 1393 }
		command = { type = secedeprovince which = PRK value = 1392 }
		command = { type = secedeprovince which = PRK value = 1200 }
		command = { type = secedeprovince which = PRK value = 1201 }
		command = { type = secedeprovince which = PRK value = 1198 }
		command = { type = secedeprovince which = PRK value = 1199 }
		command = { type = secedeprovince which = PRK value = 1197 }
		command = { type = secedeprovince which = PRK value = 1196 }
		command = { type = secedeprovince which = PRK value = 1195 }
		command = { type = secedeprovince which = PRK value = 1194 }
		command = { type = secedeprovince which = SOV value = 1376 }
		command = { type = secedeprovince which = SOV value = 1391 }
		command = { type = secedeprovince which = SOV value = 1393 }
		command = { type = secedeprovince which = SOV value = 1392 }
		command = { type = secedeprovince which = SOV value = 1200 }
		command = { type = secedeprovince which = SOV value = 1201 }
		command = { type = secedeprovince which = SOV value = 1198 }
		command = { type = secedeprovince which = SOV value = 1199 }
		command = { type = secedeprovince which = SOV value = 1197 }
		command = { type = secedeprovince which = SOV value = 1196 }
		command = { type = secedeprovince which = SOV value = 1195 }
		command = { type = secedeprovince which = SOV value = 1194 }
	}
}
#########################################################################
#  Comintern Revolution
#########################################################################

event = {
	id = 90831
	random = no
	

	name = "EVT_90831_NAME"
	desc = "EVT_90831_DESC"
	style = 0
	persistent = yes

	
	date = { day = 1 month = april year = 1944 }
	offset = 10
	deathdate = { day = 29 month = december year = 1964 }


	trigger = {
		atwar = no
		
		dissent = 25
		
		random = 75 # 75% chance every 10 days
		
		NOT = { government = communist }
		
		comintern = 250
		NOT = {
			lost_IC = { country = SOV value = 25 }
			lost_VP = { country = SOV value = 25 }
			lost_national = { country = SOV value = 25 }
		}
	}
	
	action_a = {
		name = "EVT_90831_ACTA"
		
		command = { type = sleepminister  which = -1 }
		command = { type = sleepminister  which = -1 }
		command = { type = sleepminister  which = -1 }
		command = { type = sleepminister  which = -1 }
		command = { type = sleepminister  which = -1 }
		
		command = { type = belligerence value = 40 }
		command = { type = dissent value = -20 }

		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		command = { type = set_relation which = -1 value = -200 }
		
		command = { type = set_relation which = SOV value = 200 }

		command = { type = research_sabotaged }
		command = { type = sleepteam which = -1 }

		command = { type = set_domestic which = democratic value = 1 }
		command = { type = set_domestic which = political_left value = 10 }
		command = { type = set_domestic which = free_market value = 1 }
		command = { type = set_domestic which = professional_army value = 1 }
		command = { type = set_domestic which = freedom value = 1 }

		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }
		command = { type = sleepleader which = -1 }

		command = { type = regime_falls }
		command = { type = coup_nation which = -1 }
	
	}

}
