* fix pronouns.. again

This commit is contained in:
alison wright 2022-07-10 11:33:47 -06:00
parent 502aaf455b
commit a7b1e0d86e

View File

@ -2,7 +2,7 @@ class VhtQuest abstract play {
int m_mapNum, m_step;
VhtHubQuest m_hubQuest;
static const string m_pronouns[] = {
"I", "me", "my",
"I", "my", "me",
"we", "our", "us",
"we&", "our&", "us&"
};
@ -16,8 +16,8 @@ class VhtQuest abstract play {
virtual void vhtPreTravelled() {}
virtual ui string vhtDescribe(int pronouns) {
let s = StringTable.localize("$VHT_QST_" .. m_mapNum .. "_" .. m_step);
s.replace("@=", m_pronouns[1 + 3 * pronouns]);
s.replace("@'", m_pronouns[2 + 3 * pronouns]);
s.replace("@=", m_pronouns[2 + 3 * pronouns]);
s.replace("@'", m_pronouns[1 + 3 * pronouns]);
s.replace("@", m_pronouns[0 + 3 * pronouns]);
return s;
}