19 lines
286 B
Plaintext
19 lines
286 B
Plaintext
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetClickingObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "sharkpriestkey")== OBJECT_INVALID)
|
||
|
return;
|
||
|
|
||
|
object oTarget;
|
||
|
oTarget = GetObjectByTag("skdoorguard");
|
||
|
|
||
|
AssignCommand(oTarget, ActionStartConversation(oPC, "skdoorguard"));
|
||
|
|
||
|
}
|
||
|
|