Rune_PRC8/_module/nss/oqs_conv_store.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

27 lines
688 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
// Olander's and 9Fires' Quest/Commodities/Bounties System
// o9f_conv_store
// By Don Anderson
// dandersonru@msn.com
//
// Called from the NPC Commodity Convo
//
////////////////////////////////////////////////////////////////////////////////
#include "nw_i0_plot"
void main()
{
//Conversation or Placeable
object oPC = GetPCSpeaker();
object oMerchant = OBJECT_SELF;
string sTag = GetTag(oMerchant);
//Find the Store and Open it
object oStore = GetNearestObjectByTag(sTag + "STORE");
if(GetObjectType(oStore) == OBJECT_TYPE_STORE)
{
gplotAppraiseOpenStore(oStore, oPC);
}
}