generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
13
_module/nss/10000g.nss
Normal file
13
_module/nss/10000g.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName 10000g
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/19/2004 12:03:00 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 10000);
|
||||
|
||||
}
|
13
_module/nss/1mil.nss
Normal file
13
_module/nss/1mil.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName 1mil
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/19/2004 12:04:38 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 1000000);
|
||||
|
||||
}
|
13
_module/nss/200000g.nss
Normal file
13
_module/nss/200000g.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName 200000
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/19/2004 12:03:36 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 200000);
|
||||
|
||||
}
|
13
_module/nss/2000g.nss
Normal file
13
_module/nss/2000g.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName 2000g
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/19/2004 12:02:40 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 2000);
|
||||
|
||||
}
|
35
_module/nss/2weapfig_imbue.nss
Normal file
35
_module/nss/2weapfig_imbue.nss
Normal file
@@ -0,0 +1,35 @@
|
||||
#include "spawner"
|
||||
#include "prc_x2_itemprop"
|
||||
|
||||
void Evade(object oItem)
|
||||
{
|
||||
int oDamage;
|
||||
itemproperty ipAdd;
|
||||
ipAdd = ItemPropertyBonusFeat(IP_CONST_FEAT_TWO_WEAPON_FIGHTING);
|
||||
IPSafeAddItemProperty(oItem, ipAdd);
|
||||
}
|
||||
|
||||
|
||||
void main ()
|
||||
{
|
||||
object oTarget;
|
||||
object oItem;
|
||||
|
||||
int oDamage;
|
||||
SetLocked(OBJECT_SELF, TRUE);
|
||||
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetTag(oItem)=="pearl")
|
||||
{DestroyObject(oItem);}
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
CastPC(0.0,SPELL_SHAPECHANGE, OBJECT_SELF);
|
||||
PCEffect(1.0,VFX_FNF_STRIKE_HOLY, OBJECT_SELF);
|
||||
PCEffect(1.5,VFX_FNF_DISPEL_GREATER, OBJECT_SELF);
|
||||
PCEffect(2.0,VFX_FNF_DISPEL_DISJUNCTION, OBJECT_SELF);
|
||||
PCEffect(2.5,VFX_IMP_IMPROVE_ABILITY_SCORE, OBJECT_SELF);
|
||||
DelayCommand(1.0, Evade(GetFirstItemInInventory(OBJECT_SELF)));
|
||||
DelayCommand(3.0, SetLocked(OBJECT_SELF, FALSE));
|
||||
}
|
||||
|
13
_module/nss/4mil.nss
Normal file
13
_module/nss/4mil.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName 4mil
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/19/2004 12:04:57 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 4000000);
|
||||
|
||||
}
|
13
_module/nss/50000g.nss
Normal file
13
_module/nss/50000g.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName 50000g
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/19/2004 12:04:09 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 50000);
|
||||
|
||||
}
|
13
_module/nss/500g.nss
Normal file
13
_module/nss/500g.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName 500g
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/19/2004 12:02:19 PM
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
// Give the speaker some gold
|
||||
GiveGoldToCreature(GetPCSpeaker(), 500);
|
||||
|
||||
}
|
19
_module/nss/a_celmerch.nss
Normal file
19
_module/nss/a_celmerch.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName a_celmerch
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 10/07/2004 11:49:54 PM
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_plot"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
// Either open the store with that tag or let the user know that no store exists.
|
||||
object oStore = GetNearestObjectByTag("celmerch");
|
||||
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
|
||||
gplotAppraiseOpenStore(oStore, GetPCSpeaker());
|
||||
else
|
||||
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
|
||||
}
|
61
_module/nss/ability_imbue.nss
Normal file
61
_module/nss/ability_imbue.nss
Normal file
@@ -0,0 +1,61 @@
|
||||
#include "spawner"
|
||||
#include "prc_x2_itemprop"
|
||||
|
||||
void Ability (object oItem, int oType)
|
||||
{
|
||||
itemproperty ipAdd;
|
||||
int oDamage;
|
||||
int nRandom = d20();
|
||||
|
||||
if (nRandom==1) oDamage = 5;
|
||||
if (nRandom==2) oDamage = 5;
|
||||
if (nRandom==3) oDamage = 5;
|
||||
if (nRandom==4) oDamage = 5;
|
||||
if (nRandom==5) oDamage = 5;
|
||||
if (nRandom==6) oDamage = 5;
|
||||
if (nRandom==7) oDamage = 5;
|
||||
if (nRandom==8) oDamage = 6;
|
||||
if (nRandom==9) oDamage = 6;
|
||||
if (nRandom==10) oDamage = 6;
|
||||
if (nRandom==11) oDamage = 6;
|
||||
if (nRandom==12) oDamage = 6;
|
||||
if (nRandom==13) oDamage = 6;
|
||||
if (nRandom==14) oDamage = 7;
|
||||
if (nRandom==15) oDamage = 7;
|
||||
if (nRandom==16) oDamage = 7;
|
||||
if (nRandom==17) oDamage = 7;
|
||||
if (nRandom==18) oDamage = 7;
|
||||
if (nRandom==19) oDamage = 7;
|
||||
if (nRandom==20)
|
||||
{
|
||||
oDamage = 8;
|
||||
PCEffect(3.0,VFX_DUR_PROT_EPIC_ARMOR_2, OBJECT_SELF);
|
||||
}
|
||||
|
||||
ipAdd = ItemPropertyAbilityBonus(oType, oDamage);
|
||||
IPSafeAddItemProperty(oItem, ipAdd);
|
||||
}
|
||||
void AbilityImbue (int oType)
|
||||
{
|
||||
object oTarget;
|
||||
object oItem;
|
||||
|
||||
int oDamage;
|
||||
SetLocked(OBJECT_SELF, TRUE);
|
||||
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetTag(oItem)=="pearl")
|
||||
{DestroyObject(oItem);}
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
CastPC(0.0,SPELL_SHAPECHANGE, OBJECT_SELF);
|
||||
PCEffect(1.5,VFX_IMP_AC_BONUS, OBJECT_SELF);
|
||||
PCEffect(1.0,VFX_DUR_PIXIEDUST, OBJECT_SELF);
|
||||
PCEffect(2.0,VFX_IMP_IMPROVE_ABILITY_SCORE, OBJECT_SELF);
|
||||
DelayCommand(1.0, Ability(GetFirstItemInInventory(OBJECT_SELF), oType));
|
||||
DelayCommand(3.0, SetLocked(OBJECT_SELF, FALSE));
|
||||
}
|
||||
//void main (){}
|
||||
|
||||
|
7
_module/nss/abort_bet.nss
Normal file
7
_module/nss/abort_bet.nss
Normal file
@@ -0,0 +1,7 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "wager", 0);
|
||||
//SetLocalInt(oPC, "team_bet", 0);
|
||||
//SetLocalInt(oPC, "winnings",0);
|
||||
}
|
48
_module/nss/ac_imbue.nss
Normal file
48
_module/nss/ac_imbue.nss
Normal file
@@ -0,0 +1,48 @@
|
||||
#include "spawner"
|
||||
#include "prc_x2_itemprop"
|
||||
void Arm(object oItem, int oSoak)
|
||||
{
|
||||
|
||||
itemproperty ipAdd;
|
||||
switch (oSoak)
|
||||
{
|
||||
case 1: oSoak = 10; break;
|
||||
case 2: oSoak = 11; break;
|
||||
case 3: oSoak = 12; break;
|
||||
case 4: oSoak = 13; break;
|
||||
case 5: oSoak = 14; break;
|
||||
}
|
||||
ipAdd = ItemPropertyACBonus(oSoak);
|
||||
IPSafeAddItemProperty(oItem, ipAdd);
|
||||
|
||||
}
|
||||
|
||||
|
||||
void ArmourBonus (int oMulti)
|
||||
{
|
||||
object oTarget;
|
||||
object oItem;
|
||||
object oPC = GetLastUsedBy();
|
||||
int oDamage;
|
||||
SetLocked(OBJECT_SELF, TRUE);
|
||||
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetTag(oItem)=="pearl")
|
||||
{DestroyObject(oItem);}
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
PCEffect(0.0,VFX_FNF_SUMMON_MONSTER_2, OBJECT_SELF);
|
||||
PCEffect(1.0,VFX_DUR_ELEMENTAL_SHIELD, OBJECT_SELF);
|
||||
PCEffect(1.5,VFX_IMP_AC_BONUS , OBJECT_SELF);
|
||||
PCEffect(2.0,VFX_IMP_HARM, OBJECT_SELF);
|
||||
if (oMulti==3) {
|
||||
PCEffect(2.8,VFX_DUR_PROT_EPIC_ARMOR_2, OBJECT_SELF);
|
||||
Message(3.0, "** Fully Upgraded **", oPC);
|
||||
}
|
||||
DelayCommand(1.0, Arm(GetFirstItemInInventory(OBJECT_SELF), oMulti));
|
||||
DelayCommand(3.0, SetLocked(OBJECT_SELF, FALSE));
|
||||
}
|
||||
|
||||
|
||||
//void main (){}
|
48
_module/nss/ac_imbue2.nss
Normal file
48
_module/nss/ac_imbue2.nss
Normal file
@@ -0,0 +1,48 @@
|
||||
#include "spawner"
|
||||
#include "prc_x2_itemprop"
|
||||
void Arm2(object oItem, int oSoak)
|
||||
{
|
||||
|
||||
itemproperty ipAdd;
|
||||
switch (oSoak)
|
||||
{
|
||||
case 1: oSoak = 5; break;
|
||||
case 2: oSoak = 6; break;
|
||||
case 3: oSoak = 7; break;
|
||||
case 4: oSoak = 8; break;
|
||||
case 5: oSoak = 10; break;
|
||||
}
|
||||
ipAdd = ItemPropertyACBonus(oSoak);
|
||||
IPSafeAddItemProperty(oItem, ipAdd);
|
||||
|
||||
}
|
||||
|
||||
|
||||
void DodgeBonus (int oMulti)
|
||||
{
|
||||
object oTarget;
|
||||
object oItem;
|
||||
object oPC = GetLastUsedBy();
|
||||
int oDamage;
|
||||
SetLocked(OBJECT_SELF, TRUE);
|
||||
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetTag(oItem)=="pearl")
|
||||
{DestroyObject(oItem);}
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
PCEffect(0.0,VFX_FNF_SUMMON_MONSTER_2, OBJECT_SELF);
|
||||
PCEffect(1.0,VFX_DUR_ELEMENTAL_SHIELD, OBJECT_SELF);
|
||||
PCEffect(1.5,VFX_IMP_AC_BONUS , OBJECT_SELF);
|
||||
PCEffect(2.0,VFX_IMP_HARM, OBJECT_SELF);
|
||||
if (oMulti==3) {
|
||||
PCEffect(2.8,VFX_DUR_PROT_EPIC_ARMOR_2, OBJECT_SELF);
|
||||
Message(3.0, "** Fully Upgraded **", oPC);
|
||||
}
|
||||
DelayCommand(1.0, Arm2(GetFirstItemInInventory(OBJECT_SELF), oMulti));
|
||||
DelayCommand(3.0, SetLocked(OBJECT_SELF, FALSE));
|
||||
}
|
||||
|
||||
|
||||
//void main (){}
|
8
_module/nss/ac_imbue25.nss
Normal file
8
_module/nss/ac_imbue25.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_1", 1);
|
||||
DamRes(2,2);
|
||||
}
|
8
_module/nss/ac_imbue252.nss
Normal file
8
_module/nss/ac_imbue252.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_12", 1);
|
||||
DamRes2(2,2);
|
||||
}
|
8
_module/nss/acc_imbue25.nss
Normal file
8
_module/nss/acc_imbue25.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "ac_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "accdone_1", 1);
|
||||
ArmourBonus(1);
|
||||
}
|
16
_module/nss/accdone_1.nss
Normal file
16
_module/nss/accdone_1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_1") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
8
_module/nss/accdred_imbue_2.nss
Normal file
8
_module/nss/accdred_imbue_2.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "ac_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "accdone_2", 1);
|
||||
ArmourBonus(2);
|
||||
}
|
9
_module/nss/accdred_imbue_3.nss
Normal file
9
_module/nss/accdred_imbue_3.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "ac_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "accdone_3", 1);
|
||||
SetLocalInt(oPC, "accmax_reduction", 1);
|
||||
ArmourBonus(3);
|
||||
}
|
8
_module/nss/accdred_imbue_4.nss
Normal file
8
_module/nss/accdred_imbue_4.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "ac_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "accdone_4", 1);
|
||||
ArmourBonus(4);
|
||||
}
|
9
_module/nss/accdred_imbue_5.nss
Normal file
9
_module/nss/accdred_imbue_5.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "ac_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "accdone_5", 1);
|
||||
SetLocalInt(oPC, "accmax_reduction", 1);
|
||||
ArmourBonus(5);
|
||||
}
|
16
_module/nss/acced_1.nss
Normal file
16
_module/nss/acced_1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_2") == 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/accmax_reached.nss
Normal file
16
_module/nss/accmax_reached.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accmax_reduction") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/accmax_reached2.nss
Normal file
16
_module/nss/accmax_reached2.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accmax_reduction") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
18
_module/nss/accred1_1.nss
Normal file
18
_module/nss/accred1_1.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_2") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_1") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
18
_module/nss/accred_0.nss
Normal file
18
_module/nss/accred_0.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_1") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
16
_module/nss/accred_10.nss
Normal file
16
_module/nss/accred_10.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_5") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/accred_11.nss
Normal file
17
_module/nss/accred_11.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_5") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_4") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/accred_12.nss
Normal file
17
_module/nss/accred_12.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_4") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_5") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/accred_2.nss
Normal file
17
_module/nss/accred_2.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_1") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_2") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/accred_3.nss
Normal file
16
_module/nss/accred_3.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_3") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/accred_4.nss
Normal file
17
_module/nss/accred_4.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_2") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/accred_6.nss
Normal file
17
_module/nss/accred_6.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_2") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/accred_7.nss
Normal file
16
_module/nss/accred_7.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_4") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/accred_8.nss
Normal file
17
_module/nss/accred_8.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_4") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/accred_9.nss
Normal file
17
_module/nss/accred_9.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_3") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "accdone_4") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acdone_1.nss
Normal file
16
_module/nss/acdone_1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_1") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acdone_12.nss
Normal file
16
_module/nss/acdone_12.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_12") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
8
_module/nss/acdred_imbue_2.nss
Normal file
8
_module/nss/acdred_imbue_2.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_2", 1);
|
||||
DamRes(2,3);
|
||||
}
|
8
_module/nss/acdred_imbue_22.nss
Normal file
8
_module/nss/acdred_imbue_22.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_22", 1);
|
||||
DamRes2(2,3);
|
||||
}
|
8
_module/nss/acdred_imbue_3.nss
Normal file
8
_module/nss/acdred_imbue_3.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_3", 1);
|
||||
DamRes(2,4);
|
||||
}
|
9
_module/nss/acdred_imbue_32.nss
Normal file
9
_module/nss/acdred_imbue_32.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_32", 1);
|
||||
SetLocalInt(oPC, "acmax_reduction2", 1);
|
||||
DamRes2(2,4);
|
||||
}
|
8
_module/nss/acdred_imbue_4.nss
Normal file
8
_module/nss/acdred_imbue_4.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_4", 1);
|
||||
DamRes(2,5);
|
||||
}
|
9
_module/nss/acdred_imbue_5.nss
Normal file
9
_module/nss/acdred_imbue_5.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "soak_imbue"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "acdone_5", 1);
|
||||
SetLocalInt(oPC, "acmax_reduction", 1);
|
||||
DamRes(2,6);
|
||||
}
|
18
_module/nss/aced1_1.nss
Normal file
18
_module/nss/aced1_1.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_2") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_1") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
18
_module/nss/aced1_12.nss
Normal file
18
_module/nss/aced1_12.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_22") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_12") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/aced_1.nss
Normal file
16
_module/nss/aced_1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_2") == 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/aced_12.nss
Normal file
16
_module/nss/aced_12.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_22") == 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
7
_module/nss/acid_imbue.nss
Normal file
7
_module/nss/acid_imbue.nss
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "imbue_include"
|
||||
void main()
|
||||
{
|
||||
SetLocalInt(GetPCSpeaker(), "afire_ldb", 1);
|
||||
ImbueWeapon(VFX_FNF_GAS_EXPLOSION_ACID, IP_CONST_DAMAGETYPE_ACID);
|
||||
}
|
||||
|
6
_module/nss/acid_imbue_arm.nss
Normal file
6
_module/nss/acid_imbue_arm.nss
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "imbue_include"
|
||||
void main()
|
||||
{
|
||||
ImbueArmour(VFX_FNF_GAS_EXPLOSION_ACID, IP_CONST_DAMAGETYPE_ACID);
|
||||
}
|
||||
|
16
_module/nss/acmax_reached.nss
Normal file
16
_module/nss/acmax_reached.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acmax_reduction") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acmax_reached1.nss
Normal file
16
_module/nss/acmax_reached1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acmax_reduction") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acmax_reached12.nss
Normal file
16
_module/nss/acmax_reached12.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acmax_reduction2") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acmax_reached2.nss
Normal file
16
_module/nss/acmax_reached2.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acmax_reduction2") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
18
_module/nss/acred_0.nss
Normal file
18
_module/nss/acred_0.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_1") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
18
_module/nss/acred_02.nss
Normal file
18
_module/nss/acred_02.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_12") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
16
_module/nss/acred_10.nss
Normal file
16
_module/nss/acred_10.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_5") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_11.nss
Normal file
17
_module/nss/acred_11.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_5") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_4") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_12.nss
Normal file
17
_module/nss/acred_12.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_4") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_5") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_2.nss
Normal file
17
_module/nss/acred_2.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_1") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_2") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_22.nss
Normal file
17
_module/nss/acred_22.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_12") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_22") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acred_3.nss
Normal file
16
_module/nss/acred_3.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_3") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acred_32.nss
Normal file
16
_module/nss/acred_32.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_32") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_4.nss
Normal file
17
_module/nss/acred_4.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_2") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_42.nss
Normal file
17
_module/nss/acred_42.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_22") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_32") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_6.nss
Normal file
17
_module/nss/acred_6.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_2") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_62.nss
Normal file
17
_module/nss/acred_62.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_22") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_32") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/acred_7.nss
Normal file
16
_module/nss/acred_7.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_4") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_8.nss
Normal file
17
_module/nss/acred_8.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_4") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/acred_9.nss
Normal file
17
_module/nss/acred_9.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_3") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "acdone_4") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
35
_module/nss/align_check.nss
Normal file
35
_module/nss/align_check.nss
Normal file
@@ -0,0 +1,35 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName sc_023
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 28/01/2005 5:45:50 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "wurmdead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "balrogdead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "doppledead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "pitfienddead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "hdfienddead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "paledead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "marilithdead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "bossdead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "lorddead") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "luciferdead") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
18
_module/nss/all_monst.nss
Normal file
18
_module/nss/all_monst.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
object Get = GetModule();
|
||||
if((!(GetLocalInt(Get, "sw_ll") == 1))&&(GetLocalInt(Get, "sw_lm") == 1)&&
|
||||
(GetLocalInt(Get, "sw_ll") == 1)&&(GetLocalInt(Get, "sw_bm") == 1)
|
||||
&&(GetLocalInt(Get, "sw_pm") == 1)&&(GetLocalInt(Get, "sw_hd") == 1)
|
||||
&&(GetLocalInt(Get, "sw_pf") == 1)&&(GetLocalInt(Get, "sw_bl") == 1)
|
||||
&&(GetLocalInt(Get, "sw_dr") == 1) &&(GetLocalInt(Get, "sw_hw") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
34
_module/nss/altert_imbue.nss
Normal file
34
_module/nss/altert_imbue.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
#include "spawner"
|
||||
#include "prc_x2_itemprop"
|
||||
void Evade(object oItem)
|
||||
{
|
||||
int oDamage;
|
||||
itemproperty ipAdd;
|
||||
ipAdd = ItemPropertyBonusFeat(IP_CONST_FEAT_ALERTNESS);
|
||||
IPSafeAddItemProperty(oItem, ipAdd);
|
||||
}
|
||||
|
||||
|
||||
void main ()
|
||||
{
|
||||
object oTarget;
|
||||
object oItem;
|
||||
|
||||
int oDamage;
|
||||
SetLocked(OBJECT_SELF, TRUE);
|
||||
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetTag(oItem)=="pearl")
|
||||
{DestroyObject(oItem);}
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
CastPC(0.0,SPELL_SHAPECHANGE, OBJECT_SELF);
|
||||
PCEffect(1.0,VFX_FNF_STRIKE_HOLY, OBJECT_SELF);
|
||||
PCEffect(1.5,VFX_FNF_DISPEL_GREATER, OBJECT_SELF);
|
||||
PCEffect(2.0,VFX_FNF_DISPEL_DISJUNCTION, OBJECT_SELF);
|
||||
PCEffect(2.5,VFX_IMP_IMPROVE_ABILITY_SCORE, OBJECT_SELF);
|
||||
DelayCommand(1.0, Evade(GetFirstItemInInventory(OBJECT_SELF)));
|
||||
DelayCommand(3.0, SetLocked(OBJECT_SELF, FALSE));
|
||||
}
|
||||
|
34
_module/nss/amby_imbue.nss
Normal file
34
_module/nss/amby_imbue.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
#include "spawner"
|
||||
#include "prc_x2_itemprop"
|
||||
void Evade(object oItem)
|
||||
{
|
||||
int oDamage;
|
||||
itemproperty ipAdd;
|
||||
ipAdd = ItemPropertyBonusFeat(IP_CONST_FEAT_AMBIDEXTROUS);
|
||||
IPSafeAddItemProperty(oItem, ipAdd);
|
||||
}
|
||||
|
||||
|
||||
void main ()
|
||||
{
|
||||
object oTarget;
|
||||
object oItem;
|
||||
|
||||
int oDamage;
|
||||
SetLocked(OBJECT_SELF, TRUE);
|
||||
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
if (GetTag(oItem)=="pearl")
|
||||
{DestroyObject(oItem);}
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
CastPC(0.0,SPELL_SHAPECHANGE, OBJECT_SELF);
|
||||
PCEffect(1.0,VFX_FNF_STRIKE_HOLY, OBJECT_SELF);
|
||||
PCEffect(1.5,VFX_FNF_DISPEL_GREATER, OBJECT_SELF);
|
||||
PCEffect(2.0,VFX_FNF_DISPEL_DISJUNCTION, OBJECT_SELF);
|
||||
PCEffect(2.5,VFX_IMP_IMPROVE_ABILITY_SCORE, OBJECT_SELF);
|
||||
DelayCommand(1.0, Evade(GetFirstItemInInventory(OBJECT_SELF)));
|
||||
DelayCommand(3.0, SetLocked(OBJECT_SELF, FALSE));
|
||||
}
|
||||
|
8
_module/nss/amm_imbue25.nss
Normal file
8
_module/nss/amm_imbue25.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "ac_imbue2"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "ammdone_1", 1);
|
||||
DodgeBonus(1);
|
||||
}
|
16
_module/nss/ammdone_1.nss
Normal file
16
_module/nss/ammdone_1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_1") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
8
_module/nss/ammdred_imbue_2.nss
Normal file
8
_module/nss/ammdred_imbue_2.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "ac_imbue2"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "ammdone_2", 1);
|
||||
DodgeBonus(2);
|
||||
}
|
9
_module/nss/ammdred_imbue_3.nss
Normal file
9
_module/nss/ammdred_imbue_3.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "ac_imbue2"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "ammdone_3", 1);
|
||||
SetLocalInt(oPC, "ammmax_reduction", 1);
|
||||
DodgeBonus(3);
|
||||
}
|
8
_module/nss/ammdred_imbue_4.nss
Normal file
8
_module/nss/ammdred_imbue_4.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "ac_imbue2"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "ammdone_4", 1);
|
||||
DodgeBonus(4);
|
||||
}
|
9
_module/nss/ammdred_imbue_5.nss
Normal file
9
_module/nss/ammdred_imbue_5.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "ac_imbue2"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
SetLocalInt(oPC, "ammdone_5", 1);
|
||||
SetLocalInt(oPC, "ammmax_reduction", 1);
|
||||
DodgeBonus(5);
|
||||
}
|
16
_module/nss/ammed_1.nss
Normal file
16
_module/nss/ammed_1.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_2") == 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/ammed_11.nss
Normal file
17
_module/nss/ammed_11.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_5") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_4") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/ammed_7.nss
Normal file
16
_module/nss/ammed_7.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_4") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/ammmax_reached.nss
Normal file
16
_module/nss/ammmax_reached.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammmax_reduction") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/ammmax_reached2.nss
Normal file
16
_module/nss/ammmax_reached2.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName blmax_reached
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 1/12/2004 9:40:44 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammmax_reduction") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
18
_module/nss/ammred1_1.nss
Normal file
18
_module/nss/ammred1_1.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_2") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_1") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
18
_module/nss/ammred_0.nss
Normal file
18
_module/nss/ammred_0.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_1") != 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
16
_module/nss/ammred_10.nss
Normal file
16
_module/nss/ammred_10.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_5") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/ammred_12.nss
Normal file
17
_module/nss/ammred_12.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_4") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_5") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/ammred_2.nss
Normal file
17
_module/nss/ammred_2.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_1") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_2") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
16
_module/nss/ammred_3.nss
Normal file
16
_module/nss/ammred_3.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_3") == 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/ammred_4.nss
Normal file
17
_module/nss/ammred_4.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_2") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/ammred_6.nss
Normal file
17
_module/nss/ammred_6.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_2") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/ammred_8.nss
Normal file
17
_module/nss/ammred_8.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_4
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:26:53 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_4") != 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_3") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
17
_module/nss/ammred_9.nss
Normal file
17
_module/nss/ammred_9.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName red_1
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 30/11/2004 1:04:28 PM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Inspect local variables
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_3") == 1))
|
||||
return FALSE;
|
||||
if(!(GetLocalInt(GetPCSpeaker(), "ammdone_4") != 1))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
28
_module/nss/angel_fly.nss
Normal file
28
_module/nss/angel_fly.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
#include "in_g_cutscene"
|
||||
#include "x0_i0_petrify"
|
||||
|
||||
|
||||
void FlyAway()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
|
||||
effect eEffect1 = EffectVisualEffect(VFX_DUR_ELEMENTAL_SHIELD);
|
||||
effect eEffect2 = EffectVisualEffect(VFX_DUR_GLOBE_INVULNERABILITY);
|
||||
|
||||
RemoveEffectOfType(oPC, GetEffectType(eEffect1));
|
||||
RemoveEffectOfType(oPC, GetEffectType(eEffect1));
|
||||
|
||||
|
||||
GestaltApplyEffect(1.0, oPC, EffectVisualEffect(VFX_IMP_PULSE_WIND), INSTANT);
|
||||
|
||||
GestaltApplyEffect(0.0, oPC, EffectDisappear(), PERMANENT);
|
||||
}
|
||||
|
||||
void main ()
|
||||
{
|
||||
object oPC2 = GetLastSpeaker();
|
||||
ClearAllActions();
|
||||
SpeakString("Farewell and congratulations, "+GetName(oPC2)+".");
|
||||
DelayCommand(0.5, FlyAway());
|
||||
}
|
23
_module/nss/angel_fly2.nss
Normal file
23
_module/nss/angel_fly2.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
#include "in_g_cutscene"
|
||||
#include "x0_i0_petrify"
|
||||
|
||||
|
||||
void FlyAway()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
|
||||
effect eEffect1 = EffectVisualEffect(VFX_DUR_ELEMENTAL_SHIELD);
|
||||
effect eEffect2 = EffectVisualEffect(VFX_DUR_GLOBE_INVULNERABILITY);
|
||||
|
||||
RemoveEffectOfType(oPC, GetEffectType(eEffect1));
|
||||
RemoveEffectOfType(oPC, GetEffectType(eEffect1));
|
||||
|
||||
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_IMP_PULSE_WIND), oPC));
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectDisappear(), oPC);
|
||||
}
|
||||
|
||||
|
||||
void main ()
|
||||
{
|
||||
DelayCommand(2.5, FlyAway());
|
||||
}
|
72
_module/nss/angeldeath.nss
Normal file
72
_module/nss/angeldeath.nss
Normal file
@@ -0,0 +1,72 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name x2_def_ondeath
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Default OnDeath script
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Keith Warner
|
||||
//:: Created On: June 11/03
|
||||
//::///////////////////////////War Demon
|
||||
#include "x0_i0_petrify"
|
||||
#include "loot"
|
||||
#include "rank"
|
||||
#include "spawner"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastKiller();
|
||||
object oMod = GetModule();
|
||||
object oTarget= OBJECT_SELF;
|
||||
int iKilled = GetLocalInt(oPC, "iKilled");
|
||||
|
||||
int nInt;
|
||||
SetLocalInt(oMod, "sw_pf", 0);
|
||||
SetLocalInt(oMod, "ch_pf", 0);
|
||||
SetLocalInt(oMod, "gr_xx", 0);
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
|
||||
|
||||
int oExploit = GetLocalInt(oMod, "xcheck");
|
||||
if (oExploit!=1)
|
||||
{
|
||||
LastHit();
|
||||
if (GetLocalInt(oMod, "hwar_on")==1)
|
||||
{
|
||||
DelayCommand(3.0, HolyScore(OBJECT_SELF));
|
||||
}
|
||||
iKilled=iKilled+1;
|
||||
SetLocalInt(oPC, "iKilled", iKilled);
|
||||
GetRank(oPC);
|
||||
DeathStats(oPC);
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
DelayCommand(1.5, AssignCommand(oPC, ActionPlayAnimation
|
||||
(ANIMATION_FIREFORGET_VICTORY2)));
|
||||
FloatingTextStringOnCreature("Victory", oPC);
|
||||
SetLocalInt(oPC, "pitfienddead", 1);
|
||||
if (GetLocalInt(oMod, "hwar_on")!=1)
|
||||
{
|
||||
TombSpawn(OBJECT_SELF, oPC);
|
||||
CreateGold(OBJECT_SELF, 5500);
|
||||
}
|
||||
}
|
||||
int sw1 = GetLocalInt(oMod, "sw_hw");
|
||||
int sw2 = GetLocalInt(oMod, "sw_dr");
|
||||
int sw3 = GetLocalInt(oMod, "sw_bl");
|
||||
int sw4 = GetLocalInt(oMod, "sw_pf");
|
||||
int sw5 = GetLocalInt(oMod, "sw_df");
|
||||
int sw6 = GetLocalInt(oMod, "sw_pm");
|
||||
int sw7 = GetLocalInt(oMod, "sw_bm");
|
||||
int sw8 = GetLocalInt(oMod, "sw_lm");
|
||||
int sw9 = GetLocalInt(oMod, "sw_ll");
|
||||
int sw10 = GetLocalInt(oMod, "sw_xx");
|
||||
if ((sw1==0)&&(sw2==0)&&(sw3==0)&&(sw4==0)&&(sw5==0)&&(sw6==0)
|
||||
&&(sw7==0)&&(sw8==0)&&(sw9==0)&&(sw10==0)&&(GetLocalInt(oMod, "hwar_on")!=1))
|
||||
{
|
||||
SetLocked(GetObjectByTag("arena_gate"), FALSE);
|
||||
}
|
||||
PCEffect(0.0, VFX_IMP_DEATH_L, oTarget);
|
||||
PCEffect(0.3, VFX_IMP_MAGIC_PROTECTION, oTarget);
|
||||
}
|
67
_module/nss/angeldeath1.nss
Normal file
67
_module/nss/angeldeath1.nss
Normal file
@@ -0,0 +1,67 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name x2_def_ondeath
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Default OnDeath script
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Keith Warner
|
||||
//:: Created On: June 11/03
|
||||
//:://///////////////////////////////Balrog Lord
|
||||
#include "loot"
|
||||
#include "rank"
|
||||
#include "spawner"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastKiller();
|
||||
object oMod = GetModule();
|
||||
SetLocalInt(oMod, "sw_bl", 0);
|
||||
SetLocalInt(oMod, "ch_bl", 0);
|
||||
SetLocalInt(oMod, "gr_xx", 0);
|
||||
object oTarget= OBJECT_SELF;
|
||||
int iKilled = GetLocalInt(oPC, "iKilled");
|
||||
int oExploit = GetLocalInt(oMod, "xcheck");
|
||||
|
||||
|
||||
if (oExploit!=1)
|
||||
{
|
||||
LastHit();
|
||||
if (GetLocalInt(oMod, "hwar_on")==1)
|
||||
{
|
||||
DelayCommand(3.0, HolyScore(OBJECT_SELF));
|
||||
}
|
||||
iKilled=iKilled+1;
|
||||
SetLocalInt(oPC, "iKilled", iKilled);
|
||||
GetRank(oPC);
|
||||
DeathStats(oPC);
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
DelayCommand(1.5, AssignCommand(oPC, ActionPlayAnimation
|
||||
(ANIMATION_FIREFORGET_VICTORY2)));
|
||||
FloatingTextStringOnCreature("Victory", oPC);
|
||||
SetLocalInt(oPC, "balrogdead", 1);
|
||||
if (GetLocalInt(oMod, "hwar_on")!=1)
|
||||
{
|
||||
TombSpawn(OBJECT_SELF, oPC);
|
||||
CreateGold(OBJECT_SELF, 3500);
|
||||
}
|
||||
}
|
||||
int sw1 = GetLocalInt(oMod, "sw_hw");
|
||||
int sw2 = GetLocalInt(oMod, "sw_dr");
|
||||
int sw3 = GetLocalInt(oMod, "sw_bl");
|
||||
int sw4 = GetLocalInt(oMod, "sw_pf");
|
||||
int sw5 = GetLocalInt(oMod, "sw_df");
|
||||
int sw6 = GetLocalInt(oMod, "sw_pm");
|
||||
int sw7 = GetLocalInt(oMod, "sw_bm");
|
||||
int sw8 = GetLocalInt(oMod, "sw_lm");
|
||||
int sw9 = GetLocalInt(oMod, "sw_ll");
|
||||
PCEffect(0.0, VFX_IMP_DEATH_L, oTarget);
|
||||
//PCEffect(0.3, VFX_IMP_MAGIC_PROTECTION, oTarget);
|
||||
if ((sw1==0)&&(sw2==0)&&(sw3==0)&&(sw4==0)&&(sw5==0)&&(sw6==0)
|
||||
&&(sw7==0)&&(sw8==0)&&(sw9==0)&&(GetLocalInt(oMod, "hwar_on")!=1))
|
||||
{
|
||||
SetLocked(GetObjectByTag("arena_gate"), FALSE);
|
||||
}
|
||||
|
||||
}
|
46
_module/nss/anti_devcrit2.nss
Normal file
46
_module/nss/anti_devcrit2.nss
Normal file
@@ -0,0 +1,46 @@
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCLevellingUp(); //Get the PC
|
||||
if (GetItemPossessedBy(oPC, "nordock_token")!=OBJECT_INVALID)return;
|
||||
int nInt;
|
||||
int nInt2;
|
||||
|
||||
if (!GetIsPC(oPC))
|
||||
return; //Ignore NPCs
|
||||
// Dissallow Dev Crit on all Weapon Focuses
|
||||
|
||||
int nExitLoop = 0;
|
||||
if (GetHasFeat(955, oPC))
|
||||
nExitLoop = 1; //Dwarven Waraxe
|
||||
if (GetHasFeat(996, oPC))
|
||||
nExitLoop = 1; //Whip
|
||||
SetLocalInt(oPC, "henchlev", 0);
|
||||
int nFeat = 495; //495 is the first dev. crit. feat
|
||||
while ((!nExitLoop) && (nFeat<532)) //531 is the last dev. crit. feat, repeat for all dev. crits between 495 and 531
|
||||
{
|
||||
if (GetHasFeat(nFeat, oPC))
|
||||
{
|
||||
nExitLoop = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
nFeat++;
|
||||
}
|
||||
}
|
||||
|
||||
if (nExitLoop) //If a Dev. Crit. was chosen
|
||||
{
|
||||
string sString = "Devastating Critical is not a usable feat here";
|
||||
AssignCommand(oPC,SpeakString(sString,TALKVOLUME_WHISPER)); //Send warning message
|
||||
int nLevel = GetHitDice(oPC); //Get level
|
||||
int nXP = GetXP(oPC); //Save XP so we can restore it afterwards
|
||||
int nDelevelXP = (nLevel-1) * (nLevel - 2) * 500; //Work out how much XP will delevel the PC
|
||||
SetXP(oPC, nDelevelXP); //Set that level
|
||||
DelayCommand(3.5,GiveXPToCreature(oPC, nXP - nDelevelXP)); //Restore the XP so the player can relevel
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user