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