NWNDS/nwnds_module/ka_glandhuntint1.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -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);
}