18 lines
495 B
Plaintext
18 lines
495 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName vat_openbasic
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
#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_CRAFT");
|
||
|
|
||
|
if(GetObjectType(oStore) != OBJECT_TYPE_STORE)
|
||
|
oStore = CreateObject(OBJECT_TYPE_STORE, "mer_craft", GetLocation(OBJECT_SELF));
|
||
|
|
||
|
OpenStore(oStore, GetPCSpeaker());
|
||
|
}
|