<interface_config>
  <root id="interface"
        x="0"
        y="0"
        w="800"
        h="600"
        active="true" />
  <!-- This value is saved/loaded in the .icfg (default: 0). 
        It is used in combination with RESET_VER_* defines, to avoid loading old DB parts of .icfg 
        Increment it each time you want to force to reset some db vars, and add/replace the RESET_VER_* defines
        of the variables you want to force
-->
  <define id="UI_DB_SAVE_VERSION"
          value="1" />
  <!-- ****************************** -->
  <!-- *       WINDOWS COLORS       * -->
  <!-- ****************************** -->
  <variable entry="UI:SAVE:WIN:COLORS:PLA"
            type="rgba"
            value="167 205 107 255" />
  <variable entry="UI:SAVE:WIN:COLORS:ANI"
            type="rgba"
            value="189 154 123 255" />
  <variable entry="UI:SAVE:WIN:COLORS:COM"
            type="rgba"
            value="255 237 89 255" />
  <variable entry="UI:SAVE:WIN:COLORS:INV"
            type="rgba"
            value="74 162 243 255" />
  <variable entry="UI:SAVE:WIN:COLORS:OPT"
            type="rgba"
            value="255 79 69 255" />
  <variable entry="UI:SAVE:WIN:COLORS:LAB"
            type="rgba"
            value="251 163 60 255" />
  <variable entry="UI:SAVE:WIN:COLORS:MEM"
            type="rgba"
            value="237 112 200 255" />
  <variable entry="UI:SAVE:WIN:COLORS:MAP"
            type="rgba"
            value="237 200 30 255" />
  <variable entry="UI:SAVE:WIN:COLORS:HELP"
            type="rgba"
            value="255 96  16 255" />
  <variable entry="UI:SAVE:WIN:COLORS:INFOS"
            type="rgba"
            value="255 0 0 255" />
  <variable entry="UI:SAVE:WIN:COLORS:TRADE"
            type="rgba"
            value="204 177 107 255" />
  <variable entry="UI:SAVE:WIN:COLORS:BOT"
            type="rgba"
            value="0 251 222 255" />
  <!-- R2 windows -->
  <variable entry="UI:SAVE:WIN:COLORS:R2_PALETTE"
            type="rgba"
            value="255 255 66 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_SCENARIO"
            type="rgba"
            value="117 217 255 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_PROP_WINDOW"
            type="rgba"
            value="26 251 142 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_FORM"
            type="rgba"
            value="24 142 249 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK"
            type="rgba"
            value="239 170 33 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_DIALOGS"
            type="rgba"
            value="117 163 255 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_EVENTS"
            type="rgba"
            value="252 255 162 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_ACTIVITIES"
            type="rgba"
            value="228 118 255 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_FEATURE_HELP"
            type="rgba"
            value="117 255 189 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_CONNECT"
            type="rgba"
            value="162 255 173 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER"
            type="rgba"
            value="255 113 66 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL"
            type="rgba"
            value="255 12 89 255" />
  <variable entry="UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING"
            type="rgba"
            value="240 255 89 255" />
  <variable entry="UI:SAVE:WIN:COLORS:PLA_GRAYED"
            type="rgba"
            value="0 0 0 255" />
  <variable entry="UI:SAVE:WIN:COLORS:LAB_GRAYED"
            type="rgba"
            value="0 0 0 255" />
  <variable entry="UI:SAVE:WIN:COLORS:MEM_GRAYED"
            type="rgba"
            value="0 0 0 255" />
  <link expr="depends(@UI:SAVE:WIN:COLORS:PLA)"
        action="proc"
        params="proc_set_pla_grayed" />
  <link expr="depends(@UI:SAVE:WIN:COLORS:LAB)"
        action="proc"
        params="proc_set_lab_grayed" />
  <link expr="depends(@UI:SAVE:WIN:COLORS:MEM)"
        action="proc"
        params="proc_set_mem_grayed" />
  <proc id="proc_set_pla_grayed">
    <action handler="set"
            params="dblink=UI:SAVE:WIN:COLORS:PLA_GRAYED|value=makeRGB(getRed(@UI:SAVE:WIN:COLORS:PLA),getGreen(@UI:SAVE:WIN:COLORS:PLA),getBlue(@UI:SAVE:WIN:COLORS:PLA),96)" />
  </proc>
  <proc id="proc_set_lab_grayed">
    <action handler="set"
            params="dblink=UI:SAVE:WIN:COLORS:LAB_GRAYED|value=makeRGB(getRed(@UI:SAVE:WIN:COLORS:LAB),getGreen(@UI:SAVE:WIN:COLORS:LAB),getBlue(@UI:SAVE:WIN:COLORS:LAB),96)" />
  </proc>
  <proc id="proc_set_mem_grayed">
    <action handler="set"
            params="dblink=UI:SAVE:WIN:COLORS:MEM_GRAYED|value=makeRGB(getRed(@UI:SAVE:WIN:COLORS:MEM),getGreen(@UI:SAVE:WIN:COLORS:MEM),getBlue(@UI:SAVE:WIN:COLORS:MEM),96)" />
  </proc>
  <!-- R2 property sheets & forms alpha settings -->
  <variable entry="UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:R2_FORM:CONTAINER_ALPHA"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:R2_FORM:CONTENT_ALPHA"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS"
            type="bool"
            value="true" />
  <!-- ****************************** -->
  <!-- *       ENTITIES COLORS      * -->
  <!-- ****************************** -->
  <variable entry="UI:SAVE:ENTITY:CONTEXT_HELP"
            type="bool"
            value="true" />
  <!-- ****************************** -->
  <!-- *       ENTITIES COLORS      * -->
  <!-- ****************************** -->
  <variable entry="UI:SAVE:ENTITY:COLORS:DEAD"
            type="rgba"
            value="255 255 0 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:USER"
            type="rgba"
            value="255 112 249 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:PLAYER"
            type="rgba"
            value="77 144 255 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:GROUP"
            type="rgba"
            value="185 76 255 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:GUILD"
            type="rgba"
            value="120 0 200 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:NPC"
            type="rgba"
            value="192 192 192 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:FAUNA"
            type="rgba"
            value="249 179 29 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:TARGET"
            type="rgba"
            value="255 255 255 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:SOURCE"
            type="rgba"
            value="65 255 112 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:MOUNT"
            type="rgba"
            value="217 255 114 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:BEAST"
            type="rgba"
            value="158 216 0 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:PVPENEMY"
            type="rgba"
            value="185 0 0 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:PVPALLY"
            type="rgba"
            value="0 200 0 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM"
            type="rgba"
            value="140 200 140 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD"
            type="rgba"
            value="100 150 100 255" />
  <variable entry="UI:SAVE:ENTITY:COLORS:PVPNEUTRAL"
            type="rgba"
            value="64 128 128 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:SGM"
            type="rgba"
            value="122 15 240 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:GM"
            type="rgba"
            value="216 11 244 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:VG"
            type="rgba"
            value="248 68 7 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:SG"
            type="rgba"
            value="248 68 7 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:G"
            type="rgba"
            value="244 176 132 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:CM"
            type="rgba"
            value="255 225 240 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:EM"
            type="rgba"
            value="225 221 98 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:EG"
            type="rgba"
            value="98 225 240 255" />
  <variable entry="UI:INTERFACE:ENTITY:COLORS:OBSERVER"
            type="rgba"
            value="248 68 7 255" />
  <link expr="depends(@UI:SAVE:ENTITY:COLORS)"
        action="update_entities_color"
        params="" />
  <!-- at .icfg load: don't load those variables if the define value is < UI_DB_SAVE_VERSION that is in the old .icfg 
        NB: replace the ':' of the db name with '_'
