Religion modding

From Imperator Wiki
Jump to navigation Jump to search


Modding Religons[edit]

The religion file handles religion color and the passive religious bonus, if you want to change a character's religion see character modding, if you want to change a country's religion see country modding, and if you want to change province religion, that is handled by the province_setup.csv file.

Religions[edit]

The religion files defines the color on the map and the passive bonus. The modifier must be a country scoped modifier.

roman_pantheon = { # Hellenic
	color = hsv { 0.65  0.7  0.8 }
	global_citizen_happyness = 0.1
}

Omens[edit]

There are 8 omens for each country, no more no less. Omens scope to the country level. Omens do not have to be unique to particular religions, nor they even technically need to be defined by religion in the first place, but they usually are. Below is an example of the Pontic Hellenistic Omens, which are rather unique in vanilla in that they are tied to 3 religions instead of one, presented as an example of what can be done for omens thinking outside the box of a particular religion.


### Spot 1 ###
omen_hellenistic_heracles = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_war
	discipline = 0.06
}

### Spot 2 ###
omen_hellenistic_zeus_stratios = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_vigor
	manpower_recovery_speed = 0.10
}

### Spot 3 ###
omen_hellenistic_selene = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_wisdom
	research_points_modifier = 0.10
}

### Spot 4 ###
omen_hellenistic_cybele = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_wealth
	war_no_cb_cost_modifier = -0.25
}

### Spot 5 ### 
omen_hellenistic_mithra = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_eloquence
	monthly_corruption = -0.10
}

### Spot 6 ###
omen_hellenistic_men = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_commerce
	global_monthly_state_loyalty = 0.05
}

### Spot 7 ###
omen_hellenistic_aphrodite = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_peace
	monthly_governor_loyalty = 0.05
}

### Spot 8 ###
omen_hellenistic_dionysus = {
	trigger = {
		OR = {
			religion = roman_pantheon
			religion = anatolian_religion
			religion = zoroaster
		}
		has_variable = hellenistic_omens
		tag = PON
	}
	icon = omen_love
	happiness_for_same_religion_modifier = 0.10
}

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