Added NWN Dark Sun module contents

Added NWN Dark Sun module contents.
This commit is contained in:
Jaysyn904
2021-07-12 21:24:46 -04:00
parent 556224a658
commit de24f81734
10609 changed files with 146652 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include "treasuresys_inc"
void main()
{
string sTemplate = GetResRef(OBJECT_SELF);
string sTag = GetTag(OBJECT_SELF);
location lChest = GetLocation(OBJECT_SELF);
if ( !GetLocalInt( OBJECT_SELF, "NW_DO_ONCE" ))
{
ExecuteScript( sTreasureGenScript, OBJECT_SELF );
}
float fSeconds = TREASURE_RESPAWN_TIME;
AssignCommand ( GetArea(OBJECT_SELF),DelayCommand(fSeconds, Create_Chest( sTemplate, sTag, lChest ) ) );
}