More mutation test scripts

More mutation test scripts.
This commit is contained in:
Jaysyn904 2022-03-21 19:32:47 -04:00
parent 639e995f3f
commit a9971014b4
42 changed files with 1105 additions and 4 deletions

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::////////////////////////////////////////////////////////////////////////////
//:: Name Gas Generation, Caustic template test script
//:: FileName mut_t_acidgas.nss
//:: Copyright (c) 2022 NWNDS
//::////////////////////////////////////////////////////////////////////////////
/*
Gas Generation, Caustic (Physical / Plant)
The character has the ability to produce a visible gas from a specific place on his body (hands, mouth, nose, etc.) chosen by the player,
in a cone up to 25 feet + 5/ CON mod. Any creature within the area of effect must make a Health save (DC equals 10 + MPS mod + ½
char level) or suffer the effects of the gas. Effects last for 1d6 rounds + 1 round per MPS modifier. After release it takes the mutant an
hour to build up a new supply. Roll 1d6 and consult the table below to determine the gas effects. The mutant is immune to his or her
own gas.
[2d6 + CON Bonus Acid Damage, 15' Cone, Reflex save for 1/2 Damage, DC = 10 + 1/2 HD + CON Bonus]
*/
//::////////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//::////////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Any living genotype except pure strain humans, oozes, cyborgs & shapechangers
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_GAS_GENERATION_CAUSTIC, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Hands of Power, Caustic template test script
//:: FileName mut_t_acidhand.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Hands of Power, Caustic (Physical)
The mutants hands (or the equivalent) can emit visible blasts of energy at medium range. The blast
causes 3d6 + MPS modifier damage to a single target if a ranged touch attack is successful.
[50% acid resist. Medium Ranged touch attack 3d6 + CON Bonus acid damage, 1 + CON Bonus /2 Charges, Restore 1 charge per 2 hours]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/20
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice. TODO: Limit Hands of Power abilities to two.
if(GetHasTemplate(MUT_HANDS_CAUSTIC, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Heightened Balance template test script
//:: FileName mut_t_balance.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Heightened Balance (Physical)
The mutant gains a +4 bonus on all Acrobatic skill checks and to CMD vs bull rush, overrun or trip attempts. He rarely loses his balance
and can ignore movement penalties for difficult terrain.
[+4 to Balance & Tumble checks. +4 CMD to Bull Rush, Overrun or Trip attempts. Woodland Stride]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_HEIGHTENED_BALANCE, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::////////////////////////////////////////////////////////////////////////////
//:: Name Gas Generation, Blinding template test script
//:: FileName mut_t_blindgas.nss
//:: Copyright (c) 2022 NWNDS
//::////////////////////////////////////////////////////////////////////////////
/*
Gas Generation, Blinding (Physical / Plant)
The character has the ability to produce a visible gas from a specific place on his body (hands, mouth, nose, etc.) chosen by the player,
in a cone up to 25 feet + 5/ CON mod. Any creature within the area of effect must make a Health save (DC equals 10 + CON mod + ½
char level) or suffer the effects of the gas. Effects last for 1d6 rounds + 1 round per CON modifier. After release it takes the mutant an
hour to build up a new supply. Roll 1d6 and consult the table below to determine the gas effects. The mutant is immune to his or her
own gas.
[Blindness, 15' Cone, DC = 10 + 1/2 HD + CON Bonus]
*/
//::////////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//::////////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Any living genotype except pure strain humans, oozes, cyborgs & shapechangers
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_GAS_GENERATION_BLINDING, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Hands of Power, Shocking template test script
//:: FileName mut_t_acidhand.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Hands of Power, Shocking (Physical)
The mutants hands (or the equivalent) can emit visible blasts of energy at medium range. The blast
causes 3d6 + MPS modifier damage to a single target if a ranged touch attack is successful.
[50% electricity resist. Medium Ranged touch attack 3d6 + CON Bonus shock damage, 1 + CON Bonus /2 Charges, Restore 1 charge per 2 hours]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/20
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice. TODO: Limit Hands of Power abilities to two.
if(GetHasTemplate(MUT_HANDS_SHOCKING, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Hands of Power, Flaming template test script
//:: FileName mut_t_firehand.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Hands of Power, Flaming (Physical)
The mutants hands (or the equivalent) can emit visible blasts of energy at medium range. The blast
causes 3d6 + MPS modifier damage to a single target if a ranged touch attack is successful.
[50% fire resist. Medium Ranged touch attack 3d6 + CON Bonus fire damage, 1 + CON Bonus /2 Charges, Restore 1 charge per 2 hours]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/20
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice. TODO: Limit Hands of Power abilities to two.
if(GetHasTemplate(MUT_HANDS_FLAMING, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -1,10 +1,10 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Fruit, Antibiotic template test script
//:: Name Fruit, Antidote template test script
//:: FileName mut_t_ft_biotic.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Fruit, Antibiotic (Plant)
Fruit, Antidote (Plant)
The plant character grows a fruit (that resembles berries or a chosen type) that has a useful function. The fruit can be any size, from a
strawberry to a melon, and the player can select any colour or texture. Green Folk cannot benefit from eating fruit because of their
unusual digestive systems. The plant can grow 1d3 pieces of fruit overnight, but they must remain on the plant for at least a full day to
@ -13,7 +13,7 @@ particular time. The fruit stays fresh for a month before rotting and falling of
picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruits properties. (All fruit grown by a
particular plant have the same property.)
[Cures disease & Heals 2d6 HP once per day per creature.]
[Cure & Slow Poison, +1 saves vs poison & disease for 1 hour]
*/
//:://////////////////////////////////////////////////////////////////////////
@ -46,7 +46,7 @@ void main()
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_FRUIT_ANTIBIOTIC, oPC))
if(GetHasTemplate(MUT_FRUIT_ANTIDOTE, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}

Binary file not shown.

View File

@ -0,0 +1,56 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Gills template test script
//:: FileName mut_t_gills.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Gills (Physical)
The mutant has the ability to breath water as well as air.
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/19
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_GILLS, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,54 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Healing Touch template test script
//:: FileName mut_t_healhand.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Healing Touch (Physical / Plant)
The mutants touch causes damaged tissue to regenerate, healing wounds suffered
by himself or another living creature. The power can be used a number of times per day equal to
3 + CON modifier.
[25% Radiation Resist. Touch heals 3 + HD / 5 * 1d6 + WIS Bonus, 3 + CON Bonus times per day.]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/20
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice. TODO: Limit Hands of Power abilities to two.
if(GetHasTemplate(MUT_HANDS_HEALING, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Heightened Hearing template test script
//:: FileName mut_t_hearing.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Heightened Hearing (Physical)
The mutant can hear things twice as far away or with twice as much sensitivity. By concentrating, he may be aware of
ultrasonic or subsonic sounds
[Listen + 4, See Invisibility 3x day]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_HEIGHTENED_HEARING, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Hands of Power, Freezing template test script
//:: FileName mut_t_icehand.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Hands of Power, Freezing (Physical)
The mutants hands (or the equivalent) can emit visible blasts of energy at medium range. The blast
causes 3d6 + MPS modifier damage to a single target if a ranged touch attack is successful.
[50% cold resist. Medium Ranged touch attack 3d6 + CON Bonus cold damage, 1 + CON Bonus /2 Charges, Restore 1 charge per 2 hours]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/20
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice. TODO: Limit Hands of Power abilities to two.
if(GetHasTemplate(MUT_HANDS_FREEZING, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,61 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Heightened Prescision template test script
//:: FileName mut_t_precision.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Heightened Prescision (Physical)
The character has an uncanny ability to aim or place things precisely. This
does not affect the other aspects of his Dexterity. The mutant gains Precise
Shot as a bonus feat.
[Point-Blank Shot, +1 AB w/ ranged attacks]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_HEIGHTENED_PRECISION, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::////////////////////////////////////////////////////////////////////////////
//:: Name Gas Generation, Sleeping template test script
//:: FileName mut_t_sleepgas.nss
//:: Copyright (c) 2022 NWNDS
//::////////////////////////////////////////////////////////////////////////////
/*
Gas Generation, Sleeping (Physical / Plant)
The character has the ability to produce a visible gas from a specific place on his body (hands, mouth, nose, etc.) chosen by the player,
in a cone up to 25 feet + 5/ CON mod. Any creature within the area of effect must make a Health save (DC equals 10 + CON mod + ½
char level) or suffer the effects of the gas. Effects last for 1d6 rounds + 1 round per CON modifier. After release it takes the mutant an
hour to build up a new supply. Roll 1d6 and consult the table below to determine the gas effects. The mutant is immune to his or her
own gas.
[Sleep, 15' Cone, DC = 10 + 1/2 HD + CON Bonus]
*/
//::////////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//::////////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Any living genotype except pure strain humans, oozes, cyborgs & shapechangers
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_GAS_GENERATION_SLEEP, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Heightened Smell template test script
//:: FileName mut_t_smell.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Heightened Smell (Physical)
The mutant can identify and distinguish individuals by smell. He gains the Scent
extraordinary ability
[Scent, See Invisibility 3x day]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_HEIGHTENED_SMELL, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Heightened Speed template test script
//:: FileName mut_t_speed.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Heightened Speed (Physical)
The mutant gains a bonus of +10 to his base ground speed. He gains Run as a
bonus feat.
[Base speed +10, Run feat?]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_HEIGHTENED_SPEED, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::////////////////////////////////////////////////////////////////////////////
//:: Name Gas Generation, Paralytic template test script
//:: FileName mut_t_stopgas.nss
//:: Copyright (c) 2022 NWNDS
//::////////////////////////////////////////////////////////////////////////////
/*
Gas Generation, Paralytic (Physical / Plant)
The character has the ability to produce a visible gas from a specific place on his body (hands, mouth, nose, etc.) chosen by the player,
in a cone up to 25 feet + 5/ CON mod. Any creature within the area of effect must make a Health save (DC equals 10 + CON mod + ½
char level) or suffer the effects of the gas. Effects last for 1d6 rounds + 1 round per CON modifier. After release it takes the mutant an
hour to build up a new supply. Roll 1d6 and consult the table below to determine the gas effects. The mutant is immune to his or her
own gas.
[Paralysis, 15' Cone, DC = 10 + 1/2 HD + Con Bonus]
*/
//::////////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//::////////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Any living genotype except pure strain humans, oozes, cyborgs & shapechangers
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_GAS_GENERATION_PARALYTIC, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Heightened Touch template test script
//:: FileName mut_t_touch.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Heightened Touch (Physical)
The mutant's sense of touch becomes fine enough to distinguish slight changes i
n texture, moisture, temperature, residues etc
[Tremorsense, +3 craft skills]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_HEIGHTENED_TOUCH, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::////////////////////////////////////////////////////////////////////////////
//:: Name Gas Generation, Hallucinagenic template test script
//:: FileName mut_t_tripgas.nss
//:: Copyright (c) 2022 NWNDS
//::////////////////////////////////////////////////////////////////////////////
/*
Gas Generation, Hallucinagenic (Physical / Plant)
The character has the ability to produce a visible gas from a specific place on his body (hands, mouth, nose, etc.) chosen by the player,
in a cone up to 25 feet + 5/ CON mod. Any creature within the area of effect must make a Health save (DC equals 10 + CON mod + ½
char level) or suffer the effects of the gas. Effects last for 1d6 rounds + 1 round per CON modifier. After release it takes the mutant an
hour to build up a new supply. Roll 1d6 and consult the table below to determine the gas effects. The mutant is immune to his or her
own gas.
[Confusion, 15' Cone, DC = 10 + 1/2 HD + CON Bonus]
*/
//::////////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//::////////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Any living genotype except pure strain humans, oozes, cyborgs & shapechangers
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_GAS_GENERATION_HALLUCINOGENIC, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,60 @@
//::///////////////////////////////////////////////////////////////////////////
//:: Name Heightened Vision template test script
//:: FileName mut_t_vision.nss
//:: Copyright (c) 2022 NWNDS
//::///////////////////////////////////////////////////////////////////////////
/*
Heightened Vision (Physical)
The mutant can see twice the distance compared to most creatures. They gain
Low-Light vision
[Low-light Vision, Spot +2 & Search +2]
*/
//:://////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//:://////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: No pure strain humans, plants, oozes, cyborgs, shapechangers or non-living genotypes
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_PLANT
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHRUBO
|| nRace == RACIAL_TYPE_BLOOM
|| nRace == RACIAL_TYPE_MYCO
|| nRace == RACIAL_TYPE_CULEN
|| nRace == RACIAL_TYPE_ENT
|| nRace == RACIAL_TYPE_CREEP
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_HEIGHTENED_VISION, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.

View File

@ -0,0 +1,55 @@
//::////////////////////////////////////////////////////////////////////////////
//:: Name Gas Generation, Weakening template test script
//:: FileName mut_t_weakgas.nss
//:: Copyright (c) 2022 NWNDS
//::////////////////////////////////////////////////////////////////////////////
/*
Gas Generation, Weakening (Physical / Plant)
The character has the ability to produce a visible gas from a specific place on his body (hands, mouth, nose, etc.) chosen by the player,
in a cone up to 25 feet + 5/ CON mod. Any creature within the area of effect must make a Health save (DC equals 10 + CON mod + ½
char level) or suffer the effects of the gas. Effects last for 1d6 rounds + 1 round per CON modifier. After release it takes the mutant an
hour to build up a new supply. Roll 1d6 and consult the table below to determine the gas effects. The mutant is immune to his or her
own gas.
[1d6 STR Damage, 15' Cone, DC = 10 + 1/2 HD + CON Bonus]
*/
//::////////////////////////////////////////////////////////////////////////////
//:: Created By: Jaysyn
//:: Created On: 22/03/21
//::////////////////////////////////////////////////////////////////////////////
#include "prc_alterations"
#include "prc_inc_template"
#include "prc_racial_const"
void main()
{
object oPC = OBJECT_SELF;
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
//:: Any living genotype except pure strain humans, oozes, cyborgs & shapechangers
int nRace = MyPRCGetRacialType(oPC);
if(nRace == RACIAL_TYPE_CONSTRUCT
|| nRace == RACIAL_TYPE_SMLBOT
|| nRace == RACIAL_TYPE_MEDBOT
|| nRace == RACIAL_TYPE_LRGBOT
|| nRace == RACIAL_TYPE_DROID
|| nRace == RACIAL_TYPE_OOZE
|| nRace == RACIAL_TYPE_PSH
|| nRace == RACIAL_TYPE_SHAPECHANGER
|| nRace == RACIAL_TYPE_CYBORG
|| nRace == RACIAL_TYPE_ELEMENTAL
|| nRace == RACIAL_TYPE_UNDEAD)
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
//:: Can't get this mutation twice.
if(GetHasTemplate(MUT_GAS_GENERATION_WEAKNESS, oPC))
{
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
}
}

Binary file not shown.