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

Tom Morrison

Sergeant
Aug 15, 2020
53
10
Hi!

With the British Isles under threat of invasion, the government called for a force of 500,000 men who would otherwise be ineligible for wartime service to join 'Local Defence Volunteers.' Over 250,000 volunteered the first week. Many were veterans of the Great War. Armed with improvised or obsolete weapons, including several thousand ad hoc armored cars, the LDV performed civil defense, anti-aircraft, and beach defense duties. In time, the LDV became the Home Guard, 1.5 million strong.

As always, feedback and comments are welcome.

Here is the code:

#########################################################################
# Home Guard
#########################################################################

event = {
id = 37672
random = no
country = ENG

name = "Home Guard"
desc = "With the British Isles under threat of invasion, the government called for a force of 500,000 men who would otherwise be ineligible for wartime service to join 'Local Defence Volunteers.' Over 250,000 volunteered the first week. Many were veterans of the Great War. Armed with improvised or obsolete weapons, including several thousand ad hoc armored cars, the LDV performed civil defense, anti-aircraft, and beach defense duties. In time, the LDV became the Home Guard, 1.5 million strong."
style = 0
picture = "minor"

trigger = {
atwar = yes
OR = {
NOT = { infantry = { country = ENG value = 14 } } # ENG lost troops? (Start: 1936 = 18, 1938 = 14, 1939 = 32)
AND = {
NOT = { multi_role = { country = ENG value = 1 } } # ENG lost control of skies?
NOT = { interceptor = { country = ENG value = 3 } }
}
AND = { # Coast not defended?
NOT = { garrison = { country = ENG province = 9 type = land size = 1 area = no } } # ENG coast not defended: West Lowland
NOT = { garrison = { country = ENG province = 10 type = land size = 1 area = no } } # ENG coast not defended: East Lowland
NOT = { garrison = { country = ENG province = 11 type = land size = 1 area = no } } # ENG coast not defended: Yorkshire
NOT = { garrison = { country = ENG province = 12 type = land size = 1 area = no } } # ENG coast not defended: Lancashire
NOT = { garrison = { country = ENG province = 13 type = land size = 1 area = no } } # ENG coast not defended: North Midland
NOT = { garrison = { country = ENG province = 14 type = land size = 1 area = no } } # ENG coast not defended: Liverpool
NOT = { garrison = { country = ENG province = 17 type = land size = 1 area = no } } # ENG coast not defended: Norfolk
NOT = { garrison = { country = ENG province = 20 type = land size = 1 area = no } } # ENG coast not defended: Kent
NOT = { garrison = { country = ENG province = 21 type = land size = 1 area = no } } # ENG coast not defended: Hampshire
NOT = { garrison = { country = ENG province = 22 type = land size = 1 area = no } } # ENG coast not defended: Somerset
NOT = { garrison = { country = ENG province = 23 type = land size = 1 area = no } } # ENG coast not defended: Devon
NOT = { garrison = { country = ENG province = 28 type = land size = 1 area = no } } # ENG coast not defended: Ulster
}
AND = { # Fall of Paris?
NOT = { control = { province = 56 data = FRA } } # FRA lost control of Paris
NOT = { war = { country = ENG country = FRA } } # ENG is not at war with FRA (so ENG did not take Paris from FRA)
}
OR = { # UK lost control of part of home islands?
NOT = { control = { province = 3 data = ENG } } # Stornoway
NOT = { control = { province = 5 data = ENG } } # Scapa Flow
NOT = { control = { province = 6 data = ENG } } # Iverness
NOT = { control = { province = 7 data = ENG } } # Aberdeen
NOT = { control = { province = 8 data = ENG } } # Dunfermline
NOT = { control = { province = 9 data = ENG } } # West Lowland
NOT = { control = { province = 10 data = ENG } } # East Lowland
NOT = { control = { province = 11 data = ENG } } # Yorkshire
NOT = { control = { province = 12 data = ENG } } # Lancashire
NOT = { control = { province = 13 data = ENG } } # North Midland
NOT = { control = { province = 14 data = ENG } } # Liverpool
NOT = { control = { province = 15 data = ENG } } # Cardiff
NOT = { control = { province = 16 data = ENG } } # Birmingham
NOT = { control = { province = 17 data = ENG } } # Norfolk
NOT = { control = { province = 19 data = ENG } } # London
NOT = { control = { province = 20 data = ENG } } # Kent
NOT = { control = { province = 21 data = ENG } } # Hampshire
NOT = { control = { province = 22 data = ENG } } # Somerset
NOT = { control = { province = 23 data = ENG } } # Devon
NOT = { control = { province = 28 data = ENG } } # Ulster
NOT = { control = { province = 29 data = ENG } } # Portadown
}
OR = { # Royal Navy losing capital ships / control of seas?
NOT = { battleship = { country = ENG value = 9 } }
NOT = { carrier = { country = ENG value = 5 } }
}
}
}

date = { day = 1 month = january year = 1936 }
offset = 3
deathdate = { day = 1 month = december year = 1947 }

action_a = {
name = "Mobilize the Home Guard!"

command = { type = supplies value = -336.5 } # 250 Manpower is free, but equipment is not: 15 Gar + 20 Mil + 8 AC + 7 AA

command = { type = add_division which = "1. Special Home Guard" value = militia when = 0 where = armored_car }
command = { type = add_division which = "2. Special Home Guard" value = militia when = 0 where = armored_car }
command = { type = add_division which = "3. Special Home Guard" value = militia when = 0 where = armored_car }
command = { type = add_division which = "4. Special Home Guard" value = militia when = 0 where = armored_car }
command = { type = add_division which = "5. Special Home Guard" value = militia when = 0 where = armored_car }

command = { type = add_corps which = "West Lowland Home Guard" value = land where = 9 }
command = { type = add_division which = "1. West Lowland HG" value = garrison when = 0 }
command = { type = add_division which = "2. West Lowland HG" value = militia when = 0 }

command = { type = add_corps which = "East Lowland Home Guard" value = land where = 10 }
command = { type = add_division which = "1. East Lowland HG" value = garrison when = 0 }
command = { type = add_division which = "2. East Lowland HG" value = militia when = 0 }

command = { type = add_corps which = "Yorkshire Home Guard" value = land where = 11 }
command = { type = add_division which = "1. Yorkshire HG" value = garrison when = 0 }
command = { type = add_division which = "2. Yorkshire HG" value = militia when = 0 }

command = { type = add_corps which = "Lancashire Home Guard" value = land where = 12 }
command = { type = add_division which = "1. Lancashire HG" value = garrison when = 0 }
command = { type = add_division which = "2. Lancashire HG" value = militia when = 0 }

command = { type = add_corps which = "North Midland Home Guard" value = land where = 13 }
command = { type = add_division which = "1. North Midland HG" value = garrison when = 0 }
command = { type = add_division which = "2. North Midland HG" value = militia when = 0 }

command = { type = add_corps which = "Liverpool Home Guard" value = land where = 14 }
command = { type = add_division which = "1. Liverpool HG" value = garrison when = 0 where = anti_air }
command = { type = add_division which = "2. Liverpool HG" value = militia when = 0 }

command = { type = add_corps which = "Norfolk Home Guard" value = land where = 17 }
command = { type = add_division which = "1. Norfolk HG" value = garrison when = 0 where = anti_air }
command = { type = add_division which = "2. Norfolk HG" value = militia when = 0 }

command = { type = add_corps which = "London Home Guard" value = land where = 19 }
command = { type = add_division which = "1. London HG" value = garrison when = 0 where = anti_air }
command = { type = add_division which = "2. London HG" value = garrison when = 0 where = anti_air }
command = { type = add_division which = "3. London HG" value = garrison when = 0 where = anti_air }
command = { type = add_division which = "4. London HG" value = militia when = 0 where = armored_car }
command = { type = add_division which = "5. London HG" value = militia when = 0 where = armored_car }
command = { type = add_division which = "6. London HG" value = militia when = 0 where = armored_car }

command = { type = add_corps which = "Kent Home Guard" value = land where = 20 }
command = { type = add_division which = "1. Kent HG" value = garrison when = 0 }
command = { type = add_division which = "2. Kent HG" value = militia when = 0 }

command = { type = add_corps which = "Hampshire Home Guard" value = land where = 21 }
command = { type = add_division which = "1. Hampshire HG" value = garrison when = 0 where = anti_air }
command = { type = add_division which = "2. Hampshire HG" value = militia when = 0 }

command = { type = add_corps which = "Somerset Home Guard" value = land where = 22 }
command = { type = add_division which = "1. Somerset HG" value = garrison when = 0 }
command = { type = add_division which = "2. Somerset HG" value = militia when = 0 }

command = { type = add_corps which = "Devon Home Guard" value = land where = 23 }
command = { type = add_division which = "1. Devon HG" value = garrison when = 0 where = anti_air }
command = { type = add_division which = "2. Devon HG" value = militia when = 0 }

command = { type = add_corps which = "Ulster Home Guard" value = land where = 28 }
command = { type = add_division which = "1. Ulster HG" value = garrison when = 0 }
command = { type = add_division which = "2. Ulster HG" value = militia when = 0 }
}
}