Rune_PRC8/_module/nss/vat_openwarrior.nss

20 lines
663 B
Plaintext
Raw Permalink Normal View History

2024-09-13 09:10:39 -04:00
//::///////////////////////////////////////////////
//:: FileName vat_openwarrior
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 7/31/2005 8:24:10 PM
//:://////////////////////////////////////////////
#include "nw_i0_plot"
void main()
{
// Either open the store with that tag or let the user know that no store exists.
object oStore = GetNearestObjectByTag("MER_WARRIOR");
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
gplotAppraiseOpenStore(oStore, GetPCSpeaker());
else
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
}