14 lines
319 B
Plaintext
14 lines
319 B
Plaintext
void main()
|
|
{
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Take "Bros_Locket" from the PC.
|
|
DestroyObject(GetItemPossessedBy(oPC, "Bros_Locket"));
|
|
|
|
// Give 1200 experience to the PC.
|
|
GiveXPToCreature(oPC, 1200);
|
|
CreateItemOnObject("it_sharpeningsto", oPC);
|
|
}
|
|
|