Started on mutation test scripts

Started on mutation test scripts.
This commit is contained in:
Jaysyn904
2022-03-19 21:58:35 -04:00
parent 81716e53de
commit 1be77dc35d
16 changed files with 294 additions and 3 deletions

View File

@@ -0,0 +1,40 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Plant Mutations Base template test script
//:: FileName tmp_t_plantonly.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
This script can be used as a base for any plant only mutations.
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/19
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Plants only
int nRace = MyPRCGetRacialType(oPC);
if(nRace != RACIAL_TYPE_PLANT
&& nRace != RACIAL_TYPE_SHRUBO
&& nRace != RACIAL_TYPE_BLOOM
&& nRace != RACIAL_TYPE_MYCO
&& nRace != RACIAL_TYPE_CULEN
&& nRace != RACIAL_TYPE_ENT
&& nRace != RACIAL_TYPE_CREEP)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}