Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
This commit is contained in:
19
nwnds_module/ka_glandhuntint1.nss
Normal file
19
nwnds_module/ka_glandhuntint1.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user