PRC8/nwn/nwnprc/trunk/scripts/xchst_hb.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -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);
}
}