-->
  <define id="RESET_VER_UI_SAVE_ENTITY_COLORS_TARGET"
          value="1" />
  <define id="RESET_VER_UI_SAVE_ENTITY_COLORS_NPC"
          value="1" />
  <!-- ****************************** -->
  <!-- *       INSCENE INTERFACE    * -->
  <!-- ****************************** -->
  <variable entry="UI:SAVE:INSCENE:USER:GUILD_SYMBOL"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:NAME"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:TITLE"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:GUILD_NAME"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:HP"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:STA"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:SAP"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:FOCUS"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:ACTION"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:MESSAGES"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:USER:PVP_LOGO"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:NAME"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:TITLE"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:GUILD_NAME"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:HP"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:STA"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:SAP"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:FOCUS"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:MESSAGES"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:PVP_LOGO"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:MISSION_ICON"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:ENEMY:NAME"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:ENEMY:TITLE"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:ENEMY:GUILD_NAME"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:ENEMY:HP"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:ENEMY:MESSAGES"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:ENEMY:PVP_LOGO"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:SOURCE:NAME"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:SOURCE:HP"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:SOURCE:STA"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:SOURCE:SAP"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:SOURCE:FOCUS"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:INSCENE:SOURCE:ACTION"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:RESPAWN_PT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:OPEN_MISSION"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:R2:DISPLAYINFO"
            type="sint32"
            value="-1" />
  <variable entry="UI:SAVE:FAME:CIV_ALLEGIANCE"
            type="sint8"
            value="0" />
  <variable entry="UI:SAVE:FAME:CULT_ALLEGIANCE"
            type="sint8"
            value="0" />
  <!-- change InScene Bars if user change the setup, or if the User Pvp Mode/Status change -->
  <variable entry="UI:VARIABLES:USER:TRACK_PVP_CHANGE_ANY"
            type="sint32"
            value="0" />
  <link expr="depends(@UI:SAVE:INSCENE)"
        action="reset_character_in_scene"
        params="" />
  <link expr="depends(@UI:VARIABLES:USER:TRACK_PVP_CHANGE_ANY)"
        action="reset_character_in_scene"
        params="pvponly" />
  <define id="skill_frozen_color"
          value="120 225 255 255" />
  <define id="skill_career_color"
          value="255 255 255 255" />
  <define id="skill_job_color"
          value="210 210 210 255" />
  <define id="skill_text_color"
          value="210 210 180 255" />
  <define id="skill_bar_color"
          value="195 195  60 255" />
  <define id="skill_pos_buf"
          value="80 255 80 255" />
  <define id="skill_neg_buf"
          value="250 250 80 255" />
  <define id="skill_job_bar_color"
          value="70  70  70  255" />
  <define id="armour_color_0"
          value="233 22 0 255" />
  <define id="armour_color_1"
          value="220 140 50 255" />
  <define id="armour_color_2"
          value="170 250 0 255" />
  <define id="armour_color_3"
          value="0 215 120 255" />
  <define id="armour_color_4"
          value="50 100 255 255" />
  <define id="armour_color_5"
          value="170 55 110 255" />
  <define id="armour_color_6"
          value="250 250 250 255" />
  <define id="armour_color_7"
          value="80 80 120 255" />
  <!-- ****************************** -->
  <!-- *       LANDMARK COLORS      * -->
  <!-- ****************************** -->
  <variable entry="UI:SAVE:LANDMARK:COLORS:MISC"
            type="rgba"
            value="255 0 255 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:TRIBE"
            type="rgba"
            value="180 180 180 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:BANDIT"
            type="rgba"
            value="110 110 110 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:CITIZEN"
            type="rgba"
            value="255 255 255 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FAUNA"
            type="rgba"
            value="255 100 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL"
            type="rgba"
            value="255 50 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FAUNASUP"
            type="rgba"
            value="200 0 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FORAGE"
            type="rgba"
            value="150 200 50 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL"
            type="rgba"
            value="50 200 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FORAGESUP"
            type="rgba"
            value="0 150 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:SAP"
            type="rgba"
            value="150 200 50 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:AMBER"
            type="rgba"
            value="255 150 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:NODE"
            type="rgba"
            value="200 100 50 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FIBER"
            type="rgba"
            value="255 255 150 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:BARK"
            type="rgba"
            value="150 100 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:SEED"
            type="rgba"
            value="100 50 50 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:SHELL"
            type="rgba"
            value="200 150 150 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:RESIN"
            type="rgba"
            value="50 100 0 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:WOOD"
            type="rgba"
            value="100 100 50 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:OIL"
            type="rgba"
            value="200 200 50 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:MISSION"
            type="rgba"
            value="200 50 150 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:FOOD"
            type="rgba"
            value="200 50 150 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:CONSTRUCTION"
            type="rgba"
            value="255 0 100 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:GOO"
            type="rgba"
            value="100 0 150 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:INSECT"
            type="rgba"
            value="50 100 150 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:KITIN"
            type="rgba"
            value="50 0 150 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:NOCIVE"
            type="rgba"
            value="50 0 100 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:PRESERVATIVE"
            type="rgba"
            value="50 0 50 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:PASSAGE"
            type="rgba"
            value="100 255 255 255" />
  <variable entry="UI:SAVE:LANDMARK:COLORS:TELEPORTER"
            type="rgba"
            value="0 200 200 255" />
  <link expr="depends(@UI:SAVE:LANDMARK:COLORS)"
        action="update_landmarks_color"
        params="" />
  <!-- ***************** -->
  <!-- *   CONTAINER   * -->
  <!-- * CONFIGURATION * -->
  <!-- ***************** -->
  <!-- 0 - not tiled (1 BL) (2 BR) (3 TL) (4 TR) -->
  <style style="skin_scroll"
         type="scroll"
         posref="BL BL"
         w="8"
         tx_topright="skin_scroll_t.tga"
         tx_middle="skin_scroll_m.tga"
         tx_bottomleft="skin_scroll_b.tga" />
  <options type="layer"
           name="skin_modal">
    <param name="tx_tl"
           value="skin_modal_tl.tga" />
    <param name="tx_t"
           value="skin_modal_t.tga" />
    <param name="tx_tr"
           value="skin_modal_tr.tga" />
    <param name="tx_l"
           value="skin_modal_l.tga" />
    <param name="tx_r"
           value="skin_modal_r.tga" />
    <param name="tx_blank"
           value="skin_l1_blank.tga" />
    <param name="tx_bl"
           value="skin_modal_bl.tga" />
    <param name="tx_b"
           value="skin_modal_b.tga" />
    <param name="tx_br"
           value="skin_modal_br.tga" />
    <param name="tile_blank"
           value="3" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer0">
    <param name="title_font_size"
           value="13" />
    <param name="title_offset_x"
           value="8" />
    <param name="title_offset_y"
           value="-10" />
    <param name="title_offset_openable_x"
           value="20" />
    <param name="title_offset_openable_y"
           value="-10" />
    <param name="scrollbar_offset_x"
           value="6" />
    <param name="scrollbar_size_w"
           value="8" />
    <param name="scrollbar_tx_b"
           value="skin_scroll_b.tga" />
    <param name="scrollbar_tx_m"
           value="skin_scroll_m.tga" />
    <param name="scrollbar_tx_t"
           value="skin_scroll_t.tga" />
    <param name="header_h"
           value="16" />
    <param name="open_state_tx_opened"
           value="W_arrow_down_1.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_1.tga" />
    <param name="open_state_offset_x"
           value="6" />
    <param name="open_state_offset_y"
           value="-10" />
    <param name="right_button_offset_x"
           value="-8" />
    <param name="right_button_offset_y"
           value="-9" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="right_button_tx_locked"
           value="w_win_lock.tga" />
    <param name="help_button_offset_x"
           value="-24" />
    <param name="help_button_offset_y"
           value="-9" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="button_lock_offset_x"
           value="-8" />
    <param name="button_lock_offset_y"
           value="-6" />
    <param name="button_lock"
           value="w_unlocked_16.tga" />
    <param name="button_lock_pushed"
           value="w_locked_16.tga" />
    <param name="button_lock_over"
           value="W_button_16_over.tga" />
    <param name="tx_l_header"
           value="skin_header_L.tga" />
    <param name="tx_m_header"
           value="skin_header_M.tga" />
    <param name="tx_r_header"
           value="skin_header_R.tga" />
    <param name="tx_tl"
           value="skin_tl.tga" />
    <param name="tx_t"
           value="skin_t.tga" />
    <param name="tx_tr"
           value="skin_tr.tga" />
    <param name="tx_l"
           value="skin_l.tga" />
    <param name="tx_r"
           value="skin_r.tga" />
    <param name="tx_blank"
           value="skin_blank.tga" />
    <param name="tx_bl"
           value="skin_bl.tga" />
    <param name="tx_b"
           value="skin_b.tga" />
    <param name="tx_br"
           value="skin_br.tga" />
    <param name="tx_bl_open"
           value="skin_bl_open.tga" />
    <param name="tx_b_open"
           value="skin_b_open.tga" />
    <param name="tx_br_open"
           value="skin_br_open.tga" />
    <param name="tx_el_open"
           value="Skin_el_open.tga" />
    <param name="tx_em_open"
           value="skin_em_open.tga" />
    <param name="tx_er_open"
           value="skin_er_open.tga" />
    <param name="tx_m_open"
           value="skin_m_open.tga" />
    <param name="tx_e_open"
           value="none" />
    <param name="tile_t"
           value="3" />
    <param name="tile_b"
           value="3" />
    <param name="tile_l"
           value="3" />
    <param name="tile_r"
           value="3" />
    <param name="tile_blank"
           value="3" />
    <param name="tile_m_header"
           value="3" />
    <param name="tile_b_open"
           value="3" />
    <param name="tile_em_open"
           value="3" />
    <param name="tile_m_open"
           value="3" />
    <param name="tile_m_scrollbar"
           value="3" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <!-- special for milko_pad -->
  <options type="layer"
           name="layer0_pad"
           herit="layer0">
    <param name="header_h"
           value="0" />
  </options>
  <!-- special for player -->
  <options type="layer"
           name="layer0_player">
    <param name="title_font_size"
           value="13" />
    <param name="title_offset_x"
           value="56" />
    <param name="title_offset_y"
           value="-26" />
    <param name="title_offset_openable_x"
           value="20" />
    <param name="title_offset_openable_y"
           value="-10" />
    <param name="scrollbar_offset_x"
           value="6" />
    <param name="scrollbar_size_w"
           value="8" />
    <param name="scrollbar_tx_b"
           value="skin_scroll_b.tga" />
    <param name="scrollbar_tx_m"
           value="skin_scroll_m.tga" />
    <param name="scrollbar_tx_t"
           value="skin_scroll_t.tga" />
    <param name="header_h"
           value="16" />
    <param name="open_state_tx_opened"
           value="W_arrow_down_1.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_1.tga" />
    <param name="open_state_offset_x"
           value="6" />
    <param name="open_state_offset_y"
           value="-10" />
    <param name="right_button_offset_x"
           value="-8" />
    <param name="right_button_offset_y"
           value="-9" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="right_button_tx_locked"
           value="w_win_lock.tga" />
    <param name="help_button_offset_x"
           value="-24" />
    <param name="help_button_offset_y"
           value="-9" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="button_lock_offset_x"
           value="-8" />
    <param name="button_lock_offset_y"
           value="-6" />
    <param name="button_lock"
           value="w_unlocked_16.tga" />
    <param name="button_lock_pushed"
           value="w_locked_16.tga" />
    <param name="button_lock_over"
           value="W_button_16_over.tga" />
    <param name="tx_l_header"
           value="skin_header_L.tga" />
    <param name="tx_m_header"
           value="skin_header_M.tga" />
    <param name="tx_r_header"
           value="skin_header_R.tga" />
    <param name="tx_tl"
           value="skin_tl_player.tga" />
    <param name="tx_t"
           value="skin_t_player.tga" />
    <param name="tx_tr"
           value="skin_tr_player.tga" />
    <param name="tx_l"
           value="skin_l.tga" />
    <param name="tx_r"
           value="skin_r.tga" />
    <param name="tx_blank"
           value="skin_blank.tga" />
    <param name="tx_bl"
           value="skin_bl.tga" />
    <param name="tx_b"
           value="skin_b.tga" />
    <param name="tx_br"
           value="skin_br.tga" />
    <param name="tx_bl_open"
           value="skin_bl_open.tga" />
    <param name="tx_b_open"
           value="skin_b_open.tga" />
    <param name="tx_br_open"
           value="skin_br_open.tga" />
    <param name="tx_el_open"
           value="Skin_el_open.tga" />
    <param name="tx_em_open"
           value="skin_em_open.tga" />
    <param name="tx_er_open"
           value="skin_er_open.tga" />
    <param name="tx_m_open"
           value="skin_m_open.tga" />
    <param name="tx_e_open"
           value="none" />
    <param name="tile_t"
           value="3" />
    <param name="tile_b"
           value="3" />
    <param name="tile_l"
           value="3" />
    <param name="tile_r"
           value="3" />
    <param name="tile_blank"
           value="3" />
    <param name="tile_m_header"
           value="3" />
    <param name="tile_b_open"
           value="3" />
    <param name="tile_em_open"
           value="3" />
    <param name="tile_m_open"
           value="3" />
    <param name="tile_m_scrollbar"
           value="3" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer0_info">
    <param name="title_font_size"
           value="13" />
    <param name="title_offset_x"
           value="28" />
    <param name="title_offset_y"
           value="-10" />
    <param name="title_offset_openable_x"
           value="20" />
    <param name="title_offset_openable_y"
           value="-10" />
    <param name="scrollbar_offset_x"
           value="6" />
    <param name="scrollbar_size_w"
           value="8" />
    <param name="scrollbar_tx_b"
           value="skin_scroll_b.tga" />
    <param name="scrollbar_tx_m"
           value="skin_scroll_m.tga" />
    <param name="scrollbar_tx_t"
           value="skin_scroll_t.tga" />
    <param name="header_h"
           value="16" />
    <param name="open_state_tx_opened"
           value="W_arrow_down_1.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_1.tga" />
    <param name="open_state_offset_x"
           value="6" />
    <param name="open_state_offset_y"
           value="-10" />
    <param name="right_button_offset_x"
           value="-8" />
    <param name="right_button_offset_y"
           value="-9" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="right_button_tx_locked"
           value="w_win_lock.tga" />
    <param name="help_button_offset_x"
           value="-24" />
    <param name="help_button_offset_y"
           value="-9" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="button_lock_offset_x"
           value="-8" />
    <param name="button_lock_offset_y"
           value="-6" />
    <param name="button_lock"
           value="w_unlocked_16.tga" />
    <param name="button_lock_pushed"
           value="w_locked_16.tga" />
    <param name="button_lock_over"
           value="W_button_16_over.tga" />
    <param name="tx_l_header"
           value="skin_header_L.tga" />
    <param name="tx_m_header"
           value="skin_header_M.tga" />
    <param name="tx_r_header"
           value="skin_header_R.tga" />
    <param name="tx_tl"
           value="skin_tl.tga" />
    <param name="tx_t"
           value="skin_t.tga" />
    <param name="tx_tr"
           value="skin_tr.tga" />
    <param name="tx_l"
           value="skin_l.tga" />
    <param name="tx_r"
           value="skin_r.tga" />
    <param name="tx_blank"
           value="skin_blank.tga" />
    <param name="tx_bl"
           value="skin_bl.tga" />
    <param name="tx_b"
           value="skin_b.tga" />
    <param name="tx_br"
           value="skin_br.tga" />
    <param name="tx_bl_open"
           value="skin_bl_open.tga" />
    <param name="tx_b_open"
           value="skin_b_open.tga" />
    <param name="tx_br_open"
           value="skin_br_open.tga" />
    <param name="tx_el_open"
           value="Skin_el_open.tga" />
    <param name="tx_em_open"
           value="skin_em_open.tga" />
    <param name="tx_er_open"
           value="skin_er_open.tga" />
    <param name="tx_m_open"
           value="skin_m_open.tga" />
    <param name="tx_e_open"
           value="none" />
    <param name="tile_t"
           value="3" />
    <param name="tile_b"
           value="3" />
    <param name="tile_l"
           value="3" />
    <param name="tile_r"
           value="3" />
    <param name="tile_blank"
           value="3" />
    <param name="tile_m_header"
           value="3" />
    <param name="tile_b_open"
           value="3" />
    <param name="tile_em_open"
           value="3" />
    <param name="tile_m_open"
           value="3" />
    <param name="tile_m_scrollbar"
           value="3" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer1">
    <param name="title_font_size"
           value="11" />
    <param name="title_offset_x"
           value="8" />
    <param name="title_offset_y"
           value="-6" />
    <param name="title_offset_openable_x"
           value="18" />
    <param name="title_offset_openable_y"
           value="-6" />
    <param name="header_h"
           value="14" />
    <param name="open_state_tx_opened"
           value="W_arrow_down_1.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_1.tga" />
    <param name="open_state_offset_x"
           value="4" />
    <param name="open_state_offset_y"
           value="-5" />
    <param name="right_button_offset_x"
           value="-6" />
    <param name="right_button_offset_y"
           value="-5" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="help_button_offset_x"
           value="-18" />
    <param name="help_button_offset_y"
           value="-5" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="tx_tl"
           value="skin_l1_tl.tga" />
    <param name="tx_t"
           value="skin_l1_t.tga" />
    <param name="tx_tr"
           value="skin_l1_r.tga" />
    <param name="tx_l"
           value="skin_l1_l.tga" />
    <param name="tx_r"
           value="skin_l1_r.tga" />
    <param name="tx_blank"
           value="skin_l1_blank.tga" />
    <param name="tx_bl"
           value="skin_l1_bl.tga" />
    <param name="tx_b"
           value="skin_l1_b.tga" />
    <param name="tx_br"
           value="skin_l1_r.tga" />
    <param name="tx_bl_open"
           value="skin_l1_bl_open.tga" />
    <param name="tx_b_open"
           value="skin_l1_b_open.tga" />
    <param name="tx_br_open"
           value="skin_l1_r.tga" />
    <param name="tx_el_open"
           value="none" />
    <param name="tx_em_open"
           value="none" />
    <param name="tx_er_open"
           value="none" />
    <param name="tx_m_open"
           value="skin_l1_m_open.tga" />
    <param name="tx_e_open"
           value="skin_l1_e_open.tga" />
    <param name="tile_blank"
           value="3" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer2">
    <param name="title_font_size"
           value="10" />
    <param name="title_offset_x"
           value="8" />
    <param name="title_offset_y"
           value="-5" />
    <param name="title_offset_openable_x"
           value="20" />
    <param name="title_offset_openable_y"
           value="-5" />
    <param name="header_h"
           value="12" />
    <param name="open_state_tx_opened"
           value="W_arrow_down_2.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_2.tga" />
    <param name="open_state_offset_x"
           value="5" />
    <param name="open_state_offset_y"
           value="-5" />
    <param name="right_button_offset_x"
           value="-6" />
    <param name="right_button_offset_y"
           value="-3" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="help_button_offset_x"
           value="-18" />
    <param name="help_button_offset_y"
           value="-3" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="tx_tl"
           value="w_l2_tl.tga" />
    <param name="tx_t"
           value="w_l2_t.tga" />
    <param name="tx_tr"
           value="skin_l2_r.tga" />
    <param name="tx_l"
           value="w_l2_l.tga" />
    <param name="tx_r"
           value="skin_l2_r.tga" />
    <param name="tx_blank"
           value="w_l2_blank.tga" />
    <param name="tx_bl"
           value="w_l2_bl.tga" />
    <param name="tx_b"
           value="w_l2_b.tga" />
    <param name="tx_br"
           value="skin_l2_r.tga" />
    <param name="tx_bl_open"
           value="w_l2_bl_open.tga" />
    <param name="tx_b_open"
           value="w_l2_b_open.tga" />
    <param name="tx_br_open"
           value="skin_l2_r.tga" />
    <param name="tx_el_open"
           value="none" />
    <param name="tx_em_open"
           value="none" />
    <param name="tx_er_open"
           value="none" />
    <param name="tx_m_open"
           value="w_l2_m_open.tga" />
    <param name="tx_e_open"
           value="w_l2_e_open.tga" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer3">
    <param name="title_font_size"
           value="10" />
    <param name="title_offset_x"
           value="8" />
    <param name="title_offset_y"
           value="-5" />
    <param name="title_offset_openable_x"
           value="22" />
    <param name="title_offset_openable_y"
           value="-5" />
    <param name="header_h"
           value="10" />
    <param name="open_state_tx_opened"
           value="W_arrow_down_3.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_3.tga" />
    <param name="open_state_offset_x"
           value="6" />
    <param name="open_state_offset_y"
           value="-5" />
    <param name="right_button_offset_x"
           value="-6" />
    <param name="right_button_offset_y"
           value="-4" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="help_button_offset_x"
           value="-18" />
    <param name="help_button_offset_y"
           value="-4" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="tx_tl"
           value="w_l3_tl.tga" />
    <param name="tx_t"
           value="w_l3_t.tga" />
    <param name="tx_tr"
           value="skin_l3_r.tga" />
    <param name="tx_l"
           value="w_l3_l.tga" />
    <param name="tx_r"
           value="skin_l3_r.tga" />
    <param name="tx_blank"
           value="w_l3_blank.tga" />
    <param name="tx_bl"
           value="w_l3_bl.tga" />
    <param name="tx_b"
           value="w_l3_b.tga" />
    <param name="tx_br"
           value="Skin_l3_r.tga" />
    <param name="tx_bl_open"
           value="w_l3_bl_open.tga" />
    <param name="tx_b_open"
           value="w_l3_b_open.tga" />
    <param name="tx_br_open"
           value="skin_l3_r.tga" />
    <param name="tx_el_open"
           value="none" />
    <param name="tx_em_open"
           value="none" />
    <param name="tx_er_open"
           value="none" />
    <param name="tx_m_open"
           value="w_l3_m_open.tga" />
    <param name="tx_e_open"
           value="w_l3_e_open.tga" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer4">
    <param name="title_font_size"
           value="10" />
    <param name="title_offset_x"
           value="18" />
    <param name="title_offset_y"
           value="-5" />
    <param name="title_offset_openable_x"
           value="24" />
    <param name="title_offset_openable_y"
           value="-5" />
    <param name="header_h"
           value="10" />
    <param name="open_state_tx_opened"
           value="W_arrow_down_3.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_3.tga" />
    <param name="open_state_offset_x"
           value="6" />
    <param name="open_state_offset_y"
           value="-5" />
    <param name="right_button_offset_x"
           value="-4" />
    <param name="right_button_offset_y"
           value="-4" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="help_button_offset_x"
           value="-18" />
    <param name="help_button_offset_y"
           value="-4" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <param name="tx_tl"
           value="w_l3_tl.tga" />
    <param name="tx_t"
           value="w_l3_t.tga" />
    <param name="tx_tr"
           value="skin_l3_r.tga" />
    <param name="tx_l"
           value="w_l3_l.tga" />
    <param name="tx_r"
           value="skin_l3_r.tga" />
    <param name="tx_blank"
           value="w_l3_blank.tga" />
    <param name="tx_bl"
           value="w_l3_bl.tga" />
    <param name="tx_b"
           value="w_l3_b.tga" />
    <param name="tx_br"
           value="Skin_l3_r.tga" />
    <param name="tx_bl_open"
           value="w_l3_bl_open.tga" />
    <param name="tx_b_open"
           value="w_l3_b_open.tga" />
    <param name="tx_br_open"
           value="skin_l3_r.tga" />
    <param name="tx_el_open"
           value="none" />
    <param name="tx_em_open"
           value="none" />
    <param name="tx_er_open"
           value="none" />
    <param name="tx_m_open"
           value="w_l3_m_open.tga" />
    <param name="tx_e_open"
           value="w_l3_e_open.tga" />
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="no_bordure">
    <param name="title_font_size"
           value="0" />
    <param name="title_offset_x"
           value="0" />
    <param name="title_offset_y"
           value="0" />
    <param name="title_offset_openable_x"
           value="0" />
    <param name="title_offset_openable_y"
           value="0" />
    <param name="header_h"
           value="0" />
    <param name="open_state_tx_opened"
           value="no_bord.tga" />
    <param name="open_state_tx_closed"
           value="no_bord.tga" />
    <param name="open_state_offset_x"
           value="0" />
    <param name="open_state_offset_y"
           value="0" />
    <param name="right_button_offset_x"
           value="0" />
    <param name="right_button_offset_y"
           value="0" />
    <param name="right_button_tx_deactive"
           value="none" />
    <param name="right_button_tx_popup"
           value="none" />
    <param name="right_button_tx_popin"
           value="none" />
    <param name="right_button_tx_over"
           value="none" />
    <param name="right_button_tx_locked"
           value="none" />
    <param name="help_button_offset_x"
           value="0" />
    <param name="help_button_offset_y"
           value="0" />
    <param name="help_button_tx"
           value="none" />
    <param name="help_button_tx_over"
           value="none" />
    <param name="tx_l_header"
           value="no_bord.tga" />
    <param name="tx_m_header"
           value="no_bord.tga" />
    <param name="tx_r_header"
           value="no_bord.tga" />
    <param name="tx_tl"
           value="no_bord.tga" />
    <param name="tx_t"
           value="no_bord.tga" />
    <param name="tx_tr"
           value="no_bord.tga" />
    <param name="tx_l"
           value="no_bord.tga" />
    <param name="tx_r"
           value="no_bord.tga" />
    <param name="tx_blank"
           value="no_bord.tga" />
    <param name="tx_bl"
           value="no_bord.tga" />
    <param name="tx_b"
           value="no_bord.tga" />
    <param name="tx_br"
           value="no_bord.tga" />
    <param name="tx_bl_open"
           value="no_bord.tga" />
    <param name="tx_b_open"
           value="no_bord.tga" />
    <param name="tx_br_open"
           value="no_bord.tga" />
    <param name="tx_el_open"
           value="no_bord.tga" />
    <param name="tx_em_open"
           value="no_bord.tga" />
    <param name="tx_er_open"
           value="no_bord.tga" />
    <param name="tx_m_open"
           value="no_bord.tga" />
    <param name="tx_e_open"
           value="no_bord.tga" />
    <param name="tx_tl_highlight"
           value="no_bord.tga" />
    <param name="tx_t_highlight"
           value="no_bord.tga" />
    <param name="tx_tr_highlight"
           value="no_bord.tga" />
    <param name="tx_l_highlight"
           value="no_bord.tga" />
    <param name="tx_r_highlight"
           value="no_bord.tga" />
    <param name="tx_bl_highlight"
           value="no_bord.tga" />
    <param name="tx_b_highlight"
           value="no_bord.tga" />
    <param name="tx_br_highlight"
           value="no_bord.tga" />
  </options>
  <options type="layer"
           name="compass">
    <!-- HEADER -->
    <param name="title_font_size"
           value="0" />
    <param name="title_offset_x"
           value="0" />
    <param name="title_offset_y"
           value="0" />
    <param name="title_offset_openable_x"
           value="0" />
    <param name="title_offset_openable_y"
           value="0" />
    <param name="header_h"
           value="0" />
    <!-- View state opened/closed (defined TL TL) -->
    <param name="open_state_tx_opened"
           value="no_bord.tga" />
    <param name="open_state_tx_closed"
           value="no_bord.tga" />
    <param name="open_state_offset_x"
           value="0" />
    <param name="open_state_offset_y"
           value="0" />
    <!-- Right Button (defined TR TR) -->
    <param name="right_button_offset_x"
           value="0" />
    <param name="right_button_offset_y"
           value="0" />
    <param name="right_button_tx_deactive"
           value="none" />
    <param name="right_button_tx_popup"
           value="none" />
    <param name="right_button_tx_popin"
           value="none" />
    <param name="right_button_tx_over"
           value="none" />
    <param name="right_button_tx_locked"
           value="none" />
    <!-- Help Button (defined TR TR) -->
    <param name="help_button_offset_x"
           value="0" />
    <param name="help_button_offset_y"
           value="0" />
    <param name="help_button_tx"
           value="none" />
    <param name="help_button_tx_over"
           value="none" />
    <!-- TEXTURES to draw the container -->
    <!-- Header when header_active Only for layer 0 -->
    <param name="tx_l_header"
           value="no_bord.tga" />
    <param name="tx_m_header"
           value="no_bord.tga" />
    <param name="tx_r_header"
           value="no_bord.tga" />
    <!-- else normal version -->
    <param name="tx_tl"
           value="no_bord.tga" />
    <param name="tx_t"
           value="no_bord.tga" />
    <param name="tx_tr"
           value="no_bord.tga" />
    <param name="tx_l"
           value="no_bord.tga" />
    <param name="tx_r"
           value="no_bord.tga" />
    <param name="tx_blank"
           value="no_bord.tga" />
    <param name="tx_bl"
           value="no_bord.tga" />
    <param name="tx_b"
           value="no_bord.tga" />
    <param name="tx_br"
           value="no_bord.tga" />
    <param name="tx_bl_open"
           value="no_bord.tga" />
    <param name="tx_b_open"
           value="no_bord.tga" />
    <param name="tx_br_open"
           value="no_bord.tga" />
    <param name="tx_el_open"
           value="no_bord.tga" />
    <param name="tx_em_open"
           value="no_bord.tga" />
    <param name="tx_er_open"
           value="no_bord.tga" />
    <param name="tx_m_open"
           value="no_bord.tga" />
    <param name="tx_e_open"
           value="no_bord.tga" />
    <!-- TEXTURES to highlight the window border -->
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer0_content">
    <!-- HEADER -->
    <param name="title_font_size"
           value="11" />
    <param name="title_offset_x"
           value="8" />
    <param name="title_offset_y"
           value="-6" />
    <param name="title_offset_openable_x"
           value="18" />
    <param name="title_offset_openable_y"
           value="-6" />
    <param name="header_h"
           value="14" />
    <!-- View state opened/closed (defined TL TL) -->
    <param name="open_state_tx_opened"
           value="W_arrow_down_1.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_1.tga" />
    <param name="open_state_offset_x"
           value="4" />
    <param name="open_state_offset_y"
           value="-5" />
    <!-- Right Button (defined TR TR) -->
    <param name="right_button_offset_x"
           value="-4" />
    <param name="right_button_offset_y"
           value="-4" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <!-- Help Button (defined TR TR) -->
    <param name="help_button_offset_x"
           value="-18" />
    <param name="help_button_offset_y"
           value="-4" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <!-- TEXTURES (warning the sizes are hardcoded -->
    <param name="tx_tl"
           value="W_L1_spe_blank.tga" />
    <param name="tx_t"
           value="W_L1_spe_blank.tga" />
    <param name="tx_tr"
           value="W_L1_R_spe.tga" />
    <param name="tx_l"
           value="W_L1_spe_blank.tga" />
    <param name="tx_r"
           value="W_L1_R_spe.tga" />
    <param name="tx_blank"
           value="W_L1_spe_blank.tga" />
    <param name="tx_bl"
           value="W_L1_spe_blank.tga" />
    <param name="tx_b"
           value="W_L1_spe_blank.tga" />
    <param name="tx_br"
           value="W_L1_R_spe.tga" />
    <param name="tx_bl_open"
           value="W_L1_spe_blank.tga" />
    <param name="tx_b_open"
           value="W_L1_spe_blank.tga" />
    <param name="tx_br_open"
           value="W_L1_R_spe.tga" />
    <param name="tx_el_open"
           value="none" />
    <param name="tx_em_open"
           value="none" />
    <param name="tx_er_open"
           value="none" />
    <param name="tx_m_open"
           value="W_L1_spe_blank.tga" />
    <param name="tx_e_open"
           value="W_L1_spe_blank.tga" />
    <!-- TEXTURES to highlight the window border -->
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options type="layer"
           name="layer1_content">
    <!-- HEADER -->
    <param name="title_font_size"
           value="10" />
    <param name="title_offset_x"
           value="8" />
    <param name="title_offset_y"
           value="-2" />
    <param name="title_offset_openable_x"
           value="40" />
    <param name="title_offset_openable_y"
           value="-2" />
    <param name="header_h"
           value="12" />
    <!-- View state opened/closed (defined TL TL) -->
    <param name="open_state_tx_opened"
           value="W_arrow_down_2.tga" />
    <param name="open_state_tx_closed"
           value="W_arrow_right_2.tga" />
    <param name="open_state_offset_x"
           value="10" />
    <param name="open_state_offset_y"
           value="-5" />
    <!-- Right Button (defined TR TR) -->
    <param name="right_button_offset_x"
           value="-4" />
    <param name="right_button_offset_y"
           value="-4" />
    <param name="right_button_tx_deactive"
           value="w_win_close.tga" />
    <param name="right_button_tx_popup"
           value="w_win_popup.tga" />
    <param name="right_button_tx_popin"
           value="w_win_popin.tga" />
    <param name="right_button_tx_over"
           value="W_button_14_over.tga" />
    <!-- Help Button (defined TR TR) -->
    <param name="help_button_offset_x"
           value="-18" />
    <param name="help_button_offset_y"
           value="-4" />
    <param name="help_button_tx"
           value="W_help_1.tga" />
    <param name="help_button_tx_over"
           value="W_button_14_over.tga" />
    <!-- TEXTURES (warning the sizes are hardcoded -->
    <param name="tx_tl"
           value="W_L1_spe_blank.tga" />
    <param name="tx_t"
           value="W_L1_spe_blank.tga" />
    <param name="tx_tr"
           value="W_L1_R_spe.tga" />
    <param name="tx_l"
           value="W_L1_spe_blank.tga" />
    <param name="tx_r"
           value="W_L1_R_spe.tga" />
    <param name="tx_blank"
           value="W_L1_spe_blank.tga" />
    <param name="tx_bl"
           value="W_L1_spe_blank.tga" />
    <param name="tx_b"
           value="W_L1_spe_blank.tga" />
    <param name="tx_br"
           value="W_L1_R_spe.tga" />
    <param name="tx_bl_open"
           value="W_L1_spe_blank.tga" />
    <param name="tx_b_open"
           value="W_L1_spe_blank.tga" />
    <param name="tx_br_open"
           value="W_L1_R_spe.tga" />
    <param name="tx_el_open"
           value="none" />
    <param name="tx_em_open"
           value="none" />
    <param name="tx_er_open"
           value="none" />
    <param name="tx_m_open"
           value="W_L1_spe_blank.tga" />
    <param name="tx_e_open"
           value="W_L1_spe_blank.tga" />
    <!-- TEXTURES to highlight the window border -->
    <param name="tx_tl_highlight"
           value="w_hl_tl.tga" />
    <param name="tx_t_highlight"
           value="w_hl_t.tga" />
    <param name="tx_tr_highlight"
           value="w_hl_tr.tga" />
    <param name="tx_l_highlight"
           value="w_hl_l.tga" />
    <param name="tx_r_highlight"
           value="w_hl_r.tga" />
    <param name="tx_bl_highlight"
           value="w_hl_bl.tga" />
    <param name="tx_b_highlight"
           value="w_hl_b.tga" />
    <param name="tx_br_highlight"
           value="w_hl_br.tga" />
  </options>
  <options name="context_menu_back">
    <param name="tx_tl"
           value="CM_TL.tga" />
    <param name="tx_t"
           value="CM_T.tga" />
    <param name="tx_tr"
           value="CM_TR.tga" />
    <param name="tx_l"
           value="CM_L.tga" />
    <param name="tx_r"
           value="CM_R.tga" />
    <param name="tx_blank"
           value="CM_M.tga" />
    <param name="tx_bl"
           value="CM_BL.tga" />
    <param name="tx_b"
           value="CM_B.tga" />
    <param name="tx_br"
           value="CM_BR.tga" />
  </options>
  <!--
This MUST follow the Enum MISSION_DESC::TIconId
-->
  <options type="mission_icons"
           name="mission_icons">
    <param name="1"
           value="BK_generic.tga|ICO_Task_Craft.tga" />
    <param name="2"
           value="BK_generic.tga|ICO_Task_Fight.tga" />
    <param name="3"
           value="BK_generic.tga|ICO_Task_Forage.tga" />
    <param name="4"
           value="BK_generic.tga|ICO_Task_Travel.tga" />
    <param name="5"
           value="BK_generic.tga|ICO_Task_Generic.tga" />
    <param name="6"
           value="BK_generic.tga|ICO_Task_Rite.tga" />
    <param name="7"
           value="BK_guild.tga|ICO_Task_Guild.tga" />
    <param name="8"
           value="BK_guild.tga|ICO_Task_Craft.tga" />
    <param name="9"
           value="BK_guild.tga|ICO_Task_Fight.tga" />
    <param name="10"
           value="BK_guild.tga|ICO_Task_Forage.tga" />
    <param name="11"
           value="BK_guild.tga|ICO_Task_Travel.tga" />
    <param name="12"
           value="charge.tga" />
    <param name="13"
           value="rm_m.tga" />
    <param name="14"
           value="rm_f.tga" />
    <param name="15"
           value="rm_r.tga" />
    <param name="16"
           value="rm_m_upgrade.tga" />
    <param name="17"
           value="rm_f_upgrade.tga" />
    <param name="18"
           value="rm_r_upgrade.tga" />
    <param name="19"
           value="requirement.tga" />
    <param name="20"
           value="requirement.tga" />
    <param name="21"
           value="construction.tga" />
  </options>
  <options type="container_move_opt"
           name="container_move_opt">
    <param name="track_w"
           value="-8" />
    <param name="track_h"
           value="22" />
    <param name="track_y"
           value="-4" />
    <param name="track_y_with_top_resizer"
           value="-8" />
    <param name="track_h_with_top_resizer"
           value="18" />
    <param name="resizer_size"
           value="8" />
  </options>
  <options name="text_selection">
    <param name="back_select_color"
           value="255 255 255 255" />
    <param name="text_select_color"
           value="0 0 0 255" />
  </options>
  <options name="menu_checkbox">
    <param name="checked_bitmap"
           value="W_answer_16_valid.tga" />
    <param name="unchecked_bitmap"
           value="blank2.tga" />
  </options>
  <options type="container_insertion_opt"
           name="container_insertion_opt">
    <param name="arrow_top"
           value="W_arrow_up_0.tga" />
    <param name="arrow_down"
           value="W_arrow_down_0.tga" />
    <param name="arrow_right"
           value="W_arrow_right_0.tga" />
    <param name="arrow_left"
           value="W_arrow_left_0.tga" />
    <param name="insertion_bar"
           value="w_hl_t.tga" />
  </options>
  <options name="system">
    <param name="ctrl_sheet_gray_color"
           value="255 255 255 100" />
    <param name="ctrl_text_gray_color"
           value="255 255 255 100" />
    <param name="ctrl_sheet_redify_color"
           value="255 140 100 150" />
    <param name="ctrl_text_redify_color"
           value="255 140 40 150" />
    <param name="ctrl_sheet_greenify_color"
           value="140 255 140 150" />
    <param name="ctrl_text_greenify_color"
           value="140 255 140 150" />
    <param name="text_over_back_color"
           value="64 64 64 255" />
<!--    <param name="font"
           value="basic.ttf" /> -->
    <param name="font"
           value="ryzom.ttf" />
    <param name="add_coef_font"
           value="1" />
    <param name="mul_coef_anim"
           value="0.8" />
    <param name="bubbles_timeout"
           value="10" />
    <param name="messages_timeout"
           value="5" />
    <param name="context_timeout"
           value="2" />
    <param name="context_html_timeout"
           value="2" />
  </options>
  <options name="action_bar_color">
    <param name="None"
           value="255 255 255 255" />
    <param name="Combat"
           value="255 0 255 255" />
    <param name="Spell"
           value="0 255 0 255" />
    <param name="Faber"
           value="255 0 255 255" />
    <param name="Repair"
           value="255 0 255 255" />
    <param name="Refine"
           value="255 0 255 255" />
    <param name="Memorize"
           value="255 255 255 255" />
    <param name="Harvest"
           value="255 0 255 255" />
  </options>
  <!-- anim0 is the default animation -->
  <options type="animation_set"
           name="character_animations">
    <param name="m0"
           value="FY_HOM_idle" />
    <param name="m1"
           value="FY_HOM_Co_AB_engarde" />
    <param name="m2"
           value="FY_HOM_Co_fu_engarde" />
    <param name="m3"
           value="FY_HOM_Co_A1m_engarde" />
    <param name="m4"
           value="FY_HOM_Co_A1mD_engarde" />
    <param name="m5"
           value="FY_HOM_Pioche_loop" />
    <param name="m6"
           value="FY_HOM_recruteur_loop" />
    <param name="m7"
           value="FY_HOM_Co_L2m_engarde" />
    <param name="m8"
           value="FY_HOM_Co_p_engarde" />
    <param name="m9"
           value="FY_HOM_Host_Loop" />
    <param name="m10"
           value="FY_HOM_Bienveillant_Loop" />
    <param name="m11"
           value="FY_HOM_Neutre_loop" />
    <param name="m12"
           value="FY_HOM_Co_A2m_engarde" />
    <param name="m13"
           value="FY_HOM_Co_A2m_engarde" />
    <param name="f0"
           value="FY_HOF_A_idle" />
    <param name="f1"
           value="FY_HOF_Co_AB_engarde" />
    <param name="f2"
           value="FY_HOF_Co_fu_engarde" />
    <param name="f3"
           value="FY_HOF_Co_A1m_engarde" />
    <param name="f4"
           value="FY_HOF_Co_A1mD_engarde" />
    <param name="f5"
           value="FY_HOF_Pioche_loop" />
    <param name="f6"
           value="FY_HOM_recruteur_loop" />
    <param name="f7"
           value="FY_HOF_Co_L2m_engarde" />
    <param name="f8"
           value="FY_HOF_Co_p_engarde" />
    <param name="f9"
           value="FY_HOM_Host_Loop" />
    <param name="f10"
           value="FY_HOM_Bienveillant_Loop" />
    <param name="f11"
           value="FY_HOM_Neutre_loop" />
    <param name="f12"
           value="FY_HOF_Co_A2m_coup1" />
    <param name="f13"
           value="FY_HOF_Co_A2m_engarde" />
  </options>
  <!-- macro custom icons -->
  <options name="macro_custom_icon">
    <!-- background -->
    <param name="bg_0"
           value="US_back_0.tga" />
    <param name="bg_1"
           value="US_back_1.tga" />
    <param name="bg_2"
           value="US_back_2.tga" />
    <param name="bg_3"
           value="US_back_3.tga" />
    <param name="bg_4"
           value="US_back_4.tga" />
    <param name="bg_5"
           value="US_back_5.tga" />
    <param name="bg_6"
           value="US_back_6.tga" />
    <param name="bg_7"
           value="US_back_7.tga" />
    <param name="bg_8"
           value="US_back_8.tga" />
    <param name="bg_9"
           value="US_back_9.tga" />
    <!-- foreground -->
    <param name="fg_0"
           value="US_ico_0.tga" />
    <param name="fg_1"
           value="US_ico_1.tga" />
    <param name="fg_2"
           value="US_ico_2.tga" />
    <param name="fg_3"
           value="US_ico_3.tga" />
    <param name="fg_4"
           value="US_ico_4.tga" />
    <param name="fg_5"
           value="US_ico_5.tga" />
    <param name="fg_6"
           value="US_ico_6.tga" />
    <param name="fg_7"
           value="US_ico_7.tga" />
    <param name="fg_8"
           value="US_ico_8.tga" />
    <param name="fg_9"
           value="US_ico_9.tga" />
    <!-- over -->
    <param name="ov_0"
           value="US_over_0.tga" />
    <param name="ov_1"
           value="US_over_1.tga" />
    <param name="ov_2"
           value="US_over_2.tga" />
    <param name="ov_3"
           value="US_over_3.tga" />
    <param name="ov_4"
           value="US_over_4.tga" />
  </options>
  <!-- *********** -->
  <!-- *  MOUSE  * -->
  <!-- * POINTER * -->
  <!-- *********** -->
  <view type="pointer"
        id="cursor"
        x="1"
        y="-5"
        w="44"
        h="39"
        global_color="false"
        tx_default="curs_default.tga"
        tx_move_window="curs_default.tga"
        tx_resize_BR_TL="curs_resize_BR_TL.tga"
        tx_resize_BL_TR="curs_resize_BL_TR.tga"
        tx_resize_TB="curs_resize_TB.tga"
        tx_resize_LR="curs_resize_LR.tga"
        tx_rotate="curs_rotate.tga"
        tx_scale="curs_scale.tga"
        tx_colpick="curs_pick.tga"
        tx_pan="curs_pan.tga"
        tx_can_pan="curs_can_pan.tga"
        tx_pan_r2="r2_hand_pan.tga"
        tx_can_pan_r2="curs_default.tga"
        posref="BL MM" />
  <!-- ************* -->
  <!-- * CONSTANTS * -->
  <!-- ************* -->
  <variable entry="UI:CONST:127"
            type="sint32"
            value="127" />
  <!-- ************* -->
  <!-- *  DEFINES  * -->
  <!-- ************* -->
  <define id="win_priority_world_space"
          value="0" />
  <define id="win_priority_lowest"
          value="1" />
  <define id="win_priority_low"
          value="2" />
  <define id="win_priority_normal"
          value="3" />
  <!-- default -->
  <define id="win_priority_high"
          value="4" />
  <define id="win_priority_highest"
          value="5" />
  <!-- For bars, -1024 to +1024 "percent" values from CBarManager  -->
  <define id="player_hp_percent"
          value="UI:VARIABLES:USER:HP_RATIO" />
  <define id="player_sta_percent"
          value="UI:VARIABLES:USER:STA_RATIO" />
  <define id="player_sap_percent"
          value="UI:VARIABLES:USER:SAP_RATIO" />
  <define id="player_focus_percent"
          value="UI:VARIABLES:USER:FOCUS_RATIO" />
  <define id="player_percent_max"
          value="1024" />
  <!-- For character sheet numerical values from database -->
  <define id="player_hp"
          value="UI:VARIABLES:USER:HP" />
  <!-- Local because sent by impulse -->
  <define id="player_hp_max"
          value="SERVER:CHARACTER_INFO:SCORES0:Max" />
  <define id="player_hp_base"
          value="SERVER:CHARACTER_INFO:SCORES0:Base" />
  <define id="player_sta"
          value="UI:VARIABLES:USER:STA" />
  <!-- Local because sent by impulse -->
  <define id="player_sta_max"
          value="SERVER:CHARACTER_INFO:SCORES1:Max" />
  <define id="player_sta_base"
          value="SERVER:CHARACTER_INFO:SCORES1:Base" />
  <define id="player_sap"
          value="UI:VARIABLES:USER:SAP" />
  <!-- Local because sent by impulse -->
  <define id="player_sap_max"
          value="SERVER:CHARACTER_INFO:SCORES2:Max" />
  <define id="player_sap_base"
          value="SERVER:CHARACTER_INFO:SCORES2:Base" />
  <define id="player_focus"
          value="UI:VARIABLES:USER:FOCUS" />
  <!-- Local because sent by impulse -->
  <define id="player_focus_max"
          value="SERVER:CHARACTER_INFO:SCORES3:Max" />
  <define id="player_focus_base"
          value="SERVER:CHARACTER_INFO:SCORES3:Base" />
  <define id="player_hpreg"
          value="SERVER:CHARACTER_INFO:SCORES0:Regen" />
  <define id="player_hpreg_base"
          value="SERVER:CHARACTER_INFO:SCORES0:BaseRegen" />
  <define id="player_stareg"
          value="SERVER:CHARACTER_INFO:SCORES1:Regen" />
  <define id="player_stareg_base"
          value="SERVER:CHARACTER_INFO:SCORES1:BaseRegen" />
  <define id="player_sapreg"
          value="SERVER:CHARACTER_INFO:SCORES2:Regen" />
  <define id="player_sapreg_base"
          value="SERVER:CHARACTER_INFO:SCORES2:BaseRegen" />
  <define id="player_focreg"
          value="SERVER:CHARACTER_INFO:SCORES3:Regen" />
  <define id="player_focreg_base"
          value="SERVER:CHARACTER_INFO:SCORES3:BaseRegen" />
  <define id="player_carac_hpmax"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS0:VALUE" />
  <define id="player_carac_hpreg"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS1:VALUE" />
  <define id="player_carac_sapmax"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS2:VALUE" />
  <define id="player_carac_sapreg"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS3:VALUE" />
  <define id="player_carac_stamax"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS4:VALUE" />
  <define id="player_carac_stareg"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS5:VALUE" />
  <define id="player_carac_wishmax"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS6:VALUE" />
  <define id="player_carac_wishreg"
          value="SERVER:CHARACTER_INFO:CHARACTERISTICS7:VALUE" />
  <define id="player_protect_acid"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:0:VALUE" />
  <define id="player_protect_cold"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:1:VALUE" />
  <define id="player_protect_rot"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:2:VALUE" />
  <define id="player_protect_fire"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:3:VALUE" />
  <define id="player_protect_shockwave"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:4:VALUE" />
  <define id="player_protect_poison"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:5:VALUE" />
  <define id="player_protect_electricity"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:6:VALUE" />
  <define id="player_protect_maxratio"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:MaxProtectionClampValue" />
  <define id="player_protect_absorbfactor"
          value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:MaxAbsorptionFactor" />
  <define id="player_resist_desert"
          value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:0:VALUE" />
  <define id="player_resist_forest"
          value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:1:VALUE" />
  <define id="player_resist_lacustre"
          value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:2:VALUE" />
  <define id="player_resist_jungle"
          value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:3:VALUE" />
  <define id="player_resist_primroot"
          value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:4:VALUE" />
  <define id="player_resist_maxratio"
          value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:MaxResistanceBonus" />
  <define id="player_dodge_current"
          value="SERVER:CHARACTER_INFO:DODGE:Current" />
  <define id="player_dodge_base"
          value="SERVER:CHARACTER_INFO:DODGE:Base" />
  <define id="player_dodge_success_mod"
          value="SERVER:CHARACTER_INFO:SUCCESS_MODIFIER:DODGE" />
  <define id="player_parry_current"
          value="SERVER:CHARACTER_INFO:PARRY:Current" />
  <define id="player_parry_base"
          value="SERVER:CHARACTER_INFO:PARRY:Base" />
  <define id="player_parry_success_mod"
          value="SERVER:CHARACTER_INFO:SUCCESS_MODIFIER:PARRY" />
  <define id="player_act_start"
          value="UI:VARIABLES:SMOOTH_USER_ACT_START" />
  <define id="player_act_end"
          value="UI:VARIABLES:SMOOTH_USER_ACT_END" />
  <define id="player_act_type"
          value="SERVER:USER:ACT_TYPE" />
  <define id="player_speed_factor"
          value="SERVER:USER:SPEED_FACTOR" />
  <define id="player_pacts"
          value="SERVER:CHARACTER_INFO:PACTS" />
  <define id="player_skills"
          value="SERVER:CHARACTER_INFO:SKILLS" />
  <define id="pact_nature"
          value="PACT_NATURE" />
  <!-- used '%player_pacts##:%pact_nature' -->
  <define id="pact_type"
          value="PACT_TYPE" />
  <!-- used '%player_pacts##:%pact_type' -->
  <define id="skill"
          value="SKILL" />
  <!-- used '%player_skills:##:%skill' -->
  <define id="skill_base"
          value="BaseSKILL" />
  <!-- used '%player_skills:##:%skill' -->
  <define id="skill_progress"
          value="PROGRESS_BAR" />
  <!-- used '%player_skills:##:%skill_progress' -->
  <define id="rrps_level_20"
          value="SERVER:USER:RRPS_LEVELS0:VALUE" />
  <define id="rrps_level_50"
          value="SERVER:USER:RRPS_LEVELS1:VALUE" />
  <define id="rrps_level_100"
          value="SERVER:USER:RRPS_LEVELS2:VALUE" />
  <define id="rrps_level_150"
          value="SERVER:USER:RRPS_LEVELS3:VALUE" />
  <define id="rrps_level_200"
          value="SERVER:USER:RRPS_LEVELS4:VALUE" />
  <define id="rrps_level_250"
          value="SERVER:USER:RRPS_LEVELS5:VALUE" />
  <!-- item selection -->
  <define id="is_item_selected"
          value="UI:IS_ITEM_SELECTED" />
  <!-- values for trade -->
  <define id="bot_chat_base"
          value="UI:BOT_CHAT" />
  <define id="trade"
          value="LOCAL:TRADING" />
  <define id="item_for_mission"
          value="LOCAL:ITEMS_FOR_MISSIONS" />
  <define id="local_missions"
          value="LOCAL:CHOOSE_MISSIONS" />
  <define id="item_price_1"
          value="%bot_chat_base:PRICE_1" />
  <define id="item_price_2"
          value="%bot_chat_base:PRICE_2" />
  <define id="item_price_3"
          value="%bot_chat_base:PRICE_3" />
  <define id="item_price_4"
          value="%bot_chat_base:PRICE_4" />
  <define id="selected_trade_item"
          value="%bot_chat_base:SELECTED_TRADE_ITEM" />
  <!-- index of the selected trade item in the vendor list-->
  <define id="num_stackable_item_to_trade"
          value="%bot_chat_base:NUM_STACKABLE" />
  <define id="max_num_stackable_item_to_trade"
          value="%bot_chat_base:MAX_NUM_STACKABLE" />
  <!--<define id="bag1_touched"                   value="UI:BAG_TOUCHED:1"/>
<define id="bag2_touched"                   value="UI:BAG_TOUCHED:2"/>
<define id="bag3_touched"                   value="UI:BAG_TOUCHED:3"/>
<define id="bag4_touched"                   value="UI:BAG_TOUCHED:4"/>
<define id="bag5_touched"                   value="UI:BAG_TOUCHED:5"/>
<define id="bag6_touched"                   value="UI:BAG_TOUCHED:6"/>-->
  <define id="inventory_touched"
          value="UI:INVENTORY_TOUCHED" />
  <!--<define id="bags_touched"                   value="UI:PLAYER_TOUCHED"/>
<define id="player_touched"                 value="UI:PLAYER_TOUCHED"/>
<define id="money_touched"                  value="UI:MONEY_TOUCHED"/>
<define id="bag1_open_value"                value="UI:BAG_OPEN_VALUE:1"/>
<define id="bag2_open_value"                value="UI:BAG_OPEN_VALUE:2"/>
<define id="bag3_open_value"                value="UI:BAG_OPEN_VALUE:3"/>
<define id="bag4_open_value"                value="UI:BAG_OPEN_VALUE:4"/>-->
  <define id="inventory_open_value"
          value="UI:INVENTORY_OPEN_VALUE" />
  <!--<define id="bags_open_value"                value="UI:PLAYER_OPEN_VALUE"/>
<define id="player_open_value"              value="UI:PLAYER_OPEN_VALUE"/>
<define id="money_open_value"               value="UI:MONEY_OPEN_VALUE"/>-->
  <!--
<define id="trade_item"  value="UI:SELECTED_ITEM_SELECTION_GROUP"/>
<define id="selected_item_sheet_id"         value="UI:SELECTED_ITEM_SHEET_ID" />
<define id="price_of_item_to_trade"         value="%bot_chat_base:PRICE_OF_ITEM_TO_TRADE" />-->
  <!-- price of the item to sell, or -1 if it hasn't been received from server -->
  <define id="money_proposal"
          value="UI:MONEY_PROPOSAL" />
  <define id="can_valid_player_trade"
          value="UI:CAN_VALID_PLAYER_TRADE" />
  <!-- misc -->
  <define id="other_player_name_id"
          value="UI:VARIABLES:OTHER_PLAYER_NAME_ID" />
  <!-- ********************** -->
  <!-- * DEFINE - INVENTORY * -->
  <!-- ********************** -->
  <define id="set_base"
          value="LOCAL:INVENTORY" />
  <!-- Sheathes -->
  <!-- mgt of active sheath is special: must write in %ui_set_active but must read in %set_active 
        It's because Server Replication will write in %set_active. Since we need to put observers on %ui_set_active
        to send msg to servers when the value change, %ui_set_active and %set_active MUST NOT be the same variable.
        Else it will loops: receive SERVER:INVENTORY:ACTIVE_SHEAT, copies to LOCAL:INVENTORY:ACTIVE_SHEAT, and if different
        from last time (possible due to lag!!) then activate observers and resend a msg to server!
-->
  <!--
<define id="ui_set_active"      value="UI:INVENTORY:ACTIVE_SHEATH" />
<define id="set_active"         value="%set_base:ACTIVE_SHEATH" />
<define id="set_nb"             value="%set_base:NB_SHEATH" />
<define id="from_code_set0"     value_from_code="getInventorySlot('sheath1')" />
<define id="from_code_set1"     value_from_code="getInventorySlot('sheath2')" />
<define id="from_code_set2"     value_from_code="getInventorySlot('sheath3')" />
<define id="from_code_set3"     value_from_code="getInventorySlot('sheath4')" />
<define id="from_code_set4"     value_from_code="getInventorySlot('sheath5')" />
<define id="from_code_set5"     value_from_code="getInventorySlot('sheath6')" />
<define id="set0"                       value="%set_base:%from_code_set0" />
<define id="set1"                       value="%set_base:%from_code_set1" />
<define id="set2"                       value="%set_base:%from_code_set2" />
<define id="set3"                       value="%set_base:%from_code_set3" />
<define id="set4"                       value="%set_base:%from_code_set4" />
<define id="set5"                       value="%set_base:%from_code_set5" />
-->
  <define id="hand_r"
          value="%set_base:HAND:0" />
  <define id="hand_l"
          value="%set_base:HAND:1" />
  <define id="bag"
          value="%set_base:BAG" />
  <!--<define id="bag_nb"                 value="%set_base:NB_BAG" />-->
  <define id="bag_bulk_max"
          value="SERVER:STATIC_DATA:BAG_BULK_MAX" />
  <!-- Animals -->
  <define id="pa"
          value="SERVER:PACK_ANIMAL" />
  <!-- MAX_INVENTORY_ANIMAL -->
  <define id="pa_beast0"
          value="%pa:BEAST0" />
  <define id="pa_beast1"
          value="%pa:BEAST1" />
  <define id="pa_beast2"
          value="%pa:BEAST2" />
  <define id="pa_beast3"
          value="%pa:BEAST3" />
  <!-- MAX_INVENTORY_ANIMAL -->
  <define id="pa_bag0"
          value="%set_base:PACK_ANIMAL0" />
  <define id="pa_bag1"
          value="%set_base:PACK_ANIMAL1" />
  <define id="pa_bag2"
          value="%set_base:PACK_ANIMAL2" />
  <define id="pa_bag3"
          value="%set_base:PACK_ANIMAL3" />
  <define id="money"
          value="%set_base:MONEY" />
  <define id="skill_points_0"
          value="LOCAL:USER:SKILL_POINTS_0:VALUE" />
  <define id="skill_points_1"
          value="LOCAL:USER:SKILL_POINTS_1:VALUE" />
  <define id="skill_points_2"
          value="LOCAL:USER:SKILL_POINTS_2:VALUE" />
  <define id="skill_points_3"
          value="LOCAL:USER:SKILL_POINTS_3:VALUE" />
  <define id="faction_index_kami"
          value_from_code="getFactionIndex('kami')" />
  <define id="faction_index_fyros"
          value_from_code="getFactionIndex('fyros')" />
  <define id="faction_index_zorai"
          value_from_code="getFactionIndex('zorai')" />
  <define id="faction_index_karavan"
          value_from_code="getFactionIndex('karavan')" />
  <define id="faction_index_matis"
          value_from_code="getFactionIndex('matis')" />
  <define id="faction_index_tryker"
          value_from_code="getFactionIndex('tryker')" />
  <define id="faction_points_kami"
          value="LOCAL:USER:FACTION_POINTS_%faction_index_kami:VALUE" />
  <define id="faction_points_fyros"
          value="LOCAL:USER:FACTION_POINTS_%faction_index_fyros:VALUE" />
  <define id="faction_points_zorai"
          value="LOCAL:USER:FACTION_POINTS_%faction_index_zorai:VALUE" />
  <define id="faction_points_karavan"
          value="LOCAL:USER:FACTION_POINTS_%faction_index_karavan:VALUE" />
  <define id="faction_points_matis"
          value="LOCAL:USER:FACTION_POINTS_%faction_index_matis:VALUE" />
  <define id="faction_points_tryker"
          value="LOCAL:USER:FACTION_POINTS_%faction_index_tryker:VALUE" />
  <define id="faction_icon_kami"
          value="faction_Kami.tga" />
  <define id="faction_icon_fyros"
          value="faction_Fyros.tga" />
  <define id="faction_icon_zorai"
          value="faction_Zorai.tga" />
  <define id="faction_icon_karavan"
          value="faction_Karavan.tga" />
  <define id="faction_icon_matis"
          value="faction_Matis.tga" />
  <define id="faction_icon_tryker"
          value="faction_Tryker.tga" />
  <define id="kit"
          value="%set_base:EQUIP" />
  <define id="from_code_headdress"
          value_from_code="getEquipmentSlot('Headdress')" />
  <define id="from_code_head"
          value_from_code="getEquipmentSlot('Head')" />
  <define id="from_code_face"
          value_from_code="getEquipmentSlot('Face')" />
  <define id="from_code_earl"
          value_from_code="getEquipmentSlot('EarL')" />
  <define id="from_code_earr"
          value_from_code="getEquipmentSlot('EarR')" />
  <define id="from_code_necklace"
          value_from_code="getEquipmentSlot('Neck')" />
  <define id="from_code_shoulder"
          value_from_code="getEquipmentSlot('Shoulders')" />
  <define id="from_code_back"
          value_from_code="getEquipmentSlot('Back')" />
  <define id="from_code_chest"
          value_from_code="getEquipmentSlot('Body')" />
  <define id="from_code_arms"
          value_from_code="getEquipmentSlot('Arms')" />
  <define id="from_code_wristl"
          value_from_code="getEquipmentSlot('WristL')" />
  <define id="from_code_wristr"
          value_from_code="getEquipmentSlot('WristR')" />
  <define id="from_code_hands"
          value_from_code="getEquipmentSlot('Hands')" />
  <define id="from_code_fingerl"
          value_from_code="getEquipmentSlot('FingerL')" />
  <define id="from_code_fingerr"
          value_from_code="getEquipmentSlot('FingerR')" />
  <define id="from_code_legs"
          value_from_code="getEquipmentSlot('Legs')" />
  <define id="from_code_anklel"
          value_from_code="getEquipmentSlot('AnkleL')" />
  <define id="from_code_ankler"
          value_from_code="getEquipmentSlot('AnkleR')" />
  <define id="from_code_feet"
          value_from_code="getEquipmentSlot('Feet')" />
  <define id="headdress"
          value="%kit:%from_code_headdress" />
  <define id="head"
          value="%kit:%from_code_head" />
  <define id="face"
          value="%kit:%from_code_face" />
  <define id="earl"
          value="%kit:%from_code_earl" />
  <define id="earr"
          value="%kit:%from_code_earr" />
  <define id="necklace"
          value="%kit:%from_code_necklace" />
  <define id="shoulder"
          value="%kit:%from_code_shoulder" />
  <define id="back"
          value="%kit:%from_code_back" />
  <define id="chest"
          value="%kit:%from_code_chest" />
  <define id="arms"
          value="%kit:%from_code_arms" />
  <define id="wristl"
          value="%kit:%from_code_wristl" />
  <define id="wristr"
          value="%kit:%from_code_wristr" />
  <define id="hands"
          value="%kit:%from_code_hands" />
  <define id="fingerl"
          value="%kit:%from_code_fingerl" />
  <define id="fingerr"
          value="%kit:%from_code_fingerr" />
  <define id="legs"
          value="%kit:%from_code_legs" />
  <define id="anklel"
          value="%kit:%from_code_anklel" />
  <define id="ankler"
          value="%kit:%from_code_ankler" />
  <define id="feet"
          value="%kit:%from_code_feet" />
  <define id="malus"
          value="SERVER:MODIFIERS:MALUS" />
  <define id="bonus"
          value="SERVER:MODIFIERS:BONUS" />
  <define id="max_bag_invslot"
          value_from_code="getMaxBagInvSlot()" />
  <define id="max_animal_invslot"
          value_from_code="getMaxAnimalInvSlot()" />
  <define id="max_room_invslot"
          value_from_code="getMaxRoomInvSlot()" />
  <define id="max_guild_invslot"
          value_from_code="getMaxGuildInvSlot()" />
  <define id="max_temp_invslot"
          value_from_code="getMaxTempInvSlot()" />
  <!--<define id="from_code_harvest"      value_from_code="getInventorySlot('harvest')"/>
<define id="harvest_inventory"  value="%set_base:%from_code_harvest"/>
<define id="from_code_pickup"   value_from_code="getInventorySlot('pickup')"/>
<define id="pickup_inventory"   value="%set_base:%from_code_pickup"/>-->
  <!-- TEMP TEMP TEMP : we have to found an entry with gamedev for the temp inventory -->
  <define id="temp_inv_dbentry"
          value="%set_base:TEMP" />
  <define id="guild_inv_dbentry"
          value="SERVER:GUILD:INVENTORY" />
  <define id="guild_inv_money"
          value="%guild_inv_dbentry:MONEY" />
  <define id="guild_inv_bulk_max"
          value="%guild_inv_dbentry:BULK_MAX" />
  <define id="guild_xp"
          value="SERVER:GUILD:XP" />
  <define id="room_inv_dbentry"
          value="%set_base:ROOM" />
  <define id="room_inv_bulk_max"
          value="SERVER:INVENTORY:ROOM:BULK_MAX" />
  <define id="room_inv_money"
          value="%room_inv_dbentry:MONEY" />
  <!-- player exchange & gift to bot -->
  <define id="exchange_text"
          value="LOCAL:EXCHANGE:TEXT" />
  <define id="exchange_give"
          value="LOCAL:EXCHANGE:GIVE" />
  <define id="exchange_receive"
          value="LOCAL:EXCHANGE:RECEIVE" />
  <define id="exchange_receive_money"
          value="LOCAL:EXCHANGE:MONEY" />
  <define id="exchange_begun"
          value="LOCAL:EXCHANGE:BEGUN" />
  <!-- impulsion to start the trade between players -->
  <define id="exchange_accepted"
          value="LOCAL:EXCHANGE:ACCEPTED" />
  <define id="exchange_id"
          value="LOCAL:EXCHANGE:ID" />
  <!-- dm gift text -->
  <define id="dm_gift_text"
          value="LOCAL:DM_GIFT:TEXT" />
  <!-- bot chat specific -->
  <!-- text selection -->
  <define id="bot_chat_selection_tex"
          value="blank.tga" />
  <define id="bot_chat_selection_over"
          value="127 127 127 255" />
  <define id="bot_chat_selection_pushed"
          value="127 127 127 255" />
  <define id="bot_chat_selection_normal"
          value="0 0 0 0" />
  <define id="bot_chat_selection_font_size"
          value="12" />
  <!-- item/brick... selection -->
  <define id="bot_chat_sheet_selection_normal"
          value="255 255 255 0" />
  <define id="bot_chat_sheet_selection_over"
          value="255 255 255 24" />
  <define id="bot_chat_sheet_selection_pushed"
          value="255 255 255 64" />
  <define id="list_sentence_selection_normal"
          value="255 255 255 0" />
  <define id="list_sentence_selection_over"
          value="255 255 255 48" />
  <!-- Faber specific-->
  <define id="faber_career_id"
          value_from_code="getRoleId('Faber')" />
  <!-- ******************* -->
  <!-- *  SHEET CATEGORY * -->
  <!-- ******************* -->
  <define id="sheet_category_item"
          value="0" />
  <define id="sheet_category_item_plan"
          value="1" />
  <define id="sheet_category_brick"
          value="2" />
  <define id="sheet_category_pact"
          value="3" />
  <define id="sheet_category_skill"
          value="4" />
  <define id="sheet_category_dontknow"
          value="5" />
  <!-- ************* -->
  <!-- *  MODES  * -->
  <!-- ************* -->
  <!-- number must grows. see tempalte="modes" in taskbar.xml -->
  <!-- exploration modes -->
  <define id="mode_none"
          value="0" />
  <!-- info modes -->
  <define id="mode_info_player_characs"
          value="1" />
  <define id="mode_info_player_career"
          value="2" />
  <define id="mode_info_player_journal"
          value="3" />
  <define id="mode_info_player_brick"
          value="4" />
  <define id="mode_min_info"
          value="1" />
  <define id="mode_max_info"
          value="4" />
  <!-- lab modes -->
  <define id="mode_magic"
          value="5" />
  <define id="mode_combat"
          value="6" />
  <define id="mode_faber_create"
          value="7" />
  <define id="mode_faber_repair"
          value="8" />
  <define id="mode_faber_refine"
          value="9" />
  <define id="mode_commerce"
          value="10" />
  <define id="mode_macros"
          value="11" />
  <define id="mode_special_labo"
          value="12" />
  <define id="mode_min_lab"
          value="5" />
  <define id="mode_max_lab"
          value="12" />
  <!-- help modes -->
  <define id="mode_keys"
          value="13" />
  <define id="mode_macros"
          value="14" />
  <define id="mode_min_keys"
          value="13" />
  <define id="mode_max_keys"
          value="14" />
  <!-- COSMETICS CATALOG -->
  <define id="cosm"
          value="switch(@UI:TEMP:CHAR3D:PEOPLE, 'fy_cheveux_', 'ma_cheveux_', 'tr_cheveux_', 'zo_cheveux_')" />
  <define id="cosm1"
          value="switch(@UI:TEMP:CHAR3D:PEOPLE, 'FY_', 'MA_', 'TR_', 'ZO_')" />
  <define id="cosm2"
          value="switch(@UI:TEMP:CHAR3D:VPA:SEX, 'HOM_', 'HOF_')" />
  <!-- init current modes -->
  <variable entry="UI:SAVE:CURRENT_DESKTOP"
            type="sint64"
            value="0" />
  <variable entry="UI:SAVE:CURRENT_MODE"
            type="sint64"
            value="%mode_none" />
  <variable entry="UI:SAVE:CURRENT_INFO_MODE"
            type="sint64"
            value="-1" />
  <variable entry="UI:SAVE:CURRENT_LAB_MODE"
            type="sint64"
            value="-1" />
  <variable entry="UI:SAVE:CURRENT_KEY_MODE"
            type="sint64"
            value="-1" />
  <variable entry="%is_item_selected"
            type="sint32"
            value="0" />
  <!-- trade specific -->
  <variable entry="%money_proposal"
            type="sint64"
            value="0" />
  <!--
<variable entry="%item_price_1" type="sint64" value="0"/>
<variable entry="%item_price_2" type="sint64" value="0"/>
<variable entry="%item_price_3" type="sint64" value="0"/>
<variable entry="%item_price_4" type="sint64" value="0"/>
<variable entry="%selected_item_sheet_id:SHEET" type="sint64" value="0"/>
<variable entry="%selected_item_sheet_id:QUALITY" type="sint64" value="0"/>
<variable entry="%selected_item_sheet_id:SLOT_TYPE" type="sint64" value="0"/>
<variable entry="%selected_item_selection_group" type="sint64" value="-1"/>
<variable entry="%price_of_item_to_trade" type="sint64" value="0"/>
<variable entry="%max_num_stackable_item_to_trade" type="sint64" value="0"/>
<variable entry="%can_valid_player_trade" type="sint64" value="1"/>
<variable entry="%money_proposal_1" type="sint64" value="0"/>
<variable entry="%money_proposal_2" type="sint64" value="0"/>
<variable entry="%money_proposal_3" type="sint64" value="0"/>
<variable entry="%money_proposal_4" type="sint64" value="0"/>
-->
  <!-- misc -->
  <variable entry="%other_player_name_id"
            type="sint64"
            value="0" />
  <!--<variable entry="%ui_set_active" type="sint32" value="0" />-->
  <!-- Keep state to see if container have been opened (if a trade occurs, some player containers should be opened -->
  <!-- When the trade ends, they should be closed, unless the player opened or closed them during the trade -->
  <variable entry="UI:BAG_TOUCHED:$i"
            type="bool"
            value="0"
            size="10" />
  <!-- max bag possible. entry 0 is not used here -->
  <!--<variable entry="%bag1_touched" type="bool" value="0"/>
<variable entry="%bag2_touched" type="bool" value="0"/>
<variable entry="%bag3_touched" type="bool" value="0"/>
<variable entry="%bag4_touched" type="bool" value="0"/>
<variable entry="%player_touched" type="bool" value="0"/>
<variable entry="%bags_touched" type="bool" value="0"/>
<variable entry="%money_touched" type="bool" value="0"/>-->
  <variable entry="%inventory_touched"
            type="bool"
            value="0" />
  <!--
<variable entry="%bag1_open_value" type="bool" value="0"/>
<variable entry="%bag2_open_value" type="bool" value="0"/>
<variable entry="%bag3_open_value" type="bool" value="0"/>
<variable entry="%bag4_open_value" type="bool" value="0"/>
<variable entry="%player_open_value" type="bool" value="0"/>
<variable entry="%money_open_value" type="bool" value="0"/>
<variable entry="%bags_open_value" type="bool" value="0"/>-->
  <variable entry="%inventory_open_value"
            type="bool"
            value="0" />
  <!-- ****************************** -->
  <!-- *  SHEET SELECTION GROUPS    * -->
  <!-- ****************************** -->
  <!-- add group for trade -->
  <sheet_selection name="buy_selection"
                   texture="item_selection.tga"
                   color="255 255 255 255"
                   global_color="true" />
  <!-- item that the player can buy -->
  <sheet_selection name="inventory_selection"
                   texture="item_selection.tga"
                   color="255 255 255 255"
                   global_color="true" />
  <!-- selection of items in the inventory -->
  <sheet_selection name="teleport_selection"
                   texture="item_selection.tga"
                   color="255 255 255 255"
                   global_color="true" />
  <sheet_selection name="mission_selection"
                   texture="item_selection.tga"
                   color="255 255 255 255"
                   global_color="true" />
  <!-- ****************************** -->
  <!-- *     CODE FILTERS           * -->
  <!-- ****************************** -->
  <!-- dummy for sheets not linked -->
  <variable entry="UI:EMPTY:SHEET"
            type="sint64"
            value="0" />
  <!-- ****************************** -->
  <!-- *             MISC           * -->
  <!-- ****************************** -->
  <variable entry="UI:SAVE:SHOW_CLOCK"
             type="bool"
             value="false" />
  <variable entry="UI:VARIABLES:MISSION_SELECTED_PREV_SESSION"
            type="sint32"
            value="-1" />
  <!-- set to true if the current header that called a menu was a popup container -->
  <variable entry="UI:VARIABLES:GC_POPUP"
            type="sint64"
            value="0" />
  <!-- set to true if the current container that called a menu has a help page -->
  <variable entry="UI:VARIABLES:GC_HAS_HELP"
            type="sint64"
            value="0" />
  <variable entry="UI:VARIABLES:MAIL_WAITING"
            type="sint64"
            value="0" />
  <variable entry="UI:VARIABLES:FORUM_UPDATED"
            type="sint64"
            value="0" />
  <variable entry="UI:VARIABLES:CURRENT_TIME"
            type="sint64"
            value="0" />
  <variable entry="UI:VARIABLES:CURRENT_SERVER_TICK"
            type="sint64"
            value="0" />
  <variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK"
            type="sint64"
            value="0" />
  <variable entry="UI:VARIABLES:CURRENT_DAY"
            type="sint64"
            value="0" />
  <variable entry="UI:VARIABLES:DAY_BEFORE_ZC_DISTRIB"
            type="sint64"
            value="0" />
  <variable entry="%player_act_start"
            type="sint64"
            value="0" />
  <variable entry="%player_act_end"
            type="sint64"
            value="0" />
  <variable entry="UI:SAVE:CONTACT_LIST:SORT_ORDER"
            type="sint32"
			value="0" />
  <variable entry="UI:SAVE:GUILD_LIST:SORT_ORDER"
            type="sint32"
            value="0" />
  <!-- Auto Convert ACT_TSTART end TEND from server to smoothServerTick -->
  <link expr="@SERVER:USER:ACT_TSTART"
        action="set"
        params="dblink=%player_act_start|value=getSmoothServerTick(@SERVER:USER:ACT_TSTART)" />
  <link expr="@SERVER:USER:ACT_TEND"
        action="set"
        params="dblink=%player_act_end|value=getSmoothServerTick(@SERVER:USER:ACT_TEND)" />
  <variable entry="UI:SAVE:COLOR:R"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:COLOR:G"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:COLOR:B"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:COLOR:A"
            type="sint32"
            value="255" />
  <!-- set to true if the list of mission should be expanded in the mission journal -->
  <variable entry="UI:SAVE:EXPAND_MISSION_LIST"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE"
            type="bool"
            value="true" />
  <variable entry="UI:SAVE:CONTENT_ALPHA"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:CONTAINER_ALPHA"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:CONTENT_ROLLOVER_FACTOR"
            type="sint32"
            value="255" />
  <variable entry="UI:SAVE:CONTAINER_ROLLOVER_FACTOR"
            type="sint32"
            value="255" />
  <!-- Speeds from 0 to 100 -->
  <variable entry="UI:SAVE:ALPHA_ROLLOVER_SPEED"
            type="sint32"
            value="5" />
  <variable entry="UI:SAVE:DOUBLE_CLICK_SPEED"
            type="sint32"
            value="50" />
  <variable entry="UI:SAVE:KEY_REPEAT_SPEED"
            type="sint32"
            value="50" />
  <variable entry="UI:SAVE:USER_CHAR_FADE"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:USER_CHAR_OPA_MIN"
            type="sint32"
            value="160" />
  <variable entry="UI:SAVE:DAY_COLOR"
            type="rgba"
            value="255 255 255 255" />
  <variable entry="UI:SAVE:NIGHT_COLOR"
            type="rgba"
            value="255 255 255 255" />
  <variable entry="UI:VARIABLES:FPS"
            type="sint64"
            value="30" />
  <variable entry="UI:SAVE:SHOW_3D_ITEM_PREVIEW"
            type="bool"
            value="true" />
  <!-- Blend between day and night (lightLevel = 0 day) (lightLevel = 1 night) -->
  <link expr="depends(@UI:VARIABLES:CURRENT_TIME)"
        action="set"
        params="dblink=UI:SAVE:COLOR:R|value=ilinear(getLightLevel(), getRed(intToColor(@UI:SAVE:DAY_COLOR)), getRed(intToColor(@UI:SAVE:NIGHT_COLOR)))" />
  <link expr="depends(@UI:VARIABLES:CURRENT_TIME)"
        action="set"
        params="dblink=UI:SAVE:COLOR:G|value=ilinear(getLightLevel(), getGreen(intToColor(@UI:SAVE:DAY_COLOR)), getGreen(intToColor(@UI:SAVE:NIGHT_COLOR)))" />
  <link expr="depends(@UI:VARIABLES:CURRENT_TIME)"
        action="set"
        params="dblink=UI:SAVE:COLOR:B|value=ilinear(getLightLevel(), getBlue(intToColor(@UI:SAVE:DAY_COLOR)), getBlue(intToColor(@UI:SAVE:NIGHT_COLOR)))" />
  <!--<link expr="depends(@UI:VARIABLES:CURRENT_TIME)" action="set" 
                params="dblink=UI:SAVE:COLOR:A|value=ilinear(getLightLevel(), @UI:SAVE:DAY_COLOR:A, @UI:SAVE:NIGHT_COLOR:A)" />-->
  <!-- The User Target Slot and UID -->
  <variable entry="UI:VARIABLES:TARGET:UID"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:TARGET:SLOT"
            type="sint64"
            value="-1" />
  <!-- Yoyo: just to know if the Phrase Compositon window is active or not -->
  <variable entry="UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE"
            type="sint64"
            value="0" />
  <!-- Read only: setuped by code to know if the player is running or walking (NB: sit() don't impact) -->
  <variable entry="UI:VARIABLES:PLAYER_RUNNING"
            type="sint32"
            value="1" />
  <!-- Read only: setuped by code to know if the player is standing (1) or sitting (0) -->
  <variable entry="UI:VARIABLES:PLAYER_STAND"
            type="sint32"
            value="1" />
  <!-- Variable incremented by the skill manager whenever any skill cahnge (not progress bar) -->
  <variable entry="UI:VARIABLES:TRACK_SKILL_CHANGE"
            type="sint32"
            value="0" />
  <!-- User Guild Grade. 0 if user has no guild or if it is the leader -->
  <variable entry="UI:VARIABLES:USER:GUILD_GRADE"
            type="sint32"
            value="0" />
  <!-- ************************** -->
  <!-- * PLAYER JAUGES DISPLAY  * -->
  <!-- ************************** -->
  <variable entry="UI:SAVE:PLAYER:DISP_SAP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:PLAYER:DISP_STA"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:PLAYER:DISP_FOC"
            type="sint32"
            value="1" />
  <!-- If player wants the Current Action window out of the player window -->
  <variable entry="UI:SAVE:ACT_BAR_OUT"
            type="sint32"
            value="1" />
  <!-- ************************** -->
  <!-- *   CHAT TEXT PARAMETERS * -->
  <!-- ************************** -->
  <variable entry="UI:SAVE:CHAT:FONT_SIZE"
            type="sint32"
            value="10" />
  <variable entry="UI:SAVE:CHAT:MULTI_LINE_SPACE"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:CHAT:SHADOWED_TEXT"
            type="bool"
            value="true" />
  <!-- ****************************** -->
  <!-- *         CHAT COLORS        * -->
  <!-- ****************************** -->
  <variable entry="UI:SAVE:CHAT:COLORS:SPEAKER"
            type="rgba"
            value="220 220 50  255" />
  <variable entry="UI:SAVE:CHAT:COLORS:SAY"
            type="rgba"
            value="255 255 255 255" />
  <variable entry="UI:SAVE:CHAT:COLORS:SHOUT"
            type="rgba"
            value="255 70  70  255" />
  <variable entry="UI:SAVE:CHAT:COLORS:GROUP"
            type="rgba"
            value="170 170 255 255" />
  <variable entry="UI:SAVE:CHAT:COLORS:CLADE"
            type="rgba"
            value="70  255 70  255" />
  <variable entry="UI:SAVE:CHAT:COLORS:CIVILIZATION"
            type="rgba"
            value="128 128 128 255" />
  <variable entry="UI:SAVE:CHAT:COLORS:TERRITORY"
            type="rgba"
            value="128 128 128 255" />
  <variable entry="UI:SAVE:CHAT:COLORS:UNIVERSE_NEW"
            type="rgba"
            value="255 127 0   255" />
  <variable entry="UI:SAVE:CHAT:COLORS:REGION"
            type="rgba"
            value="255 200 200 255" />
  <variable entry="UI:SAVE:CHAT:COLORS:TELL"
            type="rgba"
            value="170 170 170 255" />
  <variable entry="UI:SAVE:CHAT:ENTER_DONT_QUIT_CB"
            type="bool"
            value="false" />
  <variable entry="UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB"
             type="bool"
             value="false" />
  <!-- ***************************** -->
  <!-- *    SYSTEM INFO COLORS     * -->
  <!-- ***************************** -->
  <variable entry="UI:VARIABLES:SYSTEM_INFOS:COLORS:NEUTRAL"
            type="rgba"
            value="255 255 255 255" />
  <variable entry="UI:VARIABLES:SYSTEM_INFOS:COLORS:WARNING"
            type="rgba"
            value="255 0 0 255" />
  <variable entry="UI:VARIABLES:SYSTEM_INFOS:COLORS:ERROR"
            type="rgba"
            value="242 95  23  255" />
  <!-- ****************************************** -->
  <!-- *    UI TOP CONTAINER ACTIVATED STATE    * -->
  <!-- ****************************************** -->
  <!-- 0 - closed    and    1 - opened -->
  <variable entry="UI:VARIABLES:ISACTIVE:INV_EQUIP"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:INV_BAG"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:INV_PA0"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:INV_PA1"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:INV_PA2"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:INV_PA3"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:INV_ROOM"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:INVENTORY"
            type="sint32"
            value="0" />
  <variable entry="UI:TEMP:INVENTORY_GUILD_OPENED"
            type="sint32"
            value="0" />
  <variable entry="UI:TEMP:INVENTORY_ROOM_OPENED"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INVENTORY_GUILD_WANT_POPUP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_BAG:SORT_TYPE"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_BAG:ICON_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_BAG:FILTER_ARMOR"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_BAG:FILTER_WEAPON"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_BAG:FILTER_TOOL"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_BAG:FILTER_MP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_BAG:FILTER_MISSMP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA0:SORT_TYPE"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA0:ICON_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA0:FILTER_ARMOR"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA0:FILTER_WEAPON"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA0:FILTER_TOOL"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA0:FILTER_MP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA0:FILTER_MISSMP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA1:SORT_TYPE"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA1:ICON_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA1:FILTER_ARMOR"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA1:FILTER_WEAPON"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA1:FILTER_TOOL"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA1:FILTER_MP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA1:FILTER_MISSMP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA2:SORT_TYPE"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA2:ICON_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA2:FILTER_ARMOR"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA2:FILTER_WEAPON"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA2:FILTER_TOOL"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA2:FILTER_MP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA2:FILTER_MISSMP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA3:SORT_TYPE"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA3:ICON_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_PA3:FILTER_ARMOR"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA3:FILTER_WEAPON"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA3:FILTER_TOOL"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA3:FILTER_MP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_PA3:FILTER_MISSMP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_GUILD:SORT_TYPE"
            type="sint32"
            value="1" />
  <!-- 1 == SortType -->
  <variable entry="UI:SAVE:INV_GUILD:ICON_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_GUILD:FILTER_ARMOR"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_GUILD:FILTER_WEAPON"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_GUILD:FILTER_TOOL"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_GUILD:FILTER_MP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_GUILD:FILTER_MISSMP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_ROOM:SORT_TYPE"
            type="sint32"
            value="1" />
  <!-- 1 == SortType -->
  <variable entry="UI:SAVE:INV_ROOM:ICON_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:INV_ROOM:FILTER_ARMOR"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_ROOM:FILTER_WEAPON"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_ROOM:FILTER_TOOL"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_ROOM:FILTER_MP"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:INV_ROOM:FILTER_MISSMP"
            type="sint32"
            value="1" />
  <!-- List Menu 1 -->
  <variable entry="UI:VARIABLES:ISACTIVE:SETS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:ACTIONS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:WINDOWSBAR"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:DEFENSE"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:LINKS"
            type="sint32"
            value="0" />
  <!-- List Menu 2 -->
  <variable entry="UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL"
            type="sint32"
            value="0" />
  <!-- List Menu 3 -->
  <variable entry="UI:VARIABLES:ISACTIVE:COMPAS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:MAP"
            type="sint32"
            value="0" />
  <!-- List Menu 4 -->
  <variable entry="UI:VARIABLES:ISACTIVE:TARGET"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:GUILD_FORUM"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:TELL"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:TEAM_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:TEAM_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:CONTACT_LIST"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:MAILBOX"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:WEBIG"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:CHAT_GROUP"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:MAIN_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:GUILD_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:TEAM_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:SYSTEM_INFO"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:AROUND_ME"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:CHAT_GROUP"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:USER_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:UNIVERSE_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:REGION_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISDETACHED:YUBO_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:ISENABLED:AROUND_ME"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:ISENABLED:REGION_CHAT"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:ISENABLED:TEAM_CHAT"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:ISENABLED:GUILD_CHAT"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:ISENABLED:UNIVERSE_CHAT"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:ISENABLED:SYSTEM_INFO"
            type="sint32"
            value="1" />
  <variable entry="UI:SAVE:ISENABLED:YUBO_CHAT"
            type="sint32"
            value="1" />
  <!-- List Menu 5 -->
  <variable entry="UI:VARIABLES:ISACTIVE:BONUS_MALUS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:PLAYER"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:GUILD"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:MISSIONS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:CAREERS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:STATUS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:BRICKS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:FAME"
            type="sint32"
            value="0" />
  <!-- List Menu 7 -->
  <variable entry="UI:VARIABLES:ISACTIVE:GAME_CONFIG"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:CONNECTION"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:KEYS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:MACROS"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:MP3PLAYER"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:BG_DOWNLOADER"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:ISACTIVE:COSMETICS"
            type="sint32"
            value="0" />
  <!-- ***************************** -->
  <!-- *      BOTCHAT VARIABLES    * -->
  <!-- ***************************** -->
  <define id="faber_type_unknown"
          value_from_code="getFaberTypeUnknown()" />
  <define id="item_type_unknown"
          value_from_code="getItemTypeUnknown()" />
  <define id="bot_chat_filter_max_price"
          value="999999999" />
  <define id="bot_chat_filter_max_quality"
          value="300" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:MIN_PRICE"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:MAX_PRICE"
            type="sint32"
            value="%bot_chat_filter_max_price" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:MIN_QUALITY"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:MAX_QUALITY"
            type="sint32"
            value="%bot_chat_filter_max_quality" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:MIN_CLASS"
            type="sint32"
            value="0" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:MAX_CLASS"
            type="sint32"
            value="4" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:MP_ITEM_PART"
            type="sint32"
            value="%faber_type_unknown" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:ITEM_TYPE"
            type="sint32"
            value="%item_type_unknown" />
  <variable entry="UI:SAVE:BOTCHAT_FILTER:RESET_ON_OPEN"
            type="sint32"
            value="1" />
  <!-- ***************************** -->
  <!-- *  STRING CASE OPTION       * -->
  <!-- ***************************** -->
  <define id="case_normal"
          value="0" />
  <define id="case_lower"
          value="1" />
  <define id="case_upper"
          value="2" />
  <define id="case_first_string_letter_up"
          value="3" />
  <define id="case_first_sentence_letter_up"
          value="4" />
  <define id="case_first_word_letter_up"
          value="5" />
  <!-- ****************** -->
  <!-- *   CONNECTION   * -->
  <!-- ****************** -->
  <variable type="float"
            entry="UI:VARIABLES:UPLOAD" />
  <variable type="float"
            entry="UI:VARIABLES:DOWNLOAD" />
  <variable type="float"
            entry="UI:VARIABLES:PING" />
  <variable type="float"
            entry="UI:VARIABLES:PACKETLOST" />
  <variable type="float"
            entry="UI:VARIABLES:SERVERSTATE" />
  <variable type="bool"
            entry="UI:VARIABLES:CONNECTION_QUALITY" />
  <!-- ***************************** -->
  <!-- *  COMMON DEFINE COLORS     * -->
  <!-- ***************************** -->
  <define id="hp_color"
          value="255 64 0 255" />
  <define id="hp_color_neg"
          value="127 32 0 255" />
  <define id="sta_color"
          value="255 0 255 255" />
  <define id="sap_color"
          value="72 255 0 255" />
  <define id="focus_color"
          value="0 128 255 255" />
  <define id="bulk_color"
          value="215 185 75 255" />
  <!-- ***************************** -->
  <!-- *          ITEM PART ICONS          * -->
  <!-- ***************************** -->
  <define id="item_part_icon_MpL"
          value="ICO_Blade.tga" />
  <define id="item_part_icon_MpH"
          value="ICO_hammer.tga" />
  <define id="item_part_icon_MpP"
          value="ICO_Pointe.tga" />
  <define id="item_part_icon_MpM"
          value="ICO_Shaft.tga" />
  <define id="item_part_icon_MpG"
          value="ICO_Gripp.tga" />
  <define id="item_part_icon_MpC"
          value="ICO_Counterweight.tga" />
  <define id="item_part_icon_MpGA"
          value="ICO_trigger.tga" />
  <define id="item_part_icon_MpPE"
          value="ICO_Firing_pin.tga" />
  <define id="item_part_icon_MpCA"
          value="ICO_barrel.tga" />
  <define id="item_part_icon_MpE"
          value="ICO_Explosif.tga" />
  <define id="item_part_icon_MpEN"
          value="ICO_Ammo_jacket.tga" />
  <define id="item_part_icon_MpPR"
          value="ICO_Ammo_bullet.tga" />
  <define id="item_part_icon_MpCR"
          value="ICO_Armor_shell.tga" />
  <define id="item_part_icon_MpRI"
          value="ICO_Lining.tga" />
  <define id="item_part_icon_MpRE"
          value="ICO_Stuffing.tga" />
  <define id="item_part_icon_MpAT"
          value="ICO_armor_clip.tga" />
  <define id="item_part_icon_MpSU"
          value="ICO_Jewel_stone_support.tga" />
  <define id="item_part_icon_MpED"
          value="ICO_Jewel_stone.tga" />
  <define id="item_part_icon_MpBT"
          value="" />
  <define id="item_part_icon_MpPES"
          value="" />
  <define id="item_part_icon_MpSH"
          value="" />
  <define id="item_part_icon_MpTK"
          value="" />
  <define id="item_part_icon_MpJH"
          value="" />
  <define id="item_part_icon_MpCF"
          value="" />
  <define id="item_part_icon_MpVE"
          value="ICO_Clothes.tga" />
  <define id="item_part_icon_MpMF"
          value="ICO_Magic_focus.tga" />
  <!-- None, for item part selection -->
  <define id="item_part_icon_"
          value="No_Action.tga" />
  <!-- ***************************** -->
  <!-- *          PVP FACTION ICONS        * -->
  <!-- ***************************** -->
  <define id="pvp_faction_icon_None"
          value="" />
  <define id="pvp_faction_icon_Neutral"
          value="" />
  <define id="pvp_faction_icon_Kami"
          value="faction_Kami.tga" />
  <define id="pvp_faction_icon_Karavan"
          value="faction_Karavan.tga" />
  <define id="pvp_faction_icon_Fyros"
          value="faction_Fyros.tga" />
  <define id="pvp_faction_icon_Matis"
          value="faction_Matis.tga" />
  <define id="pvp_faction_icon_Tryker"
          value="faction_Tryker.tga" />
  <define id="pvp_faction_icon_Zorai"
          value="faction_Zorai.tga" />
  <!-- ******************************** -->
  <!-- *          BRICK FALGS             * -->
  <!-- ******************************** -->
  <define id="brick_flags_critical_hit"
          value="8" />
  <define id="brick_flags_parry"
          value="16" />
  <define id="brick_flags_dodge"
          value="32" />
  <!-- ******************************** -->
  <!-- *          ITEM TYPE TO ITEM SHEET * -->
  <!-- ******************************** -->
  <!-- Melee weapons -->
  <define id="item_type_to_item_sheet_DAGGER"
          value="iccm1pd.sitem" />
  <define id="item_type_to_item_sheet_SWORD"
          value="iccm1ss.sitem" />
  <define id="item_type_to_item_sheet_MACE"
          value="iccm1bm.sitem" />
  <define id="item_type_to_item_sheet_AXE"
          value="iccm1sa.sitem" />
  <define id="item_type_to_item_sheet_SPEAR"
          value="iccm1ps.sitem" />
  <define id="item_type_to_item_sheet_STAFF"
          value="iccm1bs.sitem" />
  <define id="item_type_to_item_sheet_TWO_HAND_SWORD"
          value="iccm2ss.sitem" />
  <define id="item_type_to_item_sheet_TWO_HAND_AXE"
          value="iccm2sa.sitem" />
  <define id="item_type_to_item_sheet_PIKE"
          value="iccm2pp.sitem" />
  <define id="item_type_to_item_sheet_TWO_HAND_MACE"
          value="iccm2bm.sitem" />
  <define id="item_type_to_item_sheet_MAGICIAN_STAFF"
          value="iccm2ms.sitem" />
  <!-- Range weapons -->
  <define id="item_type_to_item_sheet_AUTOLAUCH"
          value="icbr2a.sitem" />
  <define id="item_type_to_item_sheet_BOWRIFLE"
          value="icbr2b.sitem" />
  <define id="item_type_to_item_sheet_LAUNCHER"
          value="icbr2l.sitem" />
  <define id="item_type_to_item_sheet_PISTOL"
          value="icbr1p.sitem" />
  <define id="item_type_to_item_sheet_BOWPISTOL"
          value="icbr1b.sitem" />
  <define id="item_type_to_item_sheet_RIFLE"
          value="icbr2r.sitem" />
  <!-- Ammo -->
  <define id="item_type_to_item_sheet_AUTOLAUNCH_AMMO"
          value="iccp2ab.sitem" />
  <define id="item_type_to_item_sheet_BOWRIFLE_AMMO"
          value="iccp2bb.sitem" />
  <define id="item_type_to_item_sheet_LAUNCHER_AMMO"
          value="iccp2lb.sitem" />
  <define id="item_type_to_item_sheet_PISTOL_AMMO"
          value="iccp1pb.sitem" />
  <define id="item_type_to_item_sheet_BOWPISTOL_AMMO"
          value="iccp1bb.sitem" />
  <define id="item_type_to_item_sheet_RIFLE_AMMO"
          value="iccp2rb.sitem" />
  <!-- Shields -->
  <define id="item_type_to_item_sheet_SHIELD"
          value="iccss.sitem" />
  <define id="item_type_to_item_sheet_BUCKLER"
          value="iccsb.sitem" />
  <!-- Armors -->
  <define id="item_type_to_item_sheet_LIGHT_BOOTS"
          value="icfalb.sitem" />
  <define id="item_type_to_item_sheet_LIGHT_GLOVES"
          value="icfalg.sitem" />
  <define id="item_type_to_item_sheet_LIGHT_PANTS"
          value="icfalp.sitem" />
  <define id="item_type_to_item_sheet_LIGHT_SLEEVES"
          value="icfals.sitem" />
  <define id="item_type_to_item_sheet_LIGHT_VEST"
          value="icfalv.sitem" />
  <define id="item_type_to_item_sheet_MEDIUM_BOOTS"
          value="icfamb.sitem" />
  <define id="item_type_to_item_sheet_MEDIUM_GLOVES"
          value="icfamg.sitem" />
  <define id="item_type_to_item_sheet_MEDIUM_PANTS"
          value="icfamp.sitem" />
  <define id="item_type_to_item_sheet_MEDIUM_SLEEVES"
          value="icfams.sitem" />
  <define id="item_type_to_item_sheet_MEDIUM_VEST"
          value="icfamv.sitem" />
  <define id="item_type_to_item_sheet_HEAVY_BOOTS"
          value="icfahb.sitem" />
  <define id="item_type_to_item_sheet_HEAVY_GLOVES"
          value="icfahg.sitem" />
  <define id="item_type_to_item_sheet_HEAVY_PANTS"
          value="icfahp.sitem" />
  <define id="item_type_to_item_sheet_HEAVY_SLEEVES"
          value="icfahs.sitem" />
  <define id="item_type_to_item_sheet_HEAVY_VEST"
          value="icfahv.sitem" />
  <define id="item_type_to_item_sheet_HEAVY_HELMET"
          value="icfahh.sitem" />
  <!-- Jewels -->
  <define id="item_type_to_item_sheet_ANKLET"
          value="icfja.sitem" />
  <define id="item_type_to_item_sheet_BRACELET"
          value="icfjb.sitem" />
  <define id="item_type_to_item_sheet_DIADEM"
          value="icfjd.sitem" />
  <define id="item_type_to_item_sheet_EARING"
          value="icfje.sitem" />
  <define id="item_type_to_item_sheet_PENDANT"
          value="icfjp.sitem" />
  <define id="item_type_to_item_sheet_RING"
          value="icfjr.sitem" />
  <!--
<define id="item_type_to_item_sheet_CLEAVER"            value="" />
<define id="item_type_to_item_sheet_SHEARS"             value="" />
<define id="item_type_to_item_sheet_FISHINGPROD"                value="" />
<define id="item_type_to_item_sheet_SEARAKE"            value="" />
<define id="item_type_to_item_sheet_SPADE"              value="" />
<define id="item_type_to_item_sheet_CATLEPROD"          value="" />
<define id="item_type_to_item_sheet_STICK"              value="" />
<define id="item_type_to_item_sheet_WHIP"               value="" />
-->
  <!-- Tools -->
  <define id="item_type_to_item_sheet_ArmorTool"
          value="itarmor.sitem" />
  <define id="item_type_to_item_sheet_AmmoTool"
          value="itammo.sitem" />
  <define id="item_type_to_item_sheet_MeleeWeaponTool"
          value="itmwea.sitem" />
  <define id="item_type_to_item_sheet_RangeWeaponTool"
          value="itrwea.sitem" />
  <define id="item_type_to_item_sheet_JewelryTool"
          value="itjewel.sitem" />
  <define id="item_type_to_item_sheet_ToolMaker"
          value="ittool.sitem" />
  <!--
<define id="item_type_to_item_sheet_CAMPSFIRE"          value="" />
-->
  <!-- Misc -->
  <define id="item_type_to_item_sheet_MEKTOUB_PACKER_TICKET"
          value="iapd.sitem" />
  <define id="item_type_to_item_sheet_MEKTOUB_MOUNT_TICKET"
          value="iasd.sitem" />
  <define id="item_type_to_item_sheet_JOB_ELEMENT"
          value="rpjob_elementary.sitem" />
  <!-- ************************ -->
  <!-- *          YUBO CHAT               * -->
  <!-- ************************ -->
  <!--
        The Yubo Chat is a special telnet chat for Game Masters, same channel as the Yubo Klient
-->
  <variable entry="UI:VARIABLES:ISACTIVE:YUBO_CHAT"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:YUBO_CHAT_PRESENT"
            type="sint32"
            value="0" />
  <define id="is_yubo_chat_present"
          value="ne(@UI:VARIABLES:YUBO_CHAT_PRESENT,0)" />
  <!-- ************************ -->
  <!-- *          DYNAMIC CHAT    * -->
  <!-- ************************ -->
  <define id="max_dyn_chan_per_player"
          value_from_code="getMaxDynChanPerPlayer()" />
  <variable entry="UI:SAVE:ISDETACHED:DYNAMIC_CHAT$i"
            type="sint32"
            value="1"
            size="%max_dyn_chan_per_player" />
  <variable entry="UI:SAVE:ISENABLED:DYNAMIC_CHAT$i"
            type="sint32"
            value="1"
            size="%max_dyn_chan_per_player" />
  <!-- ************************ -->
  <!-- *          MUSIC from DB   * -->
  <!-- ************************ -->
  <!-- Mission musics -->
  <define id="max_num_missions"
          value_from_code="getMaxNumMissions()" />
  <template name="temp_music_for_mission"
            index="">
    <link expr="@SERVER:MISSIONS:#index:TITLE"
          cond="and(ne(@SERVER:MISSIONS:#index:TITLE,0),eq(oldvalue('SERVER:MISSIONS:#index:TITLE'),0))"
          action="play_event_music"
          params="music=Quest Start.ogg|loop=0|xfade=0" />
    <link expr="@SERVER:MISSIONS:#index:FINISHED"
          cond="ne(@SERVER:MISSIONS:#index:FINISHED,0)"
          action="play_event_music"
          params="music=Quest End.ogg|loop=0|xfade=0" />
    <link expr="@SERVER:GROUP:MISSIONS:#index:TITLE"
          cond="and(ne(@SERVER:GROUP:MISSIONS:#index:TITLE,0),eq(oldvalue('SERVER:GROUP:MISSIONS:#index:TITLE'),0))"
          action="play_event_music"
          params="music=Quest Start.ogg|loop=0|xfade=0" />
    <link expr="@SERVER:GROUP:MISSIONS:#index:FINISHED"
          cond="ne(@SERVER:GROUP:MISSIONS:#index:FINISHED,0)"
          action="play_event_music"
          params="music=Quest End.ogg|loop=0|xfade=0" />
  </template>
  <vector template="temp_music_for_mission"
          index="$i"
          _size="%max_num_missions" />
  <!-- ************************ -->
  <!-- *          BAR MANAGER     * -->
  <!-- ************************ -->
  <!-- Bars Variables -->
  <define id="max_animal"
          value_from_code="getMaxAnimal()" />
  <define id="max_team_member"
          value_from_code="getMaxTeamMember()" />
  <define id="max_fame_tribe"
          value_from_code="lua:getNbTribeFameIndex()" />
  <!-- Team Members (FOCUS not setuped) -->
  <variable entry="UI:VARIABLES:BARS:TEAM:$i:HP"
            type="sint32"
            value="0"
            size="%max_team_member" />
  <variable entry="UI:VARIABLES:BARS:TEAM:$i:STA"
            type="sint32"
            value="0"
            size="%max_team_member" />
  <variable entry="UI:VARIABLES:BARS:TEAM:$i:SAP"
            type="sint32"
            value="0"
            size="%max_team_member" />
  <!-- Animal (only HP) -->
  <variable entry="UI:VARIABLES:BARS:ANIMAL:$i:HP"
            type="sint32"
            value="0"
            size="%max_animal" />
  <!-- Target -->
  <variable entry="UI:VARIABLES:BARS:TARGET:HP"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:BARS:TARGET:STA"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:BARS:TARGET:SAP"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:BARS:TARGET:FOCUS"
            type="sint32"
            value="0" />
  <define id="target_hp"
          value="UI:VARIABLES:BARS:TARGET:HP" />
  <define id="target_sta"
          value="UI:VARIABLES:BARS:TARGET:STA" />
  <define id="target_sap"
          value="UI:VARIABLES:BARS:TARGET:SAP" />
  <define id="target_focus"
          value="UI:VARIABLES:BARS:TARGET:FOCUS" />
  <!-- Special USER. -1024 to +1024 "percent" values -->
  <variable entry="UI:VARIABLES:USER:HP_RATIO"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:USER:STA_RATIO"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:USER:SAP_RATIO"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:USER:FOCUS_RATIO"
            type="sint32"
            value="0" />
  <!-- Special USER: Actual 0 to 32767 "real clamped to 0" values -->
  <variable entry="UI:VARIABLES:USER:HP"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:USER:STA"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:USER:SAP"
            type="sint32"
            value="0" />
  <variable entry="UI:VARIABLES:USER:FOCUS"
            type="sint32"
            value="0" />
  <!-- AH when Target Bars change from DB -->
  <link expr="depends(@SERVER:TARGET:BARS)"
        action="bar_manager_on_target" />
  <!-- AH when Team Bars change from DB -->
  <template name="temp_link_team_bars"
            index="">
    <link expr="depends(@SERVER:GROUP:#index)"
          action="bar_manager_on_team"
          params="#index" />
  </template>
  <vector template="temp_link_team_bars"
          index="$i"
          _size="%max_team_member" />
  <!-- AH when Animal Bars change from DB -->
  <template name="temp_link_animal_bars"
            index="">
    <link expr="depends(@SERVER:PACK_ANIMAL:BEAST#index)"
          action="bar_manager_on_animal"
          params="#index" />
  </template>
  <vector template="temp_link_animal_bars"
          index="$i"
          _size="%max_animal" />
  <!-- AH when User Max Scores change from DB (must reupdate all ratio bars) -->
  <link expr="depends(@SERVER:CHARACTER_INFO:SCORES0)"
        action="bar_manager_on_user_scores" />
  <link expr="depends(@SERVER:CHARACTER_INFO:SCORES1)"
        action="bar_manager_on_user_scores" />
  <link expr="depends(@SERVER:CHARACTER_INFO:SCORES2)"
        action="bar_manager_on_user_scores" />
  <link expr="depends(@SERVER:CHARACTER_INFO:SCORES3)"
        action="bar_manager_on_user_scores" />
  <define id="r2_max_num_dm_controlled_entities"
          value="16" />
  <!-- text ids for the controlled users -->
  <variable entry="UI:VARIABLES:R2_DM_CONTROLLED:$i:TEXT_ID"
            type="sint32"
            value="0"
            size="%r2_max_num_dm_controlled_entities" />
  <variable entry="UI:TEMP:R2_DRAW_ARRAY"
            type="bool"
            value="0" />
</interface_config>