Initial commit
Initial commit.
This commit is contained in:
11
_module/nss/ss_treas_change.nss
Normal file
11
_module/nss/ss_treas_change.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
// Opens nearest store objec to the lever. It is best if the lever is placed
|
||||
// on the actual store it is expected to open.
|
||||
|
||||
object oPC = GetLastUsedBy();
|
||||
object oTreasureType = GetNearestObject(OBJECT_TYPE_STORE);
|
||||
|
||||
OpenStore(oTreasureType, oPC,0,0);
|
||||
|
||||
}
|
Reference in New Issue
Block a user