22 lines
384 B
Plaintext
22 lines
384 B
Plaintext
|
|
#include "x0_i0_partywide"
|
|
|
|
object oTarget;
|
|
|
|
void main()
|
|
|
|
{
|
|
// Get the creature who triggered this event.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Give 5 XP (to party) to the PC.
|
|
GiveXPToAll(oPC, 5);
|
|
|
|
// Give the speaker the items
|
|
CreateItemOnObject("liberivns1", GetPCSpeaker(), 1);
|
|
|
|
//oTarget = GetObjectByTag("cbrbsmt1");
|
|
//DestroyObject(oTarget, 4.2);
|
|
|
|
}
|