generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
23
_module/nss/ss_treas_change.nss
Normal file
23
_module/nss/ss_treas_change.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//************************************************
|
||||
//** ss_treas_change **
|
||||
//** **
|
||||
//** Opens nearest store objec to the lever. It **
|
||||
//** is best if the lever is placed on the **
|
||||
//** actual store it is expected to open. **
|
||||
//************************************************
|
||||
//**Created By: Jason Hunter (SiliconScout) **
|
||||
//** **
|
||||
//**Version: 1.6c **
|
||||
//** **
|
||||
//**Last Changed Date: June 29, 2004 **
|
||||
//************************************************
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
object oTreasureType = GetNearestObject(OBJECT_TYPE_STORE);
|
||||
|
||||
OpenStore(oTreasureType, oPC,0,0);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user