loadresource("data\\12\\3\\krugka_water.png","krugka_water",3);
loadresource("data\\12\\3\\0006.jpg","krugka_water_6",7);
loadresource("data\\inventary\\krujka.png","krujka",8);

AddObjForCur()
SetFlagsForSatButtons()

addstaticobjecttogame(3,"krugka_water",255,60 ,"",0,0,645,560); --рамка
CloseBtnX,CloseBtnY=Coords(3)

CloseWidth=34
CloseHeight=34

CreateCloseBtn(CloseBtnX,CloseBtnY);


NewObj("krugwa","krujka",2000,2000,"2015"); --кружка полная
NewObj("krugaw","krugka_water",654,414,"2015",890,0,95,100); --кружка полная
speciale_action(2,obj.krugaw.id);
addstaticobjecttogame(5,"krugka_water",491,441,"",645,0,150,104); --кружка в воде
speciale_action(2,5);
addstaticobjecttogame(6,"krugka_water",577,357,"",795,0,95,103); --кружка пустая
speciale_action(2,6);

Activ={
259,66+320,
259+634,66+320,
259+634,66+320+224,
259,66+320+224
}

CreatePolygon(7,4,"Activ")
Set_Anim_Cur(7,4)
addstaticobjecttogame(8,"krugka_water_6",259,66 ,"",0,0,634,545); --бг

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

WaitRender();