Osrs osc

osrs_osc is a script used by OSRS. ///////////////////////////////////////////////////////////////////////////// // // file: //     osrs_osc // // purpose: //     OnStoreClosed event script. // /////////////////////////////////////////////////////////////////////////////

// the include file for Open Source Rule Set events
 * 1) include "osrs_inc"

///////////////////////////////////////////////////////////////////////////// void main {   // Even though there is only one type of object in NWN1 that uses this // event, we follow the same procedure as all the other scripts: switch on   // EventClass. This COULD be optimized out but for future possible // compatibility issues with NWN2, leave the switch in here for now.

// determine what type of object is calling this script int iCallingClass = osrs_GetCallerEventClass(OBJECT_SELF); switch(iCallingClass) {       case I_OSRS_EVENT_CLASS_MERCHANT: // Merchant::OnStoreClosed Pre-event if (!osrs_me_osc_pre) {               return; }

// Merchant::OnStoreClosed event if (!osrs_me_osc) {               return; }

// Merchant::OnStoreClosed post-event osrs_me_osc_post;

break;

} }