UW2_PRC8/_module/nss/jackopenstore.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

26 lines
406 B
Plaintext

object oTarget;
//Created by Guile 3/14/07
//Put this on action taken in the conversation editor
#include "nw_i0_tool"
void main()
{
object oPC = GetPCSpeaker();
if (GetItemPossessedBy(oPC, "clonekey")== OBJECT_INVALID)
{
RewardPartyGP(7000000, oPC, FALSE);
CreateItemOnObject("clonekey", oPC);
}
else
{
oTarget = GetObjectByTag("ruinstore");
OpenStore(oTarget, oPC, 5, 5);
}
}