Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Commit

Permalink
Add miaphysite religion mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Idhrendur committed Oct 28, 2012
1 parent d7b545d commit c4cc492
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ link = { ck2 = lollard eu3 = lollard }
link = { ck2 = orthodox eu3 = orthodox }
link = { ck2 = bogomilist eu3 = bogomilist }
link = { ck2 = iconoclast eu3 = iconoclast }
link = { ck2 = miaphysite eu3 = misphysite }
link = { ck2 = monophysite eu3 = monophysite }
link = { ck2 = nestorian eu3 = nestorian }
link = { ck2 = sunni eu3 = sunni }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,25 @@ christian = {
}

}

miaphysite = {
color = { 0.8 0.4 0.1 }

allowed_conversion = {
orthodox
}

province = {
stability_cost = 30
}

country = {
missionaries = 0.25
missionary_placement_chance = 0.05
tolerance_heretic = 1
}

}

nestorian = {
color = { 0.6 0.2 0.2 }
Expand Down
3 changes: 2 additions & 1 deletion Data Files/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,5 @@ Revision Log Message
214 1.06 saves don't lose muslim buildings when converted by a 1.07 install
215 Apply change 213 to test configs
216 Convert tech
217 Tech investment
217 Tech investment
218 Add miaphysite religion mapping
1 change: 1 addition & 0 deletions Data Files/religion_mappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ link = { ck2 = lollard eu3 = catholic }
link = { ck2 = orthodox eu3 = orthodox }
link = { ck2 = bogomilist eu3 = orthodox }
link = { ck2 = iconoclast eu3 = orthodox }
link = { ck2 = miaphysite eu3 = orthodox }
link = { ck2 = monophysite eu3 = orthodox }
link = { ck2 = nestorian eu3 = orthodox }
link = { ck2 = sunni eu3 = sunni }
Expand Down
4 changes: 2 additions & 2 deletions Source/EU3World/EU3Province.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ void EU3Province::determineCulture(const cultureMapping& cultureMap, const vecto
culture = topCulture;
}


#pragma optimize("", off)
void EU3Province::determineReligion(const religionMapping& religionMap, const vector<CK2Province*>& srcProvinces)
{

Expand Down Expand Up @@ -631,7 +631,7 @@ void EU3Province::determineReligion(const religionMapping& religionMap, const ve
log("\tError: could not map religion %s to any EU3 religions (province %d: %s)\n", topReligion.c_str(), num, capital.c_str());
}
}

#pragma optimize("", off)

void EU3Province::setManpower(double _manpower)
{
Expand Down

0 comments on commit c4cc492

Please sign in to comment.