29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
void main()
|
|
{
|
|
object oPartyMember = GetFirstFactionMember(GetPCSpeaker(), TRUE);
|
|
while (GetIsObjectValid(oPartyMember) == TRUE)
|
|
{
|
|
GiveXPToCreature(oPartyMember, 2500);
|
|
|
|
object oItemToTake1;
|
|
oItemToTake1 = GetItemPossessedBy(oPartyMember, "TrinDocuments");
|
|
DestroyObject(oItemToTake1);
|
|
|
|
oPartyMember = GetNextFactionMember(GetPCSpeaker(), TRUE);
|
|
}
|
|
|
|
CreateItemOnObject("HeartsQuest", GetPCSpeaker(), 1);
|
|
SetLocalInt(GetModule(), "BlackSpawned", TRUE);
|
|
SetLocalInt(GetModule(), "WhiteSpawned", TRUE);
|
|
SetLocalInt(GetModule(), "RedSpawned", TRUE);
|
|
SetLocalInt(GetModule(), "GreenSpawned", TRUE);
|
|
SetLocalInt(GetModule(), "BlueSpawned", TRUE);
|
|
SetLocalInt(GetModule(), "PrismSpawned", TRUE);
|
|
SetLocalInt(GetModule(), "HeartsQuestOn", 1);
|
|
|
|
object oKryx = GetObjectByTag("HeartsKryx");
|
|
string sName = GetName(GetPCSpeaker());
|
|
DelayCommand(10.0, AssignCommand(oKryx, ActionSpeakString ("Solomak sends you to your death "+ sName +".. he will use you up till you are dead.", TALKVOLUME_SHOUT)));
|
|
|
|
}
|