Mob, area, quest, and script adjustments

This commit is contained in:
EpicValor
2023-10-13 21:50:23 -05:00
parent c3e1040894
commit 25b518454d
78 changed files with 780 additions and 852 deletions

View File

@@ -0,0 +1,5 @@
void main()
{
DelayCommand(3000.0, ActionCloseDoor(OBJECT_SELF));
DelayCommand(3001.0, ActionLockObject(OBJECT_SELF));
}

View File

@@ -42,27 +42,6 @@ if(sRes == "elementalband" ||
sRes == "gsokey" ||
sRes == "tmfkey" ||
sRes == "tbnkey" ||
sRes == "yinyangarrow" ||
sRes == "yinyangavenger" ||
sRes == "yinyangbastard" ||
sRes == "yinyangbattlea" ||
sRes == "yinyangbodygua" ||
sRes == "yinyangbow" ||
sRes == "yinyangdivinea" ||
sRes == "yinyangdragonb" ||
sRes == "yinyangdruidst" ||
sRes == "yinyanggreatswo" ||
sRes == "yinyangguantlet" ||
sRes == "yinyangleathers" ||
sRes == "yinyangmace" ||
sRes == "yinyangmagetal" ||
sRes == "yinyangmask" ||
sRes == "yinyangmurderb" ||
sRes == "yinyangroguesc" ||
sRes == "yinyangshield" ||
sRes == "yinyangshroud" ||
sRes == "yinyangsickle" ||
sRes == "yinyangspellsh" ||
sRes == "swordofsinging" ||
sRes == "wings" ||
sRes == "armourwkd" ||
@@ -86,6 +65,7 @@ if(sRes == "elementalband" ||
sRes == "banditlordshead" ||
sRes == "ohstowerkey" ||
sRes == "giantshead" ||
sRes == "sarumroyalseal" ||
sRes == "statueofwater" ||
sRes == "statueofjade" ||
sRes == "statueofgold" ||
@@ -139,7 +119,7 @@ int GetIsImportant(object oObject)
string sRes = GetResRef(oObject);
if(sRes == "default" ||
sRes == "playershandbook" ||
sRes == "<your stuff here>" ||
sRes == "sarumroyalseal" ||
sRes == "<your stuff here>" ||
sRes == "<your stuff here>" ||
sRes == "<your stuff here>")

View File

@@ -5,10 +5,18 @@
//:: Created By: Script Wizard
//:: Created On: 22/11/2003 15:59:15
//:://////////////////////////////////////////////
#include "nw_i0_plot"
void main()
{
object oPC = GetPCSpeaker();
object oParty = GetFirstFactionMember(oPC, TRUE);
int iItem = GetNumItems(oPC, "sarumroyalseal");
if (iItem == 1)
SetLocalInt(oParty, "sarumseal", 1);
oParty = GetNextFactionMember(oPC, TRUE);
return;
if (GetIsPC(oParty))
{
// Give the speaker the items

View File

@@ -14,23 +14,24 @@ object oParty = GetFirstFactionMember(oPC, TRUE);
string sName = GetName(oPC);
string sName2 = GetName(oParty);
int DoOnce = GetCampaignInt("warlord_head",sName, GetPCSpeaker());
object oItemToTake;
oItemToTake = GetItemPossessedBy(oParty, "warlordshead"); // Place item Tag here
if (GetIsPC(oParty))
{
SetLocalInt(oParty, "warlord_head", 1);
DestroyObject(oItemToTake);
}
oParty = GetNextFactionMember(oPC, TRUE);
if (DoOnce==1) return;
// Give the speaker some XP
RewardPartyXP(5000, GetPCSpeaker(),TRUE);
// Give the speaker some gold
RewardPartyGP(5000, GetPCSpeaker());
object oItemToTake;
oItemToTake = GetItemPossessedBy(oParty, "warlordshead"); // Place item Tag here
if (GetIsPC(oParty))
{
SetCampaignInt("warlord_head",sName2,1,oParty);
SetLocalInt(oParty, "warlord_head", 1);
DestroyObject(oItemToTake);
}
oParty = GetNextFactionMember(oPC, TRUE);
SetCampaignInt("warlord_head",sName2,1,oParty);
oParty = GetNextFactionMember(oPC, TRUE);
}

View File

@@ -0,0 +1,18 @@
//::///////////////////////////////////////////////
//:: FileName royalsealchk
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 1
//:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
// Make sure the PC speaker has these items in their inventory
if(!HasItem(GetPCSpeaker(), "sarumroyalseal"))
return FALSE;
return TRUE;
}

View File

@@ -0,0 +1,10 @@
#include "nw_i0_plot"
void main()
{
object oPC = GetPCSpeaker();
int iItem = GetNumItems(oPC, "sarumroyalseal");
if (iItem > 1)
TakeNumItems (oPC, "sarumroyalseal", 1);
}