总督政策修改

本页面所适用的版本可能已经过时,最后更新于1.0



Modding Governor Policies

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 }
		}
		
	}
}