Home
Contents
Explore
Search

set_char_flag

Command
Console Command set_char_flag
Command Parameter 1
Command Parameter 2
Description Sets a flag for a character
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.
add_diplomacy
Console Command
add_diplomacy
Description
Modifies the base of a character's diplomacy attribute
Read More
clr_focus
Console Command
clr_focus
Description
Clears the focus of a character
Read More
quickbuild
Console Command
quickbuild
Description
Player's constructions are finished immediately
Read More
decision
Console Command
decision
Description
Executes a decision
Read More
secret_religion
Console Command
secret_religion
Description
Sets a character's secret religion.
Read More
join_society
Console Command
join_society
Description
Join a society. Valid society names are: monastic_order_benedictine, monastic_order_dominican, monastic_order_orthodox, monastic_order_nestorian, monastic_order_monophysite, monastic_order_hindu, monastic_order_buddhist, monastic_order_jain, hermetics, the_assassins, the_satanists, the_trollcrafters, the_cult_of_kali, the_cold_ones, the_plaguebringers, and secret_religious_society_.
Read More
validate_laws
Console Command
validate_laws
Description
Validates the laws of a characters primary holding
Read More
set_society_grandmaster
Console Command
set_society_grandmaster
Description
Sets the grandmaster of the society you're in to the given character
Read More
kill_yourself
Console Command
kill_yourself
Description
Kills your character. Does not work ("Not today QA!"). Use die instead.
Read More
enforce_peace
Console Command
enforce_peace
Description
Triggers the enforce peace mechanic in the player's realm. Council must be empowered, other requirements are waived. seems to be ignored, confirmation needed.
Read More
culture
Console Command
culture
Description
Sets a character's culture
Read More
imprison
Console Command
imprison
Description
Imprisons a character by another character
Read More
set_government
Console Command
set_government
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)
Read More
piety
Console Command
piety
Description
Adds piety to the player (default 5000)
Read More
add_intrigue
Console Command
add_intrigue
Description
Modifies the base of a character's intrigue attribute
Read More
society_currency
Console Command
society_currency
Description
Adds society currency to the player (default 5000)
Read More
infamy
Console Command
infamy
Description
Sets the infamy of the player
Read More
destroy_artifact
Console Command
destroy_artifact
Description
Removes an artifact from the given character, destroying it
Read More
score
Console Command
score
Description
Adds score to the player (default 5000)
Read More
leave_society
Console Command
leave_society
Description
Leave a society
Read More