11 lines
282 B
Plaintext
11 lines
282 B
Plaintext
void main()
|
|
{
|
|
string sStoreTag = "M1_STORETHIEF";
|
|
string sStoreRes = "m1_storethief";
|
|
if (GetNearestObjectByTag(sStoreTag) == OBJECT_INVALID)
|
|
{
|
|
CreateObject(OBJECT_TYPE_STORE, sStoreRes, GetLocation(OBJECT_SELF));
|
|
}
|
|
SetLocalString(GetPCSpeaker(), "STORE", sStoreTag);
|
|
}
|