PoA_PRC8/_module/nss/fenceshop.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

23 lines
798 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName fenceshop
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 12/30/2002 2:45:15 PM
//:://////////////////////////////////////////////
void main()
{
object oPC = GetPCSpeaker();
object o11;
o11 = GetItemPossessedBy(oPC, "NW_WSWMLS013");
if(GetIsObjectValid(o11) != 0){
DestroyObject(o11);
}
// Either open the store with that tag or let the user know that no store exists.
object oStore = GetNearestObjectByTag("fenceshop");
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
OpenStore(oStore, GetPCSpeaker());
else
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
}