PRC8/nwn/trunk/scripts/xchst_hb.nss
Jaysyn904 5914ed2ab5 Updated Release Archive
Updated Release Archive.  Fixed Mage-killer prereqs.  Removed old LETO & ConvoCC related files.  Added organized spell scroll store.  Fixed Gloura spellbook. Various TLK fixes.  Reorganized Repo.  Removed invalid user folders. Added DocGen back in.
2023-08-22 10:00:21 -04:00

11 lines
247 B
Plaintext

#include "xchst_inc"
void main()
{
// dismiss chest if player left the game or left chests area
object oChest = OBJECT_SELF;
if(GetArea(oChest) != GetArea(GetLocalObject(oChest, XCHST_OWN)))
{
DismissChest(oChest);
}
}