Open main menu

Parliament modding

Parliament Bribes are found at /Europa Universalis IV/common/parliament_bribes/. Parliament Issues are found at /Europa Universalis IV/common/parliament_issues/.

Adding a BribeEdit

All bribes must be named uniquely. A bribe follows this format:

#FROM = province
<name> = {
	# If bribe targets a certain province use scope FROM
	# Otherwise, use normal triggers
	trigger = {
		<triggers>
	}

	# Action that occurs when bribe is enacted. Uses normal command effects.
	effect = {
		<effects>
	}
	
	# The importance the AI places on enacting this reform relative to other bribes
	ai_will_do = {
		factor = <int>
	}
}

Adding an IssueEdit

All issues must be named uniquely. An issue follows this format:

<name> = {
	# 1, 2, or 3; meaning mil, dip, or adm, respectively.
	category = <int>

	# The conditions that allow the issue to be available.
	allow = {
		<triggers>
	}
	
	# Optional. Commands executed upon enacting the issue
	effect = {
		<effects>
	}
	
	# Optional. Modifier applied for the duration of the downtime between debates.
	modifier = {
		<modifier>
	}
	
	# Chance for issue to appear.
	chance = {
		factor = <int>
		modifier = {
			factor = <int>
			<triggers>
		}
	}

	# Chance AI will enact it
	ai_will_do = {
		factor = <int>
		modifier = {
			factor = <int>
			<triggers>
		}
	}
}

LocalisationEdit

Localization for Bribes follows this format:

<name>: "name"

Localization for Issues follows this format:

<name>: "name"
Documentation EffectsTriggersModifiersScopesVariablesLocalisationCustomizable localizationRun files
Scripting AdvisorsAgesBookmarksBuildingsCasus belliColonial regionsCountriesCultureDecisionsDefinesDiplomatic actionsDisastersEstatesEventsFactionsGovernmentGreat projectsHistoryIdea groupsInstitutionsMissionsModifiersNation designerPoliciesReligionRebel typesSubject typesTechnologyTrade companiesTrade goodsUnits
Map MapRandom New WorldTrade nodes
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumJoroDox mod making toolMod structureTroubleshootingThe ValidatorRun files
Guides Adding a provinceSave-game editing