GammaAge/_content/ga_scripts/mut_t_plantonly.nss
Jaysyn904 ef4f0bb717 More mutation test scripts
More mutation test scripts.
2022-03-21 21:09:50 -04:00

40 lines
1.1 KiB
Plaintext

//::///////////////////////////////////////////////////////////////////////////
//:: 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);
}
}