Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2024-11-25 19:36:07 -05:00
parent 256ffe12f7
commit 04165202c0
10228 changed files with 10443677 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
void main()
{
object oPC=GetEnteringObject();
object oMagicMouth=GetNearestObjectByTag("MAGIC_MOUTH",oPC);
object oMod=GetModule();
string sMsg;
string sKey;
string sZodiac;
if (GetIsPC(oPC))
{ // is PC
if (GetLocalInt(oPC,"bTEGodsCompleted"))
{ // already completed
AssignCommand(oMagicMouth,SpeakString("You will not be permitted to challenge the temple a second time!"));
} // already completed
else
{ // give message
sKey=GetLocalString(oMod,"sTempleKeywordName");
sZodiac=GetLocalString(oMod,"sTempleZodiac");
sMsg="You who have entered to challenge the Temple of The Elder gods be warned that the way is frought with peril. ";
sMsg=sMsg+"You will need the key of "+sKey+" and only by the path of "+sZodiac+" will your way be less dangerous.";
sMsg=sMsg+" You first must defeat the mothers of the four elements in order for you way to be opened.";
AssignCommand(oMagicMouth,SpeakString(sMsg));
} // give message
} // is PC
}