NWNDS/nwn_dark_sun/ka_glandhuntint1.nss
Jaysyn904 b01c5cc7db Added PnP Dire Rat.
Added PnP Dire Rat.
2021-07-21 17:48:43 -04:00

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);
}