Fix
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / config.xml
blobfd57bf5983348219c0f981e036f9663b8f7d12e9
1 <interface_config>
2   <root id="interface"
3         x="0"
4         y="0"
5         w="800"
6         h="600"
7         active="true" />
8   <!-- This value is saved/loaded in the .icfg (default: 0).
9         It is used in combination with RESET_VER_* defines, to avoid loading old DB parts of .icfg
10         Increment it each time you want to force to reset some db vars, and add/replace the RESET_VER_* defines
11         of the variables you want to force
12 -->
13   <define id="UI_DB_SAVE_VERSION"
14           value="1" />
16   <variable entry="UI:TEMP:TRUE"
17             type="bool"
18             value="1" />
19   <variable entry="UI:TEMP:FALSE"
20             type="bool"
21             value="0" />
22   <!-- ****************************** -->
23   <!-- *       WINDOWS COLORS       * -->
24   <!-- ****************************** -->
25   <variable entry="UI:SAVE:WIN:COLORS:PLA"
26             type="rgba"
27             value="167 205 107 255" />
28   <variable entry="UI:SAVE:WIN:COLORS:ANI"
29             type="rgba"
30             value="189 154 123 255" />
31   <variable entry="UI:SAVE:WIN:COLORS:COM"
32             type="rgba"
33             value="255 237 89 255" />
34   <variable entry="UI:SAVE:WIN:COLORS:INV"
35             type="rgba"
36             value="74 162 243 255" />
37   <variable entry="UI:SAVE:WIN:COLORS:OPT"
38             type="rgba"
39             value="255 79 69 255" />
40   <variable entry="UI:SAVE:WIN:COLORS:LAB"
41             type="rgba"
42             value="251 163 60 255" />
43   <variable entry="UI:SAVE:WIN:COLORS:MEM"
44             type="rgba"
45             value="237 112 200 255" />
46   <variable entry="UI:SAVE:WIN:COLORS:MAP"
47             type="rgba"
48             value="237 200 30 255" />
49   <variable entry="UI:SAVE:WIN:COLORS:HELP"
50             type="rgba"
51             value="255 96  16 255" />
52   <variable entry="UI:SAVE:WIN:COLORS:INFOS"
53             type="rgba"
54             value="255 0 0 255" />
55   <variable entry="UI:SAVE:WIN:COLORS:TRADE"
56             type="rgba"
57             value="204 177 107 255" />
58   <variable entry="UI:SAVE:WIN:COLORS:BOT"
59             type="rgba"
60             value="0 251 222 255" />
61   <!-- R2 windows -->
62   <variable entry="UI:SAVE:WIN:COLORS:R2_PALETTE"
63             type="rgba"
64             value="255 255 66 255" />
65   <variable entry="UI:SAVE:WIN:COLORS:R2_SCENARIO"
66             type="rgba"
67             value="117 217 255 255" />
68   <variable entry="UI:SAVE:WIN:COLORS:R2_PROP_WINDOW"
69             type="rgba"
70             value="26 251 142 255" />
71   <variable entry="UI:SAVE:WIN:COLORS:R2_FORM"
72             type="rgba"
73             value="24 142 249 255" />
74   <variable entry="UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK"
75             type="rgba"
76             value="239 170 33 255" />
77   <variable entry="UI:SAVE:WIN:COLORS:R2_DIALOGS"
78             type="rgba"
79             value="117 163 255 255" />
80   <variable entry="UI:SAVE:WIN:COLORS:R2_EVENTS"
81             type="rgba"
82             value="252 255 162 255" />
83   <variable entry="UI:SAVE:WIN:COLORS:R2_ACTIVITIES"
84             type="rgba"
85             value="228 118 255 255" />
86   <variable entry="UI:SAVE:WIN:COLORS:R2_FEATURE_HELP"
87             type="rgba"
88             value="117 255 189 255" />
89   <variable entry="UI:SAVE:WIN:COLORS:R2_CONNECT"
90             type="rgba"
91             value="162 255 173 255" />
92   <variable entry="UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER"
93             type="rgba"
94             value="255 113 66 255" />
95   <variable entry="UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL"
96             type="rgba"
97             value="255 12 89 255" />
98   <variable entry="UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING"
99             type="rgba"
100             value="240 255 89 255" />
101   <variable entry="UI:SAVE:WIN:COLORS:PLA_GRAYED"
102             type="rgba"
103             value="0 0 0 255" />
104   <variable entry="UI:SAVE:WIN:COLORS:LAB_GRAYED"
105             type="rgba"
106             value="0 0 0 255" />
107   <variable entry="UI:SAVE:WIN:COLORS:MEM_GRAYED"
108             type="rgba"
109             value="0 0 0 255" />
110   <link expr="depends(@UI:SAVE:WIN:COLORS:PLA)"
111         action="proc"
112         params="proc_set_pla_grayed" />
113   <link expr="depends(@UI:SAVE:WIN:COLORS:LAB)"
114         action="proc"
115         params="proc_set_lab_grayed" />
116   <link expr="depends(@UI:SAVE:WIN:COLORS:MEM)"
117         action="proc"
118         params="proc_set_mem_grayed" />
119   <proc id="proc_set_pla_grayed">
120     <action handler="set"
121             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)" />
122   </proc>
123   <proc id="proc_set_lab_grayed">
124     <action handler="set"
125             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)" />
126   </proc>
127   <proc id="proc_set_mem_grayed">
128     <action handler="set"
129             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)" />
130   </proc>
131   <!-- R2 property sheets & forms alpha settings -->
132   <variable entry="UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA"
133             type="sint32"
134             value="255" />
135   <variable entry="UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA"
136             type="sint32"
137             value="255" />
138   <variable entry="UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA"
139             type="sint32"
140             value="0" />
141   <variable entry="UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA"
142             type="sint32"
143             value="0" />
144   <variable entry="UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS"
145             type="bool"
146             value="true" />
147   <variable entry="UI:SAVE:R2_FORM:CONTAINER_ALPHA"
148             type="sint32"
149             value="255" />
150   <variable entry="UI:SAVE:R2_FORM:CONTENT_ALPHA"
151             type="sint32"
152             value="255" />
153   <variable entry="UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA"
154             type="sint32"
155             value="0" />
156   <variable entry="UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA"
157             type="sint32"
158             value="0" />
159   <variable entry="UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS"
160             type="bool"
161             value="true" />
162   <!-- ****************************** -->
163   <!-- *       ENTITIES COLORS      * -->
164   <!-- ****************************** -->
165   <variable entry="UI:SAVE:ENTITY:CONTEXT_HELP"
166             type="bool"
167             value="true" />
168   <!-- ****************************** -->
169   <!-- *       ENTITIES COLORS      * -->
170   <!-- ****************************** -->
171   <variable entry="UI:SAVE:ENTITY:COLORS:DEAD"
172             type="rgba"
173             value="255 255 0 255" />
174   <variable entry="UI:SAVE:ENTITY:COLORS:USER"
175             type="rgba"
176             value="255 112 249 255" />
177   <variable entry="UI:SAVE:ENTITY:COLORS:PLAYER"
178             type="rgba"
179             value="77 144 255 255" />
180   <variable entry="UI:SAVE:ENTITY:COLORS:GROUP"
181             type="rgba"
182             value="185 76 255 255" />
183   <variable entry="UI:SAVE:ENTITY:COLORS:GUILD"
184             type="rgba"
185             value="120 0 200 255" />
186   <variable entry="UI:SAVE:ENTITY:COLORS:NPC"
187             type="rgba"
188             value="192 192 192 255" />
189   <variable entry="UI:SAVE:ENTITY:COLORS:FAUNA"
190             type="rgba"
191             value="249 179 29 255" />
192   <variable entry="UI:SAVE:ENTITY:COLORS:TARGET"
193             type="rgba"
194             value="255 255 255 255" />
195   <variable entry="UI:SAVE:ENTITY:COLORS:SOURCE"
196             type="rgba"
197             value="65 255 112 255" />
198   <variable entry="UI:SAVE:ENTITY:COLORS:MOUNT"
199             type="rgba"
200             value="217 255 114 255" />
201   <variable entry="UI:SAVE:ENTITY:COLORS:BEAST"
202             type="rgba"
203             value="158 216 0 255" />
204   <variable entry="UI:SAVE:ENTITY:COLORS:PVPENEMY"
205             type="rgba"
206             value="185 0 0 255" />
207   <variable entry="UI:SAVE:ENTITY:COLORS:PVPALLY"
208             type="rgba"
209             value="0 200 0 255" />
210   <variable entry="UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM"
211             type="rgba"
212             value="140 200 140 255" />
213   <variable entry="UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD"
214             type="rgba"
215             value="100 150 100 255" />
216   <variable entry="UI:SAVE:ENTITY:COLORS:PVPNEUTRAL"
217             type="rgba"
218             value="64 128 128 255" />
219   <variable entry="UI:INTERFACE:ENTITY:COLORS:SGM"
220             type="rgba"
221             value="122 15 240 255" />
222   <variable entry="UI:INTERFACE:ENTITY:COLORS:GM"
223             type="rgba"
224             value="216 11 244 255" />
225   <variable entry="UI:INTERFACE:ENTITY:COLORS:VG"
226             type="rgba"
227             value="248 68 7 255" />
228   <variable entry="UI:INTERFACE:ENTITY:COLORS:SG"
229             type="rgba"
230             value="248 68 7 255" />
231   <variable entry="UI:INTERFACE:ENTITY:COLORS:G"
232             type="rgba"
233             value="244 176 132 255" />
234   <variable entry="UI:INTERFACE:ENTITY:COLORS:CM"
235             type="rgba"
236             value="255 225 240 255" />
237   <variable entry="UI:INTERFACE:ENTITY:COLORS:EM"
238             type="rgba"
239             value="225 221 98 255" />
240   <variable entry="UI:INTERFACE:ENTITY:COLORS:EG"
241             type="rgba"
242             value="98 225 240 255" />
243   <variable entry="UI:INTERFACE:ENTITY:COLORS:OBSERVER"
244             type="rgba"
245             value="248 68 7 255" />
246   <link expr="depends(@UI:SAVE:ENTITY:COLORS)"
247         action="update_entities_color"
248         params="" />
249   <!-- at .icfg load: don't load those variables if the define value is < UI_DB_SAVE_VERSION that is in the old .icfg
250         NB: replace the ':' of the db name with '_'
252   <define id="RESET_VER_UI_SAVE_ENTITY_COLORS_TARGET"
253           value="1" />
254   <define id="RESET_VER_UI_SAVE_ENTITY_COLORS_NPC"
255           value="1" />
256   <!-- ****************************** -->
257   <!-- *       INSCENE INTERFACE    * -->
258   <!-- ****************************** -->
259   <variable entry="UI:SAVE:INSCENE:USER:GUILD_SYMBOL"
260             type="bool"
261             value="false" />
262   <variable entry="UI:SAVE:INSCENE:USER:NAME"
263             type="bool"
264             value="false" />
265   <variable entry="UI:SAVE:INSCENE:USER:TITLE"
266             type="bool"
267             value="false" />
268   <variable entry="UI:SAVE:INSCENE:USER:RPTAGS"
269             type="bool"
270             value="true" />
271   <variable entry="UI:SAVE:INSCENE:USER:GUILD_NAME"
272             type="bool"
273             value="false" />
274   <variable entry="UI:SAVE:INSCENE:USER:HP"
275             type="bool"
276             value="false" />
277   <variable entry="UI:SAVE:INSCENE:USER:STA"
278             type="bool"
279             value="false" />
280   <variable entry="UI:SAVE:INSCENE:USER:SAP"
281             type="bool"
282             value="false" />
283   <variable entry="UI:SAVE:INSCENE:USER:FOCUS"
284             type="bool"
285             value="false" />
286   <variable entry="UI:SAVE:INSCENE:USER:ACTION"
287             type="bool"
288             value="false" />
289   <variable entry="UI:SAVE:INSCENE:USER:MESSAGES"
290             type="bool"
291             value="false" />
292   <variable entry="UI:SAVE:INSCENE:USER:PVP_LOGO"
293             type="bool"
294             value="true" />
295   <variable entry="UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL"
296             type="bool"
297             value="true" />
298   <variable entry="UI:SAVE:INSCENE:FRIEND:NAME"
299             type="bool"
300             value="true" />
301   <variable entry="UI:SAVE:INSCENE:FRIEND:TITLE"
302             type="bool"
303             value="true" />
304   <variable entry="UI:SAVE:INSCENE:FRIEND:RPTAGS"
305             type="bool"
306             value="true" />
307   <variable entry="UI:SAVE:INSCENE:FRIEND:GUILD_NAME"
308             type="bool"
309             value="true" />
310   <variable entry="UI:SAVE:INSCENE:FRIEND:HP"
311             type="bool"
312             value="false" />
313   <variable entry="UI:SAVE:INSCENE:FRIEND:STA"
314             type="bool"
315             value="false" />
316   <variable entry="UI:SAVE:INSCENE:FRIEND:SAP"
317             type="bool"
318             value="false" />
319   <variable entry="UI:SAVE:INSCENE:FRIEND:FOCUS"
320             type="bool"
321             value="false" />
322   <variable entry="UI:SAVE:INSCENE:FRIEND:MESSAGES"
323             type="bool"
324             value="true" />
325   <variable entry="UI:SAVE:INSCENE:FRIEND:PVP_LOGO"
326             type="bool"
327             value="true" />
328   <variable entry="UI:SAVE:INSCENE:FRIEND:NPCNAME"
329             type="bool"
330             value="true" />
331   <variable entry="UI:SAVE:INSCENE:FRIEND:NPCTITLE"
332             type="bool"
333             value="true" />
334   <variable entry="UI:SAVE:INSCENE:FRIEND:MISSION_ICON"
335             type="bool"
336             value="true" />
337   <variable entry="UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON"
338             type="bool"
339             value="false" />
340   <variable entry="UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL"
341             type="bool"
342             value="true" />
343   <variable entry="UI:SAVE:INSCENE:ENEMY:NAME"
344             type="bool"
345             value="true" />
346   <variable entry="UI:SAVE:INSCENE:ENEMY:TITLE"
347             type="bool"
348             value="true" />
349   <variable entry="UI:SAVE:INSCENE:ENEMY:RPTAGS"
350             type="bool"
351             value="true" />
352   <variable entry="UI:SAVE:INSCENE:ENEMY:GUILD_NAME"
353             type="bool"
354             value="true" />
355   <variable entry="UI:SAVE:INSCENE:ENEMY:HP"
356             type="bool"
357             value="true" />
358   <variable entry="UI:SAVE:INSCENE:ENEMY:MESSAGES"
359             type="bool"
360             value="true" />
361   <variable entry="UI:SAVE:INSCENE:ENEMY:PVP_LOGO"
362             type="bool"
363             value="true" />
364   <variable entry="UI:SAVE:INSCENE:SOURCE:NAME"
365             type="bool"
366             value="true" />
367   <variable entry="UI:SAVE:INSCENE:SOURCE:HP"
368             type="bool"
369             value="true" />
370   <variable entry="UI:SAVE:INSCENE:SOURCE:STA"
371             type="bool"
372             value="true" />
373   <variable entry="UI:SAVE:INSCENE:SOURCE:SAP"
374             type="bool"
375             value="true" />
376   <variable entry="UI:SAVE:INSCENE:SOURCE:FOCUS"
377             type="bool"
378             value="true" />
379   <variable entry="UI:SAVE:INSCENE:SOURCE:ACTION"
380             type="bool"
381             value="true" />
382   <variable entry="UI:SAVE:RESPAWN_PT"
383             type="sint32"
384             value="0" />
385   <variable entry="UI:SAVE:OPEN_MISSION"
386             type="sint32"
387             value="0" />
388   <variable entry="UI:SAVE:R2:DISPLAYINFO"
389             type="sint32"
390             value="-1" />
391   <variable entry="UI:SAVE:FAME:CIV_ALLEGIANCE"
392             type="sint8"
393             value="0" />
394   <variable entry="UI:SAVE:FAME:CULT_ALLEGIANCE"
395             type="sint8"
396             value="0" />
397   <!-- change InScene Bars if user change the setup, or if the User Pvp Mode/Status change -->
398   <variable entry="UI:VARIABLES:USER:TRACK_PVP_CHANGE_ANY"
399             type="sint32"
400             value="0" />
401   <link expr="depends(@UI:SAVE:INSCENE)"
402         action="reset_character_in_scene"
403         params="" />
404   <link expr="depends(@UI:VARIABLES:USER:TRACK_PVP_CHANGE_ANY)"
405         action="reset_character_in_scene"
406         params="pvponly" />
407   <define id="skill_frozen_color"
408           value="120 225 255 255" />
409   <define id="skill_career_color"
410           value="255 255 255 255" />
411   <define id="skill_job_color"
412           value="210 210 210 255" />
413   <define id="skill_text_color"
414           value="210 210 180 255" />
415   <define id="skill_bar_color"
416           value="195 195  60 255" />
417   <define id="skill_pos_buf"
418           value="80 255 80 255" />
419   <define id="skill_neg_buf"
420           value="250 250 80 255" />
421   <define id="skill_job_bar_color"
422           value="70  70  70  255" />
423   <define id="armour_color_0"
424           value="233 22 0 255" />
425   <define id="armour_color_1"
426           value="220 140 50 255" />
427   <define id="armour_color_2"
428           value="170 250 0 255" />
429   <define id="armour_color_3"
430           value="0 215 120 255" />
431   <define id="armour_color_4"
432           value="50 100 255 255" />
433   <define id="armour_color_5"
434           value="170 55 110 255" />
435   <define id="armour_color_6"
436           value="250 250 250 255" />
437   <define id="armour_color_7"
438           value="80 80 120 255" />
439   <!-- ****************************** -->
440   <!-- *       LANDMARK COLORS      * -->
441   <!-- ****************************** -->
442   <variable entry="UI:SAVE:LANDMARK:COLORS:MISC"
443             type="rgba"
444             value="255 0 255 255" />
445   <variable entry="UI:SAVE:LANDMARK:COLORS:TRIBE"
446             type="rgba"
447             value="180 180 180 255" />
448   <variable entry="UI:SAVE:LANDMARK:COLORS:BANDIT"
449             type="rgba"
450             value="110 110 110 255" />
451   <variable entry="UI:SAVE:LANDMARK:COLORS:CITIZEN"
452             type="rgba"
453             value="255 255 255 255" />
454   <variable entry="UI:SAVE:LANDMARK:COLORS:FAUNA"
455             type="rgba"
456             value="255 100 0 255" />
457   <variable entry="UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL"
458             type="rgba"
459             value="255 50 0 255" />
460   <variable entry="UI:SAVE:LANDMARK:COLORS:FAUNASUP"
461             type="rgba"
462             value="200 0 0 255" />
463   <variable entry="UI:SAVE:LANDMARK:COLORS:FORAGE"
464             type="rgba"
465             value="150 200 50 255" />
466   <variable entry="UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL"
467             type="rgba"
468             value="50 200 0 255" />
469   <variable entry="UI:SAVE:LANDMARK:COLORS:FORAGESUP"
470             type="rgba"
471             value="0 150 0 255" />
472   <variable entry="UI:SAVE:LANDMARK:COLORS:SAP"
473             type="rgba"
474             value="150 200 50 255" />
475   <variable entry="UI:SAVE:LANDMARK:COLORS:AMBER"
476             type="rgba"
477             value="255 150 0 255" />
478   <variable entry="UI:SAVE:LANDMARK:COLORS:NODE"
479             type="rgba"
480             value="200 100 50 255" />
481   <variable entry="UI:SAVE:LANDMARK:COLORS:FIBER"
482             type="rgba"
483             value="255 255 150 255" />
484   <variable entry="UI:SAVE:LANDMARK:COLORS:BARK"
485             type="rgba"
486             value="150 100 0 255" />
487   <variable entry="UI:SAVE:LANDMARK:COLORS:SEED"
488             type="rgba"
489             value="100 50 50 255" />
490   <variable entry="UI:SAVE:LANDMARK:COLORS:SHELL"
491             type="rgba"
492             value="200 150 150 255" />
493   <variable entry="UI:SAVE:LANDMARK:COLORS:RESIN"
494             type="rgba"
495             value="50 100 0 255" />
496   <variable entry="UI:SAVE:LANDMARK:COLORS:WOOD"
497             type="rgba"
498             value="100 100 50 255" />
499   <variable entry="UI:SAVE:LANDMARK:COLORS:OIL"
500             type="rgba"
501             value="200 200 50 255" />
502   <variable entry="UI:SAVE:LANDMARK:COLORS:MISSION"
503             type="rgba"
504             value="200 50 150 255" />
505   <variable entry="UI:SAVE:LANDMARK:COLORS:FOOD"
506             type="rgba"
507             value="200 50 150 255" />
508   <variable entry="UI:SAVE:LANDMARK:COLORS:CONSTRUCTION"
509             type="rgba"
510             value="255 0 100 255" />
511   <variable entry="UI:SAVE:LANDMARK:COLORS:GOO"
512             type="rgba"
513             value="100 0 150 255" />
514   <variable entry="UI:SAVE:LANDMARK:COLORS:INSECT"
515             type="rgba"
516             value="50 100 150 255" />
517   <variable entry="UI:SAVE:LANDMARK:COLORS:KITIN"
518             type="rgba"
519             value="50 0 150 255" />
520   <variable entry="UI:SAVE:LANDMARK:COLORS:NOCIVE"
521             type="rgba"
522             value="50 0 100 255" />
523   <variable entry="UI:SAVE:LANDMARK:COLORS:PRESERVATIVE"
524             type="rgba"
525             value="50 0 50 255" />
526   <variable entry="UI:SAVE:LANDMARK:COLORS:PASSAGE"
527             type="rgba"
528             value="100 255 255 255" />
529   <variable entry="UI:SAVE:LANDMARK:COLORS:TELEPORTER"
530             type="rgba"
531             value="0 200 200 255" />
532   <link expr="depends(@UI:SAVE:LANDMARK:COLORS)"
533         action="update_landmarks_color"
534         params="" />
535   <!-- ***************** -->
536   <!-- *   CONTAINER   * -->
537   <!-- * CONFIGURATION * -->
538   <!-- ***************** -->
539   <!-- 0 - not tiled (1 BL) (2 BR) (3 TL) (4 TR) -->
540   <style style="skin_scroll"
541          type="scroll"
542          posref="BL BL"
543          w="8"
544          tx_topright="skin_scroll_t.tga"
545          tx_middle="skin_scroll_m.tga"
546          tx_bottomleft="skin_scroll_b.tga" />
547   <options type="layer"
548            name="skin_modal">
549     <param name="tx_tl"
550            value="skin_modal_tl.tga" />
551     <param name="tx_t"
552            value="skin_modal_t.tga" />
553     <param name="tx_tr"
554            value="skin_modal_tr.tga" />
555     <param name="tx_l"
556            value="skin_modal_l.tga" />
557     <param name="tx_r"
558            value="skin_modal_r.tga" />
559     <param name="tx_blank"
560            value="skin_l1_blank.tga" />
561     <param name="tx_bl"
562            value="skin_modal_bl.tga" />
563     <param name="tx_b"
564            value="skin_modal_b.tga" />
565     <param name="tx_br"
566            value="skin_modal_br.tga" />
567     <param name="tile_blank"
568            value="3" />
569     <param name="tx_tl_highlight"
570            value="w_hl_tl.tga" />
571     <param name="tx_t_highlight"
572            value="w_hl_t.tga" />
573     <param name="tx_tr_highlight"
574            value="w_hl_tr.tga" />
575     <param name="tx_l_highlight"
576            value="w_hl_l.tga" />
577     <param name="tx_r_highlight"
578            value="w_hl_r.tga" />
579     <param name="tx_bl_highlight"
580            value="w_hl_bl.tga" />
581     <param name="tx_b_highlight"
582            value="w_hl_b.tga" />
583     <param name="tx_br_highlight"
584            value="w_hl_br.tga" />
585   </options>
586   <options type="layer"
587            name="layer0">
588     <param name="title_font_size"
589            value="13" />
590     <param name="title_offset_x"
591            value="8" />
592     <param name="title_offset_y"
593            value="-7" />
594     <param name="title_offset_openable_x"
595            value="20" />
596     <param name="title_offset_openable_y"
597            value="-7" />
598     <param name="scrollbar_offset_x"
599            value="6" />
600     <param name="scrollbar_size_w"
601            value="8" />
602     <param name="scrollbar_tx_b"
603            value="skin_scroll_b.tga" />
604     <param name="scrollbar_tx_m"
605            value="skin_scroll_m.tga" />
606     <param name="scrollbar_tx_t"
607            value="skin_scroll_t.tga" />
608     <param name="header_h"
609            value="16" />
610     <param name="open_state_tx_opened"
611            value="W_arrow_down_1.tga" />
612     <param name="open_state_tx_closed"
613            value="W_arrow_right_1.tga" />
614     <param name="open_state_offset_x"
615            value="6" />
616     <param name="open_state_offset_y"
617            value="-10" />
618     <param name="right_button_offset_x"
619            value="-8" />
620     <param name="right_button_offset_y"
621            value="-9" />
622     <param name="right_button_tx_deactive"
623            value="w_win_close.tga" />
624     <param name="right_button_tx_popup"
625            value="w_win_popup.tga" />
626     <param name="right_button_tx_popin"
627            value="w_win_popin.tga" />
628     <param name="right_button_tx_over"
629            value="W_button_14_over.tga" />
630     <param name="right_button_tx_locked"
631            value="w_win_lock.tga" />
632     <param name="help_button_offset_x"
633            value="-24" />
634     <param name="help_button_offset_y"
635            value="-9" />
636     <param name="help_button_tx"
637            value="W_help_1.tga" />
638     <param name="help_button_tx_over"
639            value="W_button_14_over.tga" />
640     <param name="button_lock_offset_x"
641            value="-8" />
642     <param name="button_lock_offset_y"
643            value="-6" />
644     <param name="button_lock"
645            value="w_unlocked_16.tga" />
646     <param name="button_lock_pushed"
647            value="w_locked_16.tga" />
648     <param name="button_lock_over"
649            value="W_button_16_over.tga" />
650     <param name="tx_l_header"
651            value="skin_header_L.tga" />
652     <param name="tx_m_header"
653            value="skin_header_M.tga" />
654     <param name="tx_r_header"
655            value="skin_header_R.tga" />
656     <param name="tx_tl"
657            value="skin_tl.tga" />
658     <param name="tx_t"
659            value="skin_t.tga" />
660     <param name="tx_tr"
661            value="skin_tr.tga" />
662     <param name="tx_l"
663            value="skin_l.tga" />
664     <param name="tx_r"
665            value="skin_r.tga" />
666     <param name="tx_blank"
667            value="skin_blank.tga" />
668     <param name="tx_bl"
669            value="skin_bl.tga" />
670     <param name="tx_b"
671            value="skin_b.tga" />
672     <param name="tx_br"
673            value="skin_br.tga" />
674     <param name="tx_bl_open"
675            value="skin_bl_open.tga" />
676     <param name="tx_b_open"
677            value="skin_b_open.tga" />
678     <param name="tx_br_open"
679            value="skin_br_open.tga" />
680     <param name="tx_el_open"
681            value="Skin_el_open.tga" />
682     <param name="tx_em_open"
683            value="skin_em_open.tga" />
684     <param name="tx_er_open"
685            value="skin_er_open.tga" />
686     <param name="tx_m_open"
687            value="skin_m_open.tga" />
688     <param name="tx_e_open"
689            value="none" />
690     <param name="tile_t"
691            value="3" />
692     <param name="tile_b"
693            value="3" />
694     <param name="tile_l"
695            value="3" />
696     <param name="tile_r"
697            value="3" />
698     <param name="tile_blank"
699            value="3" />
700     <param name="tile_m_header"
701            value="3" />
702     <param name="tile_b_open"
703            value="3" />
704     <param name="tile_em_open"
705            value="3" />
706     <param name="tile_m_open"
707            value="3" />
708     <param name="tile_m_scrollbar"
709            value="3" />
710     <param name="tx_tl_highlight"
711            value="w_hl_tl.tga" />
712     <param name="tx_t_highlight"
713            value="w_hl_t.tga" />
714     <param name="tx_tr_highlight"
715            value="w_hl_tr.tga" />
716     <param name="tx_l_highlight"
717            value="w_hl_l.tga" />
718     <param name="tx_r_highlight"
719            value="w_hl_r.tga" />
720     <param name="tx_bl_highlight"
721            value="w_hl_bl.tga" />
722     <param name="tx_b_highlight"
723            value="w_hl_b.tga" />
724     <param name="tx_br_highlight"
725            value="w_hl_br.tga" />
726   </options>
727   <!-- special for milko_pad -->
728   <options type="layer"
729            name="layer0_pad"
730            herit="layer0">
731     <param name="header_h"
732            value="0" />
733   </options>
734   <!-- special for player -->
735   <options type="layer"
736            name="layer0_player">
737     <param name="title_font_size"
738            value="13" />
739     <param name="title_offset_x"
740            value="56" />
741     <param name="title_offset_y"
742            value="-23" />
743     <param name="title_offset_openable_x"
744            value="20" />
745     <param name="title_offset_openable_y"
746            value="-7" />
747     <param name="scrollbar_offset_x"
748            value="6" />
749     <param name="scrollbar_size_w"
750            value="8" />
751     <param name="scrollbar_tx_b"
752            value="skin_scroll_b.tga" />
753     <param name="scrollbar_tx_m"
754            value="skin_scroll_m.tga" />
755     <param name="scrollbar_tx_t"
756            value="skin_scroll_t.tga" />
757     <param name="header_h"
758            value="16" />
759     <param name="open_state_tx_opened"
760            value="W_arrow_down_1.tga" />
761     <param name="open_state_tx_closed"
762            value="W_arrow_right_1.tga" />
763     <param name="open_state_offset_x"
764            value="6" />
765     <param name="open_state_offset_y"
766            value="-10" />
767     <param name="right_button_offset_x"
768            value="-8" />
769     <param name="right_button_offset_y"
770            value="-9" />
771     <param name="right_button_tx_deactive"
772            value="w_win_close.tga" />
773     <param name="right_button_tx_popup"
774            value="w_win_popup.tga" />
775     <param name="right_button_tx_popin"
776            value="w_win_popin.tga" />
777     <param name="right_button_tx_over"
778            value="W_button_14_over.tga" />
779     <param name="right_button_tx_locked"
780            value="w_win_lock.tga" />
781     <param name="help_button_offset_x"
782            value="-24" />
783     <param name="help_button_offset_y"
784            value="-9" />
785     <param name="help_button_tx"
786            value="W_help_1.tga" />
787     <param name="help_button_tx_over"
788            value="W_button_14_over.tga" />
789     <param name="button_lock_offset_x"
790            value="-8" />
791     <param name="button_lock_offset_y"
792            value="-6" />
793     <param name="button_lock"
794            value="w_unlocked_16.tga" />
795     <param name="button_lock_pushed"
796            value="w_locked_16.tga" />
797     <param name="button_lock_over"
798            value="W_button_16_over.tga" />
799     <param name="tx_l_header"
800            value="skin_header_L.tga" />
801     <param name="tx_m_header"
802            value="skin_header_M.tga" />
803     <param name="tx_r_header"
804            value="skin_header_R.tga" />
805     <param name="tx_tl"
806            value="skin_tl_player.tga" />
807     <param name="tx_t"
808            value="skin_t_player.tga" />
809     <param name="tx_tr"
810            value="skin_tr_player.tga" />
811     <param name="tx_l"
812            value="skin_l.tga" />
813     <param name="tx_r"
814            value="skin_r.tga" />
815     <param name="tx_blank"
816            value="skin_blank.tga" />
817     <param name="tx_bl"
818            value="skin_bl.tga" />
819     <param name="tx_b"
820            value="skin_b.tga" />
821     <param name="tx_br"
822            value="skin_br.tga" />
823     <param name="tx_bl_open"
824            value="skin_bl_open.tga" />
825     <param name="tx_b_open"
826            value="skin_b_open.tga" />
827     <param name="tx_br_open"
828            value="skin_br_open.tga" />
829     <param name="tx_el_open"
830            value="Skin_el_open.tga" />
831     <param name="tx_em_open"
832            value="skin_em_open.tga" />
833     <param name="tx_er_open"
834            value="skin_er_open.tga" />
835     <param name="tx_m_open"
836            value="skin_m_open.tga" />
837     <param name="tx_e_open"
838            value="none" />
839     <param name="tile_t"
840            value="3" />
841     <param name="tile_b"
842            value="3" />
843     <param name="tile_l"
844            value="3" />
845     <param name="tile_r"
846            value="3" />
847     <param name="tile_blank"
848            value="3" />
849     <param name="tile_m_header"
850            value="3" />
851     <param name="tile_b_open"
852            value="3" />
853     <param name="tile_em_open"
854            value="3" />
855     <param name="tile_m_open"
856            value="3" />
857     <param name="tile_m_scrollbar"
858            value="3" />
859     <param name="tx_tl_highlight"
860            value="w_hl_tl.tga" />
861     <param name="tx_t_highlight"
862            value="w_hl_t.tga" />
863     <param name="tx_tr_highlight"
864            value="w_hl_tr.tga" />
865     <param name="tx_l_highlight"
866            value="w_hl_l.tga" />
867     <param name="tx_r_highlight"
868            value="w_hl_r.tga" />
869     <param name="tx_bl_highlight"
870            value="w_hl_bl.tga" />
871     <param name="tx_b_highlight"
872            value="w_hl_b.tga" />
873     <param name="tx_br_highlight"
874            value="w_hl_br.tga" />
875   </options>
876   <options type="layer"
877            name="layer0_info">
878     <param name="title_font_size"
879            value="13" />
880     <param name="title_offset_x"
881            value="28" />
882     <param name="title_offset_y"
883            value="-7" />
884     <param name="title_offset_openable_x"
885            value="20" />
886     <param name="title_offset_openable_y"
887            value="-7" />
888     <param name="scrollbar_offset_x"
889            value="6" />
890     <param name="scrollbar_size_w"
891            value="8" />
892     <param name="scrollbar_tx_b"
893            value="skin_scroll_b.tga" />
894     <param name="scrollbar_tx_m"
895            value="skin_scroll_m.tga" />
896     <param name="scrollbar_tx_t"
897            value="skin_scroll_t.tga" />
898     <param name="header_h"
899            value="16" />
900     <param name="open_state_tx_opened"
901            value="W_arrow_down_1.tga" />
902     <param name="open_state_tx_closed"
903            value="W_arrow_right_1.tga" />
904     <param name="open_state_offset_x"
905            value="6" />
906     <param name="open_state_offset_y"
907            value="-10" />
908     <param name="right_button_offset_x"
909            value="-8" />
910     <param name="right_button_offset_y"
911            value="-9" />
912     <param name="right_button_tx_deactive"
913            value="w_win_close.tga" />
914     <param name="right_button_tx_popup"
915            value="w_win_popup.tga" />
916     <param name="right_button_tx_popin"
917            value="w_win_popin.tga" />
918     <param name="right_button_tx_over"
919            value="W_button_14_over.tga" />
920     <param name="right_button_tx_locked"
921            value="w_win_lock.tga" />
922     <param name="help_button_offset_x"
923            value="-24" />
924     <param name="help_button_offset_y"
925            value="-9" />
926     <param name="help_button_tx"
927            value="W_help_1.tga" />
928     <param name="help_button_tx_over"
929            value="W_button_14_over.tga" />
930     <param name="button_lock_offset_x"
931            value="-8" />
932     <param name="button_lock_offset_y"
933            value="-6" />
934     <param name="button_lock"
935            value="w_unlocked_16.tga" />
936     <param name="button_lock_pushed"
937            value="w_locked_16.tga" />
938     <param name="button_lock_over"
939            value="W_button_16_over.tga" />
940     <param name="tx_l_header"
941            value="skin_header_L.tga" />
942     <param name="tx_m_header"
943            value="skin_header_M.tga" />
944     <param name="tx_r_header"
945            value="skin_header_R.tga" />
946     <param name="tx_tl"
947            value="skin_tl.tga" />
948     <param name="tx_t"
949            value="skin_t.tga" />
950     <param name="tx_tr"
951            value="skin_tr.tga" />
952     <param name="tx_l"
953            value="skin_l.tga" />
954     <param name="tx_r"
955            value="skin_r.tga" />
956     <param name="tx_blank"
957            value="skin_blank.tga" />
958     <param name="tx_bl"
959            value="skin_bl.tga" />
960     <param name="tx_b"
961            value="skin_b.tga" />
962     <param name="tx_br"
963            value="skin_br.tga" />
964     <param name="tx_bl_open"
965            value="skin_bl_open.tga" />
966     <param name="tx_b_open"
967            value="skin_b_open.tga" />
968     <param name="tx_br_open"
969            value="skin_br_open.tga" />
970     <param name="tx_el_open"
971            value="Skin_el_open.tga" />
972     <param name="tx_em_open"
973            value="skin_em_open.tga" />
974     <param name="tx_er_open"
975            value="skin_er_open.tga" />
976     <param name="tx_m_open"
977            value="skin_m_open.tga" />
978     <param name="tx_e_open"
979            value="none" />
980     <param name="tile_t"
981            value="3" />
982     <param name="tile_b"
983            value="3" />
984     <param name="tile_l"
985            value="3" />
986     <param name="tile_r"
987            value="3" />
988     <param name="tile_blank"
989            value="3" />
990     <param name="tile_m_header"
991            value="3" />
992     <param name="tile_b_open"
993            value="3" />
994     <param name="tile_em_open"
995            value="3" />
996     <param name="tile_m_open"
997            value="3" />
998     <param name="tile_m_scrollbar"
999            value="3" />
1000     <param name="tx_tl_highlight"
1001            value="w_hl_tl.tga" />
1002     <param name="tx_t_highlight"
1003            value="w_hl_t.tga" />
1004     <param name="tx_tr_highlight"
1005            value="w_hl_tr.tga" />
1006     <param name="tx_l_highlight"
1007            value="w_hl_l.tga" />
1008     <param name="tx_r_highlight"
1009            value="w_hl_r.tga" />
1010     <param name="tx_bl_highlight"
1011            value="w_hl_bl.tga" />
1012     <param name="tx_b_highlight"
1013            value="w_hl_b.tga" />
1014     <param name="tx_br_highlight"
1015            value="w_hl_br.tga" />
1016   </options>
1017   <options type="layer"
1018            name="layer1">
1019     <param name="title_font_size"
1020            value="11" />
1021     <param name="title_offset_x"
1022            value="8" />
1023     <param name="title_offset_y"
1024            value="-4" />
1025     <param name="title_offset_openable_x"
1026            value="18" />
1027     <param name="title_offset_openable_y"
1028            value="-4" />
1029     <param name="header_h"
1030            value="14" />
1031     <param name="open_state_tx_opened"
1032            value="W_arrow_down_1.tga" />
1033     <param name="open_state_tx_closed"
1034            value="W_arrow_right_1.tga" />
1035     <param name="open_state_offset_x"
1036            value="4" />
1037     <param name="open_state_offset_y"
1038            value="-5" />
1039     <param name="right_button_offset_x"
1040            value="-6" />
1041     <param name="right_button_offset_y"
1042            value="-5" />
1043     <param name="right_button_tx_deactive"
1044            value="w_win_close.tga" />
1045     <param name="right_button_tx_popup"
1046            value="w_win_popup.tga" />
1047     <param name="right_button_tx_popin"
1048            value="w_win_popin.tga" />
1049     <param name="right_button_tx_over"
1050            value="W_button_14_over.tga" />
1051     <param name="help_button_offset_x"
1052            value="-18" />
1053     <param name="help_button_offset_y"
1054            value="-5" />
1055     <param name="help_button_tx"
1056            value="W_help_1.tga" />
1057     <param name="help_button_tx_over"
1058            value="W_button_14_over.tga" />
1059     <param name="tx_tl"
1060            value="skin_l1_tl.tga" />
1061     <param name="tx_t"
1062            value="skin_l1_t.tga" />
1063     <param name="tx_tr"
1064            value="skin_l1_r.tga" />
1065     <param name="tx_l"
1066            value="skin_l1_l.tga" />
1067     <param name="tx_r"
1068            value="skin_l1_r.tga" />
1069     <param name="tx_blank"
1070            value="skin_l1_blank.tga" />
1071     <param name="tx_bl"
1072            value="skin_l1_bl.tga" />
1073     <param name="tx_b"
1074            value="skin_l1_b.tga" />
1075     <param name="tx_br"
1076            value="skin_l1_r.tga" />
1077     <param name="tx_bl_open"
1078            value="skin_l1_bl_open.tga" />
1079     <param name="tx_b_open"
1080            value="skin_l1_b_open.tga" />
1081     <param name="tx_br_open"
1082            value="skin_l1_r.tga" />
1083     <param name="tx_el_open"
1084            value="none" />
1085     <param name="tx_em_open"
1086            value="none" />
1087     <param name="tx_er_open"
1088            value="none" />
1089     <param name="tx_m_open"
1090            value="skin_l1_m_open.tga" />
1091     <param name="tx_e_open"
1092            value="skin_l1_e_open.tga" />
1093     <param name="tile_blank"
1094            value="3" />
1095     <param name="tx_tl_highlight"
1096            value="w_hl_tl.tga" />
1097     <param name="tx_t_highlight"
1098            value="w_hl_t.tga" />
1099     <param name="tx_tr_highlight"
1100            value="w_hl_tr.tga" />
1101     <param name="tx_l_highlight"
1102            value="w_hl_l.tga" />
1103     <param name="tx_r_highlight"
1104            value="w_hl_r.tga" />
1105     <param name="tx_bl_highlight"
1106            value="w_hl_bl.tga" />
1107     <param name="tx_b_highlight"
1108            value="w_hl_b.tga" />
1109     <param name="tx_br_highlight"
1110            value="w_hl_br.tga" />
1111   </options>
1112   <options type="layer"
1113            name="layer2">
1114     <param name="title_font_size"
1115            value="10" />
1116     <param name="title_offset_x"
1117            value="8" />
1118     <param name="title_offset_y"
1119            value="-3" />
1120     <param name="title_offset_openable_x"
1121            value="20" />
1122     <param name="title_offset_openable_y"
1123            value="-3" />
1124     <param name="header_h"
1125            value="12" />
1126     <param name="open_state_tx_opened"
1127            value="W_arrow_down_2.tga" />
1128     <param name="open_state_tx_closed"
1129            value="W_arrow_right_2.tga" />
1130     <param name="open_state_offset_x"
1131            value="5" />
1132     <param name="open_state_offset_y"
1133            value="-5" />
1134     <param name="right_button_offset_x"
1135            value="-6" />
1136     <param name="right_button_offset_y"
1137            value="-3" />
1138     <param name="right_button_tx_deactive"
1139            value="w_win_close.tga" />
1140     <param name="right_button_tx_popup"
1141            value="w_win_popup.tga" />
1142     <param name="right_button_tx_popin"
1143            value="w_win_popin.tga" />
1144     <param name="right_button_tx_over"
1145            value="W_button_14_over.tga" />
1146     <param name="help_button_offset_x"
1147            value="-18" />
1148     <param name="help_button_offset_y"
1149            value="-3" />
1150     <param name="help_button_tx"
1151            value="W_help_1.tga" />
1152     <param name="help_button_tx_over"
1153            value="W_button_14_over.tga" />
1154     <param name="tx_tl"
1155            value="w_l2_tl.tga" />
1156     <param name="tx_t"
1157            value="w_l2_t.tga" />
1158     <param name="tx_tr"
1159            value="skin_l2_r.tga" />
1160     <param name="tx_l"
1161            value="w_l2_l.tga" />
1162     <param name="tx_r"
1163            value="skin_l2_r.tga" />
1164     <param name="tx_blank"
1165            value="w_l2_blank.tga" />
1166     <param name="tx_bl"
1167            value="w_l2_bl.tga" />
1168     <param name="tx_b"
1169            value="w_l2_b.tga" />
1170     <param name="tx_br"
1171            value="skin_l2_r.tga" />
1172     <param name="tx_bl_open"
1173            value="w_l2_bl_open.tga" />
1174     <param name="tx_b_open"
1175            value="w_l2_b_open.tga" />
1176     <param name="tx_br_open"
1177            value="skin_l2_r.tga" />
1178     <param name="tx_el_open"
1179            value="none" />
1180     <param name="tx_em_open"
1181            value="none" />
1182     <param name="tx_er_open"
1183            value="none" />
1184     <param name="tx_m_open"
1185            value="w_l2_m_open.tga" />
1186     <param name="tx_e_open"
1187            value="w_l2_e_open.tga" />
1188     <param name="tx_tl_highlight"
1189            value="w_hl_tl.tga" />
1190     <param name="tx_t_highlight"
1191            value="w_hl_t.tga" />
1192     <param name="tx_tr_highlight"
1193            value="w_hl_tr.tga" />
1194     <param name="tx_l_highlight"
1195            value="w_hl_l.tga" />
1196     <param name="tx_r_highlight"
1197            value="w_hl_r.tga" />
1198     <param name="tx_bl_highlight"
1199            value="w_hl_bl.tga" />
1200     <param name="tx_b_highlight"
1201            value="w_hl_b.tga" />
1202     <param name="tx_br_highlight"
1203            value="w_hl_br.tga" />
1204   </options>
1205   <options type="layer"
1206            name="layer3">
1207     <param name="title_font_size"
1208            value="10" />
1209     <param name="title_offset_x"
1210            value="8" />
1211     <param name="title_offset_y"
1212            value="-3" />
1213     <param name="title_offset_openable_x"
1214            value="22" />
1215     <param name="title_offset_openable_y"
1216            value="-3" />
1217     <param name="header_h"
1218            value="10" />
1219     <param name="open_state_tx_opened"
1220            value="W_arrow_down_3.tga" />
1221     <param name="open_state_tx_closed"
1222            value="W_arrow_right_3.tga" />
1223     <param name="open_state_offset_x"
1224            value="6" />
1225     <param name="open_state_offset_y"
1226            value="-5" />
1227     <param name="right_button_offset_x"
1228            value="-6" />
1229     <param name="right_button_offset_y"
1230            value="-4" />
1231     <param name="right_button_tx_deactive"
1232            value="w_win_close.tga" />
1233     <param name="right_button_tx_popup"
1234            value="w_win_popup.tga" />
1235     <param name="right_button_tx_popin"
1236            value="w_win_popin.tga" />
1237     <param name="right_button_tx_over"
1238            value="W_button_14_over.tga" />
1239     <param name="help_button_offset_x"
1240            value="-18" />
1241     <param name="help_button_offset_y"
1242            value="-4" />
1243     <param name="help_button_tx"
1244            value="W_help_1.tga" />
1245     <param name="help_button_tx_over"
1246            value="W_button_14_over.tga" />
1247     <param name="tx_tl"
1248            value="w_l3_tl.tga" />
1249     <param name="tx_t"
1250            value="w_l3_t.tga" />
1251     <param name="tx_tr"
1252            value="skin_l3_r.tga" />
1253     <param name="tx_l"
1254            value="w_l3_l.tga" />
1255     <param name="tx_r"
1256            value="skin_l3_r.tga" />
1257     <param name="tx_blank"
1258            value="w_l3_blank.tga" />
1259     <param name="tx_bl"
1260            value="w_l3_bl.tga" />
1261     <param name="tx_b"
1262            value="w_l3_b.tga" />
1263     <param name="tx_br"
1264            value="Skin_l3_r.tga" />
1265     <param name="tx_bl_open"
1266            value="w_l3_bl_open.tga" />
1267     <param name="tx_b_open"
1268            value="w_l3_b_open.tga" />
1269     <param name="tx_br_open"
1270            value="skin_l3_r.tga" />
1271     <param name="tx_el_open"
1272            value="none" />
1273     <param name="tx_em_open"
1274            value="none" />
1275     <param name="tx_er_open"
1276            value="none" />
1277     <param name="tx_m_open"
1278            value="w_l3_m_open.tga" />
1279     <param name="tx_e_open"
1280            value="w_l3_e_open.tga" />
1281     <param name="tx_tl_highlight"
1282            value="w_hl_tl.tga" />
1283     <param name="tx_t_highlight"
1284            value="w_hl_t.tga" />
1285     <param name="tx_tr_highlight"
1286            value="w_hl_tr.tga" />
1287     <param name="tx_l_highlight"
1288            value="w_hl_l.tga" />
1289     <param name="tx_r_highlight"
1290            value="w_hl_r.tga" />
1291     <param name="tx_bl_highlight"
1292            value="w_hl_bl.tga" />
1293     <param name="tx_b_highlight"
1294            value="w_hl_b.tga" />
1295     <param name="tx_br_highlight"
1296            value="w_hl_br.tga" />
1297   </options>
1298   <options type="layer"
1299            name="layer4">
1300     <param name="title_font_size"
1301            value="10" />
1302     <param name="title_offset_x"
1303            value="18" />
1304     <param name="title_offset_y"
1305            value="-3" />
1306     <param name="title_offset_openable_x"
1307            value="24" />
1308     <param name="title_offset_openable_y"
1309            value="-3" />
1310     <param name="header_h"
1311            value="10" />
1312     <param name="open_state_tx_opened"
1313            value="W_arrow_down_3.tga" />
1314     <param name="open_state_tx_closed"
1315            value="W_arrow_right_3.tga" />
1316     <param name="open_state_offset_x"
1317            value="6" />
1318     <param name="open_state_offset_y"
1319            value="-5" />
1320     <param name="right_button_offset_x"
1321            value="-4" />
1322     <param name="right_button_offset_y"
1323            value="-4" />
1324     <param name="right_button_tx_deactive"
1325            value="w_win_close.tga" />
1326     <param name="right_button_tx_popup"
1327            value="w_win_popup.tga" />
1328     <param name="right_button_tx_popin"
1329            value="w_win_popin.tga" />
1330     <param name="right_button_tx_over"
1331            value="W_button_14_over.tga" />
1332     <param name="help_button_offset_x"
1333            value="-18" />
1334     <param name="help_button_offset_y"
1335            value="-4" />
1336     <param name="help_button_tx"
1337            value="W_help_1.tga" />
1338     <param name="help_button_tx_over"
1339            value="W_button_14_over.tga" />
1340     <param name="tx_tl"
1341            value="w_l3_tl.tga" />
1342     <param name="tx_t"
1343            value="w_l3_t.tga" />
1344     <param name="tx_tr"
1345            value="skin_l3_r.tga" />
1346     <param name="tx_l"
1347            value="w_l3_l.tga" />
1348     <param name="tx_r"
1349            value="skin_l3_r.tga" />
1350     <param name="tx_blank"
1351            value="w_l3_blank.tga" />
1352     <param name="tx_bl"
1353            value="w_l3_bl.tga" />
1354     <param name="tx_b"
1355            value="w_l3_b.tga" />
1356     <param name="tx_br"
1357            value="Skin_l3_r.tga" />
1358     <param name="tx_bl_open"
1359            value="w_l3_bl_open.tga" />
1360     <param name="tx_b_open"
1361            value="w_l3_b_open.tga" />
1362     <param name="tx_br_open"
1363            value="skin_l3_r.tga" />
1364     <param name="tx_el_open"
1365            value="none" />
1366     <param name="tx_em_open"
1367            value="none" />
1368     <param name="tx_er_open"
1369            value="none" />
1370     <param name="tx_m_open"
1371            value="w_l3_m_open.tga" />
1372     <param name="tx_e_open"
1373            value="w_l3_e_open.tga" />
1374     <param name="tx_tl_highlight"
1375            value="w_hl_tl.tga" />
1376     <param name="tx_t_highlight"
1377            value="w_hl_t.tga" />
1378     <param name="tx_tr_highlight"
1379            value="w_hl_tr.tga" />
1380     <param name="tx_l_highlight"
1381            value="w_hl_l.tga" />
1382     <param name="tx_r_highlight"
1383            value="w_hl_r.tga" />
1384     <param name="tx_bl_highlight"
1385            value="w_hl_bl.tga" />
1386     <param name="tx_b_highlight"
1387            value="w_hl_b.tga" />
1388     <param name="tx_br_highlight"
1389            value="w_hl_br.tga" />
1390   </options>
1391   <options type="layer"
1392            name="no_bordure">
1393     <param name="title_font_size"
1394            value="0" />
1395     <param name="title_offset_x"
1396            value="0" />
1397     <param name="title_offset_y"
1398            value="0" />
1399     <param name="title_offset_openable_x"
1400            value="0" />
1401     <param name="title_offset_openable_y"
1402            value="0" />
1403     <param name="header_h"
1404            value="0" />
1405     <param name="open_state_tx_opened"
1406            value="no_bord.tga" />
1407     <param name="open_state_tx_closed"
1408            value="no_bord.tga" />
1409     <param name="open_state_offset_x"
1410            value="0" />
1411     <param name="open_state_offset_y"
1412            value="0" />
1413     <param name="right_button_offset_x"
1414            value="0" />
1415     <param name="right_button_offset_y"
1416            value="0" />
1417     <param name="right_button_tx_deactive"
1418            value="none" />
1419     <param name="right_button_tx_popup"
1420            value="none" />
1421     <param name="right_button_tx_popin"
1422            value="none" />
1423     <param name="right_button_tx_over"
1424            value="none" />
1425     <param name="right_button_tx_locked"
1426            value="none" />
1427     <param name="help_button_offset_x"
1428            value="0" />
1429     <param name="help_button_offset_y"
1430            value="0" />
1431     <param name="help_button_tx"
1432            value="none" />
1433     <param name="help_button_tx_over"
1434            value="none" />
1435     <param name="tx_l_header"
1436            value="no_bord.tga" />
1437     <param name="tx_m_header"
1438            value="no_bord.tga" />
1439     <param name="tx_r_header"
1440            value="no_bord.tga" />
1441     <param name="tx_tl"
1442            value="no_bord.tga" />
1443     <param name="tx_t"
1444            value="no_bord.tga" />
1445     <param name="tx_tr"
1446            value="no_bord.tga" />
1447     <param name="tx_l"
1448            value="no_bord.tga" />
1449     <param name="tx_r"
1450            value="no_bord.tga" />
1451     <param name="tx_blank"
1452            value="no_bord.tga" />
1453     <param name="tx_bl"
1454            value="no_bord.tga" />
1455     <param name="tx_b"
1456            value="no_bord.tga" />
1457     <param name="tx_br"
1458            value="no_bord.tga" />
1459     <param name="tx_bl_open"
1460            value="no_bord.tga" />
1461     <param name="tx_b_open"
1462            value="no_bord.tga" />
1463     <param name="tx_br_open"
1464            value="no_bord.tga" />
1465     <param name="tx_el_open"
1466            value="no_bord.tga" />
1467     <param name="tx_em_open"
1468            value="no_bord.tga" />
1469     <param name="tx_er_open"
1470            value="no_bord.tga" />
1471     <param name="tx_m_open"
1472            value="no_bord.tga" />
1473     <param name="tx_e_open"
1474            value="no_bord.tga" />
1475     <param name="tx_tl_highlight"
1476            value="no_bord.tga" />
1477     <param name="tx_t_highlight"
1478            value="no_bord.tga" />
1479     <param name="tx_tr_highlight"
1480            value="no_bord.tga" />
1481     <param name="tx_l_highlight"
1482            value="no_bord.tga" />
1483     <param name="tx_r_highlight"
1484            value="no_bord.tga" />
1485     <param name="tx_bl_highlight"
1486            value="no_bord.tga" />
1487     <param name="tx_b_highlight"
1488            value="no_bord.tga" />
1489     <param name="tx_br_highlight"
1490            value="no_bord.tga" />
1491   </options>
1492   <options type="layer"
1493            name="compass">
1494     <!-- HEADER -->
1495     <param name="title_font_size"
1496            value="0" />
1497     <param name="title_offset_x"
1498            value="0" />
1499     <param name="title_offset_y"
1500            value="0" />
1501     <param name="title_offset_openable_x"
1502            value="0" />
1503     <param name="title_offset_openable_y"
1504            value="0" />
1505     <param name="header_h"
1506            value="0" />
1507     <!-- View state opened/closed (defined TL TL) -->
1508     <param name="open_state_tx_opened"
1509            value="no_bord.tga" />
1510     <param name="open_state_tx_closed"
1511            value="no_bord.tga" />
1512     <param name="open_state_offset_x"
1513            value="0" />
1514     <param name="open_state_offset_y"
1515            value="0" />
1516     <!-- Right Button (defined TR TR) -->
1517     <param name="right_button_offset_x"
1518            value="0" />
1519     <param name="right_button_offset_y"
1520            value="0" />
1521     <param name="right_button_tx_deactive"
1522            value="none" />
1523     <param name="right_button_tx_popup"
1524            value="none" />
1525     <param name="right_button_tx_popin"
1526            value="none" />
1527     <param name="right_button_tx_over"
1528            value="none" />
1529     <param name="right_button_tx_locked"
1530            value="none" />
1531     <!-- Help Button (defined TR TR) -->
1532     <param name="help_button_offset_x"
1533            value="0" />
1534     <param name="help_button_offset_y"
1535            value="0" />
1536     <param name="help_button_tx"
1537            value="none" />
1538     <param name="help_button_tx_over"
1539            value="none" />
1540     <!-- TEXTURES to draw the container -->
1541     <!-- Header when header_active Only for layer 0 -->
1542     <param name="tx_l_header"
1543            value="no_bord.tga" />
1544     <param name="tx_m_header"
1545            value="no_bord.tga" />
1546     <param name="tx_r_header"
1547            value="no_bord.tga" />
1548     <!-- else normal version -->
1549     <param name="tx_tl"
1550            value="no_bord.tga" />
1551     <param name="tx_t"
1552            value="no_bord.tga" />
1553     <param name="tx_tr"
1554            value="no_bord.tga" />
1555     <param name="tx_l"
1556            value="no_bord.tga" />
1557     <param name="tx_r"
1558            value="no_bord.tga" />
1559     <param name="tx_blank"
1560            value="no_bord.tga" />
1561     <param name="tx_bl"
1562            value="no_bord.tga" />
1563     <param name="tx_b"
1564            value="no_bord.tga" />
1565     <param name="tx_br"
1566            value="no_bord.tga" />
1567     <param name="tx_bl_open"
1568            value="no_bord.tga" />
1569     <param name="tx_b_open"
1570            value="no_bord.tga" />
1571     <param name="tx_br_open"
1572            value="no_bord.tga" />
1573     <param name="tx_el_open"
1574            value="no_bord.tga" />
1575     <param name="tx_em_open"
1576            value="no_bord.tga" />
1577     <param name="tx_er_open"
1578            value="no_bord.tga" />
1579     <param name="tx_m_open"
1580            value="no_bord.tga" />
1581     <param name="tx_e_open"
1582            value="no_bord.tga" />
1583     <!-- TEXTURES to highlight the window border -->
1584     <param name="tx_tl_highlight"
1585            value="w_hl_tl.tga" />
1586     <param name="tx_t_highlight"
1587            value="w_hl_t.tga" />
1588     <param name="tx_tr_highlight"
1589            value="w_hl_tr.tga" />
1590     <param name="tx_l_highlight"
1591            value="w_hl_l.tga" />
1592     <param name="tx_r_highlight"
1593            value="w_hl_r.tga" />
1594     <param name="tx_bl_highlight"
1595            value="w_hl_bl.tga" />
1596     <param name="tx_b_highlight"
1597            value="w_hl_b.tga" />
1598     <param name="tx_br_highlight"
1599            value="w_hl_br.tga" />
1600   </options>
1601   <options type="layer"
1602            name="layer0_content">
1603     <!-- HEADER -->
1604     <param name="title_font_size"
1605            value="11" />
1606     <param name="title_offset_x"
1607            value="8" />
1608     <param name="title_offset_y"
1609            value="-4" />
1610     <param name="title_offset_openable_x"
1611            value="18" />
1612     <param name="title_offset_openable_y"
1613            value="-4" />
1614     <param name="header_h"
1615            value="14" />
1616     <!-- View state opened/closed (defined TL TL) -->
1617     <param name="open_state_tx_opened"
1618            value="W_arrow_down_1.tga" />
1619     <param name="open_state_tx_closed"
1620            value="W_arrow_right_1.tga" />
1621     <param name="open_state_offset_x"
1622            value="4" />
1623     <param name="open_state_offset_y"
1624            value="-5" />
1625     <!-- Right Button (defined TR TR) -->
1626     <param name="right_button_offset_x"
1627            value="-4" />
1628     <param name="right_button_offset_y"
1629            value="-4" />
1630     <param name="right_button_tx_deactive"
1631            value="w_win_close.tga" />
1632     <param name="right_button_tx_popup"
1633            value="w_win_popup.tga" />
1634     <param name="right_button_tx_popin"
1635            value="w_win_popin.tga" />
1636     <param name="right_button_tx_over"
1637            value="W_button_14_over.tga" />
1638     <!-- Help Button (defined TR TR) -->
1639     <param name="help_button_offset_x"
1640            value="-18" />
1641     <param name="help_button_offset_y"
1642            value="-4" />
1643     <param name="help_button_tx"
1644            value="W_help_1.tga" />
1645     <param name="help_button_tx_over"
1646            value="W_button_14_over.tga" />
1647     <!-- TEXTURES (warning the sizes are hardcoded -->
1648     <param name="tx_tl"
1649            value="W_L1_spe_blank.tga" />
1650     <param name="tx_t"
1651            value="W_L1_spe_blank.tga" />
1652     <param name="tx_tr"
1653            value="W_L1_R_spe.tga" />
1654     <param name="tx_l"
1655            value="W_L1_spe_blank.tga" />
1656     <param name="tx_r"
1657            value="W_L1_R_spe.tga" />
1658     <param name="tx_blank"
1659            value="W_L1_spe_blank.tga" />
1660     <param name="tx_bl"
1661            value="W_L1_spe_blank.tga" />
1662     <param name="tx_b"
1663            value="W_L1_spe_blank.tga" />
1664     <param name="tx_br"
1665            value="W_L1_R_spe.tga" />
1666     <param name="tx_bl_open"
1667            value="W_L1_spe_blank.tga" />
1668     <param name="tx_b_open"
1669            value="W_L1_spe_blank.tga" />
1670     <param name="tx_br_open"
1671            value="W_L1_R_spe.tga" />
1672     <param name="tx_el_open"
1673            value="none" />
1674     <param name="tx_em_open"
1675            value="none" />
1676     <param name="tx_er_open"
1677            value="none" />
1678     <param name="tx_m_open"
1679            value="W_L1_spe_blank.tga" />
1680     <param name="tx_e_open"
1681            value="W_L1_spe_blank.tga" />
1682     <!-- TEXTURES to highlight the window border -->
1683     <param name="tx_tl_highlight"
1684            value="w_hl_tl.tga" />
1685     <param name="tx_t_highlight"
1686            value="w_hl_t.tga" />
1687     <param name="tx_tr_highlight"
1688            value="w_hl_tr.tga" />
1689     <param name="tx_l_highlight"
1690            value="w_hl_l.tga" />
1691     <param name="tx_r_highlight"
1692            value="w_hl_r.tga" />
1693     <param name="tx_bl_highlight"
1694            value="w_hl_bl.tga" />
1695     <param name="tx_b_highlight"
1696            value="w_hl_b.tga" />
1697     <param name="tx_br_highlight"
1698            value="w_hl_br.tga" />
1699   </options>
1700   <options type="layer"
1701            name="layer1_content">
1702     <!-- HEADER -->
1703     <param name="title_font_size"
1704            value="10" />
1705     <param name="title_offset_x"
1706            value="8" />
1707     <param name="title_offset_y"
1708            value="0" />
1709     <param name="title_offset_openable_x"
1710            value="40" />
1711     <param name="title_offset_openable_y"
1712            value="0" />
1713     <param name="header_h"
1714            value="12" />
1715     <!-- View state opened/closed (defined TL TL) -->
1716     <param name="open_state_tx_opened"
1717            value="W_arrow_down_2.tga" />
1718     <param name="open_state_tx_closed"
1719            value="W_arrow_right_2.tga" />
1720     <param name="open_state_offset_x"
1721            value="10" />
1722     <param name="open_state_offset_y"
1723            value="-5" />
1724     <!-- Right Button (defined TR TR) -->
1725     <param name="right_button_offset_x"
1726            value="-4" />
1727     <param name="right_button_offset_y"
1728            value="-4" />
1729     <param name="right_button_tx_deactive"
1730            value="w_win_close.tga" />
1731     <param name="right_button_tx_popup"
1732            value="w_win_popup.tga" />
1733     <param name="right_button_tx_popin"
1734            value="w_win_popin.tga" />
1735     <param name="right_button_tx_over"
1736            value="W_button_14_over.tga" />
1737     <!-- Help Button (defined TR TR) -->
1738     <param name="help_button_offset_x"
1739            value="-18" />
1740     <param name="help_button_offset_y"
1741            value="-4" />
1742     <param name="help_button_tx"
1743            value="W_help_1.tga" />
1744     <param name="help_button_tx_over"
1745            value="W_button_14_over.tga" />
1746     <!-- TEXTURES (warning the sizes are hardcoded -->
1747     <param name="tx_tl"
1748            value="W_L1_spe_blank.tga" />
1749     <param name="tx_t"
1750            value="W_L1_spe_blank.tga" />
1751     <param name="tx_tr"
1752            value="W_L1_R_spe.tga" />
1753     <param name="tx_l"
1754            value="W_L1_spe_blank.tga" />
1755     <param name="tx_r"
1756            value="W_L1_R_spe.tga" />
1757     <param name="tx_blank"
1758            value="W_L1_spe_blank.tga" />
1759     <param name="tx_bl"
1760            value="W_L1_spe_blank.tga" />
1761     <param name="tx_b"
1762            value="W_L1_spe_blank.tga" />
1763     <param name="tx_br"
1764            value="W_L1_R_spe.tga" />
1765     <param name="tx_bl_open"
1766            value="W_L1_spe_blank.tga" />
1767     <param name="tx_b_open"
1768            value="W_L1_spe_blank.tga" />
1769     <param name="tx_br_open"
1770            value="W_L1_R_spe.tga" />
1771     <param name="tx_el_open"
1772            value="none" />
1773     <param name="tx_em_open"
1774            value="none" />
1775     <param name="tx_er_open"
1776            value="none" />
1777     <param name="tx_m_open"
1778            value="W_L1_spe_blank.tga" />
1779     <param name="tx_e_open"
1780            value="W_L1_spe_blank.tga" />
1781     <!-- TEXTURES to highlight the window border -->
1782     <param name="tx_tl_highlight"
1783            value="w_hl_tl.tga" />
1784     <param name="tx_t_highlight"
1785            value="w_hl_t.tga" />
1786     <param name="tx_tr_highlight"
1787            value="w_hl_tr.tga" />
1788     <param name="tx_l_highlight"
1789            value="w_hl_l.tga" />
1790     <param name="tx_r_highlight"
1791            value="w_hl_r.tga" />
1792     <param name="tx_bl_highlight"
1793            value="w_hl_bl.tga" />
1794     <param name="tx_b_highlight"
1795            value="w_hl_b.tga" />
1796     <param name="tx_br_highlight"
1797            value="w_hl_br.tga" />
1798   </options>
1799   <options name="context_menu_back">
1800     <param name="tx_tl"
1801            value="CM_TL.tga" />
1802     <param name="tx_t"
1803            value="CM_T.tga" />
1804     <param name="tx_tr"
1805            value="CM_TR.tga" />
1806     <param name="tx_l"
1807            value="CM_L.tga" />
1808     <param name="tx_r"
1809            value="CM_R.tga" />
1810     <param name="tx_blank"
1811            value="CM_M.tga" />
1812     <param name="tx_bl"
1813            value="CM_BL.tga" />
1814     <param name="tx_b"
1815            value="CM_B.tga" />
1816     <param name="tx_br"
1817            value="CM_BR.tga" />
1818   </options>
1819   <!--
1820 This MUST follow the Enum MISSION_DESC::TIconId
1822   <options type="mission_icons"
1823            name="mission_icons">
1824     <param name="1"
1825            value="BK_generic.tga|ICO_Task_Craft.tga" />
1826     <param name="2"
1827            value="BK_generic.tga|ICO_Task_Fight.tga" />
1828     <param name="3"
1829            value="BK_generic.tga|ICO_Task_Forage.tga" />
1830     <param name="4"
1831            value="BK_generic.tga|ICO_Task_Travel.tga" />
1832     <param name="5"
1833            value="BK_generic.tga|ICO_Task_Generic.tga" />
1834     <param name="6"
1835            value="BK_generic.tga|ICO_Task_Rite.tga" />
1836     <param name="7"
1837            value="BK_guild.tga|ICO_Task_Guild.tga" />
1838     <param name="8"
1839            value="BK_guild.tga|ICO_Task_Craft.tga" />
1840     <param name="9"
1841            value="BK_guild.tga|ICO_Task_Fight.tga" />
1842     <param name="10"
1843            value="BK_guild.tga|ICO_Task_Forage.tga" />
1844     <param name="11"
1845            value="BK_guild.tga|ICO_Task_Travel.tga" />
1846     <param name="12"
1847            value="charge.tga" />
1848     <param name="13"
1849            value="rm_m.tga" />
1850     <param name="14"
1851            value="rm_f.tga" />
1852     <param name="15"
1853            value="rm_r.tga" />
1854     <param name="16"
1855            value="rm_m_upgrade.tga" />
1856     <param name="17"
1857            value="rm_f_upgrade.tga" />
1858     <param name="18"
1859            value="rm_r_upgrade.tga" />
1860     <param name="19"
1861            value="requirement.tga" />
1862     <param name="20"
1863            value="requirement.tga" />
1864     <param name="21"
1865            value="construction.tga" />
1866   </options>
1867   <options type="container_move_opt"
1868            name="container_move_opt">
1869     <param name="track_w"
1870            value="-8" />
1871     <param name="track_h"
1872            value="22" />
1873     <param name="track_y"
1874            value="-4" />
1875     <param name="track_y_with_top_resizer"
1876            value="-8" />
1877     <param name="track_h_with_top_resizer"
1878            value="18" />
1879     <param name="resizer_size"
1880            value="8" />
1881   </options>
1882   <options name="text_selection">
1883     <param name="back_select_color"
1884            value="255 255 255 255" />
1885     <param name="text_select_color"
1886            value="0 0 0 255" />
1887   </options>
1888   <options name="menu_checkbox">
1889     <param name="checked_bitmap"
1890            value="W_answer_16_valid.tga" />
1891     <param name="unchecked_bitmap"
1892            value="blank2.tga" />
1893   </options>
1894   <options type="container_insertion_opt"
1895            name="container_insertion_opt">
1896     <param name="arrow_top"
1897            value="W_arrow_up_0.tga" />
1898     <param name="arrow_down"
1899            value="W_arrow_down_0.tga" />
1900     <param name="arrow_right"
1901            value="W_arrow_right_0.tga" />
1902     <param name="arrow_left"
1903            value="W_arrow_left_0.tga" />
1904     <param name="insertion_bar"
1905            value="w_hl_t.tga" />
1906   </options>
1907   <options name="system">
1908     <param name="ctrl_sheet_gray_color"
1909            value="255 255 255 100" />
1910     <param name="ctrl_text_gray_color"
1911            value="255 255 255 100" />
1912     <param name="ctrl_sheet_redify_color"
1913            value="255 140 100 150" />
1914     <param name="ctrl_text_redify_color"
1915            value="255 140 40 150" />
1916     <param name="ctrl_sheet_greenify_color"
1917            value="140 255 140 150" />
1918     <param name="ctrl_text_greenify_color"
1919            value="140 255 140 150" />
1920     <param name="text_over_back_color"
1921            value="64 64 64 255" />
1922 <!--    <param name="font"
1923            value="basic.ttf" /> -->
1924     <param name="font"
1925            value="ryzom.ttf" />
1926     <param name="monospace_font"
1927            value="ryzom_monospace.ttf" />
1928     <param name="add_coef_font"
1929            value="1" />
1930     <param name="mul_coef_anim"
1931            value="0.8" />
1932     <param name="bubbles_timeout"
1933            value="10" />
1934     <param name="messages_timeout"
1935            value="5" />
1936     <param name="context_timeout"
1937            value="2" />
1938     <param name="context_html_timeout"
1939            value="2" />
1940   </options>
1941   <options name="action_bar_color">
1942     <param name="None"
1943            value="255 255 255 255" />
1944     <param name="Combat"
1945            value="255 0 255 255" />
1946     <param name="Spell"
1947            value="0 255 0 255" />
1948     <param name="Faber"
1949            value="255 0 255 255" />
1950     <param name="Repair"
1951            value="255 0 255 255" />
1952     <param name="Refine"
1953            value="255 0 255 255" />
1954     <param name="Memorize"
1955            value="255 255 255 255" />
1956     <param name="Harvest"
1957            value="255 0 255 255" />
1958   </options>
1959   <!-- anim0 is the default animation -->
1960   <options type="animation_set"
1961            name="character_animations">
1962     <param name="m0"
1963            value="FY_HOM_idle" />
1964     <param name="m1"
1965            value="FY_HOM_Co_AB_engarde" />
1966     <param name="m2"
1967            value="FY_HOM_Co_fu_engarde" />
1968     <param name="m3"
1969            value="FY_HOM_Co_A1m_engarde" />
1970     <param name="m4"
1971            value="FY_HOM_Co_A1mD_engarde" />
1972     <param name="m5"
1973            value="FY_HOM_Pioche_loop" />
1974     <param name="m6"
1975            value="FY_HOM_recruteur_loop" />
1976     <param name="m7"
1977            value="FY_HOM_Co_L2m_engarde" />
1978     <param name="m8"
1979            value="FY_HOM_Co_p_engarde" />
1980     <param name="m9"
1981            value="FY_HOM_Host_Loop" />
1982     <param name="m10"
1983            value="FY_HOM_Bienveillant_Loop" />
1984     <param name="m11"
1985            value="FY_HOM_Neutre_loop" />
1986     <param name="m12"
1987            value="FY_HOM_Co_A2m_engarde" />
1988     <param name="m13"
1989            value="FY_HOM_Co_A2m_engarde" />
1990     <param name="f0"
1991            value="FY_HOF_A_idle" />
1992     <param name="f1"
1993            value="FY_HOF_Co_AB_engarde" />
1994     <param name="f2"
1995            value="FY_HOF_Co_fu_engarde" />
1996     <param name="f3"
1997            value="FY_HOF_Co_A1m_engarde" />
1998     <param name="f4"
1999            value="FY_HOF_Co_A1mD_engarde" />
2000     <param name="f5"
2001            value="FY_HOF_Pioche_loop" />
2002     <param name="f6"
2003            value="FY_HOM_recruteur_loop" />
2004     <param name="f7"
2005            value="FY_HOF_Co_L2m_engarde" />
2006     <param name="f8"
2007            value="FY_HOF_Co_p_engarde" />
2008     <param name="f9"
2009            value="FY_HOM_Host_Loop" />
2010     <param name="f10"
2011            value="FY_HOM_Bienveillant_Loop" />
2012     <param name="f11"
2013            value="FY_HOM_Neutre_loop" />
2014     <param name="f12"
2015            value="FY_HOF_Co_A2m_coup1" />
2016     <param name="f13"
2017            value="FY_HOF_Co_A2m_engarde" />
2018   </options>
2019   <!-- macro custom icons -->
2020   <options name="macro_custom_icon">
2021     <!-- background -->
2022     <param name="bg_0"
2023            value="US_back_0.tga" />
2024     <param name="bg_1"
2025            value="US_back_1.tga" />
2026     <param name="bg_2"
2027            value="US_back_2.tga" />
2028     <param name="bg_3"
2029            value="US_back_3.tga" />
2030     <param name="bg_4"
2031            value="US_back_4.tga" />
2032     <param name="bg_5"
2033            value="US_back_5.tga" />
2034     <param name="bg_6"
2035            value="US_back_6.tga" />
2036     <param name="bg_7"
2037            value="US_back_7.tga" />
2038     <param name="bg_8"
2039            value="US_back_8.tga" />
2040     <param name="bg_9"
2041            value="US_back_9.tga" />
2042     <!-- foreground -->
2043     <param name="fg_0"
2044            value="US_ico_0.tga" />
2045     <param name="fg_1"
2046            value="US_ico_1.tga" />
2047     <param name="fg_2"
2048            value="US_ico_2.tga" />
2049     <param name="fg_3"
2050            value="US_ico_3.tga" />
2051     <param name="fg_4"
2052            value="US_ico_4.tga" />
2053     <param name="fg_5"
2054            value="US_ico_5.tga" />
2055     <param name="fg_6"
2056            value="US_ico_6.tga" />
2057     <param name="fg_7"
2058            value="US_ico_7.tga" />
2059     <param name="fg_8"
2060            value="US_ico_8.tga" />
2061     <param name="fg_9"
2062            value="US_ico_9.tga" />
2063     <!-- over -->
2064     <param name="ov_0"
2065            value="US_over_0.tga" />
2066     <param name="ov_1"
2067            value="US_over_1.tga" />
2068     <param name="ov_2"
2069            value="US_over_2.tga" />
2070     <param name="ov_3"
2071            value="US_over_3.tga" />
2072     <param name="ov_4"
2073            value="US_over_4.tga" />
2074   </options>
2075   <!-- *********** -->
2076   <!-- *  MOUSE  * -->
2077   <!-- * POINTER * -->
2078   <!-- *********** -->
2079   <view type="pointer"
2080         id="cursor"
2081         x="1"
2082         y="-5"
2083         w="44"
2084         h="39"
2085         global_color="false"
2086         tx_default="curs_default.tga"
2087         tx_move_window="curs_default.tga"
2088         tx_resize_BR_TL="curs_resize_BR_TL.tga"
2089         tx_resize_BL_TR="curs_resize_BL_TR.tga"
2090         tx_resize_TB="curs_resize_TB.tga"
2091         tx_resize_LR="curs_resize_LR.tga"
2092         tx_rotate="curs_rotate.tga"
2093         tx_scale="curs_scale.tga"
2094         tx_colpick="curs_pick.tga"
2095         tx_pan="curs_pan.tga"
2096         tx_can_pan="curs_can_pan.tga"
2097         tx_pan_r2="r2_hand_pan.tga"
2098         tx_can_pan_r2="curs_default.tga"
2099         posref="BL MM" />
2100   <!-- ************* -->
2101   <!-- * CONSTANTS * -->
2102   <!-- ************* -->
2103   <variable entry="UI:CONST:127"
2104             type="sint32"
2105             value="127" />
2106   <!-- ************* -->
2107   <!-- *  DEFINES  * -->
2108   <!-- ************* -->
2109   <define id="win_priority_world_space"
2110           value="0" />
2111   <define id="win_priority_lowest"
2112           value="1" />
2113   <define id="win_priority_low"
2114           value="2" />
2115   <define id="win_priority_normal"
2116           value="3" />
2117   <!-- default -->
2118   <define id="win_priority_high"
2119           value="4" />
2120   <define id="win_priority_highest"
2121           value="5" />
2122   <!-- For bars, -1024 to +1024 "percent" values from CBarManager  -->
2123   <define id="player_hp_percent"
2124           value="UI:VARIABLES:USER:HP_RATIO" />
2125   <define id="player_sta_percent"
2126           value="UI:VARIABLES:USER:STA_RATIO" />
2127   <define id="player_sap_percent"
2128           value="UI:VARIABLES:USER:SAP_RATIO" />
2129   <define id="player_focus_percent"
2130           value="UI:VARIABLES:USER:FOCUS_RATIO" />
2131   <define id="player_percent_max"
2132           value="1024" />
2133   <!-- For character sheet numerical values from database -->
2134   <define id="player_hp"
2135           value="UI:VARIABLES:USER:HP" />
2136   <!-- Local because sent by impulse -->
2137   <define id="player_hp_max"
2138           value="SERVER:CHARACTER_INFO:SCORES0:Max" />
2139   <define id="player_hp_base"
2140           value="SERVER:CHARACTER_INFO:SCORES0:Base" />
2141   <define id="player_sta"
2142           value="UI:VARIABLES:USER:STA" />
2143   <!-- Local because sent by impulse -->
2144   <define id="player_sta_max"
2145           value="SERVER:CHARACTER_INFO:SCORES1:Max" />
2146   <define id="player_sta_base"
2147           value="SERVER:CHARACTER_INFO:SCORES1:Base" />
2148   <define id="player_sap"
2149           value="UI:VARIABLES:USER:SAP" />
2150   <!-- Local because sent by impulse -->
2151   <define id="player_sap_max"
2152           value="SERVER:CHARACTER_INFO:SCORES2:Max" />
2153   <define id="player_sap_base"
2154           value="SERVER:CHARACTER_INFO:SCORES2:Base" />
2155   <define id="player_focus"
2156           value="UI:VARIABLES:USER:FOCUS" />
2157   <!-- Local because sent by impulse -->
2158   <define id="player_focus_max"
2159           value="SERVER:CHARACTER_INFO:SCORES3:Max" />
2160   <define id="player_focus_base"
2161           value="SERVER:CHARACTER_INFO:SCORES3:Base" />
2162   <define id="player_hpreg"
2163           value="SERVER:CHARACTER_INFO:SCORES0:Regen" />
2164   <define id="player_hpreg_base"
2165           value="SERVER:CHARACTER_INFO:SCORES0:BaseRegen" />
2166   <define id="player_stareg"
2167           value="SERVER:CHARACTER_INFO:SCORES1:Regen" />
2168   <define id="player_stareg_base"
2169           value="SERVER:CHARACTER_INFO:SCORES1:BaseRegen" />
2170   <define id="player_sapreg"
2171           value="SERVER:CHARACTER_INFO:SCORES2:Regen" />
2172   <define id="player_sapreg_base"
2173           value="SERVER:CHARACTER_INFO:SCORES2:BaseRegen" />
2174   <define id="player_focreg"
2175           value="SERVER:CHARACTER_INFO:SCORES3:Regen" />
2176   <define id="player_focreg_base"
2177           value="SERVER:CHARACTER_INFO:SCORES3:BaseRegen" />
2178   <define id="player_carac_hpmax"
2179           value="SERVER:CHARACTER_INFO:CHARACTERISTICS0:VALUE" />
2180   <define id="player_carac_hpreg"
2181           value="SERVER:CHARACTER_INFO:CHARACTERISTICS1:VALUE" />
2182   <define id="player_carac_sapmax"
2183           value="SERVER:CHARACTER_INFO:CHARACTERISTICS2:VALUE" />
2184   <define id="player_carac_sapreg"
2185           value="SERVER:CHARACTER_INFO:CHARACTERISTICS3:VALUE" />
2186   <define id="player_carac_stamax"
2187           value="SERVER:CHARACTER_INFO:CHARACTERISTICS4:VALUE" />
2188   <define id="player_carac_stareg"
2189           value="SERVER:CHARACTER_INFO:CHARACTERISTICS5:VALUE" />
2190   <define id="player_carac_wishmax"
2191           value="SERVER:CHARACTER_INFO:CHARACTERISTICS6:VALUE" />
2192   <define id="player_carac_wishreg"
2193           value="SERVER:CHARACTER_INFO:CHARACTERISTICS7:VALUE" />
2194   <define id="player_protect_acid"
2195           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:0:VALUE" />
2196   <define id="player_protect_cold"
2197           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:1:VALUE" />
2198   <define id="player_protect_rot"
2199           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:2:VALUE" />
2200   <define id="player_protect_fire"
2201           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:3:VALUE" />
2202   <define id="player_protect_shockwave"
2203           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:4:VALUE" />
2204   <define id="player_protect_poison"
2205           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:5:VALUE" />
2206   <define id="player_protect_electricity"
2207           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:6:VALUE" />
2208   <define id="player_protect_maxratio"
2209           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:MaxProtectionClampValue" />
2210   <define id="player_protect_absorbfactor"
2211           value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:MaxAbsorptionFactor" />
2212   <define id="player_resist_desert"
2213           value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:0:VALUE" />
2214   <define id="player_resist_forest"
2215           value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:1:VALUE" />
2216   <define id="player_resist_lacustre"
2217           value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:2:VALUE" />
2218   <define id="player_resist_jungle"
2219           value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:3:VALUE" />
2220   <define id="player_resist_primroot"
2221           value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:4:VALUE" />
2222   <define id="player_resist_maxratio"
2223           value="SERVER:CHARACTER_INFO:MAGIC_RESISTANCE:MaxResistanceBonus" />
2224   <define id="player_dodge_current"
2225           value="SERVER:CHARACTER_INFO:DODGE:Current" />
2226   <define id="player_dodge_base"
2227           value="SERVER:CHARACTER_INFO:DODGE:Base" />
2228   <define id="player_dodge_success_mod"
2229           value="SERVER:CHARACTER_INFO:SUCCESS_MODIFIER:DODGE" />
2230   <define id="player_parry_current"
2231           value="SERVER:CHARACTER_INFO:PARRY:Current" />
2232   <define id="player_parry_base"
2233           value="SERVER:CHARACTER_INFO:PARRY:Base" />
2234   <define id="player_parry_success_mod"
2235           value="SERVER:CHARACTER_INFO:SUCCESS_MODIFIER:PARRY" />
2236   <define id="player_act_start"
2237           value="UI:VARIABLES:SMOOTH_USER_ACT_START" />
2238   <define id="player_act_end"
2239           value="UI:VARIABLES:SMOOTH_USER_ACT_END" />
2240   <define id="player_act_type"
2241           value="SERVER:USER:ACT_TYPE" />
2242   <define id="player_speed_factor"
2243           value="SERVER:USER:SPEED_FACTOR" />
2244   <define id="player_pacts"
2245           value="SERVER:CHARACTER_INFO:PACTS" />
2246   <define id="player_skills"
2247           value="SERVER:CHARACTER_INFO:SKILLS" />
2248   <define id="pact_nature"
2249           value="PACT_NATURE" />
2250   <!-- used '%player_pacts##:%pact_nature' -->
2251   <define id="pact_type"
2252           value="PACT_TYPE" />
2253   <!-- used '%player_pacts##:%pact_type' -->
2254   <define id="skill"
2255           value="SKILL" />
2256   <!-- used '%player_skills:##:%skill' -->
2257   <define id="skill_base"
2258           value="BaseSKILL" />
2259   <!-- used '%player_skills:##:%skill' -->
2260   <define id="skill_progress"
2261           value="PROGRESS_BAR" />
2262   <!-- used '%player_skills:##:%skill_progress' -->
2263   <define id="rrps_level_20"
2264           value="SERVER:USER:RRPS_LEVELS0:VALUE" />
2265   <define id="rrps_level_50"
2266           value="SERVER:USER:RRPS_LEVELS1:VALUE" />
2267   <define id="rrps_level_100"
2268           value="SERVER:USER:RRPS_LEVELS2:VALUE" />
2269   <define id="rrps_level_150"
2270           value="SERVER:USER:RRPS_LEVELS3:VALUE" />
2271   <define id="rrps_level_200"
2272           value="SERVER:USER:RRPS_LEVELS4:VALUE" />
2273   <define id="rrps_level_250"
2274           value="SERVER:USER:RRPS_LEVELS5:VALUE" />
2275   <!-- item selection -->
2276   <define id="is_item_selected"
2277           value="UI:IS_ITEM_SELECTED" />
2278   <!-- values for trade -->
2279   <define id="bot_chat_base"
2280           value="UI:BOT_CHAT" />
2281   <define id="trade"
2282           value="LOCAL:TRADING" />
2283   <define id="item_for_mission"
2284           value="LOCAL:ITEMS_FOR_MISSIONS" />
2285   <define id="local_missions"
2286           value="LOCAL:CHOOSE_MISSIONS" />
2287   <define id="item_price_1"
2288           value="%bot_chat_base:PRICE_1" />
2289   <define id="item_price_2"
2290           value="%bot_chat_base:PRICE_2" />
2291   <define id="item_price_3"
2292           value="%bot_chat_base:PRICE_3" />
2293   <define id="item_price_4"
2294           value="%bot_chat_base:PRICE_4" />
2295   <define id="selected_trade_item"
2296           value="%bot_chat_base:SELECTED_TRADE_ITEM" />
2297   <!-- index of the selected trade item in the vendor list-->
2298   <define id="num_stackable_item_to_trade"
2299           value="%bot_chat_base:NUM_STACKABLE" />
2300   <define id="max_num_stackable_item_to_trade"
2301           value="%bot_chat_base:MAX_NUM_STACKABLE" />
2302   <!--<define id="bag1_touched"                   value="UI:BAG_TOUCHED:1"/>
2303 <define id="bag2_touched"                   value="UI:BAG_TOUCHED:2"/>
2304 <define id="bag3_touched"                   value="UI:BAG_TOUCHED:3"/>
2305 <define id="bag4_touched"                   value="UI:BAG_TOUCHED:4"/>
2306 <define id="bag5_touched"                   value="UI:BAG_TOUCHED:5"/>
2307 <define id="bag6_touched"                   value="UI:BAG_TOUCHED:6"/>-->
2308   <define id="inventory_touched"
2309           value="UI:INVENTORY_TOUCHED" />
2310   <!--<define id="bags_touched"                   value="UI:PLAYER_TOUCHED"/>
2311 <define id="player_touched"                 value="UI:PLAYER_TOUCHED"/>
2312 <define id="money_touched"                  value="UI:MONEY_TOUCHED"/>
2313 <define id="bag1_open_value"                value="UI:BAG_OPEN_VALUE:1"/>
2314 <define id="bag2_open_value"                value="UI:BAG_OPEN_VALUE:2"/>
2315 <define id="bag3_open_value"                value="UI:BAG_OPEN_VALUE:3"/>
2316 <define id="bag4_open_value"                value="UI:BAG_OPEN_VALUE:4"/>-->
2317   <define id="inventory_open_value"
2318           value="UI:INVENTORY_OPEN_VALUE" />
2319   <!--<define id="bags_open_value"                value="UI:PLAYER_OPEN_VALUE"/>
2320 <define id="player_open_value"              value="UI:PLAYER_OPEN_VALUE"/>
2321 <define id="money_open_value"               value="UI:MONEY_OPEN_VALUE"/>-->
2322   <!--
2323 <define id="trade_item"  value="UI:SELECTED_ITEM_SELECTION_GROUP"/>
2324 <define id="selected_item_sheet_id"         value="UI:SELECTED_ITEM_SHEET_ID" />
2325 <define id="price_of_item_to_trade"         value="%bot_chat_base:PRICE_OF_ITEM_TO_TRADE" />-->
2326   <!-- price of the item to sell, or -1 if it hasn't been received from server -->
2327   <define id="money_proposal"
2328           value="UI:MONEY_PROPOSAL" />
2329   <define id="can_valid_player_trade"
2330           value="UI:CAN_VALID_PLAYER_TRADE" />
2331   <!-- misc -->
2332   <define id="other_player_name_id"
2333           value="UI:VARIABLES:OTHER_PLAYER_NAME_ID" />
2334   <!-- ********************** -->
2335   <!-- * DEFINE - INVENTORY * -->
2336   <!-- ********************** -->
2337   <define id="set_base"
2338           value="LOCAL:INVENTORY" />
2339   <define id="hotbar"
2340           value="LOCAL:HOTBAR" />
2341   <!-- Sheathes -->
2342   <!-- mgt of active sheath is special: must write in %ui_set_active but must read in %set_active
2343         It's because Server Replication will write in %set_active. Since we need to put observers on %ui_set_active
2344         to send msg to servers when the value change, %ui_set_active and %set_active MUST NOT be the same variable.
2345         Else it will loops: receive SERVER:INVENTORY:ACTIVE_SHEAT, copies to LOCAL:INVENTORY:ACTIVE_SHEAT, and if different
2346         from last time (possible due to lag!!) then activate observers and resend a msg to server!
2348   <!--
2349 <define id="ui_set_active"      value="UI:INVENTORY:ACTIVE_SHEATH" />
2350 <define id="set_active"         value="%set_base:ACTIVE_SHEATH" />
2351 <define id="set_nb"             value="%set_base:NB_SHEATH" />
2352 <define id="from_code_set0"     value_from_code="getInventorySlot('sheath1')" />
2353 <define id="from_code_set1"     value_from_code="getInventorySlot('sheath2')" />
2354 <define id="from_code_set2"     value_from_code="getInventorySlot('sheath3')" />
2355 <define id="from_code_set3"     value_from_code="getInventorySlot('sheath4')" />
2356 <define id="from_code_set4"     value_from_code="getInventorySlot('sheath5')" />
2357 <define id="from_code_set5"     value_from_code="getInventorySlot('sheath6')" />
2358 <define id="set0"                       value="%set_base:%from_code_set0" />
2359 <define id="set1"                       value="%set_base:%from_code_set1" />
2360 <define id="set2"                       value="%set_base:%from_code_set2" />
2361 <define id="set3"                       value="%set_base:%from_code_set3" />
2362 <define id="set4"                       value="%set_base:%from_code_set4" />
2363 <define id="set5"                       value="%set_base:%from_code_set5" />
2365   <define id="hand_r"
2366           value="%set_base:HAND:0" />
2367   <define id="hand_l"
2368           value="%set_base:HAND:1" />
2369   <define id="bag"
2370           value="%set_base:BAG" />
2371   <!--<define id="bag_nb"                 value="%set_base:NB_BAG" />-->
2372   <define id="bag_bulk_max"
2373           value="SERVER:STATIC_DATA:BAG_BULK_MAX" />
2374   <!-- Animals -->
2375   <define id="pa"
2376           value="SERVER:PACK_ANIMAL" />
2377   <!-- MAX_INVENTORY_ANIMAL -->
2378   <define id="pa_beast0"
2379           value="%pa:BEAST0" />
2380   <define id="pa_beast1"
2381           value="%pa:BEAST1" />
2382   <define id="pa_beast2"
2383           value="%pa:BEAST2" />
2384   <define id="pa_beast3"
2385           value="%pa:BEAST3" />
2386   <define id="pa_beast4"
2387           value="%pa:BEAST4" />
2388   <define id="pa_beast5"
2389           value="%pa:BEAST5" />
2390   <define id="pa_beast6"
2391           value="%pa:BEAST6" />
2392   <!-- MAX_INVENTORY_ANIMAL -->
2393   <define id="pa_bag0"
2394           value="%set_base:PACK_ANIMAL0" />
2395   <define id="pa_bag1"
2396           value="%set_base:PACK_ANIMAL1" />
2397   <define id="pa_bag2"
2398           value="%set_base:PACK_ANIMAL2" />
2399   <define id="pa_bag3"
2400           value="%set_base:PACK_ANIMAL3" />
2401   <define id="pa_bag4"
2402           value="%set_base:PACK_ANIMAL4" />
2403   <define id="pa_bag5"
2404           value="%set_base:PACK_ANIMAL5" />
2405   <define id="pa_bag6"
2406           value="%set_base:PACK_ANIMAL6" />
2407   <define id="money"
2408           value="%set_base:MONEY" />
2409   <define id="elyps"
2410           value="UI:VARIABLES:ELYPS" />
2411   <define id="skill_points_0"
2412           value="LOCAL:USER:SKILL_POINTS_0:VALUE" />
2413   <define id="skill_points_1"
2414           value="LOCAL:USER:SKILL_POINTS_1:VALUE" />
2415   <define id="skill_points_2"
2416           value="LOCAL:USER:SKILL_POINTS_2:VALUE" />
2417   <define id="skill_points_3"
2418           value="LOCAL:USER:SKILL_POINTS_3:VALUE" />
2419   <define id="faction_index_kami"
2420           value_from_code="getFactionIndex('kami')" />
2421   <define id="faction_index_fyros"
2422           value_from_code="getFactionIndex('fyros')" />
2423   <define id="faction_index_zorai"
2424           value_from_code="getFactionIndex('zorai')" />
2425   <define id="faction_index_karavan"
2426           value_from_code="getFactionIndex('karavan')" />
2427   <define id="faction_index_matis"
2428           value_from_code="getFactionIndex('matis')" />
2429   <define id="faction_index_tryker"
2430           value_from_code="getFactionIndex('tryker')" />
2431   <define id="faction_index_marauder"
2432           value_from_code="getFactionIndex('black_kami')" />
2433   <define id="faction_index_ranger"
2434           value_from_code="getFactionIndex('white_karavan')" />
2435   <define id="faction_points_kami"
2436           value="LOCAL:USER:FACTION_POINTS_%faction_index_kami:VALUE" />
2437   <define id="faction_points_fyros"
2438           value="LOCAL:USER:FACTION_POINTS_%faction_index_fyros:VALUE" />
2439   <define id="faction_points_zorai"
2440           value="LOCAL:USER:FACTION_POINTS_%faction_index_zorai:VALUE" />
2441   <define id="faction_points_karavan"
2442           value="LOCAL:USER:FACTION_POINTS_%faction_index_karavan:VALUE" />
2443   <define id="faction_points_matis"
2444           value="LOCAL:USER:FACTION_POINTS_%faction_index_matis:VALUE" />
2445   <define id="faction_points_tryker"
2446           value="LOCAL:USER:FACTION_POINTS_%faction_index_tryker:VALUE" />
2447   <define id="faction_points_marauder"
2448           value="LOCAL:USER:FACTION_POINTS_%faction_index_marauder:VALUE" />
2449   <define id="faction_points_ranger"
2450           value="LOCAL:USER:FACTION_POINTS_%faction_index_ranger:VALUE" />
2451   <define id="faction_icon_kami"
2452           value="faction_Kami.tga" />
2453   <define id="faction_icon_fyros"
2454           value="faction_Fyros.tga" />
2455   <define id="faction_icon_zorai"
2456           value="faction_Zorai.tga" />
2457   <define id="faction_icon_karavan"
2458           value="faction_Karavan.tga" />
2459   <define id="faction_icon_matis"
2460           value="faction_Matis.tga" />
2461   <define id="faction_icon_tryker"
2462           value="faction_Tryker.tga" />
2463   <define id="kit"
2464           value="%set_base:EQUIP" />
2465   <define id="from_code_headdress"
2466           value_from_code="getEquipmentSlot('Headdress')" />
2467   <define id="from_code_head"
2468           value_from_code="getEquipmentSlot('Head')" />
2469   <define id="from_code_face"
2470           value_from_code="getEquipmentSlot('Face')" />
2471   <define id="from_code_earl"
2472           value_from_code="getEquipmentSlot('EarL')" />
2473   <define id="from_code_earr"
2474           value_from_code="getEquipmentSlot('EarR')" />
2475   <define id="from_code_necklace"
2476           value_from_code="getEquipmentSlot('Neck')" />
2477   <define id="from_code_shoulder"
2478           value_from_code="getEquipmentSlot('Shoulders')" />
2479   <define id="from_code_back"
2480           value_from_code="getEquipmentSlot('Back')" />
2481   <define id="from_code_chest"
2482           value_from_code="getEquipmentSlot('Body')" />
2483   <define id="from_code_arms"
2484           value_from_code="getEquipmentSlot('Arms')" />
2485   <define id="from_code_wristl"
2486           value_from_code="getEquipmentSlot('WristL')" />
2487   <define id="from_code_wristr"
2488           value_from_code="getEquipmentSlot('WristR')" />
2489   <define id="from_code_hands"
2490           value_from_code="getEquipmentSlot('Hands')" />
2491   <define id="from_code_fingerl"
2492           value_from_code="getEquipmentSlot('FingerL')" />
2493   <define id="from_code_fingerr"
2494           value_from_code="getEquipmentSlot('FingerR')" />
2495   <define id="from_code_legs"
2496           value_from_code="getEquipmentSlot('Legs')" />
2497   <define id="from_code_anklel"
2498           value_from_code="getEquipmentSlot('AnkleL')" />
2499   <define id="from_code_ankler"
2500           value_from_code="getEquipmentSlot('AnkleR')" />
2501   <define id="from_code_feet"
2502           value_from_code="getEquipmentSlot('Feet')" />
2503   <define id="headdress"
2504           value="%kit:%from_code_headdress" />
2505   <define id="head"
2506           value="%kit:%from_code_head" />
2507   <define id="face"
2508           value="%kit:%from_code_face" />
2509   <define id="earl"
2510           value="%kit:%from_code_earl" />
2511   <define id="earr"
2512           value="%kit:%from_code_earr" />
2513   <define id="necklace"
2514           value="%kit:%from_code_necklace" />
2515   <define id="shoulder"
2516           value="%kit:%from_code_shoulder" />
2517   <define id="back"
2518           value="%kit:%from_code_back" />
2519   <define id="chest"
2520           value="%kit:%from_code_chest" />
2521   <define id="arms"
2522           value="%kit:%from_code_arms" />
2523   <define id="wristl"
2524           value="%kit:%from_code_wristl" />
2525   <define id="wristr"
2526           value="%kit:%from_code_wristr" />
2527   <define id="hands"
2528           value="%kit:%from_code_hands" />
2529   <define id="fingerl"
2530           value="%kit:%from_code_fingerl" />
2531   <define id="fingerr"
2532           value="%kit:%from_code_fingerr" />
2533   <define id="legs"
2534           value="%kit:%from_code_legs" />
2535   <define id="anklel"
2536           value="%kit:%from_code_anklel" />
2537   <define id="ankler"
2538           value="%kit:%from_code_ankler" />
2539   <define id="feet"
2540           value="%kit:%from_code_feet" />
2541   <define id="malus"
2542           value="SERVER:MODIFIERS:MALUS" />
2543   <define id="bonus"
2544           value="SERVER:MODIFIERS:BONUS" />
2545   <define id="max_bag_invslot"
2546           value_from_code="getMaxBagInvSlot()" />
2547   <define id="max_animal_invslot"
2548           value_from_code="getMaxAnimalInvSlot()" />
2549   <define id="max_room_invslot"
2550           value_from_code="getMaxRoomInvSlot()" />
2551   <define id="max_guild_invslot"
2552           value_from_code="getMaxGuildInvSlot()" />
2553   <define id="max_temp_invslot"
2554           value_from_code="getMaxTempInvSlot()" />
2555   <!--<define id="from_code_harvest"      value_from_code="getInventorySlot('harvest')"/>
2556 <define id="harvest_inventory"  value="%set_base:%from_code_harvest"/>
2557 <define id="from_code_pickup"   value_from_code="getInventorySlot('pickup')"/>
2558 <define id="pickup_inventory"   value="%set_base:%from_code_pickup"/>-->
2559   <!-- TEMP TEMP TEMP : we have to found an entry with gamedev for the temp inventory -->
2560   <define id="temp_inv_dbentry"
2561           value="%set_base:TEMP" />
2562   <define id="guild_inv_dbentry"
2563           value="SERVER:GUILD:INVENTORY" />
2564   <define id="guild_inv_money"
2565           value="%guild_inv_dbentry:MONEY" />
2566   <define id="guild_inv_bulk_max"
2567           value="%guild_inv_dbentry:BULK_MAX" />
2568   <define id="guild_xp"
2569           value="SERVER:GUILD:XP" />
2570   <define id="room_inv_dbentry"
2571           value="%set_base:ROOM" />
2572   <define id="room_inv_bulk_max"
2573           value="SERVER:INVENTORY:ROOM:BULK_MAX" />
2574   <define id="room_inv_money"
2575           value="%room_inv_dbentry:MONEY" />
2576   <!-- player exchange & gift to bot -->
2577   <define id="exchange_text"
2578           value="LOCAL:EXCHANGE:TEXT" />
2579   <define id="exchange_give"
2580           value="LOCAL:EXCHANGE:GIVE" />
2581   <define id="exchange_receive"
2582           value="LOCAL:EXCHANGE:RECEIVE" />
2583   <define id="exchange_receive_money"
2584           value="LOCAL:EXCHANGE:MONEY" />
2585   <define id="exchange_begun"
2586           value="LOCAL:EXCHANGE:BEGUN" />
2587   <!-- impulsion to start the trade between players -->
2588   <define id="exchange_accepted"
2589           value="LOCAL:EXCHANGE:ACCEPTED" />
2590   <define id="exchange_id"
2591           value="LOCAL:EXCHANGE:ID" />
2592   <!-- dm gift text -->
2593   <define id="dm_gift_text"
2594           value="LOCAL:DM_GIFT:TEXT" />
2595   <!-- bot chat specific -->
2596   <!-- text selection -->
2597   <define id="bot_chat_selection_tex"
2598           value="blank.tga" />
2599   <define id="bot_chat_selection_over"
2600           value="127 127 127 255" />
2601   <define id="bot_chat_selection_pushed"
2602           value="127 127 127 255" />
2603   <define id="bot_chat_selection_normal"
2604           value="0 0 0 0" />
2605   <define id="bot_chat_selection_font_size"
2606           value="12" />
2607   <!-- item/brick... selection -->
2608   <define id="bot_chat_sheet_selection_normal"
2609           value="255 255 255 0" />
2610   <define id="bot_chat_sheet_selection_over"
2611           value="255 255 255 24" />
2612   <define id="bot_chat_sheet_selection_pushed"
2613           value="255 255 255 64" />
2614   <define id="list_sentence_selection_normal"
2615           value="255 255 255 0" />
2616   <define id="list_sentence_selection_over"
2617           value="255 255 255 48" />
2618   <!-- Faber specific-->
2619   <define id="faber_career_id"
2620           value_from_code="getRoleId('Faber')" />
2621   <!-- ******************* -->
2622   <!-- *  SHEET CATEGORY * -->
2623   <!-- ******************* -->
2624   <define id="sheet_category_item"
2625           value="0" />
2626   <define id="sheet_category_item_plan"
2627           value="1" />
2628   <define id="sheet_category_brick"
2629           value="2" />
2630   <define id="sheet_category_pact"
2631           value="3" />
2632   <define id="sheet_category_skill"
2633           value="4" />
2634   <define id="sheet_category_dontknow"
2635           value="5" />
2636   <!-- ************* -->
2637   <!-- *  MODES  * -->
2638   <!-- ************* -->
2639   <!-- number must grows. see tempalte="modes" in taskbar.xml -->
2640   <!-- exploration modes -->
2641   <define id="mode_none"
2642           value="0" />
2643   <!-- info modes -->
2644   <define id="mode_info_player_characs"
2645           value="1" />
2646   <define id="mode_info_player_career"
2647           value="2" />
2648   <define id="mode_info_player_journal"
2649           value="3" />
2650   <define id="mode_info_player_brick"
2651           value="4" />
2652   <define id="mode_min_info"
2653           value="1" />
2654   <define id="mode_max_info"
2655           value="4" />
2656   <!-- lab modes -->
2657   <define id="mode_magic"
2658           value="5" />
2659   <define id="mode_combat"
2660           value="6" />
2661   <define id="mode_faber_create"
2662           value="7" />
2663   <define id="mode_faber_repair"
2664           value="8" />
2665   <define id="mode_faber_refine"
2666           value="9" />
2667   <define id="mode_commerce"
2668           value="10" />
2669   <define id="mode_macros"
2670           value="11" />
2671   <define id="mode_special_labo"
2672           value="12" />
2673   <define id="mode_min_lab"
2674           value="5" />
2675   <define id="mode_max_lab"
2676           value="12" />
2677   <!-- help modes -->
2678   <define id="mode_keys"
2679           value="13" />
2680   <define id="mode_macros"
2681           value="14" />
2682   <define id="mode_min_keys"
2683           value="13" />
2684   <define id="mode_max_keys"
2685           value="14" />
2686   <!-- COSMETICS CATALOG -->
2687   <define id="cosm"
2688           value="switch(@UI:TEMP:CHAR3D:PEOPLE, 'fy_cheveux_', 'ma_cheveux_', 'tr_cheveux_', 'zo_cheveux_')" />
2689   <define id="cosm1"
2690           value="switch(@UI:TEMP:CHAR3D:PEOPLE, 'FY_', 'MA_', 'TR_', 'ZO_')" />
2691   <define id="cosm2"
2692           value="switch(@UI:TEMP:CHAR3D:VPA:SEX, 'HOM_', 'HOF_')" />
2693   <!-- init current modes -->
2694   <variable entry="UI:SAVE:CURRENT_DESKTOP"
2695             type="sint64"
2696             value="0" />
2697   <variable entry="UI:SAVE:CURRENT_MODE"
2698             type="sint64"
2699             value="%mode_none" />
2700   <variable entry="UI:SAVE:CURRENT_INFO_MODE"
2701             type="sint64"
2702             value="-1" />
2703   <variable entry="UI:SAVE:CURRENT_LAB_MODE"
2704             type="sint64"
2705             value="-1" />
2706   <variable entry="UI:SAVE:CURRENT_KEY_MODE"
2707             type="sint64"
2708             value="-1" />
2709   <variable entry="%is_item_selected"
2710             type="sint32"
2711             value="0" />
2712   <!-- trade specific -->
2713   <variable entry="%money_proposal"
2714             type="sint64"
2715             value="0" />
2716   <!--
2717 <variable entry="%item_price_1" type="sint64" value="0"/>
2718 <variable entry="%item_price_2" type="sint64" value="0"/>
2719 <variable entry="%item_price_3" type="sint64" value="0"/>
2720 <variable entry="%item_price_4" type="sint64" value="0"/>
2721 <variable entry="%selected_item_sheet_id:SHEET" type="sint64" value="0"/>
2722 <variable entry="%selected_item_sheet_id:QUALITY" type="sint64" value="0"/>
2723 <variable entry="%selected_item_sheet_id:SLOT_TYPE" type="sint64" value="0"/>
2724 <variable entry="%selected_item_selection_group" type="sint64" value="-1"/>
2725 <variable entry="%price_of_item_to_trade" type="sint64" value="0"/>
2726 <variable entry="%max_num_stackable_item_to_trade" type="sint64" value="0"/>
2727 <variable entry="%can_valid_player_trade" type="sint64" value="1"/>
2728 <variable entry="%money_proposal_1" type="sint64" value="0"/>
2729 <variable entry="%money_proposal_2" type="sint64" value="0"/>
2730 <variable entry="%money_proposal_3" type="sint64" value="0"/>
2731 <variable entry="%money_proposal_4" type="sint64" value="0"/>
2733   <!-- misc -->
2734   <variable entry="%other_player_name_id"
2735             type="sint64"
2736             value="0" />
2737   <!--<variable entry="%ui_set_active" type="sint32" value="0" />-->
2738   <!-- Keep state to see if container have been opened (if a trade occurs, some player containers should be opened -->
2739   <!-- When the trade ends, they should be closed, unless the player opened or closed them during the trade -->
2740   <variable entry="UI:BAG_TOUCHED:$i"
2741             type="bool"
2742             value="0"
2743             size="10" />
2744   <!-- max bag possible. entry 0 is not used here -->
2745   <!--<variable entry="%bag1_touched" type="bool" value="0"/>
2746 <variable entry="%bag2_touched" type="bool" value="0"/>
2747 <variable entry="%bag3_touched" type="bool" value="0"/>
2748 <variable entry="%bag4_touched" type="bool" value="0"/>
2749 <variable entry="%player_touched" type="bool" value="0"/>
2750 <variable entry="%bags_touched" type="bool" value="0"/>
2751 <variable entry="%money_touched" type="bool" value="0"/>-->
2752   <variable entry="%inventory_touched"
2753             type="bool"
2754             value="0" />
2755   <!--
2756 <variable entry="%bag1_open_value" type="bool" value="0"/>
2757 <variable entry="%bag2_open_value" type="bool" value="0"/>
2758 <variable entry="%bag3_open_value" type="bool" value="0"/>
2759 <variable entry="%bag4_open_value" type="bool" value="0"/>
2760 <variable entry="%player_open_value" type="bool" value="0"/>
2761 <variable entry="%money_open_value" type="bool" value="0"/>
2762 <variable entry="%bags_open_value" type="bool" value="0"/>-->
2763   <variable entry="%inventory_open_value"
2764             type="bool"
2765             value="0" />
2766   <!-- ****************************** -->
2767   <!-- *  SHEET SELECTION GROUPS    * -->
2768   <!-- ****************************** -->
2769   <!-- add group for trade -->
2770   <sheet_selection name="buy_selection"
2771                    texture="item_selection.tga"
2772                    color="255 255 255 255"
2773                    global_color="true" />
2774   <!-- item that the player can buy -->
2775   <sheet_selection name="inventory_selection"
2776                    texture="item_selection.tga"
2777                    color="255 255 255 255"
2778                    global_color="true" />
2779   <!-- selection of items in the inventory -->
2780   <sheet_selection name="teleport_selection"
2781                    texture="item_selection.tga"
2782                    color="255 255 255 255"
2783                    global_color="true" />
2784   <sheet_selection name="mission_selection"
2785                    texture="item_selection.tga"
2786                    color="255 255 255 255"
2787                    global_color="true" />
2788   <!-- ****************************** -->
2789   <!-- *     CODE FILTERS           * -->
2790   <!-- ****************************** -->
2791   <!-- dummy for sheets not linked -->
2792   <variable entry="UI:EMPTY:SHEET"
2793             type="sint64"
2794             value="0" />
2795   <!-- ****************************** -->
2796   <!-- *             MISC           * -->
2797   <!-- ****************************** -->
2798   <variable entry="UI:SAVE:SHOW_CLOCK"
2799             type="bool"
2800             value="false" />
2801   <variable entry="UI:SAVE:SHOW_CLOCK_12H"
2802             type="bool"
2803             value="false" />
2804   <variable entry="UI:SAVE:SHOW_RETICLE"
2805             type="bool"
2806             value="true" />
2807   <variable entry="UI:SAVE:SHOW_ICON_BUFFS"
2808             type="bool"
2809             value="true" />
2810   <link expr="@UI:SAVE:SHOW_ICON_BUFFS"
2811             action="trigger_show_icon_buffs" />
2812   <variable entry="UI:VARIABLES:MISSION_SELECTED_PREV_SESSION"
2813             type="sint32"
2814             value="-1" />
2815   <!-- set to true if the current header that called a menu was a popup container -->
2816   <variable entry="UI:VARIABLES:GC_POPUP"
2817             type="sint64"
2818             value="0" />
2819   <!-- set to true if the current container that called a menu has a help page -->
2820   <variable entry="UI:VARIABLES:GC_HAS_HELP"
2821             type="sint64"
2822             value="0" />
2823   <variable entry="UI:VARIABLES:MAIL_WAITING"
2824             type="sint64"
2825             value="0" />
2826   <variable entry="UI:VARIABLES:FORUM_UPDATED"
2827             type="sint64"
2828             value="0" />
2829   <variable entry="UI:VARIABLES:DYNE_UPDATED"
2830             type="bool"
2831             value="0" />
2832   <variable entry="UI:VARIABLES:CURRENT_TIME"
2833             type="sint64"
2834             value="0" />
2835   <variable entry="UI:VARIABLES:CURRENT_SERVER_TICK"
2836             type="sint64"
2837             value="0" />
2838   <variable entry="UI:VARIABLES:CURRENT_SMOOTH_SERVER_TICK"
2839             type="sint64"
2840             value="0" />
2841   <variable entry="UI:VARIABLES:CURRENT_DAY"
2842             type="sint64"
2843             value="0" />
2844   <variable entry="UI:VARIABLES:DAY_BEFORE_ZC_DISTRIB"
2845             type="sint64"
2846             value="0" />
2847   <variable entry="%player_act_start"
2848             type="sint64"
2849             value="0" />
2850   <variable entry="%player_act_end"
2851             type="sint64"
2852             value="0" />
2853   <variable entry="UI:SAVE:CONTACT_LIST:SORT_ORDER"
2854             type="sint32"
2855                         value="0" />
2856   <variable entry="UI:SAVE:GUILD_LIST:SORT_ORDER"
2857             type="sint32"
2858             value="0" />
2859   <variable entry="UI:SAVE:CHATLOG_STATE"
2860             type="sint32"
2861             value="0" />
2862   <!-- Auto Convert ACT_TSTART end TEND from server to smoothServerTick -->
2863   <link expr="@SERVER:USER:ACT_TSTART"
2864         action="set"
2865         params="dblink=%player_act_start|value=getSmoothServerTick(@SERVER:USER:ACT_TSTART)" />
2866   <link expr="@SERVER:USER:ACT_TEND"
2867         action="set"
2868         params="dblink=%player_act_end|value=getSmoothServerTick(@SERVER:USER:ACT_TEND)" />
2869   <variable entry="UI:SAVE:COLOR:R"
2870             type="sint32"
2871             value="255" />
2872   <variable entry="UI:SAVE:COLOR:G"
2873             type="sint32"
2874             value="255" />
2875   <variable entry="UI:SAVE:COLOR:B"
2876             type="sint32"
2877             value="255" />
2878   <variable entry="UI:SAVE:COLOR:A"
2879             type="sint32"
2880             value="255" />
2881   <!-- set to true if the list of mission should be expanded in the mission journal -->
2882   <variable entry="UI:SAVE:EXPAND_MISSION_LIST"
2883             type="bool"
2884             value="false" />
2885   <variable entry="UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE"
2886             type="bool"
2887             value="true" />
2888   <variable entry="UI:SAVE:CONTENT_ALPHA"
2889             type="sint32"
2890             value="255" />
2891   <variable entry="UI:SAVE:CONTAINER_ALPHA"
2892             type="sint32"
2893             value="255" />
2894   <variable entry="UI:SAVE:CONTENT_ROLLOVER_FACTOR"
2895             type="sint32"
2896             value="255" />
2897   <variable entry="UI:SAVE:CONTAINER_ROLLOVER_FACTOR"
2898             type="sint32"
2899             value="255" />
2900   <variable entry="UI:SAVE:CONTEXT_HELP_CONTENT_ALPHA"
2901             type="sint32"
2902             value="255" />
2903   <variable entry="UI:SAVE:CONTEXT_HELP_CONTAINER_ALPHA"
2904             type="sint32"
2905             value="255" />
2906   <!-- Speeds from 0 to 100 -->
2907   <variable entry="UI:SAVE:ALPHA_ROLLOVER_SPEED"
2908             type="sint32"
2909             value="5" />
2910   <variable entry="UI:SAVE:DOUBLE_CLICK_SPEED"
2911             type="sint32"
2912             value="50" />
2913   <variable entry="UI:SAVE:KEY_REPEAT_SPEED"
2914             type="sint32"
2915             value="50" />
2916   <variable entry="UI:SAVE:AUTO_LIGHT"
2917             type="bool"
2918             value="true" />
2919   <variable entry="UI:SAVE:USER_CHAR_FADE"
2920             type="bool"
2921             value="false" />
2922   <variable entry="UI:SAVE:USER_CHAR_OPA_MIN"
2923             type="sint32"
2924             value="160" />
2925   <variable entry="UI:SAVE:DAY_COLOR"
2926             type="rgba"
2927             value="255 255 255 255" />
2928   <variable entry="UI:SAVE:NIGHT_COLOR"
2929             type="rgba"
2930             value="255 255 255 255" />
2931   <variable entry="UI:SAVE:CONTEXT_HELP_CONTAINER_COLOR"
2932             type="rgba"
2933             value="255 255 255 255" />
2934   <variable entry="UI:VARIABLES:FPS"
2935             type="sint64"
2936             value="30" />
2937   <variable entry="UI:SAVE:SHOW_3D_ITEM_PREVIEW"
2938             type="bool"
2939             value="true" />
2940   <variable entry="UI:SAVE:SKIP_TUTORIAL"
2941             type="bool"
2942             value="false" />
2943   <variable entry="UI:SAVE:TUTORIAL_ACTIVE_COMPASS"
2944             type="bool"
2945             value="false" />
2946   <variable entry="UI:SAVE:TUTORIAL_ACTIVE_ENCYCLOPEDIA"
2947             type="bool"
2948             value="false" />
2949   <variable entry="UI:SAVE:TUTORIAL_ACTIVE_SETS"
2950             type="bool"
2951             value="false" />
2952   <variable entry="UI:SAVE:TUTORIAL_ACTIVE_MAIN_CHAT"
2953             type="bool"
2954             value="false" />
2955   <variable entry="UI:SAVE:TUTORIAL_ACTIVE_INVENTORY"
2956             type="bool"
2957             value="false" />
2958    <variable entry="UI:SAVE:TUTORIAL_ACTIVE_INFO_PLAYER_JOURNAL"
2959             type="bool"
2960             value="false" />
2961    <variable entry="UI:SAVE:TUTORIAL_ACTIVE_PLAYER"
2962             type="bool"
2963             value="false" />
2964    <variable entry="UI:SAVE:TUTORIAL_ACTIVE_TARGET"
2965             type="bool"
2966             value="false" />
2971   <!-- Blend between day and night (lightLevel = 0 day) (lightLevel = 1 night) -->
2972   <link expr="identity(ilinear(getLightLevel(), getRed(intToColor(@UI:SAVE:DAY_COLOR)), getRed(intToColor(@UI:SAVE:NIGHT_COLOR))), @UI:VARIABLES:CURRENT_TIME)"
2973         target="@UI:SAVE:COLOR:R" />
2974   <link expr="identity(ilinear(getLightLevel(), getGreen(intToColor(@UI:SAVE:DAY_COLOR)), getGreen(intToColor(@UI:SAVE:NIGHT_COLOR))), @UI:VARIABLES:CURRENT_TIME)"
2975         target="@UI:SAVE:COLOR:G" />
2976   <link expr="identity(ilinear(getLightLevel(), getBlue(intToColor(@UI:SAVE:DAY_COLOR)), getBlue(intToColor(@UI:SAVE:NIGHT_COLOR))), @UI:VARIABLES:CURRENT_TIME)"
2977         target="@UI:SAVE:COLOR:B" />
2978   <!--<link expr="depends(@UI:VARIABLES:CURRENT_TIME)" action="set"
2979                 params="dblink=UI:SAVE:COLOR:A|value=ilinear(getLightLevel(), @UI:SAVE:DAY_COLOR:A, @UI:SAVE:NIGHT_COLOR:A)" />-->
2980   <!-- The User Target Slot and UID -->
2981   <variable entry="UI:VARIABLES:TARGET:UID"
2982             type="sint32"
2983             value="0" />
2984   <variable entry="UI:VARIABLES:TARGET:SLOT"
2985             type="sint64"
2986             value="-1" />
2987   <!-- Yoyo: just to know if the Phrase Compositon window is active or not -->
2988   <variable entry="UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE"
2989             type="sint64"
2990             value="0" />
2991   <!-- Read only: setuped by code to know if the player is running or walking (NB: sit() don't impact) -->
2992   <variable entry="UI:VARIABLES:PLAYER_RUNNING"
2993             type="sint32"
2994             value="1" />
2995   <!-- Read only: setuped by code to know if the player is standing (1) or sitting (0) -->
2996   <variable entry="UI:VARIABLES:PLAYER_STAND"
2997             type="sint32"
2998             value="1" />
2999   <!-- Variable incremented by the skill manager whenever any skill cahnge (not progress bar) -->
3000   <variable entry="UI:VARIABLES:TRACK_SKILL_CHANGE"
3001             type="sint32"
3002             value="0" />
3003   <!-- User Guild Grade. 0 if user has no guild or if it is the leader -->
3004   <variable entry="UI:VARIABLES:USER:GUILD_GRADE"
3005             type="sint32"
3006             value="0" />
3007   <!-- ************************** -->
3008   <!-- * PLAYER JAUGES DISPLAY  * -->
3009   <!-- ************************** -->
3010   <variable entry="UI:SAVE:PLAYER:DISP_SAP"
3011             type="sint32"
3012             value="1" />
3013   <variable entry="UI:SAVE:PLAYER:DISP_STA"
3014             type="sint32"
3015             value="1" />
3016   <variable entry="UI:SAVE:PLAYER:DISP_FOC"
3017             type="sint32"
3018             value="1" />
3019   <!-- If player wants the Current Action window out of the player window -->
3020   <variable entry="UI:SAVE:ACT_BAR_OUT"
3021             type="sint32"
3022             value="1" />
3023   <!-- ************************** -->
3024   <!-- *   CHAT TEXT PARAMETERS * -->
3025   <!-- ************************** -->
3026   <variable entry="UI:SAVE:CHAT:FONT_SIZE"
3027             type="sint32"
3028             value="10" />
3029   <variable entry="UI:SAVE:CHAT:MULTI_LINE_SPACE"
3030             type="sint32"
3031             value="0" />
3032   <variable entry="UI:SAVE:CHAT:SHADOWED_TEXT"
3033             type="bool"
3034             value="true" />
3035   <!-- ******************************* -->
3036   <!-- * CHAT TRANSLATION PARAMETERS * -->
3037   <!-- ******************************* -->
3038   <variable entry="UI:SAVE:TRANSLATION:EN:INVERSE_DISPLAY"
3039              type="bool"
3040              value="false" />
3041   <variable entry="UI:SAVE:TRANSLATION:EN:HIDE_FLAG"
3042              type="bool"
3043              value="false" />
3044   <variable entry="UI:SAVE:TRANSLATION:FR:INVERSE_DISPLAY"
3045              type="bool"
3046              value="false" />
3047   <variable entry="UI:SAVE:TRANSLATION:FR:HIDE_FLAG"
3048              type="bool"
3049              value="false" />
3050   <variable entry="UI:SAVE:TRANSLATION:DE:INVERSE_DISPLAY"
3051              type="bool"
3052              value="false" />
3053   <variable entry="UI:SAVE:TRANSLATION:DE:HIDE_FLAG"
3054              type="bool"
3055              value="false" />
3056   <variable entry="UI:SAVE:TRANSLATION:RU:INVERSE_DISPLAY"
3057              type="bool"
3058              value="false" />
3059   <variable entry="UI:SAVE:TRANSLATION:RU:HIDE_FLAG"
3060              type="bool"
3061              value="false" />
3062   <variable entry="UI:SAVE:TRANSLATION:ES:INVERSE_DISPLAY"
3063              type="bool"
3064              value="false" />
3065   <variable entry="UI:SAVE:TRANSLATION:ES:HIDE_FLAG"
3066              type="bool"
3067              value="false" />
3068   <variable entry="UI:SAVE:TRANSLATION:SAY:DISABLE"
3069              type="bool"
3070              value="false" />
3071   <variable entry="UI:SAVE:TRANSLATION:SHOUT:DISABLE"
3072              type="bool"
3073              value="false" />
3074   <variable entry="UI:SAVE:TRANSLATION:TEAM:DISABLE"
3075              type="bool"
3076              value="false" />
3077   <variable entry="UI:SAVE:TRANSLATION:GUILD:DISABLE"
3078              type="bool"
3079              value="false" />
3080   <variable entry="UI:SAVE:TRANSLATION:CIVILIZATION:DISABLE"
3081              type="bool"
3082              value="false" />
3083   <variable entry="UI:SAVE:TRANSLATION:TERRITORY:DISABLE"
3084              type="bool"
3085              value="false" />
3086   <variable entry="UI:SAVE:TRANSLATION:UNIVERSE:DISABLE"
3087              type="bool"
3088              value="false" />
3089   <variable entry="UI:SAVE:TRANSLATION:TELL:DISABLE"
3090              type="bool"
3091              value="false" />
3092   <variable entry="UI:SAVE:TRANSLATION:PLAYER:DISABLE"
3093              type="bool"
3094              value="false" />
3095   <variable entry="UI:SAVE:TRANSLATION:ARROUND:DISABLE"
3096              type="bool"
3097              value="false" />
3098   <variable entry="UI:SAVE:TRANSLATION:SYSTEM:DISABLE"
3099              type="bool"
3100              value="false" />
3101   <variable entry="UI:SAVE:TRANSLATION:REGION:DISABLE"
3102              type="bool"
3103              value="false" />
3104   <!-- ****************************** -->
3105   <!-- *         CHAT COLORS        * -->
3106   <!-- ****************************** -->
3107   <variable entry="UI:SAVE:CHAT:COLORS:SPEAKER"
3108             type="rgba"
3109             value="220 220 50  255" />
3110   <variable entry="UI:SAVE:CHAT:COLORS:SAY"
3111             type="rgba"
3112             value="255 255 255 255" />
3113   <variable entry="UI:SAVE:CHAT:COLORS:SHOUT"
3114             type="rgba"
3115             value="255 70  70  255" />
3116   <variable entry="UI:SAVE:CHAT:COLORS:GROUP"
3117             type="rgba"
3118             value="170 170 255 255" />
3119   <variable entry="UI:SAVE:CHAT:COLORS:CLADE"
3120             type="rgba"
3121             value="70  255 70  255" />
3122   <variable entry="UI:SAVE:CHAT:COLORS:CIVILIZATION"
3123             type="rgba"
3124             value="128 128 128 255" />
3125   <variable entry="UI:SAVE:CHAT:COLORS:TERRITORY"
3126             type="rgba"
3127             value="128 128 128 255" />
3128   <variable entry="UI:SAVE:CHAT:COLORS:UNIVERSE_NEW"
3129             type="rgba"
3130             value="255 127 0   255" />
3131   <variable entry="UI:SAVE:CHAT:COLORS:REGION"
3132             type="rgba"
3133             value="255 200 200 255" />
3134   <variable entry="UI:SAVE:CHAT:COLORS:TELL"
3135             type="rgba"
3136             value="170 170 170 255" />
3137   <variable entry="UI:SAVE:CHAT:COLORS:DYN:0"
3138             type="rgba"
3139             value="162 255 173 255" />
3140   <variable entry="UI:SAVE:CHAT:COLORS:DYN:1"
3141             type="rgba"
3142             value="162 255 173 255" />
3143   <variable entry="UI:SAVE:CHAT:COLORS:DYN:2"
3144             type="rgba"
3145             value="162 255 173 255" />
3146   <variable entry="UI:SAVE:CHAT:COLORS:DYN:3"
3147             type="rgba"
3148             value="162 255 173 255" />
3149   <variable entry="UI:SAVE:CHAT:COLORS:DYN:4"
3150             type="rgba"
3151             value="162 255 173 255" />
3152   <variable entry="UI:SAVE:CHAT:COLORS:DYN:5"
3153             type="rgba"
3154             value="162 255 173 255" />
3155   <variable entry="UI:SAVE:CHAT:COLORS:DYN:6"
3156             type="rgba"
3157             value="162 255 173 255" />
3158   <variable entry="UI:SAVE:CHAT:COLORS:DYN:7"
3159             type="rgba"
3160             value="162 255 173 255" />
3161   <variable entry="UI:SAVE:CHAT:ENTER_DONT_QUIT_CB"
3162             type="bool"
3163             value="false" />
3164   <variable entry="UI:SAVE:CHAT:SAVE_CHANNEL"
3165             type="bool"
3166             value="false" />
3167   <variable entry="UI:SAVE:CHAT:AUTO_CHANNEL"
3168             type="bool"
3169             value="false" />
3170   <variable entry="UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB"
3171              type="bool"
3172              value="false" />
3173   <variable entry="UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB"
3174              type="bool"
3175              value="false" />
3176   <variable entry="UI:SAVE:CHAT:SHOW_ONLINE_OFFLINE_NOTIFICATIONS_CB"
3177              type="bool"
3178              value="true" />
3179   <!-- ***************************** -->
3180   <!-- *    SYSTEM INFO COLORS     * -->
3181   <!-- ***************************** -->
3182   <variable entry="UI:VARIABLES:SYSTEM_INFOS:COLORS:NEUTRAL"
3183             type="rgba"
3184             value="255 255 255 255" />
3185   <variable entry="UI:VARIABLES:SYSTEM_INFOS:COLORS:WARNING"
3186             type="rgba"
3187             value="255 0 0 255" />
3188   <variable entry="UI:VARIABLES:SYSTEM_INFOS:COLORS:ERROR"
3189             type="rgba"
3190             value="242 95  23  255" />
3191   <!-- ****************************************** -->
3192   <!-- *    UI TOP CONTAINER ACTIVATED STATE    * -->
3193   <!-- ****************************************** -->
3194   <!-- 0 - closed    and    1 - opened -->
3195   <variable entry="UI:VARIABLES:ISACTIVE:INV_EQUIP"
3196             type="sint32"
3197             value="0" />
3198   <variable entry="UI:VARIABLES:ISACTIVE:INV_HOTBAR"
3199             type="sint32"
3200             value="0" />
3201   <variable entry="UI:VARIABLES:ISACTIVE:INV_EQUIP_3D"
3202             type="sint32"
3203             value="0" />
3204   <variable entry="UI:VARIABLES:ISACTIVE:INV_BAG"
3205             type="sint32"
3206             value="0" />
3207   <variable entry="UI:VARIABLES:ISACTIVE:INV_PA0"
3208             type="sint32"
3209             value="0" />
3210   <variable entry="UI:VARIABLES:ISACTIVE:INV_PA1"
3211             type="sint32"
3212             value="0" />
3213   <variable entry="UI:VARIABLES:ISACTIVE:INV_PA2"
3214             type="sint32"
3215             value="0" />
3216   <variable entry="UI:VARIABLES:ISACTIVE:INV_PA3"
3217             type="sint32"
3218             value="0" />
3219   <variable entry="UI:VARIABLES:ISACTIVE:INV_PA4"
3220             type="sint32"
3221             value="0" />
3222   <variable entry="UI:VARIABLES:ISACTIVE:INV_PA5"
3223             type="sint32"
3224             value="0" />
3225   <variable entry="UI:VARIABLES:ISACTIVE:INV_PA6"
3226             type="sint32"
3227             value="0" />
3228   <variable entry="UI:VARIABLES:ISACTIVE:INV_ROOM"
3229             type="sint32"
3230             value="0" />
3231   <variable entry="UI:VARIABLES:ISACTIVE:INVENTORY"
3232             type="sint32"
3233             value="0" />
3234   <variable entry="UI:TEMP:INVENTORY_GUILD_OPENED"
3235             type="sint32"
3236             value="0" />
3237   <variable entry="UI:TEMP:INVENTORY_ROOM_OPENED"
3238             type="sint32"
3239             value="0" />
3240   <variable entry="UI:SAVE:INVENTORY_GUILD_WANT_POPUP"
3241             type="sint32"
3242             value="1" />
3243   <variable entry="UI:SAVE:INV_BAG:SORT_TYPE"
3244             type="sint32"
3245             value="0" />
3246   <variable entry="UI:SAVE:INV_BAG:ICON_LIST"
3247             type="sint32"
3248             value="1" />
3249   <variable entry="UI:SAVE:INV_BAG:FILTER_ARMOR"
3250             type="sint32"
3251             value="1" />
3252   <variable entry="UI:SAVE:INV_BAG:FILTER_WEAPON"
3253             type="sint32"
3254             value="1" />
3255   <variable entry="UI:SAVE:INV_BAG:FILTER_TOOL"
3256             type="sint32"
3257             value="1" />
3258   <variable entry="UI:SAVE:INV_BAG:FILTER_PET"
3259             type="sint32"
3260             value="1" />
3261   <variable entry="UI:SAVE:INV_BAG:FILTER_MP"
3262             type="sint32"
3263             value="1" />
3264   <variable entry="UI:SAVE:INV_BAG:FILTER_MISSMP"
3265             type="sint32"
3266             value="1" />
3267   <variable entry="UI:SAVE:INV_BAG:FILTER_TP"
3268             type="sint32"
3269             value="1" />
3270   <variable entry="UI:SAVE:INV_PA0:SORT_TYPE"
3271             type="sint32"
3272             value="0" />
3273   <variable entry="UI:SAVE:INV_PA0:ICON_LIST"
3274             type="sint32"
3275             value="1" />
3276   <variable entry="UI:SAVE:INV_PA0:FILTER_ARMOR"
3277             type="sint32"
3278             value="1" />
3279   <variable entry="UI:SAVE:INV_PA0:FILTER_WEAPON"
3280             type="sint32"
3281             value="1" />
3282   <variable entry="UI:SAVE:INV_PA0:FILTER_TOOL"
3283             type="sint32"
3284             value="1" />
3285   <variable entry="UI:SAVE:INV_PA0:FILTER_PET"
3286             type="sint32"
3287             value="1" />
3288   <variable entry="UI:SAVE:INV_PA0:FILTER_MP"
3289             type="sint32"
3290             value="1" />
3291   <variable entry="UI:SAVE:INV_PA0:FILTER_MISSMP"
3292             type="sint32"
3293             value="1" />
3294   <variable entry="UI:SAVE:INV_PA0:FILTER_TP"
3295             type="sint32"
3296             value="1" />
3297   <variable entry="UI:SAVE:INV_PA1:SORT_TYPE"
3298             type="sint32"
3299             value="0" />
3300   <variable entry="UI:SAVE:INV_PA1:ICON_LIST"
3301             type="sint32"
3302             value="1" />
3303   <variable entry="UI:SAVE:INV_PA1:FILTER_ARMOR"
3304             type="sint32"
3305             value="1" />
3306   <variable entry="UI:SAVE:INV_PA1:FILTER_WEAPON"
3307             type="sint32"
3308             value="1" />
3309   <variable entry="UI:SAVE:INV_PA1:FILTER_TOOL"
3310             type="sint32"
3311             value="1" />
3312   <variable entry="UI:SAVE:INV_PA1:FILTER_PET"
3313             type="sint32"
3314             value="1" />
3315   <variable entry="UI:SAVE:INV_PA1:FILTER_MP"
3316             type="sint32"
3317             value="1" />
3318   <variable entry="UI:SAVE:INV_PA1:FILTER_MISSMP"
3319             type="sint32"
3320             value="1" />
3321   <variable entry="UI:SAVE:INV_PA1:FILTER_TP"
3322             type="sint32"
3323             value="1" />
3324   <variable entry="UI:SAVE:INV_PA2:SORT_TYPE"
3325             type="sint32"
3326             value="0" />
3327   <variable entry="UI:SAVE:INV_PA2:ICON_LIST"
3328             type="sint32"
3329             value="1" />
3330   <variable entry="UI:SAVE:INV_PA2:FILTER_ARMOR"
3331             type="sint32"
3332             value="1" />
3333   <variable entry="UI:SAVE:INV_PA2:FILTER_WEAPON"
3334             type="sint32"
3335             value="1" />
3336   <variable entry="UI:SAVE:INV_PA2:FILTER_TOOL"
3337             type="sint32"
3338             value="1" />
3339   <variable entry="UI:SAVE:INV_PA2:FILTER_PET"
3340             type="sint32"
3341             value="1" />
3342   <variable entry="UI:SAVE:INV_PA2:FILTER_MP"
3343             type="sint32"
3344             value="1" />
3345   <variable entry="UI:SAVE:INV_PA2:FILTER_MISSMP"
3346             type="sint32"
3347             value="1" />
3348   <variable entry="UI:SAVE:INV_PA2:FILTER_TP"
3349             type="sint32"
3350             value="1" />
3351   <variable entry="UI:SAVE:INV_PA3:SORT_TYPE"
3352             type="sint32"
3353             value="0" />
3354   <variable entry="UI:SAVE:INV_PA3:ICON_LIST"
3355             type="sint32"
3356             value="1" />
3357   <variable entry="UI:SAVE:INV_PA3:FILTER_ARMOR"
3358             type="sint32"
3359             value="1" />
3360   <variable entry="UI:SAVE:INV_PA3:FILTER_WEAPON"
3361             type="sint32"
3362             value="1" />
3363   <variable entry="UI:SAVE:INV_PA3:FILTER_TOOL"
3364             type="sint32"
3365             value="1" />
3366   <variable entry="UI:SAVE:INV_PA3:FILTER_PET"
3367             type="sint32"
3368             value="1" />
3369   <variable entry="UI:SAVE:INV_PA3:FILTER_MP"
3370             type="sint32"
3371             value="1" />
3372   <variable entry="UI:SAVE:INV_PA3:FILTER_MISSMP"
3373             type="sint32"
3374             value="1" />
3375   <variable entry="UI:SAVE:INV_PA3:FILTER_TP"
3376             type="sint32"
3377             value="1" />
3378   <variable entry="UI:SAVE:INV_PA4:SORT_TYPE"
3379             type="sint32"
3380             value="0" />
3381   <variable entry="UI:SAVE:INV_PA4:ICON_LIST"
3382             type="sint32"
3383             value="1" />
3384   <variable entry="UI:SAVE:INV_PA4:FILTER_ARMOR"
3385             type="sint32"
3386             value="1" />
3387   <variable entry="UI:SAVE:INV_PA4:FILTER_WEAPON"
3388             type="sint32"
3389             value="1" />
3390   <variable entry="UI:SAVE:INV_PA4:FILTER_TOOL"
3391             type="sint32"
3392             value="1" />
3393   <variable entry="UI:SAVE:INV_PA4:FILTER_PET"
3394             type="sint32"
3395             value="1" />
3396   <variable entry="UI:SAVE:INV_PA4:FILTER_MP"
3397             type="sint32"
3398             value="1" />
3399   <variable entry="UI:SAVE:INV_PA4:FILTER_MISSMP"
3400             type="sint32"
3401             value="1" />
3402   <variable entry="UI:SAVE:INV_PA4:FILTER_TP"
3403             type="sint32"
3404             value="1" />
3405   <variable entry="UI:SAVE:INV_PA5:SORT_TYPE"
3406             type="sint32"
3407             value="0" />
3408   <variable entry="UI:SAVE:INV_PA5:ICON_LIST"
3409             type="sint32"
3410             value="1" />
3411   <variable entry="UI:SAVE:INV_PA5:FILTER_ARMOR"
3412             type="sint32"
3413             value="1" />
3414   <variable entry="UI:SAVE:INV_PA5:FILTER_WEAPON"
3415             type="sint32"
3416             value="1" />
3417   <variable entry="UI:SAVE:INV_PA5:FILTER_TOOL"
3418             type="sint32"
3419             value="1" />
3420   <variable entry="UI:SAVE:INV_PA5:FILTER_PET"
3421             type="sint32"
3422             value="1" />
3423   <variable entry="UI:SAVE:INV_PA5:FILTER_MP"
3424             type="sint32"
3425             value="1" />
3426   <variable entry="UI:SAVE:INV_PA5:FILTER_MISSMP"
3427             type="sint32"
3428             value="1" />
3429   <variable entry="UI:SAVE:INV_PA5:FILTER_TP"
3430             type="sint32"
3431             value="1" />
3432   <variable entry="UI:SAVE:INV_PA6:SORT_TYPE"
3433             type="sint32"
3434             value="0" />
3435   <variable entry="UI:SAVE:INV_PA6:ICON_LIST"
3436             type="sint32"
3437             value="1" />
3438   <variable entry="UI:SAVE:INV_PA6:FILTER_ARMOR"
3439             type="sint32"
3440             value="1" />
3441   <variable entry="UI:SAVE:INV_PA6:FILTER_WEAPON"
3442             type="sint32"
3443             value="1" />
3444   <variable entry="UI:SAVE:INV_PA6:FILTER_TOOL"
3445             type="sint32"
3446             value="1" />
3447   <variable entry="UI:SAVE:INV_PA6:FILTER_PET"
3448             type="sint32"
3449             value="1" />
3450   <variable entry="UI:SAVE:INV_PA6:FILTER_MP"
3451             type="sint32"
3452             value="1" />
3453   <variable entry="UI:SAVE:INV_PA6:FILTER_MISSMP"
3454             type="sint32"
3455             value="1" />
3456   <variable entry="UI:SAVE:INV_PA6:FILTER_TP"
3457             type="sint32"
3458             value="1" />
3459   <variable entry="UI:SAVE:INV_GUILD:SORT_TYPE"
3460             type="sint32"
3461             value="1" />
3462   <!-- 1 == SortType -->
3463   <variable entry="UI:SAVE:INV_GUILD:ICON_LIST"
3464             type="sint32"
3465             value="1" />
3466   <variable entry="UI:SAVE:INV_GUILD:FILTER_ARMOR"
3467             type="sint32"
3468             value="1" />
3469   <variable entry="UI:SAVE:INV_GUILD:FILTER_WEAPON"
3470             type="sint32"
3471             value="1" />
3472   <variable entry="UI:SAVE:INV_GUILD:FILTER_TOOL"
3473             type="sint32"
3474             value="1" />
3475   <variable entry="UI:SAVE:INV_GUILD:FILTER_PET"
3476             type="sint32"
3477             value="1" />
3478   <variable entry="UI:SAVE:INV_GUILD:FILTER_MP"
3479             type="sint32"
3480             value="1" />
3481   <variable entry="UI:SAVE:INV_GUILD:FILTER_MISSMP"
3482             type="sint32"
3483             value="1" />
3484   <variable entry="UI:SAVE:INV_GUILD:FILTER_TP"
3485             type="sint32"
3486             value="1" />
3487   <variable entry="UI:SAVE:INV_ROOM:SORT_TYPE"
3488             type="sint32"
3489             value="1" />
3490   <!-- 1 == SortType -->
3491   <variable entry="UI:SAVE:INV_ROOM:ICON_LIST"
3492             type="sint32"
3493             value="1" />
3494   <variable entry="UI:SAVE:INV_ROOM:FILTER_ARMOR"
3495             type="sint32"
3496             value="1" />
3497   <variable entry="UI:SAVE:INV_ROOM:FILTER_WEAPON"
3498             type="sint32"
3499             value="1" />
3500   <variable entry="UI:SAVE:INV_ROOM:FILTER_TOOL"
3501             type="sint32"
3502             value="1" />
3503   <variable entry="UI:SAVE:INV_ROOM:FILTER_PET"
3504             type="sint32"
3505             value="1" />
3506   <variable entry="UI:SAVE:INV_ROOM:FILTER_MP"
3507             type="sint32"
3508             value="1" />
3509   <variable entry="UI:SAVE:INV_ROOM:FILTER_MISSMP"
3510             type="sint32"
3511             value="1" />
3512   <variable entry="UI:SAVE:INV_ROOM:FILTER_TP"
3513             type="sint32"
3514             value="1" />
3515   <!-- List Menu 1 -->
3516   <variable entry="UI:VARIABLES:ISACTIVE:SETS"
3517             type="sint32"
3518             value="0" />
3519   <variable entry="UI:VARIABLES:ISACTIVE:SETS2"
3520             type="sint32"
3521             value="0" />
3522   <variable entry="UI:VARIABLES:ISACTIVE:ACTIONS"
3523             type="sint32"
3524             value="0" />
3525   <variable entry="UI:VARIABLES:ISACTIVE:WINDOWSBAR"
3526             type="sint32"
3527             value="0" />
3528   <variable entry="UI:VARIABLES:ISACTIVE:DEFENSE"
3529             type="sint32"
3530             value="0" />
3531   <variable entry="UI:VARIABLES:ISACTIVE:LINKS"
3532             type="sint32"
3533             value="0" />
3534   <!-- List Menu 2 -->
3535   <variable entry="UI:VARIABLES:ISACTIVE:ANIMAL_GLOBAL"
3536             type="sint32"
3537             value="0" />
3538   <variable entry="UI:VARIABLES:ISACTIVE:CAP"
3539             type="sint32"
3540             value="1" />
3541   <!-- List Menu 3 -->
3542   <variable entry="UI:VARIABLES:ISACTIVE:COMPAS"
3543             type="sint32"
3544             value="0" />
3545   <variable entry="UI:VARIABLES:ISACTIVE:MAP"
3546             type="sint32"
3547             value="0" />
3548   <!-- List Menu 4 -->
3549   <variable entry="UI:VARIABLES:ISACTIVE:TARGET"
3550             type="sint32"
3551             value="0" />
3552   <variable entry="UI:VARIABLES:ISACTIVE:GUILD_FORUM"
3553             type="sint32"
3554             value="0" />
3555   <variable entry="UI:VARIABLES:ISACTIVE:TELL"
3556             type="sint32"
3557             value="0" />
3558   <variable entry="UI:VARIABLES:ISACTIVE:TEAM_CHAT"
3559             type="sint32"
3560             value="0" />
3561   <variable entry="UI:VARIABLES:ISACTIVE:TEAM_LIST"
3562             type="sint32"
3563             value="0" />
3564   <variable entry="UI:VARIABLES:ISACTIVE:CONTACT_LIST"
3565             type="sint32"
3566             value="0" />
3567   <variable entry="UI:VARIABLES:ISACTIVE:MAILBOX"
3568             type="sint32"
3569             value="0" />
3570   <variable entry="UI:VARIABLES:ISACTIVE:WEBIG"
3571             type="sint32"
3572             value="0" />
3573   <variable entry="UI:VARIABLES:ISACTIVE:CHAT_GROUP"
3574             type="sint32"
3575             value="0" />
3576   <variable entry="UI:SAVE:ISDETACHED:MAIN_CHAT"
3577             type="sint32"
3578             value="0" />
3579   <variable entry="UI:SAVE:ISDETACHED:GUILD_CHAT"
3580             type="sint32"
3581             value="0" />
3582   <variable entry="UI:SAVE:ISDETACHED:TEAM_CHAT"
3583             type="sint32"
3584             value="0" />
3585   <variable entry="UI:SAVE:ISDETACHED:SYSTEM_INFO"
3586             type="sint32"
3587             value="0" />
3588   <variable entry="UI:SAVE:ISDETACHED:AROUND_ME"
3589             type="sint32"
3590             value="0" />
3591   <variable entry="UI:SAVE:ISDETACHED:CHAT_GROUP"
3592             type="sint32"
3593             value="0" />
3594   <variable entry="UI:SAVE:ISDETACHED:USER_CHAT"
3595             type="sint32"
3596             value="0" />
3597   <variable entry="UI:SAVE:ISDETACHED:UNIVERSE_CHAT"
3598             type="sint32"
3599             value="0" />
3600   <variable entry="UI:SAVE:ISDETACHED:REGION_CHAT"
3601             type="sint32"
3602             value="0" />
3603   <variable entry="UI:SAVE:ISENABLED:AROUND_ME"
3604             type="sint32"
3605             value="1" />
3606   <variable entry="UI:SAVE:ISENABLED:REGION_CHAT"
3607             type="sint32"
3608             value="1" />
3609   <variable entry="UI:SAVE:ISENABLED:TEAM_CHAT"
3610             type="sint32"
3611             value="1" />
3612   <variable entry="UI:SAVE:ISENABLED:GUILD_CHAT"
3613             type="sint32"
3614             value="1" />
3615   <variable entry="UI:SAVE:ISENABLED:UNIVERSE_CHAT"
3616             type="sint32"
3617             value="1" />
3618   <variable entry="UI:SAVE:ISENABLED:SYSTEM_INFO"
3619             type="sint32"
3620             value="1" />
3621   <!-- List Menu 5 -->
3622   <variable entry="UI:VARIABLES:ISACTIVE:BONUS_MALUS"
3623             type="sint32"
3624             value="0" />
3625   <variable entry="UI:VARIABLES:ISACTIVE:PLAYER"
3626             type="sint32"
3627             value="0" />
3628   <variable entry="UI:VARIABLES:ISACTIVE:GUILD"
3629             type="sint32"
3630             value="0" />
3631   <variable entry="UI:VARIABLES:ISACTIVE:MISSIONS"
3632             type="sint32"
3633             value="0" />
3634   <variable entry="UI:VARIABLES:ISACTIVE:CAREERS"
3635             type="sint32"
3636             value="0" />
3637   <variable entry="UI:VARIABLES:ISACTIVE:STATUS"
3638             type="sint32"
3639             value="0" />
3640   <variable entry="UI:VARIABLES:ISACTIVE:BRICKS"
3641             type="sint32"
3642             value="0" />
3643   <variable entry="UI:VARIABLES:ISACTIVE:FAME"
3644             type="sint32"
3645             value="0" />
3646   <!-- List Menu 7 -->
3647   <variable entry="UI:VARIABLES:ISACTIVE:GAME_CONFIG"
3648             type="sint32"
3649             value="0" />
3650   <variable entry="UI:VARIABLES:ISACTIVE:CONNECTION"
3651             type="sint32"
3652             value="0" />
3653   <variable entry="UI:VARIABLES:ISACTIVE:KEYS"
3654             type="sint32"
3655             value="0" />
3656   <variable entry="UI:VARIABLES:ISACTIVE:MACROS"
3657             type="sint32"
3658             value="0" />
3659   <variable entry="UI:VARIABLES:ISACTIVE:ENCYCLOPEDIA"
3660             type="sint32"
3661             value="0" />
3662   <variable entry="UI:VARIABLES:ISACTIVE:MP3PLAYER"
3663             type="sint32"
3664             value="0" />
3665   <variable entry="UI:VARIABLES:ISACTIVE:BG_DOWNLOADER"
3666             type="sint32"
3667             value="0" />
3668   <variable entry="UI:VARIABLES:ISACTIVE:COSMETICS"
3669             type="sint32"
3670             value="0" />
3671   <variable entry="UI:VARIABLES:ISACTIVE:MILKO_PAD"
3672             type="sint32"
3673             value="0" />
3675   <!-- ***************************** -->
3676   <!-- *      BOTCHAT VARIABLES    * -->
3677   <!-- ***************************** -->
3678   <define id="faber_type_unknown"
3679           value_from_code="getFaberTypeUnknown()" />
3680   <define id="item_type_unknown"
3681           value_from_code="getItemTypeUnknown()" />
3682   <define id="bot_chat_filter_max_price"
3683           value="999999999" />
3684   <define id="bot_chat_filter_max_quality"
3685           value="300" />
3686   <variable entry="UI:SAVE:BOTCHAT_FILTER:MIN_PRICE"
3687             type="sint32"
3688             value="0" />
3689   <variable entry="UI:SAVE:BOTCHAT_FILTER:MAX_PRICE"
3690             type="sint32"
3691             value="%bot_chat_filter_max_price" />
3692   <variable entry="UI:SAVE:BOTCHAT_FILTER:MIN_QUALITY"
3693             type="sint32"
3694             value="0" />
3695   <variable entry="UI:SAVE:BOTCHAT_FILTER:MAX_QUALITY"
3696             type="sint32"
3697             value="%bot_chat_filter_max_quality" />
3698   <variable entry="UI:SAVE:BOTCHAT_FILTER:MIN_CLASS"
3699             type="sint32"
3700             value="0" />
3701   <variable entry="UI:SAVE:BOTCHAT_FILTER:MAX_CLASS"
3702             type="sint32"
3703             value="4" />
3704   <variable entry="UI:SAVE:BOTCHAT_FILTER:MP_ITEM_PART"
3705             type="sint32"
3706             value="%faber_type_unknown" />
3707   <variable entry="UI:SAVE:BOTCHAT_FILTER:ITEM_TYPE"
3708             type="sint32"
3709             value="%item_type_unknown" />
3710   <variable entry="UI:SAVE:BOTCHAT_FILTER:RESET_ON_OPEN"
3711             type="sint32"
3712             value="1" />
3713   <!-- ***************************** -->
3714   <!-- *  STRING CASE OPTION       * -->
3715   <!-- ***************************** -->
3716   <define id="case_normal"
3717           value="0" />
3718   <define id="case_lower"
3719           value="1" />
3720   <define id="case_upper"
3721           value="2" />
3722   <define id="case_first_string_letter_up"
3723           value="3" />
3724   <define id="case_first_sentence_letter_up"
3725           value="4" />
3726   <define id="case_first_word_letter_up"
3727           value="5" />
3728   <!-- ****************** -->
3729   <!-- *   CONNECTION   * -->
3730   <!-- ****************** -->
3731   <variable type="float"
3732             entry="UI:VARIABLES:UPLOAD" />
3733   <variable type="float"
3734             entry="UI:VARIABLES:DOWNLOAD" />
3735   <variable type="float"
3736             entry="UI:VARIABLES:PING" />
3737   <variable type="float"
3738             entry="UI:VARIABLES:PACKETLOST" />
3739   <variable type="float"
3740             entry="UI:VARIABLES:SERVERSTATE" />
3741   <variable type="bool"
3742             entry="UI:VARIABLES:CONNECTION_QUALITY" />
3743   <!-- ***************************** -->
3744   <!-- *  COMMON DEFINE COLORS     * -->
3745   <!-- ***************************** -->
3746   <define id="hp_color"
3747           value="255 64 0 255" />
3748   <define id="hp_color_neg"
3749           value="127 32 0 255" />
3750   <define id="sta_color"
3751           value="255 0 255 255" />
3752   <define id="sap_color"
3753           value="72 255 0 255" />
3754   <define id="focus_color"
3755           value="0 128 255 255" />
3756   <define id="bulk_color"
3757           value="215 185 75 255" />
3758   <!-- ***************************** -->
3759   <!-- *          ITEM PART ICONS          * -->
3760   <!-- ***************************** -->
3761   <define id="item_part_icon_MpL"
3762           value="ICO_Blade.tga" />
3763   <define id="item_part_icon_MpH"
3764           value="ICO_hammer.tga" />
3765   <define id="item_part_icon_MpP"
3766           value="ICO_Pointe.tga" />
3767   <define id="item_part_icon_MpM"
3768           value="ICO_Shaft.tga" />
3769   <define id="item_part_icon_MpG"
3770           value="ICO_Gripp.tga" />
3771   <define id="item_part_icon_MpC"
3772           value="ICO_Counterweight.tga" />
3773   <define id="item_part_icon_MpGA"
3774           value="ICO_trigger.tga" />
3775   <define id="item_part_icon_MpPE"
3776           value="ICO_Firing_pin.tga" />
3777   <define id="item_part_icon_MpCA"
3778           value="ICO_barrel.tga" />
3779   <define id="item_part_icon_MpE"
3780           value="ICO_Explosif.tga" />
3781   <define id="item_part_icon_MpEN"
3782           value="ICO_Ammo_jacket.tga" />
3783   <define id="item_part_icon_MpPR"
3784           value="ICO_Ammo_bullet.tga" />
3785   <define id="item_part_icon_MpCR"
3786           value="ICO_Armor_shell.tga" />
3787   <define id="item_part_icon_MpRI"
3788           value="ICO_Lining.tga" />
3789   <define id="item_part_icon_MpRE"
3790           value="ICO_Stuffing.tga" />
3791   <define id="item_part_icon_MpAT"
3792           value="ICO_armor_clip.tga" />
3793   <define id="item_part_icon_MpSU"
3794           value="ICO_Jewel_stone_support.tga" />
3795   <define id="item_part_icon_MpED"
3796           value="ICO_Jewel_stone.tga" />
3797   <define id="item_part_icon_MpBT"
3798           value="" />
3799   <define id="item_part_icon_MpPES"
3800           value="" />
3801   <define id="item_part_icon_MpSH"
3802           value="" />
3803   <define id="item_part_icon_MpTK"
3804           value="" />
3805   <define id="item_part_icon_MpJH"
3806           value="" />
3807   <define id="item_part_icon_MpCF"
3808           value="" />
3809   <define id="item_part_icon_MpVE"
3810           value="ICO_Clothes.tga" />
3811   <define id="item_part_icon_MpMF"
3812           value="ICO_Magic_focus.tga" />
3813   <!-- None, for item part selection -->
3814   <define id="item_part_icon_"
3815           value="No_Action.tga" />
3816   <!-- ***************************** -->
3817   <!-- *          PVP FACTION ICONS        * -->
3818   <!-- ***************************** -->
3819   <define id="pvp_faction_icon_None"
3820           value="" />
3821   <define id="pvp_faction_icon_Neutral"
3822           value="" />
3823   <define id="pvp_faction_icon_Kami"
3824           value="faction_Kami.tga" />
3825   <define id="pvp_faction_icon_Karavan"
3826           value="faction_Karavan.tga" />
3827   <define id="pvp_faction_icon_Fyros"
3828           value="faction_Fyros.tga" />
3829   <define id="pvp_faction_icon_Matis"
3830           value="faction_Matis.tga" />
3831   <define id="pvp_faction_icon_Tryker"
3832           value="faction_Tryker.tga" />
3833   <define id="pvp_faction_icon_Zorai"
3834           value="faction_Zorai.tga" />
3835   <!-- ******************************** -->
3836   <!-- *          BRICK FALGS             * -->
3837   <!-- ******************************** -->
3838   <define id="brick_flags_critical_hit"
3839           value="8" />
3840   <define id="brick_flags_parry"
3841           value="16" />
3842   <define id="brick_flags_dodge"
3843           value="32" />
3844   <!-- ******************************** -->
3845   <!-- *          ITEM TYPE TO ITEM SHEET * -->
3846   <!-- ******************************** -->
3847   <!-- Melee weapons -->
3848   <define id="item_type_to_item_sheet_DAGGER"
3849           value="iccm1pd.sitem" />
3850   <define id="item_type_to_item_sheet_SWORD"
3851           value="iccm1ss.sitem" />
3852   <define id="item_type_to_item_sheet_MACE"
3853           value="iccm1bm.sitem" />
3854   <define id="item_type_to_item_sheet_AXE"
3855           value="iccm1sa.sitem" />
3856   <define id="item_type_to_item_sheet_SPEAR"
3857           value="iccm1ps.sitem" />
3858   <define id="item_type_to_item_sheet_STAFF"
3859           value="iccm1bs.sitem" />
3860   <define id="item_type_to_item_sheet_TWO_HAND_SWORD"
3861           value="iccm2ss.sitem" />
3862   <define id="item_type_to_item_sheet_TWO_HAND_AXE"
3863           value="iccm2sa.sitem" />
3864   <define id="item_type_to_item_sheet_PIKE"
3865           value="iccm2pp.sitem" />
3866   <define id="item_type_to_item_sheet_TWO_HAND_MACE"
3867           value="iccm2bm.sitem" />
3868   <define id="item_type_to_item_sheet_MAGICIAN_STAFF"
3869           value="iccm2ms.sitem" />
3870   <!-- Range weapons -->
3871   <define id="item_type_to_item_sheet_AUTOLAUCH"
3872           value="icbr2a.sitem" />
3873   <define id="item_type_to_item_sheet_BOWRIFLE"
3874           value="icbr2b.sitem" />
3875   <define id="item_type_to_item_sheet_LAUNCHER"
3876           value="icbr2l.sitem" />
3877   <define id="item_type_to_item_sheet_PISTOL"
3878           value="icbr1p.sitem" />
3879   <define id="item_type_to_item_sheet_BOWPISTOL"
3880           value="icbr1b.sitem" />
3881   <define id="item_type_to_item_sheet_RIFLE"
3882           value="icbr2r.sitem" />
3883   <!-- Ammo -->
3884   <define id="item_type_to_item_sheet_AUTOLAUNCH_AMMO"
3885           value="iccp2ab.sitem" />
3886   <define id="item_type_to_item_sheet_BOWRIFLE_AMMO"
3887           value="iccp2bb.sitem" />
3888   <define id="item_type_to_item_sheet_LAUNCHER_AMMO"
3889           value="iccp2lb.sitem" />
3890   <define id="item_type_to_item_sheet_PISTOL_AMMO"
3891           value="iccp1pb.sitem" />
3892   <define id="item_type_to_item_sheet_BOWPISTOL_AMMO"
3893           value="iccp1bb.sitem" />
3894   <define id="item_type_to_item_sheet_RIFLE_AMMO"
3895           value="iccp2rb.sitem" />
3896   <!-- Shields -->
3897   <define id="item_type_to_item_sheet_SHIELD"
3898           value="iccss.sitem" />
3899   <define id="item_type_to_item_sheet_BUCKLER"
3900           value="iccsb.sitem" />
3901   <!-- Armors -->
3902   <define id="item_type_to_item_sheet_LIGHT_BOOTS"
3903           value="icfalb.sitem" />
3904   <define id="item_type_to_item_sheet_LIGHT_GLOVES"
3905           value="icfalg.sitem" />
3906   <define id="item_type_to_item_sheet_LIGHT_PANTS"
3907           value="icfalp.sitem" />
3908   <define id="item_type_to_item_sheet_LIGHT_SLEEVES"
3909           value="icfals.sitem" />
3910   <define id="item_type_to_item_sheet_LIGHT_VEST"
3911           value="icfalv.sitem" />
3912   <define id="item_type_to_item_sheet_MEDIUM_BOOTS"
3913           value="icfamb.sitem" />
3914   <define id="item_type_to_item_sheet_MEDIUM_GLOVES"
3915           value="icfamg.sitem" />
3916   <define id="item_type_to_item_sheet_MEDIUM_PANTS"
3917           value="icfamp.sitem" />
3918   <define id="item_type_to_item_sheet_MEDIUM_SLEEVES"
3919           value="icfams.sitem" />
3920   <define id="item_type_to_item_sheet_MEDIUM_VEST"
3921           value="icfamv.sitem" />
3922   <define id="item_type_to_item_sheet_HEAVY_BOOTS"
3923           value="icfahb.sitem" />
3924   <define id="item_type_to_item_sheet_HEAVY_GLOVES"
3925           value="icfahg.sitem" />
3926   <define id="item_type_to_item_sheet_HEAVY_PANTS"
3927           value="icfahp.sitem" />
3928   <define id="item_type_to_item_sheet_HEAVY_SLEEVES"
3929           value="icfahs.sitem" />
3930   <define id="item_type_to_item_sheet_HEAVY_VEST"
3931           value="icfahv.sitem" />
3932   <define id="item_type_to_item_sheet_HEAVY_HELMET"
3933           value="icfahh.sitem" />
3934   <!-- Jewels -->
3935   <define id="item_type_to_item_sheet_ANKLET"
3936           value="icfja.sitem" />
3937   <define id="item_type_to_item_sheet_BRACELET"
3938           value="icfjb.sitem" />
3939   <define id="item_type_to_item_sheet_DIADEM"
3940           value="icfjd.sitem" />
3941   <define id="item_type_to_item_sheet_EARING"
3942           value="icfje.sitem" />
3943   <define id="item_type_to_item_sheet_PENDANT"
3944           value="icfjp.sitem" />
3945   <define id="item_type_to_item_sheet_RING"
3946           value="icfjr.sitem" />
3947   <!--
3948 <define id="item_type_to_item_sheet_CLEAVER"            value="" />
3949 <define id="item_type_to_item_sheet_SHEARS"             value="" />
3950 <define id="item_type_to_item_sheet_FISHINGPROD"                value="" />
3951 <define id="item_type_to_item_sheet_SEARAKE"            value="" />
3952 <define id="item_type_to_item_sheet_SPADE"              value="" />
3953 <define id="item_type_to_item_sheet_CATLEPROD"          value="" />
3954 <define id="item_type_to_item_sheet_STICK"              value="" />
3955 <define id="item_type_to_item_sheet_WHIP"               value="" />
3957   <!-- Tools -->
3958   <define id="item_type_to_item_sheet_ArmorTool"
3959           value="itarmor.sitem" />
3960   <define id="item_type_to_item_sheet_AmmoTool"
3961           value="itammo.sitem" />
3962   <define id="item_type_to_item_sheet_MeleeWeaponTool"
3963           value="itmwea.sitem" />
3964   <define id="item_type_to_item_sheet_RangeWeaponTool"
3965           value="itrwea.sitem" />
3966   <define id="item_type_to_item_sheet_JewelryTool"
3967           value="itjewel.sitem" />
3968   <define id="item_type_to_item_sheet_ToolMaker"
3969           value="ittool.sitem" />
3970   <!--
3971 <define id="item_type_to_item_sheet_CAMPSFIRE"          value="" />
3973   <!-- Misc -->
3974   <define id="item_type_to_item_sheet_MEKTOUB_PACKER_TICKET"
3975           value="iapd.sitem" />
3976   <define id="item_type_to_item_sheet_MEKTOUB_MOUNT_TICKET"
3977           value="iasd.sitem" />
3978   <define id="item_type_to_item_sheet_JOB_ELEMENT"
3979           value="rpjob_elementary.sitem" />
3980   <!-- ************************ -->
3981   <!-- *          DYNAMIC CHAT    * -->
3982   <!-- ************************ -->
3983   <define id="max_dyn_chan_per_player"
3984           value_from_code="getMaxDynChanPerPlayer()" />
3985   <variable entry="UI:SAVE:ISDETACHED:DYNAMIC_CHAT$i"
3986             type="sint32"
3987             value="0"
3988             size="%max_dyn_chan_per_player" />
3989   <variable entry="UI:SAVE:ISENABLED:DYNAMIC_CHAT$i"
3990             type="sint32"
3991             value="1"
3992             size="%max_dyn_chan_per_player" />
3993   <!-- ************************ -->
3994   <!-- *          MUSIC from DB   * -->
3995   <!-- ************************ -->
3996   <!-- Mission musics -->
3997   <define id="max_num_missions"
3998           value_from_code="getMaxNumMissions()" />
3999   <template name="temp_music_for_mission"
4000             index="">
4001     <link expr="@SERVER:MISSIONS:#index:TITLE"
4002           cond="and(ne(@SERVER:MISSIONS:#index:TITLE,0),eq(oldvalue('SERVER:MISSIONS:#index:TITLE'),0))"
4003           action="play_event_music"
4004           params="music=Quest Start.ogg|loop=0|xfade=0" />
4005     <link expr="@SERVER:MISSIONS:#index:FINISHED"
4006           cond="ne(@SERVER:MISSIONS:#index:FINISHED,0)"
4007           action="play_event_music"
4008           params="music=Quest End.ogg|loop=0|xfade=0" />
4009     <link expr="@SERVER:GROUP:MISSIONS:#index:TITLE"
4010           cond="and(ne(@SERVER:GROUP:MISSIONS:#index:TITLE,0),eq(oldvalue('SERVER:GROUP:MISSIONS:#index:TITLE'),0))"
4011           action="play_event_music"
4012           params="music=Quest Start.ogg|loop=0|xfade=0" />
4013     <link expr="@SERVER:GROUP:MISSIONS:#index:FINISHED"
4014           cond="ne(@SERVER:GROUP:MISSIONS:#index:FINISHED,0)"
4015           action="play_event_music"
4016           params="music=Quest End.ogg|loop=0|xfade=0" />
4017   </template>
4018   <vector template="temp_music_for_mission"
4019           index="$i"
4020           _size="%max_num_missions" />
4021   <!-- ************************ -->
4022   <!-- *          BAR MANAGER     * -->
4023   <!-- ************************ -->
4024   <!-- Bars Variables -->
4025   <define id="max_animal"
4026           value_from_code="getMaxAnimal()" />
4027   <define id="max_team_member"
4028           value_from_code="getMaxTeamMember()" />
4029   <define id="max_fame_tribe"
4030           value_from_code="lua:getNbTribeFameIndex()" />
4031   <!-- Team Members (FOCUS not setuped) -->
4032   <variable entry="UI:VARIABLES:BARS:TEAM:$i:HP"
4033             type="sint32"
4034             value="0"
4035             size="%max_team_member" />
4036   <variable entry="UI:VARIABLES:BARS:TEAM:$i:STA"
4037             type="sint32"
4038             value="0"
4039             size="%max_team_member" />
4040   <variable entry="UI:VARIABLES:BARS:TEAM:$i:SAP"
4041             type="sint32"
4042             value="0"
4043             size="%max_team_member" />
4044   <!-- Animal (only HP) -->
4045   <variable entry="UI:VARIABLES:BARS:ANIMAL:$i:HP"
4046             type="sint32"
4047             value="0"
4048             size="%max_animal" />
4049   <!-- Target -->
4050   <variable entry="UI:VARIABLES:BARS:TARGET:HP"
4051             type="sint32"
4052             value="0" />
4053   <variable entry="UI:VARIABLES:BARS:TARGET:STA"
4054             type="sint32"
4055             value="0" />
4056   <variable entry="UI:VARIABLES:BARS:TARGET:SAP"
4057             type="sint32"
4058             value="0" />
4059   <variable entry="UI:VARIABLES:BARS:TARGET:FOCUS"
4060             type="sint32"
4061             value="0" />
4062   <define id="target_hp"
4063           value="UI:VARIABLES:BARS:TARGET:HP" />
4064   <define id="target_sta"
4065           value="UI:VARIABLES:BARS:TARGET:STA" />
4066   <define id="target_sap"
4067           value="UI:VARIABLES:BARS:TARGET:SAP" />
4068   <define id="target_focus"
4069           value="UI:VARIABLES:BARS:TARGET:FOCUS" />
4070   <!-- Special USER. -1024 to +1024 "percent" values -->
4071   <variable entry="UI:VARIABLES:USER:HP_RATIO"
4072             type="sint32"
4073             value="0" />
4074   <variable entry="UI:VARIABLES:USER:STA_RATIO"
4075             type="sint32"
4076             value="0" />
4077   <variable entry="UI:VARIABLES:USER:SAP_RATIO"
4078             type="sint32"
4079             value="0" />
4080   <variable entry="UI:VARIABLES:USER:FOCUS_RATIO"
4081             type="sint32"
4082             value="0" />
4083   <!-- Special USER: Actual 0 to 32767 "real clamped to 0" values -->
4084   <variable entry="UI:VARIABLES:USER:HP"
4085             type="sint32"
4086             value="0" />
4087   <variable entry="UI:VARIABLES:USER:STA"
4088             type="sint32"
4089             value="0" />
4090   <variable entry="UI:VARIABLES:USER:SAP"
4091             type="sint32"
4092             value="0" />
4093   <variable entry="UI:VARIABLES:USER:FOCUS"
4094             type="sint32"
4095             value="0" />
4096   <!-- AH when Target Bars change from DB -->
4097   <link expr="depends(@SERVER:TARGET:BARS)"
4098         action="bar_manager_on_target" />
4099   <!-- AH when Team Bars change from DB -->
4100   <template name="temp_link_team_bars"
4101             index="">
4102     <link expr="depends(@SERVER:GROUP:#index)"
4103           action="bar_manager_on_team"
4104           params="#index" />
4105   </template>
4106   <vector template="temp_link_team_bars"
4107           index="$i"
4108           _size="%max_team_member" />
4109   <!-- AH when Animal Bars change from DB -->
4110   <template name="temp_link_animal_bars"
4111             index="">
4112     <link expr="depends(@SERVER:PACK_ANIMAL:BEAST#index)"
4113           action="bar_manager_on_animal"
4114           params="#index" />
4115   </template>
4116   <vector template="temp_link_animal_bars"
4117           index="$i"
4118           _size="%max_animal" />
4119   <!-- AH when User Max Scores change from DB (must reupdate all ratio bars) -->
4120   <link expr="depends(@SERVER:CHARACTER_INFO:SCORES0)"
4121         action="bar_manager_on_user_scores" />
4122   <link expr="depends(@SERVER:CHARACTER_INFO:SCORES1)"
4123         action="bar_manager_on_user_scores" />
4124   <link expr="depends(@SERVER:CHARACTER_INFO:SCORES2)"
4125         action="bar_manager_on_user_scores" />
4126   <link expr="depends(@SERVER:CHARACTER_INFO:SCORES3)"
4127         action="bar_manager_on_user_scores" />
4128   <define id="r2_max_num_dm_controlled_entities"
4129           value="16" />
4130   <!-- text ids for the controlled users -->
4131   <variable entry="UI:VARIABLES:R2_DM_CONTROLLED:$i:TEXT_ID"
4132             type="sint32"
4133             value="0"
4134             size="%r2_max_num_dm_controlled_entities" />
4135   <variable entry="UI:TEMP:R2_DRAW_ARRAY"
4136             type="bool"
4137             value="0" />
4138   <variable entry="UI:TEMP:DEFAULT_WEB_RETRY_TIMEOUT"
4139             type="sint32"
4140             value="2" />
4141   <variable entry="UI:SAVE:WEBIG_RETRY_DELAY"
4142             type="sint32"
4143             value="2" />
4144 </interface_config>