;
; DIALOG FOR SHIP CHOOSE
;
[MAIN]
item	= PICTURE,BACKGROUND
item    = TITLE,TITLE
; MAXIMUS interface MOD -->
item	= 100,pc,BUTTON,EXIT_BUTTON
; MAXIMUS interface MOD <--

item	= 100,pc,BUTTON,B_SHIPNAME

item	= IMAGECOLLECTION,CHARNAME_IMAGES
item	= IMAGECOLLECTION,SHIPNAME_IMAGES
item	= IMAGECOLLECTION,MONEY_IMAGES
item	= IMAGECOLLECTION,NONE_IMAGES
item	= IMAGECOLLECTION,SKILL_IMAGES
item	= STRINGCOLLECTION,CANNONS_STRINGS
; TIH mod toggle can hide this
item	= STRINGCOLLECTION,CANNONPOWDER_STRINGS
item	= FOURIMAGES,SHIPSLIST
;item	= LINECOLLECTION,NONE_LINES
; added by KAM -->
item	= FORMATEDTEXT,NATIONALDESIGN
; <-- added by KAM
; MAXIMUS interface MOD -->
item	= TEXTBUTTON,I_KAM_SHIPTRANSFER
item	= TEXTBUTTON,I_KAM_SHIPBERTHING
item	= TEXTBUTTON,I_KAM_SELECTSAILS
item	= TEXTBUTTON,CREW_BUTTON
item	= TEXTBUTTON,I_KAM_RATIONS
item	= TEXTBUTTON,I_KAM_ARTICLES
item	= TEXTBUTTON,I_MONEY
; MAXIMUS interface MOD <--
item	= LINECOLLECTION,CANNONS_LINES
item	= LINECOLLECTION,SAILS_LINES
item	= RECTANGLE,RHULL
item	= RECTANGLE,RSAILS
item	= RECTANGLE,RFACE
item	= RECTANGLE,RCREW
item	= RECTANGLE,RCANNONS
item	= 100,EDITBOX,RENAMEBOX
item	= 81,GLOWCURSOR,GLOWCURSOR

; MAXIMUS interface MOD -->
item	= IMAGECOLLECTION,BOX

item	= TEXTBUTTON,I_CHARACTER
item	= TEXTBUTTON,I_SHIPHOLD
item	= TEXTBUTTON,I_PASSENGER
item	= TEXTBUTTON,I_QUESTBOOK
item	= TEXTBUTTON,I_TRADEBOOK
item	= TEXTBUTTON,I_NATIONS
item	= TEXTBUTTON,I_ITEMS
item	= TEXTBUTTON,I_MAP
; MAXIMUS interface MOD <--

start	= SHIPSLIST

; MAXIMUS interface MOD -->
[BOX]
picture		= black rectangle,col:{250,0,0,0},pos:{147,230,493,262}
command		= activate
command		= click
command		= deactivate

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

[B_SHIPNAME]
;bBreakCommand
command		= activate,event:ShipNameChange
command		= click,event:ShipNameChange
command		= deactivate,select:RFACE
command		= upstep,select:RFACE
position		= 147,230,493,262

[TITLE]
position	= 0,5,640,50
imageColor	= 0,0,0,0

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

[I_CHARACTER]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_MAP
command		= rightstep,select:I_SHIPHOLD
command		= deactivate,event:exitCancel
position		= -40,-30,50,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Character

[I_SHIPHOLD]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_CHARACTER
command		= rightstep,select:I_PASSENGER
command		= deactivate,event:exitCancel
position		= 51,-30,140,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Shiphold

[I_PASSENGER]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_SHIPHOLD
command		= rightstep,select:I_QUESTBOOK
command		= deactivate,event:exitCancel
position		= 141,-30,230,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Passengers

[I_QUESTBOOK]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_PASSENGER
command		= rightstep,select:I_TRADEBOOK
command		= deactivate,event:exitCancel
position		= 231,-30,320,-8
font			= INTERFACE_ULTRASMALL
string			= Sel QuestBook

[I_TRADEBOOK]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_QUESTBOOK
command		= rightstep,select:I_NATIONS
command		= deactivate,event:exitCancel
position		= 321,-30,410,-8
font			= INTERFACE_ULTRASMALL
string			= Sel TradeBook

[I_NATIONS]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_TRADEBOOK
command		= rightstep,select:I_ITEMS
command		= deactivate,event:exitCancel
position		= 411,-30,500,-8
font			= INTERFACE_ULTRASMALL
string			= Sel NationRelation

[I_ITEMS]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_NATIONS
command		= rightstep,select:I_MAP
command		= deactivate,event:exitCancel
position		= 501,-30,590,-8
font			= INTERFACE_ULTRASMALL
string			= Sel Items

[I_MAP]
group			= ICONS_NEW
bBreakCommand
strOffset	= 2
command		= activate,delay:150
command		= click
command		= leftstep,select:I_ITEMS
command		= rightstep,select:I_CHARACTER
command		= deactivate,event:exitCancel
position		= 591,-30,680,-8
font			= INTERFACE_ULTRASMALL
string		= Sel Reserved

