Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,36 @@
//::///////////////////////////////////////////////
//:: Name Necropolitan template test script
//:: FileName tmp_t_necropol
//::
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Tenjac
//:: Created On: 5/6/28
//:://////////////////////////////////////////////
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//if it's already undead, it can't become undead again
if(GetHasTemplate(TEMPLATE_LICH, oPC) ||
/* GetHasTemplate(TEMPLATE_BAELNORN, oPC) || */
GetHasTemplate(TEMPLATE_DEMILICH, oPC) ||
GetLevelByClass(CLASS_TYPE_BAELNORN, oPC) > 0 ||
GetLevelByClass(CLASS_TYPE_LICH, oPC) > 0)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
// Humanoid only
if(!PRCAmIAHumanoid(oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}