Module commit

Module commit.
This commit is contained in:
Jaysyn904
2024-06-14 10:48:20 -04:00
parent 079830314c
commit f5ffe7d0b9
11110 changed files with 4747686 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#include "deity_include"
int StartingConditional()
{
object oPC = GetPCSpeaker();
string sDeity = GetDeity(OBJECT_SELF);
SetLocalString(oPC,"Deity",sDeity);
SetCustomToken(270, GetDeity(OBJECT_SELF));
SetCustomToken(271, GetLocalString(OBJECT_SELF,"Title"));
SetCustomToken(272, GetLocalString(OBJECT_SELF,"Description"));
SetCustomToken(273, GetLocalString(OBJECT_SELF,"Domains"));
SetCustomToken(274, GetLocalString(OBJECT_SELF,"Alignment"));
SetCustomToken(275, GetLocalString(OBJECT_SELF,"Weapon"));
Race_Check(oPC);
Align_Check(oPC);
Domain_Check(oPC);
int iRace = GetLocalInt(oPC,"Race");
int iAlign = GetLocalInt(oPC,"Align");
int iDomain = GetLocalInt(oPC,"Domain");
if (GetDeity(oPC)!= GetDeity(OBJECT_SELF)) return FALSE;
if ((iRace!=1)||(iAlign!=1)||(iDomain!=1)) return FALSE;
return TRUE;
}