Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KI Easter Egg Updates/Age Constants #682

Merged
merged 1 commit into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 30 additions & 0 deletions Scripts/Python/ki/xKIChat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,30 @@ def GetFeather(self, params):
self.chatMgr.AddChatLine(None, "You search... but find no other feathers.", 0)
else:
self.chatMgr.AddChatLine(None, "You search... but then suddenly stop when you realize that you are missing the \"Duck\" feather.", 0)
elif currentAge == "GoMePubNew":
if self.chatMgr.gFeather == 13:
self.chatMgr.AddChatLine(None, "You search... and find a \"Yellow\" feather and put it in your pocket.", 0)
self.chatMgr.gFeather += 1
elif self.chatMgr.gFeather > 13:
self.chatMgr.AddChatLine(None, "You search... but find no other feathers.", 0)
else:
self.chatMgr.AddChatLine(None, "You search... but then suddenly stop when you realize that you are missing the \"Rukh\" feather.", 0)
elif currentAge == "ChisoPreniv":
if self.chatMgr.gFeather == 14:
self.chatMgr.AddChatLine(None, "You search... and find a \"Raven\" feather and put it in your pocket.", 0)
self.chatMgr.gFeather += 1
elif self.chatMgr.gFeather > 14:
self.chatMgr.AddChatLine(None, "You search... but find no other feathers.", 0)
else:
self.chatMgr.AddChatLine(None, "You search... but then suddenly stop when you realize that you are missing the \"Yellow\" feather.", 0)
elif currentAge == "VeeTsah":
if self.chatMgr.gFeather == 15:
self.chatMgr.AddChatLine(None, "You search... and find a \"Dove\" feather and put it in your pocket.", 0)
self.chatMgr.gFeather += 1
elif self.chatMgr.gFeather > 15:
self.chatMgr.AddChatLine(None, "You search... but find no other feathers.", 0)
else:
self.chatMgr.AddChatLine(None, "You search... but then suddenly stop when you realize that you are missing the \"Raven\" feather.", 0)
else:
self.chatMgr.AddChatLine(None, "There are no feathers here.", 0)
return
Expand Down Expand Up @@ -1300,6 +1324,12 @@ def LookForFeathers(self, params):
pOut += " and a \"Duck\" feather"
if self.chatMgr.gFeather > 12:
pOut += " and a large \"Rukh\" feather (sticking out of your pocket)"
if self.chatMgr.gFeather > 13:
pOut += " and a \"Yellow\" feather"
if self.chatMgr.gFeather > 14:
pOut += " and a \"Raven\" feather"
if self.chatMgr.gFeather > 15:
pOut += " and a \"Dove\" feather"
pOut += "."
self.chatMgr.AddChatLine(None, pOut, 0)
else:
Expand Down
24 changes: 17 additions & 7 deletions Scripts/Python/ki/xKIConstants.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
"Cleft" : {"see" : "You see sand for as far as the eye can see. Gonna need a vehicle of some sort.",
"exits" : "... well, I don't know. Maybe you can ask the old man (if he ever stops listening to that music!).",
"people" : "an old man. Ok, maybe he's not standing. BTW, wasn't he on M*A*S*H?"},
"GoMePubNew" : {"see" : "You are in a festively yet dimly lit Pub. The echoes of Messenger work and play echo along the walls of the massive main chamber.",
"exits" : "... wait, where ARE the exits? Who built this place anyway?",
"people" : "You see many people...unless you are here by yourself...in which case, you don't."},
"ChisoPreniv" : {"see" : "All around you are bookshelves upon bookshelves but not a book to read. To the south is a large set of windows that reveal a vast landscape that you'll never be able to access.",
"exits" : " ... I guess in this library, the only exit is through the window, but let's not do that"},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:trollface:

}

## Constants for Age display names.
Expand All @@ -113,14 +118,14 @@ class kAges:
"EderTsogal" : "Eder Tsogal",
"Er'canaCitySilo" : "D'ni-Ashem'en",
"ErcanaCitySilo" : "D'ni-Ashem'en",
"GreatTreePub" : "The Watcher's Pub",
"GreatTreePub" : "D'ni-Watcher's Pub",
"Great Zero" : "D'ni-Rezeero",
"GreatZero" : "D'ni-Rezeero",
"GuildPub-Cartographers" : "The Cartographers' Pub",
"GuildPub-Greeters" : "The Greeters' Pub",
"GuildPub-Maintainers" : "The Maintainers' Pub",
"GuildPub-Messengers" : "The Messengers' Pub",
"GuildPub-Writers" : "The Writers' Pub",
"GuildPub-Cartographers" : "D'ni-Cartographers' Pub",
"GuildPub-Greeters" : "D'ni-Greeters' Pub",
"GuildPub-Maintainers" : "D'ni-Maintainers' Pub",
"GuildPub-Messengers" : "D'ni-Messengers' Pub",
"GuildPub-Writers" : "D'ni-Writers' Pub",
"Kirel" : "D'ni-Kirel",
"K'veer" : "D'ni-K'veer",
"Kveer" : "D'ni-K'veer",
Expand All @@ -130,9 +135,14 @@ class kAges:
"Shaft" : "D'ni-Tiwah",
"Spy Room" : "D'ni-Ae'gura",
"spyroom" : "D'ni-Ae'gura",
## Fan Ages
"Trebivdil" : "Tre'bivdil",
"trebivdil" : "Tre'bivdil",
"vothol" : "Vothol Gallery"}
"vothol" : "D'ni-Vothol Gallery",
"FehnirHouse" : "D'ni-Fehnir's House",
"GoMePubNew" : "D'ni-Messengers' Pub - Ae'gura",
"ChisoPreniv" : "Chiso Preniv",
"VeeTsah" : "Veelay Tsahvahn"}
Hide = {"BahroCave", "PelletBahroCave", "Pellet Cave", "LiveBahroCave", "LiveBahroCaves"}
NoInvite = {"Personal", "Nexus", "Cleft", "AvatarCustomization", "city",
"BahroCave", "LiveBahroCave", "LiveBahroCaves",
Expand Down