generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload
This commit is contained in:
25
_mod/_module/nss/oe_temple_mm.nss
Normal file
25
_mod/_module/nss/oe_temple_mm.nss
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user