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