17 lines
403 B
Plaintext
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");
|
|
}
|