diff --git a/_content/ga_scripts/mut_t_ab_cold.ncs b/_content/ga_scripts/mut_t_ab_cold.ncs new file mode 100644 index 00000000..1a8e5b41 Binary files /dev/null and b/_content/ga_scripts/mut_t_ab_cold.ncs differ diff --git a/_content/ga_scripts/mut_t_ab_cold.nss b/_content/ga_scripts/mut_t_ab_cold.nss index bc8459a2..544cb6c1 100644 --- a/_content/ga_scripts/mut_t_ab_cold.nss +++ b/_content/ga_scripts/mut_t_ab_cold.nss @@ -1,14 +1,14 @@ //:://////////////////////////////////////////////////////////////////////////// -//:: Name Energy Absorption: Acid template test script -//:: FileName mut_t_ab_acid.nss +//:: Name Energy Absorption: Cold template test script +//:: FileName mut_t_ab_cold.nss //:: Copyright (c) 2022 NWNDS //:://////////////////////////////////////////////////////////////////////////// /* -Energy Absorption: Acid (Physical / Plant) +Energy Absorption: Cold (Physical / Plant) The character gains Energy Resistance, ignoring the first 10 points + CON modifier of damage from a particular type of energy attack. -[Ignores 10 + CON Bonus of caustic damage] +[Ignores 10 + CON Bonus of cold damage] */ //:://////////////////////////////////////////////////////////////////////////// @@ -44,7 +44,7 @@ void main() } //:: Can't get this mutation twice. - if(GetHasTemplate(MUT_ENERGY_ABSOPTION_ACID, oPC)) + if(GetHasTemplate(MUT_ENERGY_ABSORPTION_COLD, oPC)) { SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); } diff --git a/_content/ga_scripts/mut_t_ab_elec.ncs b/_content/ga_scripts/mut_t_ab_elec.ncs new file mode 100644 index 00000000..33b14310 Binary files /dev/null and b/_content/ga_scripts/mut_t_ab_elec.ncs differ diff --git a/_content/ga_scripts/mut_t_ab_elec.nss b/_content/ga_scripts/mut_t_ab_elec.nss new file mode 100644 index 00000000..ba386738 --- /dev/null +++ b/_content/ga_scripts/mut_t_ab_elec.nss @@ -0,0 +1,52 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Absorption: Electricity template test script +//:: FileName mut_t_ab_elec.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Absorption: Electricity (Physical / Plant) +The character gains Energy Resistance, ignoring the first 10 points + CON +modifier of damage from a particular type of energy attack. + +[Ignores 10 + CON Bonus of electrical damage] + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_ABSORPTION_ELECTRICITY, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ab_fire.ncs b/_content/ga_scripts/mut_t_ab_fire.ncs new file mode 100644 index 00000000..eec9e3a4 Binary files /dev/null and b/_content/ga_scripts/mut_t_ab_fire.ncs differ diff --git a/_content/ga_scripts/mut_t_ab_fire.nss b/_content/ga_scripts/mut_t_ab_fire.nss new file mode 100644 index 00000000..9d0b78e4 --- /dev/null +++ b/_content/ga_scripts/mut_t_ab_fire.nss @@ -0,0 +1,52 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Absorption: Fire template test script +//:: FileName mut_t_ab_elec.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Absorption: Fire (Physical / Plant) +The character gains Energy Resistance, ignoring the first 10 points + CON +modifier of damage from a particular type of energy attack. + +[Ignores 10 + CON Bonus of fire damage] + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_ABSORPTION_FIRE, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ab_rads.ncs b/_content/ga_scripts/mut_t_ab_rads.ncs new file mode 100644 index 00000000..2df9cd31 Binary files /dev/null and b/_content/ga_scripts/mut_t_ab_rads.ncs differ diff --git a/_content/ga_scripts/mut_t_ab_rads.nss b/_content/ga_scripts/mut_t_ab_rads.nss new file mode 100644 index 00000000..0fa85c1a --- /dev/null +++ b/_content/ga_scripts/mut_t_ab_rads.nss @@ -0,0 +1,52 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Absorption: Radiation template test script +//:: FileName mut_t_ab_rads.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Absorption: Radiation (Physical / Plant) +The character gains Energy Resistance, ignoring the first 10 points + CON +modifier of damage from a particular type of energy attack. + +[Ignores 10 + CON Bonus of Radiation (negative) damage] + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_ABSORPTION_RADIATION, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ab_sonic.ncs b/_content/ga_scripts/mut_t_ab_sonic.ncs new file mode 100644 index 00000000..2e330396 Binary files /dev/null and b/_content/ga_scripts/mut_t_ab_sonic.ncs differ diff --git a/_content/ga_scripts/mut_t_ab_sonic.nss b/_content/ga_scripts/mut_t_ab_sonic.nss new file mode 100644 index 00000000..ce044c01 --- /dev/null +++ b/_content/ga_scripts/mut_t_ab_sonic.nss @@ -0,0 +1,52 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Absorption: Concussion template test script +//:: FileName mut_t_ab_sonic.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Absorption: Concussion (Physical / Plant) +The character gains Energy Resistance, ignoring the first 10 points + CON +modifier of damage from a particular type of energy attack. + +[Ignores 10 + CON Bonus of caustic damage] + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_ABSORPTION_CONCUSSION, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_boomseeds.ncs b/_content/ga_scripts/mut_t_boomseeds.ncs new file mode 100644 index 00000000..7b3d1750 Binary files /dev/null and b/_content/ga_scripts/mut_t_boomseeds.ncs differ diff --git a/_content/ga_scripts/mut_t_boomseeds.nss b/_content/ga_scripts/mut_t_boomseeds.nss new file mode 100644 index 00000000..11917d03 --- /dev/null +++ b/_content/ga_scripts/mut_t_boomseeds.nss @@ -0,0 +1,53 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Explosive Seeds template test script +//:: FileName mut_t_boomseeds.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Explosive Seeds (Plant) +These nut-like seeds explode if they are thrown against a hard surface (medium +ranged touch attack, or if placed and struck by a weapon or take fire damage. +The seed does 2d6 + CON modifier points of concussion damage in a 10’ radius +and half that to any adjacent square. + +Max Seeds: 5 + CON modifier + +New seeds / day: 1d4 + + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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); + } + +//:: Can't get this mutation twice. + if(GetHasTemplate(MUT_EXPLOSIVE_SEEDS, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_conv_acid.ncs b/_content/ga_scripts/mut_t_conv_acid.ncs new file mode 100644 index 00000000..207761a8 Binary files /dev/null and b/_content/ga_scripts/mut_t_conv_acid.ncs differ diff --git a/_content/ga_scripts/mut_t_conv_acid.nss b/_content/ga_scripts/mut_t_conv_acid.nss new file mode 100644 index 00000000..0a90f4df --- /dev/null +++ b/_content/ga_scripts/mut_t_conv_acid.nss @@ -0,0 +1,54 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Conversion: Acid template test script +//:: FileName mut_t_conv_acid.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Conversion: Acid (Physical / Plant) +The mutant can convert the first 5 points + CON modifier of damage from a +particular type of energy attack and use it to heal himself. Additional damage +is ignored. + +Immune to & heals from acid damage. Up to 5 HP + CON bonus / attack. + + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_CONVERSION_ACID, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_conv_cold.ncs b/_content/ga_scripts/mut_t_conv_cold.ncs new file mode 100644 index 00000000..48d9f4a5 Binary files /dev/null and b/_content/ga_scripts/mut_t_conv_cold.ncs differ diff --git a/_content/ga_scripts/mut_t_conv_cold.nss b/_content/ga_scripts/mut_t_conv_cold.nss new file mode 100644 index 00000000..52f26329 --- /dev/null +++ b/_content/ga_scripts/mut_t_conv_cold.nss @@ -0,0 +1,54 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Conversion: Cold template test script +//:: FileName mut_t_conv_cold.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Conversion: Cold (Physical / Plant) +The mutant can convert the first 5 points + CON modifier of damage from a +particular type of energy attack and use it to heal himself. Additional damage +is ignored. + +Immune to & heals from cold damage. Up to 5 HP + CON bonus / attack. + + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_CONVERSION_COLD, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_conv_fire.ncs b/_content/ga_scripts/mut_t_conv_fire.ncs new file mode 100644 index 00000000..d740a452 Binary files /dev/null and b/_content/ga_scripts/mut_t_conv_fire.ncs differ diff --git a/_content/ga_scripts/mut_t_conv_fire.nss b/_content/ga_scripts/mut_t_conv_fire.nss new file mode 100644 index 00000000..5c860cf2 --- /dev/null +++ b/_content/ga_scripts/mut_t_conv_fire.nss @@ -0,0 +1,54 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Conversion: Fire template test script +//:: FileName mut_t_conv_fire.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Conversion: Fire (Physical / Plant) +The mutant can convert the first 5 points + CON modifier of damage from a +particular type of energy attack and use it to heal himself. Additional damage +is ignored. + +Immune to & heals from fire damage. Up to 5 HP + CON bonus / attack. + + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_CONVERSION_FIRE, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_conv_rads.ncs b/_content/ga_scripts/mut_t_conv_rads.ncs new file mode 100644 index 00000000..53316de4 Binary files /dev/null and b/_content/ga_scripts/mut_t_conv_rads.ncs differ diff --git a/_content/ga_scripts/mut_t_conv_rads.nss b/_content/ga_scripts/mut_t_conv_rads.nss new file mode 100644 index 00000000..e03790a9 --- /dev/null +++ b/_content/ga_scripts/mut_t_conv_rads.nss @@ -0,0 +1,54 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Conversion: Radiation template test script +//:: FileName mut_t_conv_rads.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Conversion: Radiation (Physical / Plant) +The mutant can convert the first 5 points + CON modifier of damage from a +particular type of energy attack and use it to heal himself. Additional damage +is ignored. + +Immune to & heals from Radiation (negative) damage. Up to 5 HP + CON bonus / attack. + + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_CONVERSION_RADIATION, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_conv_sonic.ncs b/_content/ga_scripts/mut_t_conv_sonic.ncs new file mode 100644 index 00000000..22fd5623 Binary files /dev/null and b/_content/ga_scripts/mut_t_conv_sonic.ncs differ diff --git a/_content/ga_scripts/mut_t_conv_sonic.nss b/_content/ga_scripts/mut_t_conv_sonic.nss new file mode 100644 index 00000000..5b21ee67 --- /dev/null +++ b/_content/ga_scripts/mut_t_conv_sonic.nss @@ -0,0 +1,54 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Energy Conversion: Concussion template test script +//:: FileName mut_t_conv_sonic.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Energy Conversion: C (Physical / Plant) +The mutant can convert the first 5 points + CON modifier of damage from a +particular type of energy attack and use it to heal himself. Additional damage +is ignored. + +Immune to & heals from concussion (sonic) damage. Up to 5 HP + CON bonus / attack. + + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_ENERGY_CONVERSION_CONCUSSION, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_exoskel.ncs b/_content/ga_scripts/mut_t_exoskel.ncs new file mode 100644 index 00000000..bc4d44af Binary files /dev/null and b/_content/ga_scripts/mut_t_exoskel.ncs differ diff --git a/_content/ga_scripts/mut_t_exoskel.nss b/_content/ga_scripts/mut_t_exoskel.nss new file mode 100644 index 00000000..f5d4861b --- /dev/null +++ b/_content/ga_scripts/mut_t_exoskel.nss @@ -0,0 +1,57 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Exoskeleton template test script +//:: FileName mut_t_exoskel.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Exoskeleton (Physical / Plant) +An exoskeleton is a rigid outer layer that protects and supports the mutant. It +may be composed of bone, cartilage, chitin, calcium or silica. The structure +protects the mutant's body like armour and usually covers the head and back, +but can cover the entire body of the mutant. It provides a Natural Armour bonus +equal to 2 points + CON modifier. This bonus stacks with other natural armour +bonuses. Plants generally have thick, tough bark instead of an actual +exoskeleton. + +[Natural AC equals 2 + 1/2 CON bonus. Can't wear armor, clothing is fine.] + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_EXOSKELETON, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_fast_heal.ncs b/_content/ga_scripts/mut_t_fast_heal.ncs new file mode 100644 index 00000000..45ea768a Binary files /dev/null and b/_content/ga_scripts/mut_t_fast_heal.ncs differ diff --git a/_content/ga_scripts/mut_t_fast_heal.nss b/_content/ga_scripts/mut_t_fast_heal.nss new file mode 100644 index 00000000..9875b03d --- /dev/null +++ b/_content/ga_scripts/mut_t_fast_heal.nss @@ -0,0 +1,51 @@ +//:://////////////////////////////////////////////////////////////////////////// +//:: Name Fast Healing template test script +//:: FileName mut_t_fast_heal.nss +//:: Copyright (c) 2022 NWNDS +//:://////////////////////////////////////////////////////////////////////////// +/* +Fast Healing (Physical / Plant) +The mutant can heal lost hit points at a rate greater than normal. The character +heals a number of hit points each minute equal to his 2 + CON modifier, minimum +1 point. + +*/ +//:://////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_FAST_HEALING, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file