# SPHERE OF INFLUENCE EVENTS 
# by Maximilian I
#
# Hoi1 CORE(mod-Phoneix)1960 DATES not tweaked (all end 1946 still(spheres may change post war?)
#
# Event 1515 FIXED By ConjurerDragon 
#
# GERMAN SPHERE

#####europe
event = { 
        id = 1590
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 35
         under_attack = SWE

        NOT = {
        or= {
        event = 2620
	war = { country = SWE country = GER } # Added Ghost_dk
	alliance = { country = SWE country = SOV }
	alliance = { country = SWE country = ENG }
	alliance = { country = SWE country = GER }
	ispuppet = SWE
	ispuppet = GER
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = SWE }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

#####europe
event = { 
        id = 1591
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 85
         under_attack = ROM

        NOT = {
        or= {
	war = { country = ROM country = GER } # Added Ghost_dk
	alliance = { country = ROM country = SOV }
	alliance = { country = ROM country = ENG }
	alliance = { country = ROM country = GER }
	ispuppet = ROM
	ispuppet = GER
	alliance = { country = AUS country = SOV }
	alliance = { country = AUS country = ENG }
	alliance = { country = HUN country = SOV }
	alliance = { country = HUN country = ENG }
	ispuppet = AUS
	ispuppet = HUN
             }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = ROM }
             command = { type =	alliance which = HUN }
             command = { type =	alliance which = AUS }   
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
        id = 1592
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 85
         under_attack = ROM
         or = { 	alliance = { country = AUS country = SOV }
	                alliance = { country = AUS country = ENG }
                   	alliance = { country = HUN country = SOV }
                     	alliance = { country = HUN country = ENG }
               }
        NOT = {
        or= {
	war = { country = ROM country = GER } # Added Ghost_dk
	alliance = { country = ROM country = SOV }
	alliance = { country = ROM country = ENG }
	alliance = { country = ROM country = GER }
	ispuppet = ROM
	ispuppet = GER
             }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = ROM }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}




event = { 
        id = 1593
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 85
         under_attack = HUN

        NOT = {
        or= {
	war = { country = HUN country = GER } # Added Ghost_dk
	alliance = { country = HUN country = SOV }
	alliance = { country = HUN country = ENG }
	alliance = { country = HUN country = GER }
	ispuppet = HUN
	ispuppet = GER
	alliance = { country = AUS country = SOV }
	alliance = { country = AUS country = ENG }
	ispuppet = AUS
             }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = HUN }
             command = { type =	alliance which = AUS }   
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1594
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 85
         under_attack = ROM
         or = { 	alliance = { country = AUS country = SOV }
	                alliance = { country = AUS country = ENG }
               }
        NOT = {
        or= {
	war = { country = SWE country = GER } # Added Ghost_dk
	alliance = { country = HUN country = SOV }
	alliance = { country = HUN country = ENG }
	alliance = { country = HUN country = GER }
	ispuppet = ROM
	ispuppet = GER
             }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = ROM }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

###################
# Poland would not have allied with Germany
###################
#event = { 
#        id = 1595
#        random = no
#        country = GER
#        persistent = yes
#
#        trigger = { 
#        random = 55
#        under_attack = POL
#        NOT = {
#        or= {
#	alliance = { country = POL country = SOV }
#	alliance = { country = POL country = ENG }
#	alliance = { country = POL country = GER }
#	ispuppet = POL
#	ispuppet = GER
#             }
#        }
#        }
#
#name = SPHERE_TEXT
#desc = SPHERE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 10 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = alliance which = POL }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}
#########################

event = { 
        id = 1596
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 15
         under_attack = FIN

        NOT = {
        or= {
        event = 2620
	war = { country = FIN country = GER } # Added Ghost_dk
	alliance = { country = FIN country = SOV }
	alliance = { country = FIN country = ENG }
	alliance = { country = FIN country = GER }
	ispuppet = FIN
	ispuppet = GER
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = FIN }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1597
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 15
         under_attack = NOR

        NOT = {
        or= {
	war = { country = NOR country = GER } # Added Ghost_dk
	alliance = { country = NOR country = SOV }
	alliance = { country = NOR country = ENG }
	alliance = { country = NOR country = GER }
	ispuppet = NOR
	ispuppet = GER
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = NOR }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}



event = { 
        id = 1598
        random = no
        country = GER
        persistent = yes

         trigger = { 
         under_attack = AUS

        NOT = {
        or= {
	war = { country = AUS country = GER } # Added Ghost_dk
	alliance = { country = AUS country = SOV }
	alliance = { country = AUS country = ENG }
	alliance = { country = AUS country = GER }
	ispuppet = AUS
	ispuppet = GER
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = AUS }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1599
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random =  18
         under_attack = BUL

         or = { 	alliance = { country = GER country = ROM }
	                alliance = { country = GER country = HUN }
               }

        NOT = {
        or= {
	war = { country = BUL country = GER } # Added Ghost_dk
	alliance = { country = BUL country = SOV }
	alliance = { country = BUL country = ENG }
	alliance = { country = BUL country = GER }
	ispuppet = BUL
	ispuppet = GER
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = BUL }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}



event = { 
        id = 1600
        random = no
        country = GER
        persistent = yes

         trigger = { 
         random = 16
         under_attack = YUG

        NOT = {
        or= {
	war = { country = YUG country = GER } # Added Ghost_dk
	alliance = { country = YUG country = SOV }
	alliance = { country = YUG country = ENG }
	alliance = { country = YUG country = GER }
        war =  { country = YUG country = ITA }
	ispuppet = YUG
	ispuppet = GER
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = YUG }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}



# GERMANY THREATENED

event = { 
id = 11111
random = no
country = ITA
        persistent = yes

trigger = {
           Random = 14
           war = { country = GER country = SOV }
           NOT = { 
		 war = { country = ITA country = GER } # Added Ghost_dk
               	 alliance = { country = ITA country = GER }
               	 alliance = { country = ITA country = SOV }
	         alliance = { country = ITA country = ENG }
	         ispuppet = ITA
                 OR = {
                      control = { province = 598 data = GER }	
                      control = { province = 587 data = GER }
                      control = { province = 586 data = GER }	
                      control = { province = 599 data = GER }	
                      control = { province = 607 data = GER }
                      control = { province = 636 data = GER }
                      control = { province = 603 data = GER }
                      control = { province = 604 data = GER }
                      control = { province = 605 data = GER }
                      control = { province = 579 data = GER }
                      control = { province = 576 data = GER }
                      control = { province = 574 data = GER }
                      control = { province = 562 data = GER }
                      control = { province = 588 data = GER }
                      control = { province = 602 data = GER }
                      }
                  }
}

name = SPHERE_TITLE
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 14 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1939 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = GER }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

#####################
# Potential exploit. FRA or ENG player can be 95% sure of alliance with otherwise very neutral SCH if GER is AI controlled.  # Maybe we should make a different event that cancels the access if FRA or ENG have it to ensure SCh historical neutrality   # instead. An SCH AI event checking every 3 days persitent and cancelling the access from all enighbors if it exists.
#####################
#event = { 
#id = 11112
#random = no
#country = GER
#        persistent = yes
#
#trigger = {
#           war = { country = GER country = ENG }
#           OR = {
#                access = { country = FRA country = SCH }
#                access = { country = ENG country = SCH }
#                }
#}
#
#name = SPHERE_TITLE
#desc = SPHERE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 14 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1939 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = war which = SCH }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}
#####################

# ITALY SPHERE

event = { 
        id = 1610
        random = no
        country = ITA
        persistent = yes

         trigGER = { 
          random = 25
          under_attack = ALB
                NOT = { 
                      or= {
			Event = 2903 # Annexation of ALBania - Zog refuses. Added Ghost_dk
			war = { country = ALB country = ITA } # Added Ghost_dk
                        alliance = { country = ALB country = ENG }
                        alliance = { country = ALB country = GER }
                        war = { country = ALB country = ENG }
                        war = { country = ALB country = GER }
                        ispuppet = ALB
                        ispuppet = ITA
                      }
                      }
                   }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigGER conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = ALB }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1611
        random = no
        country = ITA
        persistent = yes

         trigGER = { 
          random = 12
          under_attack = GRE
                NOT = { 
                      or= {
			war = { country = ALB country = ITA } # Added Ghost_dk
                            alliance = { country = GRE country = ENG }
                            alliance = { country = GRE country = GER }
                            war = { country = GRE country = ENG }
                            war = { country = GRE country = GER }
                            ispuppet = GRE
                            ispuppet = ITA
                       }
                      }
                   }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigGER conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = GRE }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}
#######################
# Too many Italian interests in YUG to allow this type of event. Yugolavia would never have wanted this. Maybe Germany        # instead? Strong GER-YUG economic ties
#######################
#event = { 
#        id = 1612
#        random = no
#        country = ITA
#        persistent = yes
#
#         trigGER = { 
#          random = 12
#          under_attack = yug
#                NOT = { 
#                      or= {
#                            alliance = { country = yug country = ENG }
#                            alliance = { country = yug country = GER }
#                            war = { country = yug country = ENG }
#                            war = { country = yug country = GER }
#                            ispuppet = yug
#                            ispuppet = ITA
#                        }
#                      }
#                   }
#
#name = SPHERE_TEXT
#desc = SPHERE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 7 # Check for trigGER conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = protect which = yug }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}
#######################

event = { 
        id = 1613
        random = no
        country = ITA
        persistent = yes

         trigGER = { 
          random = 10
          under_attack = TUR
                NOT = { 
                      or= {
			war = { country = TUR country = ITA } # Added Ghost_dk
                            alliance = { country = TUR country = ENG }
                            alliance = { country = TUR country = GER }
                            war = { country = TUR country = ENG }
                            war = { country = TUR country = GER }
                            ispuppet = TUR
                            ispuppet = ITA
                            }
                      }
                   }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigGER conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = TUR}
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

# SOVIET SPHERE

####europe

#################
# No way SOV-POL relations too hostile
#################
#event = { 
#        id = 1601
#        random = no
#        country = SOV
#        persistent = yes
#
#         trigger = { 
#         random = 45
#         under_attack = POL
#
#        NOT = {
#        OR = { event = 2027
#                      event = 2050
#                      event = 2051
#	alliance = { country = POL country = GER }
#	alliance = { country = POL country = ENG }
#	alliance = { country = POL country = SOV }
#	ispuppet = POL
#	ispuppet = SOV
#        }
#        }
#        }
#
#name = SPHERE_TEXT
#desc = SPHERE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 10 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = alliance which = POL }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}
#################

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

         trigger = { 
         random = 35
         under_attack = TUR

        NOT = {
        or= {
	war = { country = TUR country = SOV } # Added Ghost_dk
	alliance = { country = TUR country = GER }
	alliance = { country = TUR country = ENG }
	alliance = { country = TUR country = SOV }
	ispuppet = TUR
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

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

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = TUR }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

################
# Replaced by C.O.R.E. events
################
#event = { 
#        id = 1603
#        random = no
#        country = SOV
#        persistent = yes
#
#         trigger = { 
#         random = 35
#         under_attack = PER
#
#        NOT = {
#        or= {
#	alliance = { country = PER country = GER }
#	alliance = { country = PER country = ENG }
#	alliance = { country = PER country = SOV }
#	ispuppet = PER
#	ispuppet = SOV
#        }
#        }
#        }
#
#name = SPHERE_TEXT
#desc = SPHERE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 14 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = alliance which = PER }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}
#################

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

         trigger = { 
         random = 5
         under_attack = AFG

        NOT = {
        or= {
	war = { country = AFG country = SOV } # Added Ghost_dk
	alliance = { country = AFG country = GER }
	alliance = { country = AFG country = ENG }
	alliance = { country = AFG country = SOV }
	ispuppet = AFG
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

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

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = AFG }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


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

         trigger = { 
         random = 15
         under_attack = ROM

        NOT = {
        or= {
	war = { country = ROM country = SOV } # Added Ghost_dk
	alliance = { country = ROM country = GER }
	alliance = { country = ROM country = ENG }
	alliance = { country = ROM country = SOV }
	ispuppet = ROM
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

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

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = ROM }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}



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

         trigger = { 
         random = 25
         under_attack = HUN

        NOT = {
        or= {
	war = { country = HUN country = SOV } # Added Ghost_dk
	alliance = { country = HUN country = GER }
	alliance = { country = HUN country = ENG }
	alliance = { country = HUN country = SOV }
	ispuppet = HUN
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

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

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = HUN }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}



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

         trigger = { 
         random = 55
         under_attack = EST

        NOT = {
        or= {
	war = { country = EST country = SOV } # Added Ghost_dk
	alliance = { country = EST country = GER }
	alliance = { country = EST country = ENG }
	alliance = { country = EST country = SOV }
	ispuppet = EST
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = EST }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


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

         trigger = { 
         random = 45
         under_attack = FIN

        NOT = {
        or= {
        event = 2620
	war = { country = FIN country = SOV } # Added Ghost_dk
	alliance = { country = FIN country = GER }
	alliance = { country = FIN country = ENG }
	alliance = { country = FIN country = SOV }
	ispuppet = FIN
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = FIN }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


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

         trigger = { 
         random = 55
         under_attack = LAT

        NOT = {
        or= {
	war = { country = LAT country = SOV } # Added Ghost_dk
	alliance = { country = LAT country = GER }
	alliance = { country = LAT country = ENG }
	alliance = { country = LAT country = SOV }
	ispuppet = LAT
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = LAT }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

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

         trigger = { 
         random = 55
         under_attack = LIT

        NOT = {
        or= {
        event = 2010
	war = { country = LIT country = SOV } # Added Ghost_dk
	alliance = { country = LIT country = GER }
	alliance = { country = LIT country = ENG }
	alliance = { country = LIT country = SOV }
	ispuppet = LIT
	ispuppet = SOV
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = LIT }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

# UK SPHERE

#####asia minor
event = { 
        id = 1550
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 14
         under_attack = TUR

        NOT = {
        or= {
	war = { country = TUR country = ENG} # Added Ghost_dk
	alliance = { country = TUR country = SOV }
	alliance = { country = TUR country = GER }
	alliance = { country = TUR country = ENG }
	ispuppet = TUR
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 14 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type =  alliance which = TUR }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}
#########################
# Replaced by persian event chain
#########################
#event = { 
#        id = 1551
#        random = no
#        country = ENG
#        persistent = yes
#
#         trigger = { 
#         random = 17
#         under_attack = PER
#
#        NOT = {
#        or= {
#	alliance = { country = PER country = SOV }
#	alliance = { country = PER country = GER }
#	alliance = { country = PER country = ENG }
#	ispuppet = PER
#	alliance = { country = ENG country = GER }
#	ispuppet = ENG
#        }
#        }
#        }
#
#name = SPHERE_TEXT
#desc = SPHERE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 16 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type =  alliance which = PER }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}
#############################

event = { 
        id = 1552
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 14
         under_attack = AFG

        NOT = {
        or= {
	war = { country = AFG country = ENG } # Added Ghost_dk
	alliance = { country = AFG country = SOV }
	alliance = { country = AFG country = GER }
	alliance = { country = AFG country = ENG }
	ispuppet = AFG
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 14 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type =  alliance which = AFG }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


#######arabia
####################
# Starts in the Allies in C.O.R.E.
####################
#event = { 
#        id = 1553
#        random = no
#        country = ENG
#        persistent = yes
#
#         trigger = { 
#         random = 21
#         under_attack = YEM
#
#        NOT = {
#        or= {
#	alliance = { country = YEM country = SOV }
#	alliance = { country = YEM country = GER }
#	alliance = { country = YEM country = ENG }
#	ispuppet = YEM
#	alliance = { country = ENG country = GER }
#	ispuppet = ENG
#        }
#        }
#        }
#
#
#name = SPHERE_TEXT
#desc = SPHERE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 8 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = alliance which = YEM }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}
##########################

event = { 
        id = 1554
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 17
         under_attack = SAU

        NOT = {
        or= {
	war = { country = SAU country = ENG } # Added Ghost_dk
	alliance = { country = SAU country = SOV }
	alliance = { country = SAU country = GER }
	alliance = { country = SAU country = ENG }
	ispuppet = SAU
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }
        
name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 5 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = SAU }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}





########Scandinavia

event = { 
        id = 1555
        random = no
        country = ENG
        persistent = yes

         trigger = { 
          random = 26
          under_attack = NOR

        NOT = {
        or= {
	war = { country = NOR country = ENG } # Added Ghost_dk
	alliance = { country = NOR country = SOV }
	alliance = { country = NOR country = GER }
	alliance = { country = NOR country = ENG }
	ispuppet = NOR
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 9 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = NOR }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
        id = 1556
        random = no
        country = ENG
        persistent = yes

         trigger = { 
          random = 11
          under_attack = SWE

        NOT = {
        or= {
	war = { country = SWE country = ENG } # Added Ghost_dk
	alliance = { country = SWE country = SOV }
	alliance = { country = SWE country = GER }
	alliance = { country = SWE country = ENG }
	ispuppet = SWE
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 12 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = SWE }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }
}


event = { 
        id = 1557
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 14
         under_attack = FIN
        NOT = {
        or= {
	war = { country = FIN country = ENG } # Added Ghost_dk
	alliance = { country = FIN country = SOV }
	alliance = { country = FIN country = GER }
	alliance = { country = FIN country = ENG }
	ispuppet = FIN
        event = 2620  ###winter war
#	event = continuation war may need to be added. Ghost_dk
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 16 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
       		command = { type = alliance which = FIN }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}



event = { 
        id = 1558
        random = no
        country = ENG
        persistent = yes

         trigger = { 
          random = 40
          under_attack = DEN

        NOT = {
        or= {
	war = { country = DEN country = ENG } # Added Ghost_dk
	alliance = { country = DEN country = SOV }
	alliance = { country = DEN country = GER }
	alliance = { country = DEN country = ENG }
	ispuppet = DEN
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 4 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = DEN }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }
}


########europe

event = { 
        id = 1559
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 80
         under_attack = BEL

        NOT = {
        or= {
	war = { country = BEL country = ENG } # Added Ghost_dk
	alliance = { country = BEL country = SOV }
	alliance = { country = BEL country = GER }
	alliance = { country = BEL country = ENG }
	ispuppet = BEL
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 5 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = BEL }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
        id = 1560
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 80
         under_attack = HOL

        NOT = {
        or= {
	war = { country = HOL country = ENG } # Added Ghost_dk
	alliance = { country = HOL country = SOV }
	alliance = { country = HOL country = GER }
	alliance = { country = HOL country = ENG }
	ispuppet = HOL
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 4 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = HOL }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1561
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 13
         under_attack = POR

        NOT = {
        or= {
	war = { country = POR country = ENG } # Added Ghost_dk
	alliance = { country = POR country = SOV }
	alliance = { country = POR country = GER }
	alliance = { country = POR country = ENG }
	ispuppet = POR
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 12 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = POR }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
        id = 1562
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 27
         under_attack = SPR

        NOT = {
        or= {
	war = { country = SPR country = ENG } # Added Ghost_dk
	alliance = { country = SPR country = SOV }
	alliance = { country = SPR country = GER }
	alliance = { country = SPR country = ENG }
	ispuppet = SPR
	alliance = { country = ENG country = GER }
	ispuppet = ENG
             war = { country = SPR country = SPA }
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 18 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = SPR }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}






######balkans

event = { 
        id = 1563
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 12
         under_attack = YUG

        NOT = {
        or= {
	war = { country = YUG country = ENG } # Added Ghost_dk
	alliance = { country = YUG country = SOV }
	alliance = { country = YUG country = GER }
	alliance = { country = YUG country = ENG }
	ispuppet = YUG
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 14 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = YUG }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1564
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 5
         under_attack = ALB

        NOT = {
        or= {
	war = { country = ALB country = ENG } # Added Ghost_dk
	war = { country = ALB country = ITA } # Added Ghost_dk
	alliance = { country = ALB country = SOV }
	alliance = { country = ALB country = GER }
	alliance = { country = ALB country = ENG }
	ispuppet = ALB
	alliance = { country = ENG country = GER }
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = ALB }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1565
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 14
         under_attack = GRE
	 event = 752180 # UK Guarantee Independence to Greece 

        NOT = {
        or= {
	war = { country = GRE country = ENG } # Added Ghost_dk
	alliance = { country = GRE country = SOV }
	alliance = { country = GRE country = GER }
	alliance = { country = GRE country = ENG }
	ispuppet = GRE
	alliance = { country = ENG country = GER }
	ispuppet = ENG
	event = 752180 # UK Guarantee Independence to Greece 
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 12 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = GRE }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1615
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 11
         under_attack = SCH
         alliance = { country = ENG country = FRA }

        NOT = {
        or= {
	war = { country = SCH country = ENG } # Added Ghost_dk
	alliance = { country = SCH country = SOV }
	alliance = { country = SCH country = GER }
	alliance = { country = SCH country = ENG }
	ispuppet = SCH
	ispuppet = ENG
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = SCH }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1616
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 32
         under_attack = LUX
         alliance = { country = ENG country = FRA }

        NOT = {
        or= {
	war = { country = LUX country = ENG } # Added Ghost_dk
	alliance = { country = LUX country = SOV }
	alliance = { country = LUX country = GER }
	alliance = { country = LUX country = ENG }
	ispuppet = LUX
	ispuppet = ENG
	alliance = { country = GER country = ENG } # Added Ghost_dk
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 4 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = LUX }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1617
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 75
         under_attack = CZE
         alliance = { country = ENG country = FRA }

        NOT = {
        or= {
        event = 2030
	war = { country = CZE country = ENG } # Added Ghost_dk
	alliance = { country = CZE country = SOV }
	alliance = { country = CZE country = GER }
	alliance = { country = CZE country = ENG }
	ispuppet = CZE
	ispuppet = ENG
	alliance = { country = GER country = ENG } # Added Ghost_dk
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type =  alliance which = CZE }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
        id = 1618
        random = no
        country = ENG
        persistent = yes

         trigger = { 
         random = 35
         under_attack = SPA

        NOT = {
        or= {
	war = { country = SPA country = ENG } # Added Ghost_dk
	alliance = { country = SPA country = SOV }
	alliance = { country = SPA country = GER }
	alliance = { country = SPA country = ENG }
	ispuppet = SPA
	alliance = { country = ENG country = GER }
	ispuppet = ENG
             war = { country = SPR country = SPA }
        }
        }
        }

name = SPHERE_TEXT
desc = SPHERE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = alliance which = SPA }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}



######################
# Check with our own Homeguard events
######################
#event = {
#	id = 1621
#	random = no
#	country = ENG
#
#	trigger = {
#		ai = yes
#		NOT = {
#                    OR = {
#			control = { province = 501 data = -1 } # any english beach 
#			control = { province = 502 data = -1 } # any english beach
#			control = { province = 503 data = -1 } # any english beach
#			control = { province = 498 data = -1 } # any english beach
#			control = { province = 487 data = -1 } # any english beach
#			control = { province = 493 data = -1 } # any english beach
#		   }
#		}
#	}
#
#	name = AI_EVENT
#	desc = 
#	style = 0
#
#	date = { day = 1 month = january year = 1936 }
#	offset = 3 # Check for trigger conditions every 3 days
#	deathdate = { day = 30 month = december year = 1959 }
#
#	action_a = {
#		command = { type = add_division which = motorized } #All Homeguard: 120,000 men
#		command = { type = add_division which = motorized }
#		command = { type = add_division which = motorized }
#		command = { type = add_division which = motorized }
#		command = { type = add_division which = motorized }
#		command = { type = add_division which = motorized }
#		command = { type = add_division which = motorized }
#		command = { type = add_division which = motorized }
#	}
#}
#######################

# I think we have an event checking for poland at war, right? 

# USA SPHERE

##########beginn of SA spheres
######USA Spheres


event = { 
        id = 1514
        random = no
        country = USA
        persistent = yes

         trigger = { 
          random = 15
          under_attack = ARG
                NOT = { 
                      or= {
                         AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = ARG }
                           }

                      alliance = { country = ARG country = ENG }
                      alliance = { country = ARG country = SOV }
                      alliance = { country = ARG country = GER }
                      }
                      }
                   }

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = ARG }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


######USA Spheres FIXED by CD
event = { 
id = 1515
random = no
country = USA
        persistent = yes


trigger = { 

          random = 15
          under_attack = BOL
                NOT = { 
                      or= {
                         AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = BOL }
                         }

                      alliance = { country = BOL country = ENG }
                      alliance = { country = BOL country = SOV }
                      alliance = { country = BOL country = GER }
                           }
                       }
                 }

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = BOL }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


######USA Spheres
event = { 
id = 1516
random = no
country = USA
        persistent = yes

trigger = { 
          random = 15
          under_attack = BRA
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = BRA }
                           }
                      alliance = { country = BRA country = ENG }
                      alliance = { country = BRA country = SOV }
                      alliance = { country = BRA country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = BRA }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


######USA Spheres
event = { 
id = 1517
random = no
country = USA
        persistent = yes

trigger = { 
          random = 15
          under_attack = CHL
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = CHL }
                           }
                      alliance = { country = CHL country = ENG }
                      alliance = { country = CHL country = SOV }
                      alliance = { country = CHL country = GER }
                      }
                      }

}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = CHL }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


######USA Spheres
#event = { 
#id = 1518
#random = no
#country = USA
#        persistent = yes
#
#
#trigger = { 
#          random = 15
#          under_attack = COL
#                NOT = { 
#                      or= {
#                     AND = {
#                            alliance = { country = USA country = ENG }
#                            alliance = { country = USA country = COL }
#                           }
#                      alliance = { country = COL country = ENG }
#                      alliance = { country = COL country = SOV }
#                      alliance = { country = COL country = GER }
#                      }
#                     }
#}
#
#name = MONROE_TITLE
#desc = MONROE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 7 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }

#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = protect which = COL }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}

######USA Spheres
#event = { 
#id = 1519
#random = no
#country = USA
#        persistent = yes
#
#
#trigger = { 
#          random = 15
#          under_attack = ECU
#                NOT = { 
#                      or= {
#                     AND = {
#                            alliance = { country = USA country = ENG }
#                            alliance = { country = USA country = ECU }
#                           }
#                      alliance = { country = ECU country = ENG }
#                      alliance = { country = ECU country = SOV }
#                      alliance = { country = ECU country = GER }
#                      }
#                     }
#}
#
#name = MONROE_TITLE
#desc = MONROE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 7 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = protect which = ECU }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}

######USA Spheres
event = { 
id = 1520
random = no
country = USA
        persistent = yes


trigger = { 
          random = 15
          under_attack = PAR
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = PAR }
                           }
                      alliance = { country = PAR country = ENG }
                      alliance = { country = PAR country = SOV }
                      alliance = { country = PAR country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = PAR }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


######USA Spheres
#event = { 
#id = 1521
#random = no
#country = USA
#        persistent = yes
#
#
#trigger = { 
#          random = 15
#          under_attack = PRU
#                NOT = { 
#                      or= {
#                     AND = {
#                            alliance = { country = USA country = ENG }
#                            alliance = { country = USA country = PRU }
#                           }
#                      alliance = { country = PRU country = ENG }
#                      alliance = { country = PRU country = SOV }
#                      alliance = { country = PRU country = GER }
#                      }
#                     }
#}
#
#name = MONROE_TITLE
#desc = MONROE_DESC
#style = 0
#
#date = { day = 1 month = january year = 1936 }
#	offset = 7 # Check for trigger conditions every seven days
#	deathdate = { day = 1 month = august year = 1946 }
#
#action_a = { name = ACTIONNAME3809A # Accept
#             command = { type = protect which = PRU }
#                    }
#
#action_b = { name = ACTIONNAME2020B
#		command = { }
#                    }
#
#}

######USA Spheres
event = { 
id = 1522
random = no
country = USA
        persistent = yes


trigger = { 
          random = 15
          under_attack = URU
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = URU }
                           }
                      alliance = { country = URU country = ENG }
                      alliance = { country = URU country = SOV }
                      alliance = { country = URU country = GER }
                      }
                     }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = URU }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

######USA Spheres
event = { 
id = 1523
random = no
country = USA
        persistent = yes


trigger = { 
          random = 15
          under_attack = VEN
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = VEN }
                           }
                      alliance = { country = VEN country = ENG }
                      alliance = { country = VEN country = SOV }
                      alliance = { country = VEN country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = VEN }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


##########end of SA spheres
##########beginn of MA spheres (= cos, cub, dom, gua, hon, mex, nic


event = { 
id = 1524
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = COS
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = COS }
                           }
                      alliance = { country = COS country = ENG }
                      alliance = { country = COS country = SOV }
                      alliance = { country = COS country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = COS }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
id = 1525
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = CUB
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = CUB }
                           }
                      alliance = { country = CUB country = ENG }
                      alliance = { country = CUB country = SOV }
                      alliance = { country = CUB country = GER }
                      }
                     }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = CUB }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
id = 1526
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = DOM
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = DOM }
                           }
                      alliance = { country = DOM country = ENG }
                      alliance = { country = DOM country = SOV }
                      alliance = { country = DOM country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = DOM }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
id = 1527
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = GUA
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = GUA }
                           }
                      alliance = { country = GUA country = ENG }
                      alliance = { country = GUA country = SOV }
                      alliance = { country = GUA country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = GUA }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
id = 1528
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = HON
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = HON }
                           }
                      alliance = { country = HON country = ENG }
                      alliance = { country = HON country = SOV }
                      alliance = { country = HON country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = HON }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
id = 1529
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = MEX
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = MEX }
                           }
                      alliance = { country = MEX country = ENG }
                      alliance = { country = MEX country = SOV }
                      alliance = { country = MEX country = GER }
                      }
                      }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = MEX }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
id = 1530
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = NIC
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = NIC }
                           }
                      alliance = { country = NIC country = ENG }
                      alliance = { country = NIC country = SOV }
                      alliance = { country = NIC country = GER }
                      }
                       }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = NIC }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

event = { 
id = 1531
random = no
country = USA
        persistent = yes

trigger = { 
          random = 70
          under_attack = SAL
                NOT = { 
                      or= {
                     AND = {
                            alliance = { country = USA country = ENG }
                            alliance = { country = USA country = SAL }
                           }
                      alliance = { country = SAL country = ENG }
                      alliance = { country = SAL country = SOV }
                      alliance = { country = SAl country = GER }
                      }
                     }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = SAL }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}


event = { 
id = 1532
random = no
country = USA
        persistent = yes

trigger = { 
           NOT = { 
                 OR = {
                      control = { province = 153 data = CAN }	
                      control = { province = 161 data = CAN }	
                      control = { province = 100 data = CAN }	
                      }
                      alliance = { country = CAN country = SOV }
                      alliance = { country = CAN country = GER }
                  }
}

name = MONROE_TITLE
desc = MONROE_DESC
style = 0

date = { day = 1 month = january year = 1936 }
	offset = 7 # Check for trigger conditions every seven days
	deathdate = { day = 1 month = august year = 1946 }

action_a = { name = ACTIONNAME3809A # Accept
             command = { type = protect which = CAN }
                    }

action_b = { name = ACTIONNAME2020B
		command = { }
                    }

}

################
# We need to thoroughly test these but I see no problems with them going over them. Actually I think we should expand with # more event. We should add events to check for original ovnership of colonies so that USA intervenes if # HOL/ENG/FRA/POR/Others? loose their holdings in the caribian area.
################