More mutation test scripts
More mutation test scripts.
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| //:: Name           Adherence template test script | ||||
| //:: FileName       tmp_t_adherence.nss | ||||
| //:: FileName       mut_t_adherence.nss | ||||
| //:: Copyright (c) 2022 NWNDS | ||||
| //:://///////////////////////////////////////////////////////////////////////// | ||||
| /* | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_feargen.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_feargen.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_feargen.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_feargen.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_firebreath.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_firebreath.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										59
									
								
								_content/ga_scripts/mut_t_firebreath.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										59
									
								
								_content/ga_scripts/mut_t_firebreath.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_flex.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_flex.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										58
									
								
								_content/ga_scripts/mut_t_flex.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								_content/ga_scripts/mut_t_flex.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_forcebarr.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_forcebarr.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										55
									
								
								_content/ga_scripts/mut_t_forcebarr.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								_content/ga_scripts/mut_t_forcebarr.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_forcefield.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_forcefield.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										56
									
								
								_content/ga_scripts/mut_t_forcefield.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								_content/ga_scripts/mut_t_forcefield.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_ft_antidot.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_ft_antidot.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_antirad.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_antirad.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_ft_antirad.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_ft_antirad.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_biotic.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_biotic.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_ft_biotic.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_ft_biotic.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_food.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_food.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_ft_food.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_ft_food.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_painkil.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_painkil.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_ft_painkil.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_ft_painkil.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_poison.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_poison.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										55
									
								
								_content/ga_scripts/mut_t_ft_poison.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								_content/ga_scripts/mut_t_ft_poison.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_stim.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_content/ga_scripts/mut_t_ft_stim.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										54
									
								
								_content/ga_scripts/mut_t_ft_stim.nss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								_content/ga_scripts/mut_t_ft_stim.nss
									
									
									
									
									
										Normal file
									
								
							| @@ -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); | ||||
| 	} | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user