18 lines
295 B
Plaintext
18 lines
295 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "RustyDwarvenArtifact");
|
|
|
|
if (GetIsObjectValid(oItem))
|
|
DestroyObject(oItem);
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("RallBarrowThree2RallTomb");
|
|
|
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
|
|
|
}
|