64 lines
1.6 KiB
Plaintext
64 lines
1.6 KiB
Plaintext
|
#include "x0_i0_partywide"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
int nInt;
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Give 5 experience (to party) to the PC.
|
||
|
GiveXPToAll(oPC, 5);
|
||
|
|
||
|
oTarget = GetObjectByTag("Muskatel2");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Musk2")));
|
||
|
|
||
|
oTarget = GetObjectByTag("Muskatel2");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("Muskatel2");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("Chives");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Chives")));
|
||
|
|
||
|
oTarget = GetObjectByTag("Chives");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("Chives");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("Rat1");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Chives")));
|
||
|
|
||
|
oTarget = GetObjectByTag("Rat1");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("Rat1");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("Rat2");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Chives")));
|
||
|
|
||
|
oTarget = GetObjectByTag("Rat2");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("Rat2");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("Rat2");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Chives")));
|
||
|
|
||
|
oTarget = GetObjectByTag("Rat2");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("Rat2");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("Muskatel");
|
||
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Musk2")));
|
||
|
|
||
|
oTarget = GetObjectByTag("Muskatel");
|
||
|
nInt = GetObjectType(oTarget);
|
||
|
oTarget = GetObjectByTag("Muskatel");
|
||
|
DestroyObject(oTarget, 3.0);
|
||
|
|
||
|
}
|