19 lines
267 B
Plaintext
19 lines
267 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetClickingObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "airgem")== OBJECT_INVALID)
|
||
|
return;
|
||
|
|
||
|
object oTarget;
|
||
|
oTarget = OBJECT_SELF;
|
||
|
|
||
|
SetLocked(oTarget, FALSE);
|
||
|
|
||
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
||
|
|
||
|
}
|