generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
16
_module/nss/openstore.nss
Normal file
16
_module/nss/openstore.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "nw_i0_plot"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
string sStoreTag = GetLocalString(oPC, "STORE");
|
||||
object oStore = GetNearestObjectByTag(sStoreTag);
|
||||
if (GetObjectType(oStore) == OBJECT_TYPE_STORE)
|
||||
{
|
||||
gplotAppraiseOpenStore(oStore, oPC);
|
||||
}
|
||||
else
|
||||
{
|
||||
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
|
||||
}
|
||||
DeleteLocalString(oPC, "STORE");
|
||||
}
|
||||
Reference in New Issue
Block a user