Files
Anphillia_PRC8/_module/nss/anph_open_store2.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

13 lines
308 B
Plaintext

void main()
{
string sNPCTag = GetTag(OBJECT_SELF);
object oStore = GetNearestObjectByTag("STORE_" + sNPCTag + "2");
if (GetObjectType(oStore) == OBJECT_TYPE_STORE)
OpenStore(oStore, GetPCSpeaker());
else
ActionSpeakString("Sorry, the store is closed", TALKVOLUME_TALK);
}