loadresource("data\\8\\5\\0002.png","kamin2",2);
loadresource("data\\8\\5\\kamin.png","kamin",3);
loadresource("data\\8\\5\\0007.jpg","kamin7",7);

--set_activ_free_leaf("kamin");
AddObjForCur()

addstaticobjecttogame(2,"kamin2",79 ,69 ,""); --рамка
CloseBtnX,CloseBtnY=Coords(2)


SetFlagsForSatButtons()


CloseWidth=34
CloseHeight=34

CreateCloseBtn(CloseBtnX,CloseBtnY);



addstaticobjecttogame(3,"kamin",479,110,"",0,0,313,412); --статуэтка правая
if not flags.odna_stat then
  speciale_action(2,3);
end;
addstaticobjecttogame(4,"kamin",241,90 ,"",313,0,209,397); --статуэтка левая
if not flags.dwa_stat then
  speciale_action(2,4);
end;
addstaticobjecttogame(5,"kamin",177,344,"",522,0,502,159); --плашки зтм
speciale_action(2,5);
addactivobjecttogame(6,"kamin",177,344,"","",0,0,522,159,502,167); --плашки
Set_Anim_Cur(6,4);
addstaticobjecttogame(7,"kamin7",87 ,79 ,"",0,0,600,470); --бг

  if s_obj>0 then
  AddObjToMouse(s_obj)
  s_obj=0
  end;

WaitRender();