20 lines
259 B
Plaintext
20 lines
259 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "Gland1");
|
|
|
|
if (GetIsObjectValid(oItem))
|
|
DestroyObject(oItem);
|
|
|
|
int nInt;
|
|
nInt = GetLocalInt(oPC, "glandhunt");
|
|
|
|
nInt += 1;
|
|
|
|
SetLocalInt(oPC, "glandhunt", nInt);
|
|
|
|
}
|