Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
12
_module/nss/anph_open_store2.nss
Normal file
12
_module/nss/anph_open_store2.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user