AOC_PRC8/_module/nss/openstore.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

17 lines
403 B
Plaintext

#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");
}