26 lines
406 B
Plaintext
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);
|
||
|
|
||
|
}
|
||
|
}
|