22 lines
751 B
Plaintext
22 lines
751 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName en4_specmer
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 4/21/2005 4:27:56 AM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_plot"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
string sTag;
|
||
|
|
||
|
sTag = "SpecialMerchant" + IntToString(GetLocalInt(GetModule(),"HTC_SpecialMerchant"));
|
||
|
// Either open the store with that tag or let the user know that no store exists.
|
||
|
object oStore = GetNearestObjectByTag(sTag);
|
||
|
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
|
||
|
gplotAppraiseOpenStore(oStore, GetPCSpeaker());
|
||
|
else
|
||
|
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
|
||
|
}
|