AOC_PRC8/_module/nss/openstore.nss

17 lines
403 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:24:16 -04:00
#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");
}