AOC_PRC8/_module/nss/create_spec3.nss

11 lines
286 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:24:16 -04:00
void main()
{
string sStoreTag = "NW_STORESPEC003";
string sStoreRes = "nw_storespec003";
if (GetNearestObjectByTag(sStoreTag) == OBJECT_INVALID)
{
CreateObject(OBJECT_TYPE_STORE, sStoreRes, GetLocation(OBJECT_SELF));
}
SetLocalString(GetPCSpeaker(), "STORE", sStoreTag);
}