;
; DIALOG FOR ENEMY MEN WISHES TO JOIN YOUR CREW
;
[MAIN]
item	= PICTURE,BACKGROUND
;item	= VIDEORECTANGLE,VIDEOPIE
item    = PICTURE,RAMKA
item    = TITLE,TITLE
; MAXIMUS interface MOD -->
item	= 100,pc,BUTTON,EXIT_BUTTON
;item	= CONTEXTHELP,CONTEXTHELP
; MAXIMUS interface MOD <--
item	= SCROLLIMAGE,GOODSLIST
item	= 400,BUTTON,LEFTSCROLLBUTTON
item    = 400,BUTTON,RIGHTSCROLLBUTTON
item	= IMAGECOLLECTION,IMAGES
item	= TEXTBUTTON,TAKEALL_BUTTON
item	= TEXTBUTTON,TAKEALLCURRENT_BUTTON
item	= LRCHANGER,GOODS_CHANGER

; MAXIMUS interface MOD -->
item    = TEXTBUTTON,DISCARD_BUTTON
item	= SCROLLBAR,DISCARD_COUNTER
item	= TEXTBUTTON,ALL_DISCARD
item	= TEXTBUTTON,OK_DISCARD

item    = BUTTON,LEFTCHANGE_CHARACTER
item    = BUTTON,RIGHTCHANGE_CHARACTER
; MAXIMUS interface MOD <--

start	= GOODSLIST


; MAXIMUS interface MOD -->

[BACKGROUND]
bAbsoluteRectangle	= 15
position	= 0,0,1000,480
textureName	= interfaces\background\cargo.tga
textureRect	= 0,0,1.5,1.0

[RAMKA]
bAbsoluteRectangle	= 15
position	= 0,0,1000,480
textureName	= interfaces\background\ramka.tga
textureRect	= 0,0,1.5,1.0
color       = 150,150,150,150

[VIDEOPIE]
bAbsoluteRectangle	= 15
position	= 0,0,1070,515
videoFile	= cargo.wmv

[EXIT_BUTTON]
command		= click,event:InterfaceCancel
position	= 630,5,655,35
group		= ICONS_NEW
picture		= exit button

[DISCARD_BUTTON]
group		= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= deactivate,select:GOODSLIST
command		= upstep,select:GOODSLIST
command		= rightstep,select:INFO_BUTTON
position		= 178,336,318,368
string			= Discard

[TAKEALLCURRENT_BUTTON]
group		= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= deactivate,select:GOODSLIST
command		= upstep,select:GOODS_CHANGER
position		= 178,372,462,404

[TAKEALL_BUTTON]
group		= ICONS_NEW
bBreakCommand
command		= activate,event:TakeAllPress,delay:150
command		= click,event:TakeAllPress,delay:150
command		= deactivate,select:GOODSLIST
command		= upstep,select:GOODS_CHANGER
position		= 322,336,462,368
string			= Take All

[DISCARD_COUNTER]
command		= activate,select:OK_DISCARD
command		= deactivate
command		= leftstep,event:DecreaseDiscard
command		= rightstep,event:IncreaseDiscard
command		= speedleft,event:DecreaseDiscard
command		= speedright,event:IncreaseDiscard
command		= click,select:DISCARD_COUNTER
command		= downstep,select:OK_DISCARD
position		= 256,308,384,340
barWidth		= 108

[ALL_DISCARD]
group		= ICONS_NEW
bBreakCommand
command		= deactivate
command		= activate
command		= click
command		= rightstep,select:OK_DISCARD
command		= upstep,select:DISCARD_COUNTER
position		= 160,348,290,380
string			= All

[OK_DISCARD]
group		= ICONS_NEW
bBreakCommand
command		= deactivate
command		= activate
command		= click
command		= leftstep,select:ALL_DISCARD
command		= upstep,select:DISCARD_COUNTER
position		= 350,348,480,380
string			= Ok

[LEFTCHANGE_CHARACTER]
bBreakCommand	= 1
command		= activate
command		= click
position	= 18,280,40,328
group		= ICONS
picture		= left arrow

[RIGHTCHANGE_CHARACTER]
bBreakCommand	= 1
command		= activate
command		= click
position	= 167,280,189,328
group		= ICONS
picture		= right arrow

[TITLE]
position	= 0,5,640,50
imageColor	= 0,0,0,0
; MAXIMUS interface MOD <--

[TOPRECTANGLE]
bAbsoluteRectangle	= 5
position		= 0,5,640,176
leftColor		= 255,255,255,255
topColor		= 255,1,5,30
rightColor		= 255,255,255,255
bottomColor		= 0,2,11,75

[GOODSLIST]
command		= click,select:GOODSLIST
command		= activate
command		= downstep
command		= deactivate,event:InterfaceCancel
command		= rightstep,com:activate:RIGHTSCROLLBUTTON
command		= leftstep,com:activate:LEFTSCROLLBUTTON
command		= speedright,com:activate:RIGHTSCROLLBUTTON
command		= speedleft,com:activate:LEFTSCROLLBUTTON
wDelta			= 0
LayerQuantity		= 2
UseOneString		= 1
dwYOffset1		= 67
UseTwoString		= 1
dwYOffset2		= 95

[LEFTSCROLLBUTTON]
command		= click,select:GOODSLIST,com:leftstep:GOODSLIST,com:activate:LEFTSCROLLBUTTON
position		= 210,71,274,135
group			= ICONS
picture			= left arrow

[RIGHTSCROLLBUTTON]
command		= click,select:GOODSLIST,com:rightstep:GOODSLIST,com:activate:RIGHTSCROLLBUTTON
position		= 366,71,430,135
group			= ICONS
picture			= right arrow

[IMAGES]
groupName	= ICONS_NEW
picture		= black rectangle,col:{128,128,128,128},pos:{36,198,318,230}
picture		= left side title,pos:{36,198,58,230}
picture		= left side title,pos:{318,198,296,230}
picture		= middle side title,pos:{58,198,296,230}
picture		= black rectangle,col:{128,128,128,128},pos:{322,198,604,230}
picture		= left side title,pos:{322,198,344,230}
picture		= left side title,pos:{604,198,582,230}
picture		= middle side title,pos:{344,198,582,230}
picture		= ship back,pos:{40,240,168,368}
picture		= ship back,pos:{472,240,600,368}
picture		= black rectangle,pos:{36,169,318,196}
picture		= black rectangle,pos:{322,169,604,196}

[GOODS_CHANGER]
command		= leftstep,event:ChangerLeft
command		= rightstep,event:ChangerRight
command		= deactivate,select:GOODSLIST
command		= click
command		= upstep,select:GOODSLIST
command		= downstep
position		= 286,272,354,304
spaceWidth		= 8