17 lines
249 B
Plaintext
17 lines
249 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetClickingObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
AssignCommand(oPC, TakeGoldFromCreature(100, oPC, TRUE));
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("GridClanHold");
|
|
|
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
|
|
|
}
|
|
|