How do i make conscriptions types disabled?

So in my mod i wanna make a country that starts off in a tough spot. I would like to make it so that they cant just change to limited conscription when they start as disarmed


(also could you tell how to switch it via focus)

It seems you'd have to copy the default _manpower ideas file, and edit it there, as this is how the base-game limited conscription restrictions work:

limited_conscription = {


cost = 150

removal_cost = -1

level = 5


available = {

#has_manpower_for_recruit_change_to =  { value = 0.025 group = mobilization_laws }

has_war_support > 0.1

NOT = { has_idea = undisturbed_isolation }

NOT = { has_idea = isolation }

if = {

limit = {

original_tag = AST

has_dlc = "Together for Victory"

}

has_completed_focus = AST_citizen_military_forces

}

if = {

limit = {

original_tag = CAN

has_dlc = "Together for Victory"

}

has_completed_focus = CAN_commit_to_the_war

}

if = {

limit = {

original_tag = RAJ

has_dlc = "Together for Victory"

}

is_subject = no

}


if = {

limit = {

original_tag = HUN

has_dlc = "Death or Dishonor"

}

NOT = { has_idea = HUN_treaty_of_triannon }

}

if = {

limit = {

original_tag = ENG

has_dlc = "Man the Guns"

has_completed_focus = ENG_concessions_to_the_trade_unions

}

NOT = { has_country_flag = ENG_cannot_increase_conscription_law }

}

if = {

limit = {

original_tag = SPR

has_dlc = "La Resistance"

}

NOT = { has_completed_focus = SPR_all_must_bear_the_torch }

}

if = {

limit = {

original_tag = BUL

has_dlc = "Battle for the Bosporus"

}

NOT = { has_idea = BUL_army_restrictions }

}

}


modifier = {

conscription = 0.025

}


ai_will_do = {

    factor = 1

modifier = {

# Ignore if high on manpower

factor = 0.5

manpower_per_military_factory > 5000

}

modifier = {

#Prio if low on manpower

factor = 20

manpower_per_military_factory < 1000

}

modifier = {

tag = ENG

has_idea_with_trait = military_theorist

factor = 20

}

}


cancel_if_invalid = no

}



As for switching via a focus:

I would assume it works the same as economic laws, just doing:

add_ideas = LAW_ID