loadresource("data\\0\\2\\t_0003.png","0207",3 );
loadresource("data\\0\\2\\t_0002.png","0209",6 );
loadresource("data\\inventary\\nog.png","noj_lab",6)
loadresource("data\\0\\2\\t_0005.png","0208",5 );
loadresource("data\\0\\2\\t_0008.jpg","0212",9 );

AddObjForCur()

 
NewObj("nog","noj_lab",2000,2000,"47"); --нож

  
  SetFlagsForSatButtons()
  addstaticobjecttogame(3,"0207",271 ,119,""); --рамка  
  CloseBtnX,CloseBtnY=Coords(3)
  CloseWidth=34
  CloseHeight=34
  
  CreateCloseBtn(CloseBtnX,CloseBtnY);
  dver={
  140+190, 258, 
  548+190, 258, 
  548+190, 468, 
  140+190, 468
  }
  CreatePolygon( 8, 4, "dver" )
  speciale_action(4,8)
  Set_Anim_Cur(8,4);

  addactivobjecttogame(5,"0209",278+112,137+134,"",""); --письмо
  speciale_action(2,5);
  addstaticobjecttogame(6,"0208",287 ,137,""); --открытый тумба 
  speciale_action(2,6);  


  addstaticobjecttogame(9,"0212",278 ,137,"",0,0,521,368); --фон
  
  if s_obj>0 then
  AddObjToMouse(s_obj)
  s_obj=0
  end;
  WaitRender();
  
  if flags.open_tumba then
    speciale_action(2,5);
    Set_Anim_Cur(5,4);
    speciale_action(2,6);
    speciale_action(2,8);
  return; end;