Open main menu

Empire of China modding

Empire of China Reforms are found at /Europa Universalis IV/common/imperial_reforms. Empire of China Decrees are found at /Europa Universalis IV/common/decrees.

Adding a Chinese reformEdit

All Chinese Reforms must be named uniquely. A Chinese Reform follows this format:

<name> = {
	# Only valid with "hre" or "celestial_empire"
	empire = celestial_empire

	# Permanent modifiers applied after taking reform
	emperor = {
		<modifiers>
	}

	# Optional. Use a preceding reform.
	required_reform = <chinese reform>
}

Adding a Chinese decreeEdit

All Chinese Decree must be named uniquely. A Chinese Decree follows this format:

# cost is the Meritocracy cost
# duration is in days
# ai_will_do has to be 10 for AI to do it (with >=99 Meritocracy).

expand_bureaucracy_decree = {
	cost = <int>
	duration = <int>

	# Active modifiers for the duration of the decree.
	modifier = {
		<modifiers>
	}

	# Chance the AI will enact.
	ai_will_do = {
		factor = <int>
		
		* Optional.
		modifier = {
			<triggers>
		}
	}
}

LocalisationEdit

Chinese Reforms follow this format:

<name>: "Name"
<name>_title: "Name"

# Optional.
<name>_desc: "Description"

Chinese Decrees follow this format:

<name>: "Name"
<name>_emperor: "Name"
<name>_desc: "Description"
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