23 lines
396 B
Plaintext
23 lines
396 B
Plaintext
#include "nw_i0_tool"
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "Captains_Head");
|
|
|
|
if (GetIsObjectValid(oItem))
|
|
DestroyObject(oItem);
|
|
|
|
RewardPartyXP(200, oPC, FALSE);
|
|
|
|
RewardPartyGP(200, oPC, FALSE);
|
|
|
|
CreateItemOnObject("gruumsh_tooth", oPC);
|
|
|
|
object oDatabase = GetItemPossessedBy(oPC,"Database");
|
|
|
|
SetLocalInt(oDatabase, "GOBLIN_QST1", 0);
|
|
}
|