Aschbourne_PRC8/_module/nss/deity_cleric.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

30 lines
811 B
Plaintext

#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;
}