
void main()
    {
    object oPC = GetPCSpeaker();
    int iBargin = GetSkillRank(SKILL_APPRAISE,oPC) + GetSkillRank(SKILL_PERSUADE,oPC);
    object oStore = GetNearestObjectByTag(GetTag(OBJECT_SELF)+"_Store");
    if (iBargin > 10)
        iBargin = 10;
    OpenStore(oStore,oPC,0,iBargin);
    }
