PoA_PRC8/module/nss/sagemerc.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

24 lines
791 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName sagemerc
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 9/5/2002 7:23:36 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("sage");
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
OpenStore(oStore, GetPCSpeaker());
else
ActionSpeakStringByStrRef(53090, TALKVOLUME_TALK);
}