[CREW_BUTTON]
group			= ICONS_NEW
bBreakCommand
command		= upstep,select:RCREW
command		= downstep,select:I_KAM_RATIONS
command		= activate,event:RaiseItPress
command		= click,com:activate:CREW_BUTTON,event:RaiseItPress
command		= deactivate,select:RCREW
command		= upstep,select:RCREW
position		= 216,310,424,342
string			= Raise It

[I_KAM_RATIONS]
group			= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= upstep,select:CREW_BUTTON
command		= downstep,select:I_KAM_ARTICLES
command		= leftstep,select:I_KAM_ARTICLES
command		= rightstep,select:I_KAM_ARTICLES
command		= deactivate,event:exitCancel
position	= 147,422,318,452
string		= KAM_Rations_Btn

[I_KAM_ARTICLES]
group			= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= upstep,select:I_KAM_RATIONS
command		= downstep,select:I_MONEY
command		= leftstep,select:I_KAM_RATIONS
command		= rightstep,select:I_KAM_RATIONS
command		= deactivate,event:exitCancel
position	= 322,422,493,452
string		= KAM_Articles_Btn

[I_MONEY]
group			= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= upstep,select:I_KAM_ARTICLES
command		= downstep,select:RCREW
command		= deactivate,event:exitCancel
position	= 147,455,493,485
string		= KAM_CrewDonate_Btn

[I_KAM_SHIPTRANSFER]
group			= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= leftstep,select:I_KAM_SELECTSAILS
command		= rightstep,select:I_KAM_SHIPBERTHING
command		= deactivate,event:exitCancel
position	= 147,422,493,452
string		= KAM_ShipTransfer_Btn

[I_KAM_SHIPBERTHING]
group			= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= leftstep,select:I_KAM_SHIPTRANSFER
command		= rightstep,select:I_KAM_SELECTSAILS
command		= deactivate,event:exitCancel
position	= 147,455,493,485
string		= KAM_ShipBerthing_Btn

[I_KAM_SELECTSAILS]
group			= ICONS_NEW
bBreakCommand
command		= activate
command		= click
command		= leftstep,select:I_KAM_SHIPBERTHING
command		= rightstep,select:I_KAM_SHIPTRANSFER
command		= deactivate,event:exitCancel
position	= 147,422,493,452
string		= KAM_ShipSails_Btn
; MAXIMUS interface MOD <--

[SCROLLRECTANGLE]
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

[CHARNAME_IMAGES]
groupName	= ICONS_NEW
picture		= black rectangle,col:{128,128,128,128},pos:{147,194,493,226}
picture		= left side title,pos:{147,194,169,226}
picture		= left side title,pos:{493,194,471,226}
picture		= middle side title,pos:{169,194,471,226}

[SHIPNAME_IMAGES]
groupName	= ICONS
picture		= black rectangle,col:{250,128,128,128},pos:{147,230,493,262}
picture		= left side title,pos:{147,230,169,262}
picture		= left side title,pos:{493,230,471,262}
picture		= middle side title,pos:{169,230,471,262}

[MONEY_IMAGES]
groupName	= ICONS_NEW
picture		= black rectangle,col:{128,128,128,128},pos:{147,388,493,420}
picture		= left side title,pos:{147,388,169,420}
picture		= left side title,pos:{493,388,471,420}
picture		= middle side title,pos:{169,388,471,420}

[NONE_IMAGES]
groupName	= ICONS_NEW
picture		= ship speed icon,pos:{170,276,202,308}
picture		= ship maneuver icon,pos:{170,312,202,344}
picture		= ship max caliber icon,pos:{170,348,202,380}
picture		= ship max crew icon,pos:{370,276,402,308}
picture		= ship min crew icon,pos:{370,311,402,343}
picture		= ship capacity icon,pos:{370,346,402,378}

[SKILL_IMAGES]
groupName	= ICONS_NEW
picture		= leadership skill icon,pos:{202,293,234,325}
picture		= fencing skill icon,pos:{202,325,234,357}
picture		= sailing skill icon,pos:{202,357,234,389}
picture		= accuracy skill icon,pos:{202,389,234,421}
picture		= cannons skill icon,pos:{202,421,234,453}

picture		= grappling skill icon,pos:{370,293,402,325}
picture		= repair skill icon,pos:{370,325,402,357}
picture		= deffence skill icon,pos:{370,357,402,389}
picture		= commerce skill icon,pos:{370,389,402,421}
picture		= sneak skill icon,pos:{370,421,402,453}

