########################## 
# ITALY                  # 
########################## 

# Leaving the Central Powers 

event = { 
    country = ITA 
    id = 27001 
    random = no 
    style = 0 

    name = "EVT_27001_NAME" 
    desc = "EVT_27001_DESC" 

    trigger = { 
        war = { country = ITA country = SER } 
        war = { country = U11 country = SER } 
        war = { country = GER country = SER } 
        alliance = { country = GER country = ITA } 
        alliance = { country = U11 country = ITA } 
    } 

    date = { day = 0 month = january year = 1914 } 
    offset = 5 
    deathdate = { day = 0 month = january year = 1924 } 

    action_a = { 
        name = "ACTIONNAME27001A" 
        command = { type = peace which = SER value = 1 } 
        command = { type = peace which = BEL value = 1 } 
        command = { type = peace which = HOL value = 1 } 
        command = { type = peace which = FRA value = 1 } 
        command = { type = peace which = ENG value = 1 } 
        command = { type = peace which = RUS value = 1 } 
        command = { type = leave_alliance } 
        command = { type = sleepevent which = 27002 } 
    } 
    action_b = { 
        name = "ACTIONNAME27001B" 
        command = { type = dissent value = 15 } 
        command = { type = removecore which = 896 } 
        command = { type = sleepevent which = 27002 } 
    } 
} 

# Leaving the Central Powers 

event = { 
    country = ITA 
    id = 27002 
    random = no 
    style = 0 

    name = "EVT_27002_NAME" 
    desc = "EVT_27002_DESC" 

    trigger = { 
        war = { country = U11 country = SER } 
        alliance = { country = ITA country = GER } 
        NOT = { 
            alliance = { country = GER country = U11 } 
            alliance = { country = ITA country = U11 } 
        } 
    } 

    date = { day = 0 month = january year = 1914 } 
    offset = 5 
    deathdate = { day = 0 month = january year = 1924 } 

    action_a = { 
        name = "ACTIONNAME27002A" 
        command = { type = dissent value = -5 } 
        command = { type = sleepevent which = 27001 } 
    } 
    action_b = { 
        name = "ACTIONNAME27002B" 
        command = { type = dissent value = -10 } 
        command = { type = leave_alliance } 
        command = { type = sleepevent which = 27001 } 
    } 
    action_c = { 
        name = "ACTIONNAME27002C" 
        command = { type = war which = U11 } 
        command = { type = dissent value = 15 } 
        command = { type = sleepevent which = 27001 } 
    } 
} 

# An offer from Austria-Hungary 

event = { 
    country = ITA 
    id = 27020 
    random = no 
    style = 0 

    name = "EVT_27020_NAME" 
    desc = "EVT_27020_DESC" 

    # Triggered by Austro-Hungarian 3020 

    action_a = { 
        name = "ACTIONNAME27020A"  
        command = { type = trigger which = 20020 } 
    } 
    action_b = { 
        name = "ACTIONNAME27020B"  
        command = { type = alliance which = U11 } 
        command = { type = supplies value = 3000 } 
        command = { type = dissent value = -5 } 
    } 
} 

# Italia Irredenta 

event = { 
    country = ITA 
    id = 27021 
    random = no 
    style = 0 

    name = "EVT_27021_NAME" 
    desc = "EVT_27021_DESC" 

    trigger = { 
        event = 3020 
        NOT = { 
            alliance = { country = ITA country = U11 } 
            alliance = { country = ITA country = FRA } 
            war = { country = ITA country = U11 } 
            war = { country = ITA country = FRA } 
        } 
    } 

    date = { day = 25 month = april year = 1915 } 
    offset = 1 
    deathdate = { day = 0 month = january year = 1925 } 

    action_a = { 
        name = "ACTIONNAME27021A"  
        command = { type = trigger which = 20020 } 
    } 
} 

# A very generous offer from Austria-Hungary 

event = { 
    country = ITA 
    id = 27022 
    random = no 
    style = 0 

    name = "EVT_27022_NAME" 
    desc = "EVT_27022_DESC" 

    # Triggered by Austro-Hungarian 3020 

    action_a = { 
        name = "ACTIONNAME27022A" 
        command = { type = alliance which = U11 } 
        command = { type = industry which = 567 value = 1 } 
        command = { type = dissent value = -20 } 
        command = { type = trigger which = 3021 } 
    } 
    action_b = { 
        name = "ACTIONNAME27022B" 
        command = { type = trigger which = 20020 } 
        command = { type = dissent value = 5 } 
    } 
} 

# The Treaty of London 

event = { 
	country = ITA 
	id = 27023 
	random = no 
	style = 0 

	name = "EVT_27023_NAME" 
	desc = "EVT_27023_DESC" 

	trigger = { 
		event = 20020 
		control = { province = 538 data = FRA } #Brest
		control = { province = 948 data = FRA } #Bordeaux
		war = { country = FRA country = GER }
		war = { country = FRA country = U11 }
		war = { country = ENG country = U11 }
		NOT = { 
		war = { country = ITA country = FRA } 
		} 
	} 

	date = { day = 22 month = may year = 1915 } 
	offset = 1 
	deathdate = { day = 0 month = january year = 1925 } 

	action_a = { 
	name = "ACTIONNAME27023A" 
	command = { type = alliance which = FRA } 
	command = { type = supplies value = 4000 } 
	command = { type = dissent value = -5 } 
	command = { type = addcore which = 754 } 
	command = { type = addcore which = 820 } 
	command = { type = addcore which = 882 } 
	command = { type = addcore which = 1210 } 
	command = { type = addcore which = 1214 } 
	}
 
	action_b = { 
	name = "ACTIONNAME27023B" 
	command = { type = dissent value = 5 } 
	} 
}  

# Breakdown of negotiations 

event = { 
    country = ITA 
    id = 27024 
    random = no 
    style = 0 

    name = "EVT_27024_NAME" 
    desc = "EVT_27024_DESC" 

    # Triggered by French 20020 

    action_a = { 
        name = "ACTIONNAME27024A" 
        command = { type = warentry value = -10 } 
        command = { type = dissent value = 5 } 
    } 
} 