45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Craig Suter
|
||
|
//:: Created On: 9-10-02
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPartyMember = GetFirstFactionMember(GetPCSpeaker(), TRUE);
|
||
|
while (GetIsObjectValid(oPartyMember) == TRUE)
|
||
|
{
|
||
|
GiveXPToCreature(oPartyMember, 1000);
|
||
|
|
||
|
object oItemToTake1;
|
||
|
object oItemToTake2;
|
||
|
object oItemToTake3;
|
||
|
object oItemToTake4;
|
||
|
|
||
|
oItemToTake1 = GetItemPossessedBy(oPartyMember, "GoldenKey");
|
||
|
oItemToTake2 = GetItemPossessedBy(oPartyMember, "TrinDocuments");
|
||
|
oItemToTake3 = GetItemPossessedBy(oPartyMember, "HeartsQuest");
|
||
|
oItemToTake4 = GetItemPossessedBy(oPartyMember, "HirumaksFreedom");
|
||
|
|
||
|
DestroyObject(oItemToTake1);
|
||
|
DestroyObject(oItemToTake2);
|
||
|
DestroyObject(oItemToTake3);
|
||
|
DestroyObject(oItemToTake4);
|
||
|
|
||
|
oPartyMember = GetNextFactionMember(GetPCSpeaker(), TRUE);
|
||
|
}
|
||
|
|
||
|
SetLocalInt(GetModule(), "BlackSpawned", TRUE);
|
||
|
SetLocalInt(GetModule(), "WhiteSpawned", TRUE);
|
||
|
SetLocalInt(GetModule(), "RedSpawned", TRUE);
|
||
|
SetLocalInt(GetModule(), "GreenSpawned", TRUE);
|
||
|
SetLocalInt(GetModule(), "BlueSpawned", TRUE);
|
||
|
SetLocalInt(GetModule(), "PrismSpawned", TRUE);
|
||
|
object oKryx = GetObjectByTag("HeartsKryx");
|
||
|
|
||
|
string sName = GetName(GetPCSpeaker());
|
||
|
DelayCommand(10.0, AssignCommand(oKryx, ActionSpeakString ("Celebrate your victory today "+ sName +".. for it will be short lived.", TALKVOLUME_SHOUT)));
|
||
|
|
||
|
}
|
||
|
|