18 lines
367 B
Plaintext
18 lines
367 B
Plaintext
#include "x0_i0_partywide"
|
|
|
|
void main()
|
|
|
|
{
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Give 5 experience (to party) to the PC.
|
|
GiveXPToAll(oPC, 5);
|
|
|
|
CreateItemOnObject("mourneblade2", oPC);
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DestroyObject(GetObjectByTag("mourneblade"));
|
|
}
|
|
|