mirror of
http://prc.nwn.ee:3000/Jaysyn/PRC8.git
synced 2025-12-16 17:57:15 -05:00
11 lines
247 B
Plaintext
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);
|
|
}
|
|
} |