diff --git a/_content/ga_scripts/mut_t_adherence.nss b/_content/ga_scripts/mut_t_adherence.nss index 873301da..16df5791 100644 --- a/_content/ga_scripts/mut_t_adherence.nss +++ b/_content/ga_scripts/mut_t_adherence.nss @@ -1,6 +1,6 @@ //:://///////////////////////////////////////////////////////////////////////// //:: Name Adherence template test script -//:: FileName tmp_t_adherence.nss +//:: FileName mut_t_adherence.nss //:: Copyright (c) 2022 NWNDS //:://///////////////////////////////////////////////////////////////////////// /* diff --git a/_content/ga_scripts/mut_t_feargen.ncs b/_content/ga_scripts/mut_t_feargen.ncs new file mode 100644 index 00000000..bb56084a Binary files /dev/null and b/_content/ga_scripts/mut_t_feargen.ncs differ diff --git a/_content/ga_scripts/mut_t_feargen.nss b/_content/ga_scripts/mut_t_feargen.nss new file mode 100644 index 00000000..f1ccac87 --- /dev/null +++ b/_content/ga_scripts/mut_t_feargen.nss @@ -0,0 +1,54 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fear Generation template test script +//:: FileName mut_t_feargen.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fear Generation (Mental) +The character can instil fear in a living creature within a range of 25 feet plus 5’ per MPS modifier. If the target fails a Mental Defence +save, they become Shaken for 1d6 rounds + 1 round per MPS mod. A target that is already shaken becomes frightened, but the initial +duration does not change. A creature that makes its saving throw cannot be targeted again. This power can be used a number of times +per day equal to 3 plus the MPS mod. + +[Fear (single target, 1d6 rounds, 3 + WIS bonus uses 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); + +//:: Any living genotype except 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_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_FEAR_GENERATION, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_firebreath.ncs b/_content/ga_scripts/mut_t_firebreath.ncs new file mode 100644 index 00000000..e4606d92 Binary files /dev/null and b/_content/ga_scripts/mut_t_firebreath.ncs differ diff --git a/_content/ga_scripts/mut_t_firebreath.nss b/_content/ga_scripts/mut_t_firebreath.nss new file mode 100644 index 00000000..726666e2 --- /dev/null +++ b/_content/ga_scripts/mut_t_firebreath.nss @@ -0,0 +1,59 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fire Breath template test script +//:: FileName mut_t_firebreath.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fire Breath (Physical) +Fine hooks or hairs on the mutant’s hands and feet allows him to climb easily +or even cling to the ceiling. The character must have hands and feet uncovered +to use this ability, and must be carrying no more than a medium load. The +mutant gains a +8 to Climb checks and a 4 to grapple checks. + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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_FIRE_BREATH, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_flex.ncs b/_content/ga_scripts/mut_t_flex.ncs new file mode 100644 index 00000000..9e10b048 Binary files /dev/null and b/_content/ga_scripts/mut_t_flex.ncs differ diff --git a/_content/ga_scripts/mut_t_flex.nss b/_content/ga_scripts/mut_t_flex.nss new file mode 100644 index 00000000..5bd48bd0 --- /dev/null +++ b/_content/ga_scripts/mut_t_flex.nss @@ -0,0 +1,58 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Flexibility template test script +//:: FileName mut_t_flex.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Flexibility (Physical) +The mutant’s bones and joints become slightly flexible and make it easier to +squeeze into small spaces. The character gains +2 DEX, a +3 bonus on all Escape +Artist checks and to their CMD vs grapple attempts. + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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_FLEXIBILITY, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_forcebarr.ncs b/_content/ga_scripts/mut_t_forcebarr.ncs new file mode 100644 index 00000000..01cb7003 Binary files /dev/null and b/_content/ga_scripts/mut_t_forcebarr.ncs differ diff --git a/_content/ga_scripts/mut_t_forcebarr.nss b/_content/ga_scripts/mut_t_forcebarr.nss new file mode 100644 index 00000000..dfea8ea8 --- /dev/null +++ b/_content/ga_scripts/mut_t_forcebarr.nss @@ -0,0 +1,55 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Force Barrier template test script +//:: FileName mut_t_forcebarr.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Force Barrier (Mental) +The mutant is able to create an invisible wall (force field) at a distance of up to 25 feet away, plus 5 feet per MPS modifier point. The +maximum size (height and length) of the barrier is 100 cubic feet plus 50 cubic feet per MPS mod. The barrier is not more than 6” thick, +but has a Hardness and Energy Resistance of 10. It has a maximum of 50 HP’s plus 5 HP’s per MPS mod, and cannot be penetrated +until destroyed or cancelled. If the mutant cancels the barrier (or if destroyed), it regains 10 HP’s per hour, until reactivated. It cannot be +reactivated with less than 10 hp + +[Wall of Force (3 + WIS Bonus / 2 uses 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); + +//:: Any living genotype except 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_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_FORCE_BARRIER, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_forcefield.ncs b/_content/ga_scripts/mut_t_forcefield.ncs new file mode 100644 index 00000000..de5b92f4 Binary files /dev/null and b/_content/ga_scripts/mut_t_forcefield.ncs differ diff --git a/_content/ga_scripts/mut_t_forcefield.nss b/_content/ga_scripts/mut_t_forcefield.nss new file mode 100644 index 00000000..7ed373c2 --- /dev/null +++ b/_content/ga_scripts/mut_t_forcefield.nss @@ -0,0 +1,56 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Force Field Generation template test script +//:: FileName mut_t_forcefield.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Force Field Generation(Mental) +The mutant is able to create an invisible barrier of force around him that protects from physical damage. The force field forms a smooth +surface about one foot from the mutant's skin. The character cannot make physical attacks while the force field is up, but can use +mental powers. The force field grants the mutant both Damage Reduction and Energy Resistance of 5 points + 1 per MPS modifier. It +can be kept active until it has absorbed a total of 25 hit points of damage +5 points per MPS modifier. After that, the character must +drop the force field for an hour before using it again. If the field takes enough points of physical damage to destroy it, the character +must make a DC10 Health check or fall unconscious for 1d6 rounds. + +[DR 25 + WIS Bonus /2 * 5 & Energy Resistance 5 + WIS Bonus usable once per hour. Can't attack physically while in use.] + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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 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_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_FORCE_FIELD_GENERATION, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ft_antidot.nss b/_content/ga_scripts/mut_t_ft_antidot.nss new file mode 100644 index 00000000..25604477 --- /dev/null +++ b/_content/ga_scripts/mut_t_ft_antidot.nss @@ -0,0 +1,54 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fruit, Antibiotic template test script +//:: FileName mut_t_ft_biotic.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fruit, Antibiotic (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 +develop the relevant property. A plant character can have up to 4 + half character level (round down) pieces of fruit growing at any +particular time. The fruit stays fresh for a month before rotting and falling off. Each fruit must be consumed within an hour of being +picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruit’s properties. (All fruit grown by a +particular plant have the same property.) + +[Cures disease & Heals 2d6 HP once per day per creature.] + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_FRUIT_ANTIBIOTIC, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ft_antirad.ncs b/_content/ga_scripts/mut_t_ft_antirad.ncs new file mode 100644 index 00000000..bb9f6306 Binary files /dev/null and b/_content/ga_scripts/mut_t_ft_antirad.ncs differ diff --git a/_content/ga_scripts/mut_t_ft_antirad.nss b/_content/ga_scripts/mut_t_ft_antirad.nss new file mode 100644 index 00000000..c54ce308 --- /dev/null +++ b/_content/ga_scripts/mut_t_ft_antirad.nss @@ -0,0 +1,54 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fruit, Anti-Rad template test script +//:: FileName mut_t_ft_antirad.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fruit, Anti-Rad (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 +develop the relevant property. A plant character can have up to 4 + half character level (round down) pieces of fruit growing at any +particular time. The fruit stays fresh for a month before rotting and falling off. Each fruit must be consumed within an hour of being +picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruit’s properties. (All fruit grown by a +particular plant have the same property.) + +[Eliminates radation build up & sickness.] + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_FRUIT_ANTI_RAD, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ft_biotic.ncs b/_content/ga_scripts/mut_t_ft_biotic.ncs new file mode 100644 index 00000000..841ce16f Binary files /dev/null and b/_content/ga_scripts/mut_t_ft_biotic.ncs differ diff --git a/_content/ga_scripts/mut_t_ft_biotic.nss b/_content/ga_scripts/mut_t_ft_biotic.nss new file mode 100644 index 00000000..25604477 --- /dev/null +++ b/_content/ga_scripts/mut_t_ft_biotic.nss @@ -0,0 +1,54 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fruit, Antibiotic template test script +//:: FileName mut_t_ft_biotic.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fruit, Antibiotic (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 +develop the relevant property. A plant character can have up to 4 + half character level (round down) pieces of fruit growing at any +particular time. The fruit stays fresh for a month before rotting and falling off. Each fruit must be consumed within an hour of being +picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruit’s properties. (All fruit grown by a +particular plant have the same property.) + +[Cures disease & Heals 2d6 HP once per day per creature.] + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_FRUIT_ANTIBIOTIC, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ft_food.ncs b/_content/ga_scripts/mut_t_ft_food.ncs new file mode 100644 index 00000000..2359eba1 Binary files /dev/null and b/_content/ga_scripts/mut_t_ft_food.ncs differ diff --git a/_content/ga_scripts/mut_t_ft_food.nss b/_content/ga_scripts/mut_t_ft_food.nss new file mode 100644 index 00000000..3f035082 --- /dev/null +++ b/_content/ga_scripts/mut_t_ft_food.nss @@ -0,0 +1,54 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fruit, Sustanance template test script +//:: FileName mut_t_ft_food.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fruit, Food (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 +develop the relevant property. A plant character can have up to 4 + half character level (round down) pieces of fruit growing at any +particular time. The fruit stays fresh for a month before rotting and falling off. Each fruit must be consumed within an hour of being +picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruit’s properties. (All fruit grown by a +particular plant have the same property.) + +[Provides nutrition for one medium creature 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); + +//:: 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_FRUIT_SUSTENANCE, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ft_painkil.ncs b/_content/ga_scripts/mut_t_ft_painkil.ncs new file mode 100644 index 00000000..bceca8d8 Binary files /dev/null and b/_content/ga_scripts/mut_t_ft_painkil.ncs differ diff --git a/_content/ga_scripts/mut_t_ft_painkil.nss b/_content/ga_scripts/mut_t_ft_painkil.nss new file mode 100644 index 00000000..859b7257 --- /dev/null +++ b/_content/ga_scripts/mut_t_ft_painkil.nss @@ -0,0 +1,54 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fruit, Painkiller template test script +//:: FileName mut_t_ft_painkil.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fruit, Painkiller (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 +develop the relevant property. A plant character can have up to 4 + half character level (round down) pieces of fruit growing at any +particular time. The fruit stays fresh for a month before rotting and falling off. Each fruit must be consumed within an hour of being +picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruit’s properties. (All fruit grown by a +particular plant have the same property.) + +[2d6 + CON Bonus Temporary HP once per day per creature.] + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_FRUIT_PAINKILLER, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ft_poison.ncs b/_content/ga_scripts/mut_t_ft_poison.ncs new file mode 100644 index 00000000..be3b5b71 Binary files /dev/null and b/_content/ga_scripts/mut_t_ft_poison.ncs differ diff --git a/_content/ga_scripts/mut_t_ft_poison.nss b/_content/ga_scripts/mut_t_ft_poison.nss new file mode 100644 index 00000000..d2d75c5c --- /dev/null +++ b/_content/ga_scripts/mut_t_ft_poison.nss @@ -0,0 +1,55 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fruit, Poison template test script +//:: FileName mut_t_ft_poison.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fruit, Poison (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 +develop the relevant property. A plant character can have up to 4 + half character level (round down) pieces of fruit growing at any +particular time. The fruit stays fresh for a month before rotting and falling off. Each fruit must be consumed within an hour of being +picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruit’s properties. (All fruit grown by a +particular plant have the same property.) + +[Poison fruit, contact & ingestible DC = 5 + 1/4 HD + CON Bonus 1d6 HP damage / round for 10 rounds] +] + +*/ +//::////////////////////////////////////////////////////////////////////////// +//:: 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); + +//:: 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_FRUIT_POISON, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_content/ga_scripts/mut_t_ft_stim.ncs b/_content/ga_scripts/mut_t_ft_stim.ncs new file mode 100644 index 00000000..c79c923a Binary files /dev/null and b/_content/ga_scripts/mut_t_ft_stim.ncs differ diff --git a/_content/ga_scripts/mut_t_ft_stim.nss b/_content/ga_scripts/mut_t_ft_stim.nss new file mode 100644 index 00000000..5da872cd --- /dev/null +++ b/_content/ga_scripts/mut_t_ft_stim.nss @@ -0,0 +1,54 @@ +//:://///////////////////////////////////////////////////////////////////////// +//:: Name Fruit, Stimlant template test script +//:: FileName mut_t_ft_stimulant.nss +//:: Copyright (c) 2022 NWNDS +//:://///////////////////////////////////////////////////////////////////////// +/* +Fruit, Stimlant (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 +develop the relevant property. A plant character can have up to 4 + half character level (round down) pieces of fruit growing at any +particular time. The fruit stays fresh for a month before rotting and falling off. Each fruit must be consumed within an hour of being +picked or it will lose its special properties. Roll 1d8 and reference the table below to determine the fruit’s properties. (All fruit grown by a +particular plant have the same property.) + +[Cures fatigue & exhaustion or STR +3 & DEX +3 for 4 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); + +//:: 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_FRUIT_STIMULANT, oPC)) + { + SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END); + } + +} \ No newline at end of file diff --git a/_notes/Gamma Age Mutations Workbook.xlsx b/_notes/Gamma Age Mutations Workbook.xlsx index 553e7e66..d5bbbbc1 100644 Binary files a/_notes/Gamma Age Mutations Workbook.xlsx and b/_notes/Gamma Age Mutations Workbook.xlsx differ