platyping
Sleeping Dragon
Playing around with string functions.
If I print sReligion directly, it will display as Jewish, Hindu etc, but when I print ABC, it displays as TXT_KEY_RELIGION_TAOISM_ADJECTIVE_TEMPLE instead.
On the other hand, if I use getDescription instead of AdjectiveKey, it will display as Taoism, followed by TAOISM_TEMPLE correctly.
Any idea why is it so funny with the getAdjectiveKey
Code:
ReligionInfo = gc.getReligionInfo(iReligion)
sReligion = ReligionInfo.getAdjectiveKey()
ABC = sReligion.upper() + "_TEMPLE"
If I print sReligion directly, it will display as Jewish, Hindu etc, but when I print ABC, it displays as TXT_KEY_RELIGION_TAOISM_ADJECTIVE_TEMPLE instead.
On the other hand, if I use getDescription instead of AdjectiveKey, it will display as Taoism, followed by TAOISM_TEMPLE correctly.
Any idea why is it so funny with the getAdjectiveKey
