Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

23 lines
555 B
Plaintext

/*
Use this script to make all stores have the same appraisal
(so all stores act the same)
To make sure this works - make sure the merchant waypoint is located close
to the NPC and not too close to another metchant waypoint.
*/
#include "nw_i0_plot"
void main()
{
object oPC = GetPCSpeaker();
object oStore = GetNearestObject(OBJECT_TYPE_STORE, oPC, 1);
if (GetObjectType(oStore) == OBJECT_TYPE_STORE)
{
gplotAppraiseOpenStore(oStore, oPC);
}
else
{
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
}
}