///////////////////////////////////// // Dragon's Edge // by Charly Carlos ///////////////////////////////////// // Causes Padush and the PC to sit down and prepare to arm wrestle in the // Silver Wink Inn. ///////////////////////////////////// void main() { object oPadushChair = GetObjectByTag("PadushChair"); object oPCChair = GetObjectByTag("PadushChair_PC"); object oPC = GetPCSpeaker(); TakeGoldFromCreature(GetLocalInt(OBJECT_SELF, "nGoldRequired"), oPC, FALSE); if (!GetIsObjectValid(GetSittingCreature(oPadushChair))) { ActionSit(oPadushChair); } if (!GetIsObjectValid(GetSittingCreature(oPCChair))) { AssignCommand(oPC, ActionSit(oPCChair)); } }