Home
Contents
Explore
Search

set_government

Command
Console Command set_government
Command Parameter 1
Command Parameter 2
Description Changes government to specified type (accepted inputs are merchant_republic_government, nomadic_government, feudal_government, theocracy_government, tribal_government, republic_government, muslim_government, theocratic_feudal_government, chinese_imperial_government, confucian_bureaucracy)
Category
Cheat Notes
Note If none is given then the command will default to the player (except for some commands such as age). Most targeted commands accept character IDs as the optional 2nd parameter. Notable exceptions include religion/culture - if the character ID is added it must be the first parameter (for example, "religion orthodox" or "religion 555 orthodox"). If no parameters are listed then assume that the command has a single optional character ID parameter.
Note Character attributes (diplomacy, intrigue, etc.) normally range from 0-20. However, as the attributes are stored in signed bytes, it ranges from -128 to 127. Correspondingly, the maximum base value a character can achieve is 127. Nonetheless, upon loading a savegame, the base value will be reduced to 100 - if it was above this value.

Replace spaces in parameter names with underscore (_)
Note can be found by using the Charinfo function and hovering over the person's name.
validate_government
Console Command
validate_government
Description
Validates government of a character
Read More
event
Console Command
event
Description
Executes an event for yourself or for another character or province.
Read More
run
Console Command
run
Description
Executes script commands from a text file. The file must be in the Documents/Paradox Interactive/Crusader Kings 2/ folder (as appropriate for your OS). Commands will be executed in the scope of the player's character.
Read More
destroy_artifact
Console Command
destroy_artifact
Description
Removes an artifact from the given character, destroying it
Read More
favor_get
Console Command
favor_get
Description
Get a favor from character
Read More
add_trait
Console Command
add_trait
Description
Adds a trait to the character. Opposites traits are checked. Trait names are all lower case. If no character ID is inputted, the trait will be given to the character you are currently playing instead. The same thing also proves true with the remove_trait command.
Read More
add_diplomacy
Console Command
add_diplomacy
Description
Modifies the base of a character's diplomacy attribute
Read More
set_char_flag
Console Command
set_char_flag
Description
Sets a flag for a character
Read More
age
Console Command
age
Description
Modifies a character's age
Read More
add_intrigue
Console Command
add_intrigue
Description
Modifies the base of a character's intrigue attribute
Read More
add_modifier
Console Command
add_modifier
Description
Adds a modifier to a character
Read More
cash (wealth)
Console Command
cash (wealth)
Description
Adds gold (default 5000)
Read More
max_tech
Console Command
max_tech
Description
Maxes out tech in all provinces, or in specified province
Read More
society_rank_down
Console Command
society_rank_down
Description
Ranks player down in society (default 1)
Read More
infamy
Console Command
infamy
Description
Sets the infamy of the player
Read More
score
Console Command
score
Description
Adds score to the player (default 5000)
Read More
validate_lieges
Console Command
validate_lieges
Description
Validates the liege of a title
Read More
give_title
Console Command
give_title
Description
Gives a title to a character
Read More
claim
Console Command
claim
Description
Gives a claim to yourself or another character
Read More
move
Console Command
move
Description
Moves a character to a character's court
Read More