Governor policy modding

From Imperator Wiki
Jump to navigation Jump to search


Modding Governor Policies[edit]

Modding governor policies can be done by editing "ImperatorRome\game\common\governor_policies\00_default.txt". There's two parts, the actual effects of the policy and the chance that the policy will be adopted. For instance, say you wanted to mod it so that loyal governors would be less likely to use the "bleed them dry" policy, because it has limited usefulness. All you have to do is add a modifier or two for governor loyalty.

bleed_them_dry = {
	province = {
		local_monthly_food_modifier = -0.25
		local_unrest = 2
		local_tax_modifier = 0.3
		state_commerce_modifier = 0.2
	}

	chance = {
	        modifier = {
			subtract = 10
			governor_or_ruler = { loyalty  >= 90 }
		}
                modifier = {
			subtract = 5
			governor_or_ruler = { loyalty  >= 70 }
		}
                modifier = {
			subtract = 5
			governor_or_ruler = { loyalty  >= 50 }
		}
		modifier = {
			add = 5
			governor_or_ruler = { has_trait = miserly }
		}
                
		modifier = {
			add = 5
			governor_or_ruler = { has_trait = shrewd }
		}
		modifier = {
			add = 10
			governor_or_ruler = { corruption >= 30 }
		}
		modifier = {
			factor = 0
			governor_or_ruler = { is_ruler = yes }
		}
		
	}
}

Documentation EffectsTriggersModifiersScopesVariablesData TypesLocalisationCustomizable localization
Scripting AIBuildingsCasus belliCharacterCharacter InteractionsCombat TacticsCountriesCultureDecisionsDefinesEconomic PoliciesEventsEthnicitiesGovernmentGovernor PoliciesIdeasModifiersMilitary TraditionsOfficesOn ActionsPartiesPricesPopsReligionScript ValuesScript ModifiersSetupSubject TypesTechnologyTrade goodsTraitsUnits
Map MapTerrain
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumMod structureTroubleshooting