Started on mutation test scripts
Started on mutation test scripts.
This commit is contained in:
40
_content/ga_scripts/mut_t_plantonly.nss
Normal file
40
_content/ga_scripts/mut_t_plantonly.nss
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user