Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
great mod!
Yesterday I thought a bit more about my suggestion of separate "count" variables and I realized you'd need separate "cumulative faith" variables for each city as well.
Even worse, for each turn you'd have to add/delete columns (rows?) in your array since the # of cities may have changed since the previous turn (all while preserving the data in specific columns, which may not be in order). For example, if you originally had 3 cities but City #2 gets conquered, then you'd need to decrease array size by 1 AND take out column #2 while preserving columns #1 and #3. Sounds like a pain.
end
else if pCapital:IsReligionInCity() and (not pPlayer:HasCreatedReligion()) then
should be either
1) change" else if" to "if"
end
if pCapital:IsReligionInCity() and (not pPlayer:HasCreatedReligion()) then
or 2) use "else if" and take out "end" (but then you don't need the 2nd condition)
else if pCapital:IsReligionInCity() then
In short, it's a simple if/else if syntax error.