Open main menu

Mandate modding

Version

Outliner top.png
Please help with verifying or updating older sections of this article. At least some were last verified for version 2.6.

This article is for the PC version of Stellaris only.

This page is about modding Mandates.

They are defined at "common/mandates/xxx.txt".

Data StructureEdit

  • valid - A block of Conditions to check if a Leader can have this Mandate. (Leader scope)
  • parameters - Actual functionality is unclear.
  • on_term_started - A block of Effects to be executed when the term of a Leader of this Mandate is started. (Leader scope)
  • on_term_ended - A block of Effects to be executed when the term of a Leader of this Mandate is ended. (Leader scope)

Whenever a leader becomes the ruler or a candidate of an Empire with an Authority that has use_mandates = yes, a random Mandate is selected for the leader. It will change the Mandate next time it become a candidate again.

All other mechanics were implemented through Special Projects and Events. See Special Project modding and Event modding for details.

Unlike Agendas, the Mandates don't have some sort of weight. All capable Mandates will appear in an equal chance.

In-game texts claim that a leader failed to fulfill its Mandate will become less likely to win the next election, but this has never been implemented since Stellaris v1.0 and until now.

All the principles the voters will follow is that they will vote for the candidates in the same faction as them or how many times was the candidate supported by the player. There is no way to modify how likely a Pop will support a candidate.

There is a Condition to check the Mandate: has_mandate = <mandate key>, but there are no Effects to change the Mandate.

ExamplesEdit

UrbanizerEdit

mandate_district_city = {
	valid = {
		exists = owner
		owner = {
			NOT = { has_origin = origin_void_dwellers }
			any_owned_planet = {
				free_district_slots >= 2
			}
		}
	}
	parameters = {}

	on_term_started = {
		owner = {
			begin_event_chain = {
				event_chain = "mandate_district_city_chain"
				target = this
			}
		}
	}

	on_term_ended = {
		owner = {
			if = { limit = { is_ai = no } 	log = "mandate_districts_city end_of_term fired for player" }
			if = { limit = { is_ai = yes } 	log = "mandate_districts_city end_of_term fired for AI" }
			country_event = { id = mandate.185 }
		}
	}
}
Empire EmpireEthicsGovernments • Civics • OriginsMandatesAgendasTraditions • Ascension PerksEdictsPoliciesRelicsTechnologiesCustom Empires
Pops JobsFactions
Leaders LeadersLeader Traits
Species SpeciesSpecies Traits
Planets PlanetsPlanetary Feature • Orbital DepositBuildings • DistrictsPlanetary Decisions
Systems SystemsStarbasesMegastructuresBypassesMap
Fleets FleetsShips • Components
Land Warfare ArmiesBombardment Stance
Diplomacy Diplomacy • Federations • Galactic CommunityOpinion ModifiersCasus Belli • War Goals
Events EventsAnomaliesSpecial projectsArchaeological Sites
Gameplay GameplayDefinesResources • Economy
Dynamic modding Dynamic moddingEffectsConditionsScopesModifiersVariablesAI
Media/localisation Maya exporterGraphicsPortraitsFlagsEvent picturesInterfaceIconsMusicLocalisation
Other Console commandsSave-game editingSteam Workshop