; TIH mod toggle moved powder info into hideable node
[CANNONS_STRINGS]
string		= Fire range,font:interface_normal,pos:{170,309},fc:{255,255,255,255},bc:{0,128,128,128},scale:1.0,state:{S}
string		= Reload time,font:interface_normal,pos:{170,335},fc:{255,255,255,255},bc:{0,128,128,128},scale:1.0,state:{S}
string		= feet,font:interface_normal,pos:{420,313},fc:{255,255,255,255},bc:{0,128,128,128},scale:0.75,state:{S}
string		= sec.,font:interface_normal,pos:{420,339},fc:{255,255,255,255},bc:{0,128,128,128},scale:0.75,state:{S}

; TIH mod toggle able to hide this information
[CANNONPOWDER_STRINGS]
string		= Gunpowder using,font:interface_normal,pos:{170,361},fc:{255,255,255,255},bc:{0,128,128,128},scale:1.0,state:{S}
string		= chrg.,font:interface_normal,pos:{420,365},fc:{255,255,255,255},bc:{0,128,128,128},scale:0.75,state:{S}

[SHIPSLIST]
bBreakCommand
command		= activate,event:exitOk
command		= deactivate,event:exitCancel
command		= click,select:SHIPSLIST
command		= rightstep
command		= leftstep
command		= upstep
command		= downstep
oneGroupName	= ICONS
twoGroupName   	= SHIPS
oneString	= font:interface_normal,off:(-46,5),fc:{255,255,255,255},bc:{0,0,0,0}
twoString	= font:interface_ultrasmall,off:(0,103),fc:{255,255,255,255},bc:{0,0,0,0}

; changed by KAM -->
[NONE_LINES]
;line = (147,310)-(492,310),col:{255,185,135,55}
line = (147,310)-(289,310),col:{255,185,135,55}
line = (350,310)-(492,310),col:{255,185,135,55}
;line = (147,346)-(492,346),col:{255,185,135,55}
line = (147,346)-(289,346),col:{255,185,135,55}
line = (350,346)-(492,346),col:{255,185,135,55}
; <-- changed by KAM

; added by KAM -->
[NATIONALDESIGN]
command			= click
position		= 279,330,360,400
lineSpace		= 22
fontScale		= 0.6

[CANNONS_LINES]
line = (147,302)-(492,302),col:{255,185,135,55}

[SAILS_LINES]
line = (147,299)-(492,299),col:{255,185,135,55}

[RHULL]
command		= deactivate,select:SHIPSLIST
command		= click,select:RHULL
command		= rightstep,select:RSAILS
position		= 0,42,128,170
leftColor		= 0,0,0,0,0
topColor		= 0,0,0,0,0
rightColor		= 0,0,0,0,0
bottomColor		= 0,0,0,0,0

[RSAILS]
command		= deactivate,select:SHIPSLIST
command		= click,select:RSAILS
command		= rightstep,select:RFACE
command		= leftstep,select:RHULL
position		= 128,42,256,170
leftColor		= 0,0,0,0,0
topColor		= 0,0,0,0,0
rightColor		= 0,0,0,0,0
bottomColor		= 0,0,0,0,0

[RFACE]
command		= deactivate,select:SHIPSLIST
command		= click,select:RFACE
command		= rightstep,select:RCREW
command		= leftstep,select:RSAILS
command		= downstep,select:B_SHIPNAME
command		= activate,select:B_SHIPNAME
position		= 256,42,384,170
leftColor		= 0,0,0,0,0
topColor		= 0,0,0,0,0
rightColor		= 0,0,0,0,0
bottomColor		= 0,0,0,0,0

[RCREW]
command		= deactivate,select:SHIPSLIST
command		= click,select:RCREW
command		= rightstep,select:RCANNONS
command		= leftstep,select:RFACE
command		= upstep,select:I_MONEY
command     = downstep,select:B_NAME
command		= activate,event:RaiseSelectPress
position		= 384,42,512,170
leftColor		= 0,0,0,0,0
topColor		= 0,0,0,0,0
rightColor		= 0,0,0,0,0
bottomColor		= 0,0,0,0,0

[RCANNONS]
command		= deactivate,select:SHIPSLIST
command		= click,select:RCANNONS
command		= leftstep,select:RCREW
position		= 512,42,640,170
leftColor		= 0,0,0,0,0
topColor		= 0,0,0,0,0
rightColor		= 0,0,0,0,0
bottomColor		= 0,0,0,0,0

[RENAMEBOX]
command		= activate
command		= deactivate,select:RFACE
command		= click
command		= leftstep
command		= rightstep
command		= upstep
command		= downstep
position	= 147,194,493,420
chrFont		= interface_normal
strFont		= interface_normal
chrScale	= 1.0
strScale	= 1.0
offsLeft	= 8
offsTop		= 8
chrTexture	= interfaces\icons.tga
normTexRect	= 0,0.625,0.0625,0.75
selTexRect	= 0.0625,0.625,0.125,0.75
argbBoxColor	= 255,0,0,0
argbBoundColor	= 128,80,80,80
alphabet	= alphabet low register
alphabetUP	= alphabet up register
hGrateSize	= 8
stringLength	= 20
