mise a jour des bons fichiers sur le client khanat

This commit is contained in:
deed 2016-11-01 17:59:10 +01:00
parent 510b5672d3
commit 003480c4e9
15 changed files with 2175 additions and 1847 deletions

View file

@ -13,7 +13,16 @@
</proc> </proc>
<!-- Window for the background downloader --> <!-- Window for the background downloader -->
<group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false"movable="true" opened="true" openable="false" pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100" h="100" w="410" active="false" savable="true" header_color="UI:SAVE:WIN:COLORS:OPT" on_deactive="proc" on_deactive_params="bg_downloader_deactive" on_active="proc" on_active_params="bg_downloader_active"> <group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false"
movable="true" opened="true" openable="false"
pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100"
h="100"
w="410"
active="false"
savable="true"
header_color="UI:SAVE:WIN:COLORS:OPT"
on_deactive="proc" on_deactive_params="bg_downloader_deactive"
on_active="proc" on_active_params="bg_downloader_active">
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color"> <group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
</group> </group>

View file

@ -583,11 +583,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="8" /> value="8" />
<param name="title_offset_y" <param name="title_offset_y"
value="-7" /> value="-10" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="20" /> value="20" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-7" /> value="-10" />
<param name="scrollbar_offset_x" <param name="scrollbar_offset_x"
value="6" /> value="6" />
<param name="scrollbar_size_w" <param name="scrollbar_size_w"
@ -732,11 +732,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="56" /> value="56" />
<param name="title_offset_y" <param name="title_offset_y"
value="-23" /> value="-26" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="20" /> value="20" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-7" /> value="-10" />
<param name="scrollbar_offset_x" <param name="scrollbar_offset_x"
value="6" /> value="6" />
<param name="scrollbar_size_w" <param name="scrollbar_size_w"
@ -873,11 +873,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="28" /> value="28" />
<param name="title_offset_y" <param name="title_offset_y"
value="-7" /> value="-10" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="20" /> value="20" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-7" /> value="-10" />
<param name="scrollbar_offset_x" <param name="scrollbar_offset_x"
value="6" /> value="6" />
<param name="scrollbar_size_w" <param name="scrollbar_size_w"
@ -1014,11 +1014,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="8" /> value="8" />
<param name="title_offset_y" <param name="title_offset_y"
value="-4" /> value="-6" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="18" /> value="18" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-4" /> value="-6" />
<param name="header_h" <param name="header_h"
value="14" /> value="14" />
<param name="open_state_tx_opened" <param name="open_state_tx_opened"
@ -1109,11 +1109,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="8" /> value="8" />
<param name="title_offset_y" <param name="title_offset_y"
value="-3" /> value="-5" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="20" /> value="20" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-3" /> value="-5" />
<param name="header_h" <param name="header_h"
value="12" /> value="12" />
<param name="open_state_tx_opened" <param name="open_state_tx_opened"
@ -1202,11 +1202,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="8" /> value="8" />
<param name="title_offset_y" <param name="title_offset_y"
value="-3" /> value="-5" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="22" /> value="22" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-3" /> value="-5" />
<param name="header_h" <param name="header_h"
value="10" /> value="10" />
<param name="open_state_tx_opened" <param name="open_state_tx_opened"
@ -1295,11 +1295,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="18" /> value="18" />
<param name="title_offset_y" <param name="title_offset_y"
value="-3" /> value="-5" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="24" /> value="24" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-3" /> value="-5" />
<param name="header_h" <param name="header_h"
value="10" /> value="10" />
<param name="open_state_tx_opened" <param name="open_state_tx_opened"
@ -1599,11 +1599,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="8" /> value="8" />
<param name="title_offset_y" <param name="title_offset_y"
value="-4" /> value="-6" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="18" /> value="18" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="-4" /> value="-6" />
<param name="header_h" <param name="header_h"
value="14" /> value="14" />
<!-- View state opened/closed (defined TL TL) --> <!-- View state opened/closed (defined TL TL) -->
@ -1698,11 +1698,11 @@
<param name="title_offset_x" <param name="title_offset_x"
value="8" /> value="8" />
<param name="title_offset_y" <param name="title_offset_y"
value="0" /> value="-2" />
<param name="title_offset_openable_x" <param name="title_offset_openable_x"
value="40" /> value="40" />
<param name="title_offset_openable_y" <param name="title_offset_openable_y"
value="0" /> value="-2" />
<param name="header_h" <param name="header_h"
value="12" /> value="12" />
<!-- View state opened/closed (defined TL TL) --> <!-- View state opened/closed (defined TL TL) -->
@ -2168,21 +2168,21 @@ This MUST follow the Enum MISSION_DESC::TIconId
value="SERVER:CHARACTER_INFO:SCORES3:Regen" /> value="SERVER:CHARACTER_INFO:SCORES3:Regen" />
<define id="player_ChaScore4reg_base" <define id="player_ChaScore4reg_base"
value="SERVER:CHARACTER_INFO:SCORES3:BaseRegen" /> value="SERVER:CHARACTER_INFO:SCORES3:BaseRegen" />
<define id="player_carac_ChaScore1max" <define id="player_carac_Cha1max"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS0:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS0:VALUE" />
<define id="player_carac_ChaScore1reg" <define id="player_carac_Cha1Reg"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS1:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS1:VALUE" />
<define id="player_carac_ChaScore3max" <define id="player_carac_Cha3max"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS2:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS2:VALUE" />
<define id="player_carac_ChaScore3reg" <define id="player_carac_Cha3Reg"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS3:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS3:VALUE" />
<define id="player_carac_ChaScore2max" <define id="player_carac_Cha2max"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS4:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS4:VALUE" />
<define id="player_carac_ChaScore2reg" <define id="player_carac_Cha2Reg"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS5:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS5:VALUE" />
<define id="player_carac_ChaScore4max" <define id="player_carac_Cha4max"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS6:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS6:VALUE" />
<define id="player_carac_ChaScore4reg" <define id="player_carac_Cha4Reg"
value="SERVER:CHARACTER_INFO:CHARACTERISTICS7:VALUE" /> value="SERVER:CHARACTER_INFO:CHARACTERISTICS7:VALUE" />
<define id="player_protect_acid" <define id="player_protect_acid"
value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:0:VALUE" /> value="SERVER:CHARACTER_INFO:MAGIC_PROTECTION:0:VALUE" />
@ -2767,9 +2767,6 @@ This MUST follow the Enum MISSION_DESC::TIconId
<variable entry="UI:SAVE:SHOW_CLOCK" <variable entry="UI:SAVE:SHOW_CLOCK"
type="bool" type="bool"
value="false" /> value="false" />
<variable entry="UI:SAVE:SHOW_CLOCK_12H"
type="bool"
value="false" />
<variable entry="UI:SAVE:SHOW_RETICLE" <variable entry="UI:SAVE:SHOW_RETICLE"
type="bool" type="bool"
value="true" /> value="true" />
@ -2887,12 +2884,15 @@ This MUST follow the Enum MISSION_DESC::TIconId
type="bool" type="bool"
value="true" /> value="true" />
<!-- Blend between day and night (lightLevel = 0 day) (lightLevel = 1 night) --> <!-- Blend between day and night (lightLevel = 0 day) (lightLevel = 1 night) -->
<link expr="identity(ilinear(getLightLevel(), getRed(intToColor(@UI:SAVE:DAY_COLOR)), getRed(intToColor(@UI:SAVE:NIGHT_COLOR))), @UI:VARIABLES:CURRENT_TIME)" <link expr="depends(@UI:VARIABLES:CURRENT_TIME)"
target="@UI:SAVE:COLOR:R" /> action="set"
<link expr="identity(ilinear(getLightLevel(), getGreen(intToColor(@UI:SAVE:DAY_COLOR)), getGreen(intToColor(@UI:SAVE:NIGHT_COLOR))), @UI:VARIABLES:CURRENT_TIME)" params="dblink=UI:SAVE:COLOR:R|value=ilinear(getLightLevel(), getRed(intToColor(@UI:SAVE:DAY_COLOR)), getRed(intToColor(@UI:SAVE:NIGHT_COLOR)))" />
target="@UI:SAVE:COLOR:G" /> <link expr="depends(@UI:VARIABLES:CURRENT_TIME)"
<link expr="identity(ilinear(getLightLevel(), getBlue(intToColor(@UI:SAVE:DAY_COLOR)), getBlue(intToColor(@UI:SAVE:NIGHT_COLOR))), @UI:VARIABLES:CURRENT_TIME)" action="set"
target="@UI:SAVE:COLOR:B" /> params="dblink=UI:SAVE:COLOR:G|value=ilinear(getLightLevel(), getGreen(intToColor(@UI:SAVE:DAY_COLOR)), getGreen(intToColor(@UI:SAVE:NIGHT_COLOR)))" />
<link expr="depends(@UI:VARIABLES:CURRENT_TIME)"
action="set"
params="dblink=UI:SAVE:COLOR:B|value=ilinear(getLightLevel(), getBlue(intToColor(@UI:SAVE:DAY_COLOR)), getBlue(intToColor(@UI:SAVE:NIGHT_COLOR)))" />
<!--<link expr="depends(@UI:VARIABLES:CURRENT_TIME)" action="set" <!--<link expr="depends(@UI:VARIABLES:CURRENT_TIME)" action="set"
params="dblink=UI:SAVE:COLOR:A|value=ilinear(getLightLevel(), @UI:SAVE:DAY_COLOR:A, @UI:SAVE:NIGHT_COLOR:A)" />--> params="dblink=UI:SAVE:COLOR:A|value=ilinear(getLightLevel(), @UI:SAVE:DAY_COLOR:A, @UI:SAVE:NIGHT_COLOR:A)" />-->
<!-- The User Target Slot and UID --> <!-- The User Target Slot and UID -->
@ -3323,6 +3323,9 @@ This MUST follow the Enum MISSION_DESC::TIconId
<variable entry="UI:SAVE:ISDETACHED:REGION_CHAT" <variable entry="UI:SAVE:ISDETACHED:REGION_CHAT"
type="sint32" type="sint32"
value="0" /> value="0" />
<variable entry="UI:SAVE:ISDETACHED:YUBO_CHAT"
type="sint32"
value="0" />
<variable entry="UI:SAVE:ISENABLED:AROUND_ME" <variable entry="UI:SAVE:ISENABLED:AROUND_ME"
type="sint32" type="sint32"
value="1" /> value="1" />
@ -3341,6 +3344,9 @@ This MUST follow the Enum MISSION_DESC::TIconId
<variable entry="UI:SAVE:ISENABLED:SYSTEM_INFO" <variable entry="UI:SAVE:ISENABLED:SYSTEM_INFO"
type="sint32" type="sint32"
value="1" /> value="1" />
<variable entry="UI:SAVE:ISENABLED:YUBO_CHAT"
type="sint32"
value="1" />
<!-- List Menu 5 --> <!-- List Menu 5 -->
<variable entry="UI:VARIABLES:ISACTIVE:BONUS_MALUS" <variable entry="UI:VARIABLES:ISACTIVE:BONUS_MALUS"
type="sint32" type="sint32"
@ -3701,13 +3707,27 @@ This MUST follow the Enum MISSION_DESC::TIconId
<define id="item_type_to_item_sheet_JOB_ELEMENT" <define id="item_type_to_item_sheet_JOB_ELEMENT"
value="rpjob_elementary.sitem" /> value="rpjob_elementary.sitem" />
<!-- ************************ --> <!-- ************************ -->
<!-- * YUBO CHAT * -->
<!-- ************************ -->
<!--
The Yubo Chat is a special telnet chat for Game Masters, same channel as the Yubo Klient
-->
<variable entry="UI:VARIABLES:ISACTIVE:YUBO_CHAT"
type="sint32"
value="0" />
<variable entry="UI:VARIABLES:YUBO_CHAT_PRESENT"
type="sint32"
value="0" />
<define id="is_yubo_chat_present"
value="ne(@UI:VARIABLES:YUBO_CHAT_PRESENT,0)" />
<!-- ************************ -->
<!-- * DYNAMIC CHAT * --> <!-- * DYNAMIC CHAT * -->
<!-- ************************ --> <!-- ************************ -->
<define id="max_dyn_chan_per_player" <define id="max_dyn_chan_per_player"
value_from_code="getMaxDynChanPerPlayer()" /> value_from_code="getMaxDynChanPerPlayer()" />
<variable entry="UI:SAVE:ISDETACHED:DYNAMIC_CHAT$i" <variable entry="UI:SAVE:ISDETACHED:DYNAMIC_CHAT$i"
type="sint32" type="sint32"
value="0" value="1"
size="%max_dyn_chan_per_player" /> size="%max_dyn_chan_per_player" />
<variable entry="UI:SAVE:ISENABLED:DYNAMIC_CHAT$i" <variable entry="UI:SAVE:ISENABLED:DYNAMIC_CHAT$i"
type="sint32" type="sint32"
@ -3751,7 +3771,7 @@ This MUST follow the Enum MISSION_DESC::TIconId
value_from_code="getMaxTeamMember()" /> value_from_code="getMaxTeamMember()" />
<define id="max_fame_tribe" <define id="max_fame_tribe"
value_from_code="lua:getNbTribeFameIndex()" /> value_from_code="lua:getNbTribeFameIndex()" />
<!-- Team Members (ChaScore4 not setuped) --> <!-- Team Members (FOCUS not setuped) -->
<variable entry="UI:VARIABLES:BARS:TEAM:$i:ChaScore1" <variable entry="UI:VARIABLES:BARS:TEAM:$i:ChaScore1"
type="sint32" type="sint32"
value="0" value="0"
@ -3764,7 +3784,7 @@ This MUST follow the Enum MISSION_DESC::TIconId
type="sint32" type="sint32"
value="0" value="0"
size="%max_team_member" /> size="%max_team_member" />
<!-- Animal (only ChaScore1) --> <!-- Animal (only HP) -->
<variable entry="UI:VARIABLES:BARS:ANIMAL:$i:ChaScore1" <variable entry="UI:VARIABLES:BARS:ANIMAL:$i:ChaScore1"
type="sint32" type="sint32"
value="0" value="0"

View file

@ -183,7 +183,7 @@
posref="BL BL" posref="BL BL"
scale="true" scale="true"
y="4" y="4"
w="110" w="130"
h="2" h="2"
texture="W_line_hor2.tga" /> texture="W_line_hor2.tga" />
<view type="text" <view type="text"
@ -202,7 +202,7 @@
posref="MM MM" posref="MM MM"
x="0" x="0"
y="-1" y="-1"
w="110" w="130"
h="8" h="8"
vertical="false" vertical="false"
align="L" align="L"
@ -246,7 +246,7 @@
posref="BL BL" posref="BL BL"
scale="true" scale="true"
y="4" y="4"
w="110" w="130"
h="2" h="2"
texture="W_line_hor2.tga" /> texture="W_line_hor2.tga" />
<view type="text" <view type="text"
@ -265,7 +265,7 @@
posref="MM MM" posref="MM MM"
x="0" x="0"
y="-1" y="-1"
w="110" w="130"
h="8" h="8"
vertical="false" vertical="false"
align="L" align="L"

View file

@ -87,7 +87,7 @@
y="0" y="0"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
case_mode="%case_first_word_letter_up" /> case_mode="%case_normal" />
<view type="text" <view type="text"
id="grade" id="grade"
x="158" x="158"

View file

@ -138,7 +138,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="-2" text_y="-0"
onclick_l="proc" onclick_l="proc"
params_l="welcome_close" params_l="welcome_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -199,7 +199,7 @@
x="-15" x="-15"
y="10" y="10"
posref="BM BM" posref="BM BM"
text_y="-2" text_y="-0"
onclick_l="proc" onclick_l="proc"
params_l="active_hardware_cursor" params_l="active_hardware_cursor"
hardtext="uiYes" /> hardtext="uiYes" />
@ -208,7 +208,7 @@
y="0" y="0"
posparent="active_ok" posparent="active_ok"
posref="BR BL" posref="BR BL"
text_y="-2" text_y="-0"
onclick_l="proc" onclick_l="proc"
params_l="close_hardware_cursor" params_l="close_hardware_cursor"
hardtext="uiNo" /> hardtext="uiNo" />
@ -316,7 +316,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="-2" text_y="-0"
onclick_l="proc" onclick_l="proc"
params_l="universe_chanel_warning_close" params_l="universe_chanel_warning_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -356,9 +356,9 @@
</proc> </proc>
<group type="container" <group type="container"
id="death_warning" id="death_warning"
w="400" w="500"
pop_min_w="400" pop_min_w="500"
pop_max_w="400" pop_max_w="500"
h="250" h="250"
pop_min_h="250" pop_min_h="250"
pop_max_h="250" pop_max_h="250"
@ -401,7 +401,7 @@
id="death_warning_text" id="death_warning_text"
posref="TM TM" posref="TM TM"
x="0" x="0"
y="-20" y="-10"
color="255 255 255 255" color="255 255 255 255"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
@ -416,6 +416,7 @@
y="30" y="30"
w="0" w="0"
h="16" h="16"
y_text="-5"
fontsize="10" fontsize="10"
hardtext="uiDeathWarningAvoid" hardtext="uiDeathWarningAvoid"
dblink="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID" dblink="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID"
@ -424,7 +425,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="-2" text_y="-0"
onclick_l="proc" onclick_l="proc"
params_l="death_warning_close" params_l="death_warning_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -463,9 +464,9 @@
</proc> </proc>
<group type="container" <group type="container"
id="night_warning" id="night_warning"
w="400" w="500"
pop_min_w="400" pop_min_w="500"
pop_max_w="400" pop_max_w="500"
h="250" h="250"
pop_min_h="250" pop_min_h="250"
pop_max_h="250" pop_max_h="250"
@ -508,7 +509,7 @@
id="night_warning_text" id="night_warning_text"
posref="TM TM" posref="TM TM"
x="0" x="0"
y="-20" y="-10"
color="255 255 255 255" color="255 255 255 255"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
@ -531,7 +532,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="-2" text_y="-0"
onclick_l="proc" onclick_l="proc"
params_l="night_warning_close" params_l="night_warning_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -863,10 +864,8 @@
</group> </group>
</group> </group>
</group> </group>
<!--<define id="cs_url"
value="http://app.ryzom.com/ticket_system/index.php?mode=load" />-->
<define id="cs_url" <define id="cs_url"
value="http://lirria.khaganat.net/ams/" /> value="https://app.khaganat.net/ams/" />
<group type="container" <group type="container"
id="cs_browser" id="cs_browser"
w="410" w="410"
@ -907,22 +906,7 @@
group_params_r="menu=ui:interface:base_menu_with_color" group_params_r="menu=ui:interface:base_menu_with_color"
on_active="lua" on_active="lua"
on_active_params="help:openCSBrowserHeader('cs_browser')"> on_active_params="help:openCSBrowserHeader('cs_browser')">
<!--Quitta start-->
<ctrl style="text_button_header"
button_type="push_button"
id="browse_home"
posref="MR MR"
x="-16"
y="0"
hardtext="AMS-HOME"
tooltip="uittBrowseHome"
onclick_l="browse_home"
params_l="name=ui:interface:cs_browser:content:html"
frozen="false" />
<!--Quitta end-->
</group> </group>
<group id="content" <group id="content"
x="0" x="0"
@ -937,9 +921,9 @@
url="home" url="home"
title_prefix="uiHelpTitle" title_prefix="uiHelpTitle"
sizeref="wh" sizeref="wh"
x="2" x="184"
y="0" y="0"
w="-4" w="-190"
h="0" h="0"
background_color="0 0 0 255" background_color="0 0 0 255"
error_color="255 240 48 255" error_color="255 240 48 255"
@ -960,7 +944,7 @@
h6_font_size="12" h6_font_size="12"
paragraph_begin_space="12" paragraph_begin_space="12"
multi_line_space_factor="0.25" multi_line_space_factor="0.25"
td_begin_space="10" td_begin_space="0"
li_begin_space="4" li_begin_space="4"
ul_begin_space="12" ul_begin_space="12"
li_indent="-10" li_indent="-10"
@ -1007,6 +991,43 @@
<ctrl style="skin_scroll" <ctrl style="skin_scroll"
id="scroll_bar" /> id="scroll_bar" />
</group> </group>
<group id="sbtree"
posref="TL TL"
x="0"
y="-12"
sizeref="h"
w="180"
h="-12">
<group id="black"
posref="BR BR"
sizeref="hw"
w="-12"
h="0"
inherit_gc_alpha="true" />
<instance template="inner_thin_border"
posparent="black"
inherit_gc_alpha="true" />
<group id="tree_list"
type="tree"
posref="TL TL"
x="16"
y="-4"
col_over="255 255 255 48"
col_select="255 255 255 80"
fontsize="10"
max_sizeparent="parent"
max_sizeref="wh"
max_w="-20"
max_h="-10">
<node name="uiCSBase"
handler="launch_help"
params="help_container=ui:interface:cs_browser|url=%cs_url" />
</group>
<ctrl style="skin_scroll"
id="scroll_bar"
align="T"
target="tree_list" />
</group>
</group> </group>
</group> </group>
<!--******************--> <!--******************-->
@ -2809,7 +2830,7 @@
global_color_normal="true" global_color_normal="true"
global_color_over="true" global_color_over="true"
global_color_pushed="true" global_color_pushed="true"
text_y="-2" text_y="-0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -2868,21 +2889,21 @@
x="4" x="4"
y="0" y="0"
posref="TL TL" posref="TL TL"
text_y="-2" text_y="-0"
onclick_l="proc" onclick_l="proc"
params_l="proc_stat_report_yes" params_l="proc_stat_report_yes"
hardtext="uiYes" /> hardtext="uiYes" />
<ctrl style="button_cancel" <ctrl style="button_cancel"
x="4" x="4"
posparent="ok" posparent="ok"
text_y="-2" text_y="-0"
posref="TR TL" posref="TR TL"
onclick_l="leave_modal" onclick_l="leave_modal"
hardtext="uiNo" /> hardtext="uiNo" />
<ctrl style="button_always" <ctrl style="button_always"
x="4" x="4"
posparent="cancel" posparent="cancel"
text_y="-2" text_y="-0"
posref="TR TL" posref="TR TL"
onclick_l="proc" onclick_l="proc"
params_l="proc_stat_report_always" params_l="proc_stat_report_always"

View file

@ -267,27 +267,27 @@ function game:onDrawNpcWebPage()
local available local available
if config.Local == 1 then if config.Local == 1 then
available = (NicoMagicURL ~= "") available = (NicoMagicURL ~= "")
else else
available = isDynStringAvailable(self.NpcWebPage.UrlTextId) available = isDynStringAvailable(self.NpcWebPage.UrlTextId)
end end
if(available) then if(available) then
local ucUrl local ucUrl
if config.Local == 1 then if config.Local == 1 then
ucUrl = ucstring(NicoMagicURL) -- for test in local mode ucUrl = ucstring(NicoMagicURL) -- for test in local mode
else else
ucUrl = getDynString(self.NpcWebPage.UrlTextId); ucUrl = getDynString(self.NpcWebPage.UrlTextId);
end end
-- browse -- browse
local uiStr= getUIId(getUICaller()); local uiStr= getUIId(getUICaller());
-- if the url -- if the url
local utf8Url = ucUrl:toUtf8() local utf8Url = ucUrl:toUtf8()
local isRing = string.find(utf8Url, "ring_access_point=1") ~= nil local isRing = string.find(utf8Url, "ring_access_point=1") ~= nil
if isRing then if isRing then
getUI("ui:interface:npc_web_browser").active = false getUI("ui:interface:npc_web_browser").active = false
runAH(nil, "context_ring_sessions", "") runAH(nil, "context_ring_sessions", "")
return return
else else
local hideWindow = string.find(utf8Url, "_hideWindow=1") ~= nil local hideWindow = string.find(utf8Url, "_hideWindow=1") ~= nil
if hideWindow then if hideWindow then
getUI("ui:interface:npc_web_browser").active = false getUI("ui:interface:npc_web_browser").active = false
end end
@ -336,14 +336,14 @@ function game:startNpcWebPage()
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:closeNpcWebBrowserHeader() function game:closeNpcWebBrowserHeader()
local ui = getUI('ui:interface:npc_web_browser'); local ui = getUI('ui:interface:npc_web_browser');
-- save size -- save size
ui_npc_web_browser_h = ui.h; ui_npc_web_browser_h = ui.h;
ui_npc_web_browser_w = ui.w; ui_npc_web_browser_w = ui.w;
-- reduce window size -- reduce window size
ui.pop_min_h = 32; ui.pop_min_h = 32;
ui.h = 0; ui.h = 0;
@ -351,7 +351,7 @@ function game:closeNpcWebBrowserHeader()
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:openNpcWebBrowserHeader() function game:openNpcWebBrowserHeader()
local ui = getUI('ui:interface:npc_web_browser'); local ui = getUI('ui:interface:npc_web_browser');
ui.pop_min_h = 96; ui.pop_min_h = 96;
@ -360,7 +360,7 @@ function game:openNpcWebBrowserHeader()
if (ui_npc_web_browser_h ~= nil) then if (ui_npc_web_browser_h ~= nil) then
ui.h = ui_npc_web_browser_h; ui.h = ui_npc_web_browser_h;
end end
if (ui_npc_web_browser_w ~= nil) then if (ui_npc_web_browser_w ~= nil) then
ui.w = ui_npc_web_browser_w; ui.w = ui_npc_web_browser_w;
end end
@ -538,7 +538,7 @@ function game:updateFameBar(path)
uiMaxLimit.x = barX + barW * (fameMax + 100) / 200; uiMaxLimit.x = barX + barW * (fameMax + 100) / 200;
-- init bar3d -- init bar3d
if (bar3dStart < bar3dLimit) then if (bar3dStart < bar3dLimit) then
uiBar3d.x= bar3dStart; uiBar3d.x= bar3dStart;
uiBar3d.w= bar3dLimit-bar3dStart; uiBar3d.w= bar3dLimit-bar3dStart;
else else
@ -553,7 +553,7 @@ function game:updateFameBarTT(path)
local fameMax = getDbProp(path .. ':THRESHOLD'); local fameMax = getDbProp(path .. ':THRESHOLD');
local text = i18n.get('uittFameMaxPossible'); local text = i18n.get('uittFameMaxPossible');
text = findReplaceAll(text, '%famemax', tostring(fameMax)); text = findReplaceAll(text, '%famemax', tostring(fameMax));
setContextHelpText(text); setContextHelpText(text);
end end
@ -564,12 +564,12 @@ function game:getPvpEffects()
local i; local i;
local hasBonus = false; local hasBonus = false;
local hasMalus = false; local hasMalus = false;
local text = '' local text = ''
local textBonus = ''; local textBonus = '';
local textMalus = ''; local textMalus = '';
local fmt; local fmt;
-- check every malus and bonus -- check every malus and bonus
for i=0, n do for i=0, n do
local path = formatUI('SERVER:PVP_EFFECTS:#1', i); local path = formatUI('SERVER:PVP_EFFECTS:#1', i);
@ -611,7 +611,7 @@ function game:getPvpEffects()
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
function game:getFactionName(id) function game:getFactionName(id)
if (id == self.TPVPClan.Kami) then if (id == self.TPVPClan.Kami) then
return i18n.get('uiFameKami'); return i18n.get('uiFameKami');
elseif (id == self.TPVPClan.Karavan) then elseif (id == self.TPVPClan.Karavan) then
@ -636,10 +636,10 @@ function game:getAllegiancePoints()
local civPoints = getDbProp(path .. ':CIV_POINTS'); local civPoints = getDbProp(path .. ':CIV_POINTS');
local cult = getDbProp(path .. ':CULT'); local cult = getDbProp(path .. ':CULT');
local cultPoints = getDbProp(path .. ':CULT_POINTS'); local cultPoints = getDbProp(path .. ':CULT_POINTS');
local text; local text;
local uiGroup= getUICaller(); local uiGroup= getUICaller();
-- civ allegiance -- civ allegiance
if (civ == self.TPVPClan.None or civ == self.TPVPClan.Neutral) then if (civ == self.TPVPClan.None or civ == self.TPVPClan.Neutral) then
text = i18n.get('uiPvpFameNoCivAllegiance'); text = i18n.get('uiPvpFameNoCivAllegiance');
@ -647,9 +647,9 @@ function game:getAllegiancePoints()
text = i18n.get('uiPvpFameAllegiancePoints'); text = i18n.get('uiPvpFameAllegiancePoints');
text = findReplaceAll(text, '%faction', self:getFactionName(civ)); text = findReplaceAll(text, '%faction', self:getFactionName(civ));
text = findReplaceAll(text, '%points', tostring(civPoints)); text = findReplaceAll(text, '%points', tostring(civPoints));
end end
uiGroup.civ_allegiance_pts.uc_hardtext_format = text; uiGroup.civ_allegiance_pts.uc_hardtext_format = text;
-- cult allegiance -- cult allegiance
if (cult == self.TPVPClan.None or cult == self.TPVPClan.Neutral) then if (cult == self.TPVPClan.None or cult == self.TPVPClan.Neutral) then
text = i18n.get('uiPvpFameNoCultAllegiance'); text = i18n.get('uiPvpFameNoCultAllegiance');
@ -698,11 +698,11 @@ function game:fameAllegianceTooltipCultGuild()
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:tooltipDeltaValue(base, max) function game:tooltipDeltaValue(base, max)
-- Calculate delta -- Calculate delta
local val = max - base; local val = max - base;
local text; local text;
if (val == 0) then if (val == 0) then
text = concatUCString('@{FFFF}', tostring(max)); text = concatUCString('@{FFFF}', tostring(max));
@ -729,37 +729,37 @@ function game:tooltipDeltaValue(base, max)
text = concatUCString(text, ')'); text = concatUCString(text, ')');
end end
end end
return text; return text;
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:tooltipScore(dbBase, dbMax, ttFormat) function game:tooltipScore(dbBase, dbMax, ttFormat)
-- Get DB values -- Get DB values
local base = getDbProp(dbBase); local base = getDbProp(dbBase);
local max = getDbProp(dbMax); local max = getDbProp(dbMax);
-- Tooltip text -- Tooltip text
local fmt = i18n.get(ttFormat); local fmt = i18n.get(ttFormat);
local text = self:tooltipDeltaValue(base, max); local text = self:tooltipDeltaValue(base, max);
fmt = findReplaceAll(fmt, "%n", text ); fmt = findReplaceAll(fmt, "%n", text );
-- Set tooltip -- Set tooltip
setContextHelpText(fmt); setContextHelpText(fmt);
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- --
function game:tooltipScoreEP(dbBase, dbMax, ttFormat, dbLvl, dbMod) function game:tooltipScoreEP(dbBase, dbMax, ttFormat, dbLvl, dbMod)
-- Defender level -- Defender level
local defLvl= getDbProp(formatUI(dbLvl)); local defLvl= getDbProp(formatUI(dbLvl));
defLvl = math.max(0, defLvl); defLvl = math.max(0, defLvl);
-- Attacker level -- Attacker level
local attLvl = getBaseSkillValueMaxChildren(getSkillIdFromName('SF')); local attLvl = getBaseSkillValueMaxChildren(getSkillIdFromName('SF'));
-- Get DB values -- Get DB values
local base = getDbProp(dbBase); local base = getDbProp(dbBase);
local max = getDbProp(dbMax); local max = getDbProp(dbMax);
@ -774,7 +774,7 @@ function game:tooltipScoreEP(dbBase, dbMax, ttFormat, dbLvl, dbMod)
fmt = findReplaceAll(fmt, "%n", text ); fmt = findReplaceAll(fmt, "%n", text );
fmt = findReplaceAll(fmt, "%l", tostring(attLvl)); fmt = findReplaceAll(fmt, "%l", tostring(attLvl));
fmt = findReplaceAll(fmt, "%p", textChance); fmt = findReplaceAll(fmt, "%p", textChance);
-- Set tooltip -- Set tooltip
setContextHelpText(fmt); setContextHelpText(fmt);
end end
@ -786,7 +786,7 @@ end
---------------------------------- RING STATS --------------------------------------------------- ---------------------------------- RING STATS ---------------------------------------------------
------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------
RingPlayerInfo = RingPlayerInfo =
{ {
WaitingInfo = false, WaitingInfo = false,
LastRefreshTime = 0, LastRefreshTime = 0,
@ -810,7 +810,7 @@ end
-- --
function RingPlayerInfo:initRingStatPlayer() function RingPlayerInfo:initRingStatPlayer()
setOnDraw(self:getWindow(), "RingPlayerInfo:onRingRatingPlayerDraw()") setOnDraw(self:getWindow(), "RingPlayerInfo:onRingRatingPlayerDraw()")
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -819,16 +819,16 @@ function RingPlayerInfo:onRingRatingPlayerDraw()
local timeInSec = nltime.getLocalTime() / 1000 local timeInSec = nltime.getLocalTime() / 1000
if self.WaitingInfo then if self.WaitingInfo then
if timeInSec - self.LastRefreshTime > self.WaitingPeriod then if timeInSec - self.LastRefreshTime > self.WaitingPeriod then
self.WaitingInfo = false self.WaitingInfo = false
self.LastRefreshTime = nltime.getLocalTime() / 1000 self.LastRefreshTime = nltime.getLocalTime() / 1000
else else
if not self.InfoReceived then if not self.InfoReceived then
--debugInfo("No received info") --debugInfo("No received info")
end end
end end
else else
if timeInSec - self.LastRefreshTime > self.RefreshPeriod then if timeInSec - self.LastRefreshTime > self.RefreshPeriod then
self:refresh() self:refresh()
else else
--debugInfo("pas de refresh") --debugInfo("pas de refresh")
@ -844,7 +844,7 @@ function RingPlayerInfo:updatePendingRefresh()
if self.PendingRefresh then if self.PendingRefresh then
local currTime = nltime.getLocalTime() / 1000 local currTime = nltime.getLocalTime() / 1000
if currTime - self.LastRefreshQuerryTime > self.MinRefreshPeriod and game.getRingStats then if currTime - self.LastRefreshQuerryTime > self.MinRefreshPeriod and game.getRingStats then
self.LastRefreshQuerryTime = currTime self.LastRefreshQuerryTime = currTime
self.PendingRefresh = false self.PendingRefresh = false
game.getRingStats() game.getRingStats()
@ -924,10 +924,10 @@ end
-- --
function RingPlayerInfo:refresh() function RingPlayerInfo:refresh()
self.PendingRefresh = true self.PendingRefresh = true
self.LastRefreshTime = nltime.getLocalTime() / 1000 self.LastRefreshTime = nltime.getLocalTime() / 1000
self.WaitingInfo = true self.WaitingInfo = true
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
-- --
@ -937,7 +937,7 @@ function RingPlayerInfo:tooltipEcosystemPoints(rp, maxRp, ttFormat)
local fmt = i18n.get(ttFormat); local fmt = i18n.get(ttFormat);
fmt = findReplaceAll(fmt, "%n", rp ); fmt = findReplaceAll(fmt, "%n", rp );
fmt = findReplaceAll(fmt, "%p", maxRp ); fmt = findReplaceAll(fmt, "%p", maxRp );
-- Set tooltip -- Set tooltip
return fmt; return fmt;
end end
@ -954,8 +954,8 @@ function RingPlayerInfo:updateRRPSLevel(dbVal, tooltip)
local ui= getUICaller(); local ui= getUICaller();
local uiText= ui.val; local uiText= ui.val;
-- set the text -- set the text
uiText.uc_hardtext= tostring(val) uiText.uc_hardtext= tostring(val)
self:tooltipRRPs(dbVal, tooltip) self:tooltipRRPs(dbVal, tooltip)
end end
@ -970,7 +970,7 @@ function RingPlayerInfo:tooltipRRPs(dbBase, ttFormat)
local fmt = i18n.get(ttFormat); local fmt = i18n.get(ttFormat);
local text = tostring(val) local text = tostring(val)
fmt = findReplaceAll(fmt, "%n", text ); fmt = findReplaceAll(fmt, "%n", text );
-- Set tooltip -- Set tooltip
setContextHelpText(fmt); setContextHelpText(fmt);
end end
@ -1013,7 +1013,7 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
-- --
function game:updateOrganization(path, uiOrgText, uiStatusText, uiPointsText) function game:updateOrganization(path, uiOrgText, uiStatusText, uiPointsText)
local org = getDbProp(path.."1:VALUE") local org = getDbProp(path.."1:VALUE")
getUICaller()[uiOrgText].uc_hardtext = i18n.get('uiOrganization_' .. org) getUICaller()[uiOrgText].uc_hardtext = i18n.get('uiOrganization_' .. org)
@ -1022,7 +1022,7 @@ function game:updateOrganization(path, uiOrgText, uiStatusText, uiPointsText)
local points = getDbProp(path.."3:VALUE") local points = getDbProp(path.."3:VALUE")
getUICaller()[uiPointsText].uc_hardtext= points getUICaller()[uiPointsText].uc_hardtext= points
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
@ -1033,10 +1033,10 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:popMissionList() function game:popMissionList()
local menu = getUI("ui:interface:mission_cb_menu") local menu = getUI("ui:interface:mission_cb_menu")
enableModalWindow(getUICaller(), "ui:interface:mission_cb_menu") enableModalWindow(getUICaller(), "ui:interface:mission_cb_menu")
self:updateMissionMenuSize() self:updateMissionMenuSize()
end end
@ -1053,12 +1053,12 @@ function game:getMissionDbPath(missionIndex)
return "SERVER:GROUP:MISSIONS:" .. tostring(missionIndex - numMissions) return "SERVER:GROUP:MISSIONS:" .. tostring(missionIndex - numMissions)
else else
return "SERVER:MISSIONS:" .. tostring(missionIndex) return "SERVER:MISSIONS:" .. tostring(missionIndex)
end end
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:getCurrMissionIndex() function game:getCurrMissionIndex()
local result = getDbProp("UI:SAVE:MISSION_SELECTED") local result = getDbProp("UI:SAVE:MISSION_SELECTED")
return result return result
end end
@ -1071,10 +1071,10 @@ end
function game:updateCurrMissionComboBox() function game:updateCurrMissionComboBox()
local numMissions = tonumber(getDefine("ipj_nb_mission")) local numMissions = tonumber(getDefine("ipj_nb_mission"))
local missionFound = false local missionFound = false
local cb = getUI("ui:interface:info_player_journal:content:mission_combo") local cb = getUI("ui:interface:info_player_journal:content:mission_combo")
local missionList = getUI("ui:interface:info_player_journal:content:mission_list") local missionList = getUI("ui:interface:info_player_journal:content:mission_list")
for i = 0, numMissions - 1 do for i = 0, numMissions - 1 do
if getDbProp("SERVER:MISSIONS:" .. i .. ":TITLE") ~= 0 if getDbProp("SERVER:MISSIONS:" .. i .. ":TITLE") ~= 0
or getDbProp("SERVER:GROUP:MISSIONS:" .. i .. ":TITLE") ~= 0 then or getDbProp("SERVER:GROUP:MISSIONS:" .. i .. ":TITLE") ~= 0 then
missionFound = true missionFound = true
break break
@ -1095,20 +1095,20 @@ function game:updateCurrMissionComboBox()
missionList.no_available_mission.active = false missionList.no_available_mission.active = false
cb.arrow.active = true cb.arrow.active = true
cb.select.active = true cb.select.active = true
local currMission = self:getCurrMissionIndex() local currMission = self:getCurrMissionIndex()
local dbPath = self:getMissionDbPath(currMission) local dbPath = self:getMissionDbPath(currMission)
-- --
local selected = (currMission ~= -1) local selected = (currMission ~= -1)
if selected then if selected then
cb.mission_title.textid_dblink = dbPath .. ":TITLE" cb.mission_title.textid_dblink = dbPath .. ":TITLE"
selected = (tile ~= 0) selected = (tile ~= 0)
end end
cb.mission_ico.active = selected cb.mission_ico.active = selected
cb.mission_title.active = selected cb.mission_title.active = selected
cb.no_selected_mission.active = not selected cb.no_selected_mission.active = not selected
missionList.no_selected_mission.active = not selected missionList.no_selected_mission.active = not selected
if selected then if selected then
if getDbProp(dbPath .. ":FINISHED") == 0 then if getDbProp(dbPath .. ":FINISHED") == 0 then
cb.mission_ico.texture = runExpr("getMissionSmallIcon(" .. tostring(getDbProp(dbPath .. ":ICON") .. ")")) cb.mission_ico.texture = runExpr("getMissionSmallIcon(" .. tostring(getDbProp(dbPath .. ":ICON") .. ")"))
elseif getDbProp(dbPath .. ":FINISHED") == 1 then elseif getDbProp(dbPath .. ":FINISHED") == 1 then
@ -1116,17 +1116,17 @@ function game:updateCurrMissionComboBox()
else else
cb.mission_ico.texture = "Small_Task_Failed.tga" cb.mission_ico.texture = "Small_Task_Failed.tga"
end end
end end
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionSelected(index) function game:onMissionSelected(index)
disableModalWindow() disableModalWindow()
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onGroupMissionSelected(index) function game:onGroupMissionSelected(index)
disableModalWindow() disableModalWindow()
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
end end
@ -1138,33 +1138,33 @@ function game:onMissionDBIndexChanged()
-- if selection was made from the list, update the other list -- if selection was made from the list, update the other list
if missionIndex >= self:getGroupMissionFirstIndex() then if missionIndex >= self:getGroupMissionFirstIndex() then
local groupMissionIndex = missionIndex - self:getGroupMissionFirstIndex() local groupMissionIndex = missionIndex - self:getGroupMissionFirstIndex()
getUI("ui:interface:info_player_journal:content:mission_list:b_group_title" .. tostring(groupMissionIndex)).pushed = true getUI("ui:interface:info_player_journal:content:mission_list:b_group_title" .. tostring(groupMissionIndex)).pushed = true
getUI("ui:interface:mission_cb_menu:mission_list:b_group_title" .. tostring(groupMissionIndex)).pushed = true getUI("ui:interface:mission_cb_menu:mission_list:b_group_title" .. tostring(groupMissionIndex)).pushed = true
else else
getUI("ui:interface:info_player_journal:content:mission_list:b_title" .. tostring(missionIndex)).pushed = true getUI("ui:interface:info_player_journal:content:mission_list:b_title" .. tostring(missionIndex)).pushed = true
getUI("ui:interface:mission_cb_menu:mission_list:b_title" .. tostring(missionIndex)).pushed = true getUI("ui:interface:mission_cb_menu:mission_list:b_title" .. tostring(missionIndex)).pushed = true
end end
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionTitleChanged(index) function game:onMissionTitleChanged(index)
-- if title is not nil then a new mission has been added -> if db initilization is over, then selected this new mission -- if title is not nil then a new mission has been added -> if db initilization is over, then selected this new mission
if getDbProp(self:getMissionDbPath(index) .. ":TITLE") ~= 0 then if getDbProp(self:getMissionDbPath(index) .. ":TITLE") ~= 0 then
if game.InGameDbInitialized or config.Local then if game.InGameDbInitialized or config.Local then
self:setCurrentMission(index) self:setCurrentMission(index)
end end
else else
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
self:updateMissionMenuSize() self:updateMissionMenuSize()
end end
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onGroupMissionTitleChanged(index) function game:onGroupMissionTitleChanged(index)
if getDbProp(self:getMissionDbPath(index + 15) .. ":TITLE") ~= 0 then if getDbProp(self:getMissionDbPath(index + 15) .. ":TITLE") ~= 0 then
if game.InGameDbInitialized or config.Local then if game.InGameDbInitialized or config.Local then
self:setCurrentMission(index + 15) self:setCurrentMission(index + 15)
end end
else else
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
self:updateMissionMenuSize() self:updateMissionMenuSize()
end end
@ -1174,21 +1174,21 @@ end
function game:updateMissionMenuSize() function game:updateMissionMenuSize()
local parentCB = getUI("ui:interface:info_player_journal:content:mission_combo") local parentCB = getUI("ui:interface:info_player_journal:content:mission_combo")
local menu = getUI("ui:interface:mission_cb_menu") local menu = getUI("ui:interface:mission_cb_menu")
if not menu.active then return end if not menu.active then return end
local maxNumMissions = 2 * self:getGroupMissionFirstIndex() local maxNumMissions = 2 * self:getGroupMissionFirstIndex()
local missionCount = 0 local missionCount = 0
for k = 0, maxNumMissions - 1 do for k = 0, maxNumMissions - 1 do
if getDbProp(self:getMissionDbPath(k) .. ":TITLE") ~= 0 then if getDbProp(self:getMissionDbPath(k) .. ":TITLE") ~= 0 then
missionCount = missionCount + 1 missionCount = missionCount + 1
end end
end end
menu.h = 8 + missionCount * 18 menu.h = 8 + missionCount * 18
menu.y = 0 menu.y = 0
menu:updateCoords() menu:updateCoords()
local y = parentCB.y_real - menu.h_real - 1 local y = parentCB.y_real - menu.h_real - 1
if y < 0 then if y < 0 then
y = parentCB.y_real + parentCB.h_real + 1 y = parentCB.y_real + parentCB.h_real + 1
end end
local scrW local scrW
local scrH local scrH
scrW, scrH = getWindowSize() scrW, scrH = getWindowSize()
@ -1197,7 +1197,7 @@ function game:updateMissionMenuSize()
end end
menu.w = parentCB.w_real menu.w = parentCB.w_real
menu.y = y menu.y = y
menu.x = parentCB.x_real menu.x = parentCB.x_real
menu.h = 8 + missionCount * 18 menu.h = 8 + missionCount * 18
menu:invalidateCoords() menu:invalidateCoords()
end end
@ -1205,7 +1205,7 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
--function game:updateMissionDescCloseButton(index) --function game:updateMissionDescCloseButton(index)
-- local dbPath = self:getMissionDbPath(index) -- local dbPath = self:getMissionDbPath(index)
-- if index == self:getCurrMissionIndex() then -- if index == self:getCurrMissionIndex() then
-- local closeText = getUI("ui:interface:info_player_journal:content:desc:close") -- local closeText = getUI("ui:interface:info_player_journal:content:desc:close")
-- local button = getUI("ui:interface:info_player_journal:content:desc:uppart:over_icon") -- local button = getUI("ui:interface:info_player_journal:content:desc:uppart:over_icon")
-- local finished = getDbProp(dbPath .. ":FINISHED") -- local finished = getDbProp(dbPath .. ":FINISHED")
@ -1224,29 +1224,29 @@ end
--end --end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionFinished(index) function game:onMissionFinished(index)
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
--self:updateMissionDescCloseButton(index) --self:updateMissionDescCloseButton(index)
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onGroupMissionFinished(index) function game:onGroupMissionFinished(index)
self:updateCurrMissionComboBox() self:updateCurrMissionComboBox()
--self:updateMissionDescCloseButton(index + game:getGroupMissionFirstIndex()) --self:updateMissionDescCloseButton(index + game:getGroupMissionFirstIndex())
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:expandMissionList() function game:expandMissionList()
local missionCB = getUI("ui:interface:info_player_journal:content:mission_combo") local missionCB = getUI("ui:interface:info_player_journal:content:mission_combo")
missionCB.active = not missionCB.active missionCB.active = not missionCB.active
self:updateMissionWindowLayout() self:updateMissionWindowLayout()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:updateMissionWindowLayout() function game:updateMissionWindowLayout()
if not isInRingMode() then if not isInRingMode() then
local missionCB = getUI("ui:interface:info_player_journal:content:mission_combo") local missionCB = getUI("ui:interface:info_player_journal:content:mission_combo")
local missionList = getUI("ui:interface:info_player_journal:content:mission_list") local missionList = getUI("ui:interface:info_player_journal:content:mission_list")
local fake = getUI("ui:interface:info_player_journal:content:fake") local fake = getUI("ui:interface:info_player_journal:content:fake")
local sepBis = getUI("ui:interface:info_player_journal:content:separator_bis") local sepBis = getUI("ui:interface:info_player_journal:content:separator_bis")
local desc = getUI("ui:interface:info_player_journal:content:desc") local desc = getUI("ui:interface:info_player_journal:content:desc")
@ -1254,18 +1254,18 @@ function game:updateMissionWindowLayout()
local popMinH local popMinH
local win = getUI("ui:interface:info_player_journal") local win = getUI("ui:interface:info_player_journal")
if missionCB.active then if missionCB.active then
sepBis.active = false sepBis.active = false
missionList.active = false missionList.active = false
fake.sizeref="" fake.sizeref=""
fake.y = -32 fake.y = -32
fake.h = 0 fake.h = 0
expanded = 0 expanded = 0
desc.max_sizeref ="wh" desc.max_sizeref ="wh"
desc.max_h= -42 desc.max_h= -42
win.pop_min_h = 152 - win.content_y_offset win.pop_min_h = 152 - win.content_y_offset
else else
sepBis.active = true sepBis.active = true
missionList.active = true missionList.active = true
fake.sizeref="wh5" fake.sizeref="wh5"
fake.y = -8 fake.y = -8
@ -1274,23 +1274,23 @@ function game:updateMissionWindowLayout()
desc.max_sizeref ="wh5" desc.max_sizeref ="wh5"
desc.max_h=16 desc.max_h=16
win.pop_min_h = 152 - win.content_y_offset win.pop_min_h = 152 - win.content_y_offset
end end
local fixedEntry = getUI("ui:interface:info_player_journal:content:mission_fixed_entry") local fixedEntry = getUI("ui:interface:info_player_journal:content:mission_fixed_entry")
fixedEntry:updateCoords() fixedEntry:updateCoords()
desc.max_h = desc.max_h - fixedEntry.h desc.max_h = desc.max_h - fixedEntry.h
setDbProp("UI:SAVE:EXPAND_MISSION_LIST", expanded) setDbProp("UI:SAVE:EXPAND_MISSION_LIST", expanded)
getUI("ui:interface:info_player_journal"):invalidateCoords() getUI("ui:interface:info_player_journal"):invalidateCoords()
end end
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionJournalOpened() function game:onMissionJournalOpened()
local missionDesc = getUI("ui:interface:info_player_journal:content:desc") local missionDesc = getUI("ui:interface:info_player_journal:content:desc")
missionDesc.active = getDbProp("UI:SAVE:MISSION_SELECTED") ~= -1 missionDesc.active = getDbProp("UI:SAVE:MISSION_SELECTED") ~= -1
local expandList = getDbProp("UI:SAVE:EXPAND_MISSION_LIST") local expandList = getDbProp("UI:SAVE:EXPAND_MISSION_LIST")
self:updateMissionJournalMode() self:updateMissionJournalMode()
if not isInRingMode() then if not isInRingMode() then
@ -1304,9 +1304,9 @@ function game:onMissionJournalOpened()
self:updateMissionJournalHeader() self:updateMissionJournalHeader()
self:updateMissionWindowLayout() self:updateMissionWindowLayout()
self:updateMissionJournalFixedEntry() self:updateMissionJournalFixedEntry()
end end
@ -1315,12 +1315,12 @@ function game:updateMissionJournalHeader()
local win = getUI("ui:interface:info_player_journal") local win = getUI("ui:interface:info_player_journal")
local headerActive = getDbProp("UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE") ~= 0 local headerActive = getDbProp("UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE") ~= 0
win.header_active = headerActive win.header_active = headerActive
win.right_button_enabled = headerActive win.right_button_enabled = headerActive
if headerActive then if headerActive then
win.uc_title_opened = i18n.get("uiJournalTitle") win.uc_title_opened = i18n.get("uiJournalTitle")
win.content_y_offset = 0 win.content_y_offset = 0
else else
win.uc_title_opened = ucstring("") win.uc_title_opened = ucstring("")
win.content_y_offset = win.header_opened.h_real + 3 win.content_y_offset = win.header_opened.h_real + 3
end end
end end
@ -1329,13 +1329,13 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:updateMissionJournalFixedEntry() function game:updateMissionJournalFixedEntry()
-- update fixed entry text -- update fixed entry text
local fixedEntryRing = getUI("ui:interface:info_player_journal:no_available_missions:main:mission_fixed_entry") local fixedEntryRing = getUI("ui:interface:info_player_journal:no_available_missions:main:mission_fixed_entry")
local fixedEntryMain = getUI("ui:interface:info_player_journal:content:mission_fixed_entry") local fixedEntryMain = getUI("ui:interface:info_player_journal:content:mission_fixed_entry")
fixedEntryRing.active = game.InGameDbInitialized and isInRingMode() fixedEntryRing.active = game.InGameDbInitialized and isInRingMode()
fixedEntryMain.active = game.InGameDbInitialized and not isInRingMode() fixedEntryMain.active = game.InGameDbInitialized and not isInRingMode()
local id = "uiFixedMissionEntry" local id = "uiFixedMissionEntry"
@ -1346,22 +1346,22 @@ function game:updateMissionJournalFixedEntry()
end end
if isPlayerFreeTrial() then if isPlayerFreeTrial() then
id = id .. "_Trial" id = id .. "_Trial"
end end
else else
if isInRingMode() then if isInRingMode() then
id = id .. "_R2" id = id .. "_R2"
else else
id = id .. "_Mainland_" .. getUserRace() id = id .. "_Mainland_" .. getUserRace()
end end
end end
fixedEntryMain.uc_hardtext = i18n.get(id) fixedEntryMain.uc_hardtext = i18n.get(id)
fixedEntryRing.uc_hardtext = i18n.get(id) fixedEntryRing.uc_hardtext = i18n.get(id)
self:updateMissionWindowLayout() self:updateMissionWindowLayout()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:setCurrentMission(index) function game:setCurrentMission(index)
mw = getMissionWindow() mw = getMissionWindow()
mw.active = game.InGameDbInitialized mw.active = game.InGameDbInitialized
if index < self:getGroupMissionFirstIndex() then if index < self:getGroupMissionFirstIndex() then
@ -1372,7 +1372,7 @@ function game:setCurrentMission(index)
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionComboWheelUp() function game:onMissionComboWheelUp()
local currMissionIndex = self:getCurrMissionIndex() local currMissionIndex = self:getCurrMissionIndex()
while currMissionIndex > 0 do while currMissionIndex > 0 do
currMissionIndex = currMissionIndex - 1 currMissionIndex = currMissionIndex - 1
@ -1384,7 +1384,7 @@ function game:onMissionComboWheelUp()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:onMissionComboWheelDown() function game:onMissionComboWheelDown()
local currMissionIndex = self:getCurrMissionIndex() local currMissionIndex = self:getCurrMissionIndex()
local maxNumMission = 2 * self:getGroupMissionFirstIndex() local maxNumMission = 2 * self:getGroupMissionFirstIndex()
while currMissionIndex < (maxNumMission - 1) do while currMissionIndex < (maxNumMission - 1) do
@ -1399,37 +1399,37 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
function game:toggleMissionJournalCaption() function game:toggleMissionJournalCaption()
local dbPath = "UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE" local dbPath = "UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE"
setDbProp(dbPath, 1 - getDbProp(dbPath)) setDbProp(dbPath, 1 - getDbProp(dbPath))
local win = getUI("ui:interface:info_player_journal") local win = getUI("ui:interface:info_player_journal")
self:updateMissionJournalHeader() self:updateMissionJournalHeader()
self:updateMissionWindowLayout() self:updateMissionWindowLayout()
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
-- handler called by C++ to tell that the main loop is about to begin -- handler called by C++ to tell that the main loop is about to begin
function game:onMainLoopBegin() function game:onMainLoopBegin()
game.InGameDbInitialized = false game.InGameDbInitialized = false
game.PrevSessionMission = getDbProp("UI:VARIABLES:MISSION_SELECTED_PREV_SESSION") game.PrevSessionMission = getDbProp("UI:VARIABLES:MISSION_SELECTED_PREV_SESSION")
debugInfo("onMainLoopBegin()") debugInfo("onMainLoopBegin()")
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
-- handler called by C++ to tell that all initial value have been set in the db -- handler called by C++ to tell that all initial value have been set in the db
function game:onInGameDbInitialized() function game:onInGameDbInitialized()
game.InGameDbInitialized = true game.InGameDbInitialized = true
-- if the journal is opened, force an update for the fixed entry text -- if the journal is opened, force an update for the fixed entry text
-- (says if we're in start island, paying account ...) need DB flags like -- (says if we're in start island, paying account ...) need DB flags like
-- IS_NEWBIE & IS_TRIAL to be received -- IS_NEWBIE & IS_TRIAL to be received
game:updateMissionJournalFixedEntry() game:updateMissionJournalFixedEntry()
-- If a mission was previously selected, restore it -- If a mission was previously selected, restore it
if game.PrevSessionMission ~= -1 then if game.PrevSessionMission ~= -1 then
self:setCurrentMission(game.PrevSessionMission) self:setCurrentMission(game.PrevSessionMission)
end end
game:setInfoPlayerCharacterRace() game:setInfoPlayerCharacterRace()
end end
@ -1437,7 +1437,7 @@ function game:onWebIgReady()
-- Call init webig -- Call init webig
getUI("ui:interface:web_transactions:content:html"):browse("home") getUI("ui:interface:web_transactions:content:html"):browse("home")
getUI("ui:interface:webig:content:html"):browse("home") getUI("ui:interface:webig:content:html"):browse("home")
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1464,7 +1464,7 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
-- ring journal on / off -- ring journal on / off
function game:setMissionJournalRingMode(isRing) function game:setMissionJournalRingMode(isRing)
local journal = getUI("ui:interface:info_player_journal") local journal = getUI("ui:interface:info_player_journal")
if isRing then if isRing then
journal.content.expand_mission_list.active = false journal.content.expand_mission_list.active = false
@ -1480,7 +1480,7 @@ function game:setMissionJournalRingMode(isRing)
journal.no_available_missions.active = true journal.no_available_missions.active = true
else else
journal.content.expand_mission_list.active = true journal.content.expand_mission_list.active = true
journal.no_available_missions.active = false; journal.no_available_missions.active = false;
journal.content.active = true; journal.content.active = true;
--journal.content.mission_list.active = true; --journal.content.mission_list.active = true;
journal.content.sv.active = true; journal.content.sv.active = true;
@ -1494,8 +1494,8 @@ end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
-- update mission journal depending on wether we're in the ring or not -- update mission journal depending on wether we're in the ring or not
function game:updateMissionJournalMode() function game:updateMissionJournalMode()
--local isRing = r2~=nil and r2.Mode~=nil and r2.Mode=='r2ed_anim_test' --local isRing = r2~=nil and r2.Mode~=nil and r2.Mode=='r2ed_anim_test'
game:setMissionJournalRingMode(isInRingMode()) game:setMissionJournalRingMode(isInRingMode())
end end
@ -1521,22 +1521,22 @@ function game:onNewMissionStepAdded(stepIndex)
end end
-- debugInfo("New Step") -- debugInfo("New Step")
if missionIndex < 15 then if missionIndex < 15 then
dbPath = "SERVER:MISSIONS:" .. tostring(missionIndex) .. ":GOALS:" .. tostring(stepIndex) .. ":TEXT" dbPath = "SERVER:MISSIONS:" .. tostring(missionIndex) .. ":GOALS:" .. tostring(stepIndex) .. ":TEXT"
else else
dbPath = "SERVER:GROUP:MISSIONS:" .. tostring(missionIndex - 15) .. ":GOALS:" .. tostring(stepIndex) .. ":TEXT" dbPath = "SERVER:GROUP:MISSIONS:" .. tostring(missionIndex - 15) .. ":GOALS:" .. tostring(stepIndex) .. ":TEXT"
end end
local stringID = getDbProp(dbPath) local stringID = getDbProp(dbPath)
if stringID ~= 0 then if stringID ~= 0 then
-- debugInfo(tostring(stringID)) -- debugInfo(tostring(stringID))
table.insert(remainingMissionTextIDs, stringID) table.insert(remainingMissionTextIDs, stringID)
setOnDraw(missionWnd, "game:ensureLastMissionStepVisibility0()") setOnDraw(missionWnd, "game:ensureLastMissionStepVisibility0()")
else else
end end
end end
function game:ensureLastMissionStepVisibility0() function game:ensureLastMissionStepVisibility0()
local missing = false local missing = false
for k, v in pairs(remainingMissionTextIDs) do for k, v in pairs(remainingMissionTextIDs) do
if not isDynStringAvailable(v) then if not isDynStringAvailable(v) then
@ -1545,54 +1545,54 @@ function game:ensureLastMissionStepVisibility0()
end end
end end
local missionWnd = getMissionWindow() local missionWnd = getMissionWindow()
if not missing then if not missing then
remainingMissionTextIDs = {} remainingMissionTextIDs = {}
-- delay real update to newt frame -- delay real update to newt frame
setOnDraw(missionWnd, "game:ensureLastMissionStepVisibility1()") setOnDraw(missionWnd, "game:ensureLastMissionStepVisibility1()")
else else
-- for debug : dump the list of remaining "dyn string" -- for debug : dump the list of remaining "dyn string"
--local stringList = "{" --local stringList = "{"
--for k, v in remainingMissionTextIDs do --for k, v in remainingMissionTextIDs do
-- if not isDynStringAvailable(v) then -- if not isDynStringAvailable(v) then
-- stringList = stringList .. " " .. tostring(v) -- stringList = stringList .. " " .. tostring(v)
-- end -- end
--end --end
--stringList = stringList .. "}" --stringList = stringList .. "}"
end end
end end
function game:ensureLastMissionStepVisibility1() function game:ensureLastMissionStepVisibility1()
local missionWnd = getMissionWindow() local missionWnd = getMissionWindow()
local scrollBar = missionWnd:find("sv_desc") local scrollBar = missionWnd:find("sv_desc")
--scrollBar.trackPos = 20000 -- move upward --scrollBar.trackPos = 20000 -- move upward
--scrollBar:updateCoords() --scrollBar:updateCoords()
--setOnDraw(missionWnd, "") --setOnDraw(missionWnd, "")
local descWnd = missionWnd:find("desc") local descWnd = missionWnd:find("desc")
local maxNumSteps = getDefine("ipj_nb_goal") local maxNumSteps = getDefine("ipj_nb_goal")
local topStep local topStep
for stepIndex = 0, maxNumSteps -1 do for stepIndex = 0, maxNumSteps -1 do
local currStep = descWnd["step" .. tostring(stepIndex)] local currStep = descWnd["step" .. tostring(stepIndex)]
if currStep.active then if currStep.active then
topStep = currStep topStep = currStep
end end
end end
-- debugInfo("Found step : " .. topStep.hardtext) -- debugInfo("Found step : " .. topStep.hardtext)
if topStep == nil then if topStep == nil then
return return
end end
scrollBar:ensureVisible(topStep, "M", "M") scrollBar:ensureVisible(topStep, "M", "M")
--local wantedY = topStep.h_real / 2 - (descWnd.y_real - topStep.y_real) --local wantedY = topStep.h_real / 2 - (descWnd.y_real - topStep.y_real)
--local wantedY = descWnd.y_real + descWnd.h_real - topStep.y_real --local wantedY = descWnd.y_real + descWnd.h_real - topStep.y_real
--local offsetY = wantedY - descWnd.max_h_real / 2 --local offsetY = wantedY - descWnd.max_h_real / 2
--if offsetY < 0 then offsetY = 0 end --if offsetY < 0 then offsetY = 0 end
--descWnd.ofsy = offsetY --descWnd.ofsy = offsetY
--descWnd:invalidateCoords() --descWnd:invalidateCoords()
--descWnd:updateCoords() --descWnd:updateCoords()
setOnDraw(missionWnd, "") setOnDraw(missionWnd, "")
end end
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
@ -1606,9 +1606,9 @@ end
function game:addRpJob(jobtype, id, value, rpjobs) function game:addRpJob(jobtype, id, value, rpjobs)
local base_path = "ui:interface:info_player_skills:content:rpjobs:rpjob_"..jobtype.."_"..id..":rpjob_"..jobtype.."_infos_"..id local base_path = "ui:interface:info_player_skills:content:rpjobs:rpjob_"..jobtype.."_"..id..":rpjob_"..jobtype.."_infos_"..id
local group = getUI("ui:interface:info_player_skills:content:rpjobs:rpjob_"..jobtype.."_"..id) local group = getUI("ui:interface:info_player_skills:content:rpjobs:rpjob_"..jobtype.."_"..id)
if (value == nil) then if (value == nil) then
group.active = false group.active = false
else else
@ -1618,16 +1618,16 @@ function game:addRpJob(jobtype, id, value, rpjobs)
group.active = false group.active = false
else else
group.active = true group.active = true
local echelon_value = rpjobs[sitem][1] local echelon_value = rpjobs[sitem][1]
local quantity = rpjobs[sitem][2] local quantity = rpjobs[sitem][2]
local maxlevel = (echelon_value*6)-30 local maxlevel = (echelon_value*6)-30
if (quantity > maxlevel) then if (quantity > maxlevel) then
quantity = maxlevel quantity = maxlevel
end end
local base = getUI(base_path..":t") local base = getUI(base_path..":t")
base.hardtext = i18n.get(name):toUtf8() base.hardtext = i18n.get(name):toUtf8()
local ui = getUI(base_path..":icon") local ui = getUI(base_path..":icon")
@ -1657,7 +1657,7 @@ function game:getRPJobs()
rpjobs_elementary = {} rpjobs_elementary = {}
rpjobs_roleplay = {} rpjobs_roleplay = {}
rpjobs = {} rpjobs = {}
for i = 0, 499, 1 do for i = 0, 499, 1 do
local sheet = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":SHEET") local sheet = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":SHEET")
if (sheet ~= 0) then if (sheet ~= 0) then
@ -1665,7 +1665,7 @@ function game:getRPJobs()
if (string.sub(name, 0, 6) == "rpjob_") then if (string.sub(name, 0, 6) == "rpjob_") then
local quality = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":QUALITY") local quality = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":QUALITY")
local quantity = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":QUANTITY") local quantity = getDbProp("SERVER:INVENTORY:BAG:"..tostring(i)..":QUANTITY")
if (name == "rpjob_advanced.sitem") then if (name == "rpjob_advanced.sitem") then
table.insert(rpjobs_advanced, quality) table.insert(rpjobs_advanced, quality)
else else
@ -1688,7 +1688,7 @@ function game:getRPJobs()
end end
end end
end end
for id=1,2,1 do for id=1,2,1 do
game:addRpJob("advanced", id, rpjobs_advanced[id], rpjobs) game:addRpJob("advanced", id, rpjobs_advanced[id], rpjobs)
end end

View file

@ -763,8 +763,8 @@
x="8" x="8"
y="-20" y="-20"
w="-8" w="-8"
tooltip="uittIdentityChaScore1" tooltip="uittIdentityHP"
text="uiChaScore1" text="uiHP"
val="%player_ChaScore1" val="%player_ChaScore1"
maxval="%player_ChaScore1_max" maxval="%player_ChaScore1_max"
baseval="%player_ChaScore1_base" /> baseval="%player_ChaScore1_base" />
@ -773,8 +773,8 @@
posparent="ChaScore1" posparent="ChaScore1"
posref="BL TL" posref="BL TL"
y="0" y="0"
tooltip="uittIdentityChaScore3" tooltip="uittIdentitySap"
text="uiChaScore3" text="uiSap"
val="%player_ChaScore3" val="%player_ChaScore3"
maxval="%player_ChaScore3_max" maxval="%player_ChaScore3_max"
baseval="%player_ChaScore3_base" /> baseval="%player_ChaScore3_base" />
@ -783,8 +783,8 @@
posparent="ChaScore3" posparent="ChaScore3"
posref="BL TL" posref="BL TL"
y="0" y="0"
tooltip="uittIdentityChaScore2" tooltip="uittIdentitySta"
text="uiChaScore2" text="uiStamina"
val="%player_ChaScore2" val="%player_ChaScore2"
maxval="%player_ChaScore2_max" maxval="%player_ChaScore2_max"
baseval="%player_ChaScore2_base" /> baseval="%player_ChaScore2_base" />
@ -793,8 +793,8 @@
posparent="ChaScore2" posparent="ChaScore2"
posref="BL TL" posref="BL TL"
y="0" y="0"
tooltip="uittIdentityChaScore4" tooltip="uittIdentityFoc"
text="uiChaScore4" text="uiFocus"
val="%player_ChaScore4" val="%player_ChaScore4"
maxval="%player_ChaScore4_max" maxval="%player_ChaScore4_max"
baseval="%player_ChaScore4_base" /> baseval="%player_ChaScore4_base" />
@ -813,37 +813,37 @@
x="8" x="8"
y="-105" y="-105"
w="-8" w="-8"
text="uiChaScore1" text="uiHP"
val="%player_ChaScore1reg" val="%player_ChaScore1reg"
baseval="%player_ChaScore1reg_base" baseval="%player_ChaScore1reg_base"
tooltip="uittIdentityChaScore1Reg" /> tooltip="uittIdentityHPReg" />
<instance template="tipc_characReg" <instance template="tipc_characReg"
id="ChaScore3reg" id="ChaScore3reg"
posparent="ChaScore1reg" posparent="ChaScore1reg"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiChaScore3" text="uiSap"
val="%player_ChaScore3reg" val="%player_ChaScore3reg"
baseval="%player_ChaScore3reg_base" baseval="%player_ChaScore3reg_base"
tooltip="uittIdentityChaScore3Reg" /> tooltip="uittIdentitySapReg" />
<instance template="tipc_characReg" <instance template="tipc_characReg"
id="ChaScore2reg" id="ChaScore2reg"
posparent="ChaScore3reg" posparent="ChaScore3reg"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiChaScore2" text="uiStamina"
val="%player_ChaScore2reg" val="%player_ChaScore2reg"
baseval="%player_ChaScore2reg_base" baseval="%player_ChaScore2reg_base"
tooltip="uittIdentityChaScore2Reg" /> tooltip="uittIdentityStaReg" />
<instance template="tipc_characReg" <instance template="tipc_characReg"
id="ChaScore4reg" id="ChaScore4reg"
posparent="ChaScore2reg" posparent="ChaScore2reg"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiChaScore4" text="uiFocus"
val="%player_ChaScore4reg" val="%player_ChaScore4reg"
baseval="%player_ChaScore4reg_base" baseval="%player_ChaScore4reg_base"
tooltip="uittIdentityChaScore4Reg" /> tooltip="uittIdentityFocReg" />
</group> </group>
<instance template="inner_thin_border" <instance template="inner_thin_border"
posparent="black" posparent="black"
@ -875,71 +875,71 @@
h="172" h="172"
inherit_gc_alpha="true"> inherit_gc_alpha="true">
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore1max" id="Cha1max"
posref="TL TL" posref="TL TL"
x="8" x="8"
y="-20" y="-20"
w="-8" w="-8"
text="uiCarac_ChaScore1Max" text="uiCarac_HpMax"
val="%player_carac_ChaScore1max" val="%player_carac_Cha1max"
tooltip="uittIdentityCha1" /> tooltip="uittIdentityCons" />
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore3max" id="Cha3max"
posparent="ChaScore1max" posparent="Cha1max"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiCarac_ChaScore3Max" text="uiCarac_SapMax"
val="%player_carac_ChaScore3max" val="%player_carac_Cha3max"
tooltip="uittIdentityCha3" /> tooltip="uittIdentityInt" />
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore2max" id="Cha2max"
posparent="ChaScore3max" posparent="Cha3max"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiCarac_ChaScore2Max" text="uiCarac_StaMax"
val="%player_carac_ChaScore2max" val="%player_carac_Cha2max"
tooltip="uittIdentityCha2" /> tooltip="uittIdentityStr" />
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore4max" id="Cha4max"
posparent="ChaScore2max" posparent="Cha2max"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiCarac_ChaScore4Max" text="uiCarac_WishMax"
val="%player_carac_ChaScore4max" val="%player_carac_Cha4max"
tooltip="uittIdentityCha4" /> tooltip="uittIdentityDex" />
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore1reg" id="Cha1Reg"
posref="TL TL" posref="TL TL"
x="8" x="8"
y="-105" y="-105"
w="-8" w="-8"
text="uiCarac_ChaScore1Reg" text="uiCarac_HpReg"
val="%player_carac_ChaScore1reg" val="%player_carac_Cha1Reg"
tooltip="uittIdentityCha1Reg" /> tooltip="uittIdentityMeta" />
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore3reg" id="Cha3Reg"
posparent="ChaScore1reg" posparent="Cha1Reg"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiCarac_ChaScore3Reg" text="uiCarac_SapReg"
val="%player_carac_ChaScore3reg" val="%player_carac_Cha3Reg"
tooltip="uittIdentityCha3Reg" /> tooltip="uittIdentityWis" />
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore2reg" id="Cha2Reg"
posparent="ChaScore3reg" posparent="Cha3Reg"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiCarac_ChaScore2Reg" text="uiCarac_StaReg"
val="%player_carac_stareg" val="%player_carac_Cha2Reg"
tooltip="uittIdentityCha2Reg" /> tooltip="uittIdentityWB" />
<instance template="tipc_charac" <instance template="tipc_charac"
id="ChaScore4reg" id="Cha4Reg"
posparent="ChaScore2reg" posparent="Cha2Reg"
posref="BL TL" posref="BL TL"
y="0" y="0"
text="uiCarac_ChaScore4Reg" text="uiCarac_WishReg"
val="%player_carac_ChaScore4reg" val="%player_carac_Cha4Reg"
tooltip="uittIdentityCha4Reg" /> tooltip="uittIdentityWill" />
</group> </group>
<instance template="inner_thin_border" <instance template="inner_thin_border"
posparent="black" posparent="black"
@ -1467,7 +1467,7 @@
<group type="webig_html" <group type="webig_html"
id="html" id="html"
posref="TL TL" posref="TL TL"
url="http://app.khaganat.net" url="https://app.khaganat.net/"
title_prefix="" title_prefix=""
sizeref="wh" sizeref="wh"
x="0" x="0"
@ -1502,7 +1502,7 @@
checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over="" checkbox_bitmap_over=""
background_bitmap_view="black2" background_bitmap_view="black2"
home="http://app.khaganat.net" home="https://app.khaganat.net"
browse_next_time="true" browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"> form_text_area_group="edit_box_widget_multiline">
<group id="black" <group id="black"
@ -1602,7 +1602,7 @@
id="html" id="html"
posref="TL TL" posref="TL TL"
posparent="parent" posparent="parent"
url="http://app.khaganat.net" url="https://app.khaganat.net"
title_prefix="" title_prefix=""
sizeref="wh" sizeref="wh"
x="0" x="0"
@ -1637,7 +1637,7 @@
checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over="" checkbox_bitmap_over=""
background_bitmap_view="black2" background_bitmap_view="black2"
home="http://app.khaganat.net" home="https://app.khaganat.net"
browse_next_time="true" browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"> form_text_area_group="edit_box_widget_multiline">
<group id="black" <group id="black"

View file

@ -105,7 +105,7 @@
range3="UI:CONST:127" /> range3="UI:CONST:127" />
<ctrl type="tooltip" <ctrl type="tooltip"
id="tt1" id="tt1"
tooltip="uiChaScore2" tooltip="uiStamina"
color="%ChaScore2_color" color="%ChaScore2_color"
posparent="jauges" posparent="jauges"
posref="TL TL" posref="TL TL"
@ -116,7 +116,7 @@
h="0" /> h="0" />
<ctrl type="tooltip" <ctrl type="tooltip"
id="tt2" id="tt2"
tooltip="uiChaScore3" tooltip="uiSap"
color="%ChaScore3_color" color="%ChaScore3_color"
posparent="tt1" posparent="tt1"
posref="BL BL" posref="BL BL"
@ -127,7 +127,7 @@
h="0" /> h="0" />
<ctrl type="tooltip" <ctrl type="tooltip"
id="tt3" id="tt3"
tooltip="uiChaScore4" tooltip="uiFocus"
color="%ChaScore4_color" color="%ChaScore4_color"
posparent="tt2" posparent="tt2"
posref="BL TL" posref="BL TL"
@ -361,22 +361,22 @@
posref="TL TL"> posref="TL TL">
<!-- new Jauges --> <!-- new Jauges -->
<view type="bitmap" <view type="bitmap"
id="b_ChaScore1" id="b_life"
posref="TL TL" posref="TL TL"
x="0" x="0"
y="-2" y="-2"
texture="slot_jauge.tga" texture="slot_jauge.tga"
inherit_gc_alpha="false" /> inherit_gc_alpha="false" />
<instance template="jauge_score_target" <instance template="jauge_score_target"
id="jChaScore1" id="jlife"
posparent="b_ChaScore1" posparent="b_life"
posref="TL TL" posref="TL TL"
color="214 56 7 255" color="214 56 7 255"
text="uiChaScore1" text="uiHP"
val="%target_ChaScore1" /> val="%target_ChaScore1" />
<instance template="text_tt" <instance template="text_tt"
posparent="jChaScore1" posparent="jlife"
tooltip="uittTargetChaScore1" tooltip="uittTargetHp"
tooltip_parent="win" /> tooltip_parent="win" />
</group> </group>
@ -521,6 +521,7 @@
<view type="text" <view type="text"
id="text" id="text"
case_mode="%case_first_word_letter_up"
posref="TL TL" posref="TL TL"
x="8" x="8"
y="-8" y="-8"
@ -858,7 +859,7 @@
<group type="menu" <group type="menu"
id="user_chat_emote_menu" id="user_chat_emote_menu"
extends="base_menu" extends="base_menu"
case_mode="%case_normal" case_mode="%case_first_word_letter_up"
on_active="lua:game:updateEmoteMenu()"> on_active="lua:game:updateEmoteMenu()">
<action id="uiEM_Wave" <action id="uiEM_Wave"
name="uiQuickEmote" /> name="uiQuickEmote" />
@ -1077,7 +1078,7 @@
tooltip_parent="win" /> tooltip_parent="win" />
<!-- Yes order is strange, but don't want to modify all the ugly hardcoded code --> <!-- Yes order is strange, but don't want to modify all the ugly hardcoded code -->
<ctrl style="tab_button_new" <ctrl style="tab_button_new"
id="tab6" id="tab7"
posparent="tab3" posparent="tab3"
group="content:cb:universe" group="content:cb:universe"
hardtext="uitabChatUniverse" hardtext="uitabChatUniverse"
@ -1089,7 +1090,7 @@
tooltip_parent="win" /> tooltip_parent="win" />
<ctrl style="tab_button_new" <ctrl style="tab_button_new"
id="tab4" id="tab4"
posparent="tab6" posparent="tab7"
group="content:cb:sysinfo" group="content:cb:sysinfo"
hardtext="uitabChatSysInfo" hardtext="uitabChatSysInfo"
onclick_r="set" onclick_r="set"
@ -1107,12 +1108,23 @@
params_l="user" params_l="user"
tooltip="uittChatUser" tooltip="uittChatUser"
tooltip_parent="win" /> tooltip_parent="win" />
<ctrl style="tab_button_new"
id="tab6"
posparent="tab5"
group="content:cb:yubo_chat"
hardtext="uitabChatYuboChat"
onclick_r="set"
params_r="dblink=UI:SAVE:ISDETACHED:YUBO_CHAT|value=1"
onclick_l="chat_group_filter"
params_l="yubo_chat"
tooltip="uittChatYubo"
tooltip_parent="win" />
<!-- Fixed number of dynamic chat allowed. force _firstpos and _nextpos to have correctly aligned tab--> <!-- Fixed number of dynamic chat allowed. force _firstpos and _nextpos to have correctly aligned tab-->
<vector template="temp_tab_dyn_chat" <vector template="temp_tab_dyn_chat"
_size="%max_dyn_chan_per_player" _size="%max_dyn_chan_per_player"
id="tab_array0_$i" id="tab_array0_$i"
nb="$i" nb="$i"
posparent="tab5" posparent="tab6"
_firstpos="TR TL" _firstpos="TR TL"
_nextpos="TR TL" /> _nextpos="TR TL" />
<!-- Show or hide tabs : a tab is visible if it is not filtered into the user chat AND not detached --> <!-- Show or hide tabs : a tab is visible if it is not filtered into the user chat AND not detached -->
@ -1124,7 +1136,7 @@
target="tab1:active" /> target="tab1:active" />
<link expr="and(@UI:SAVE:ISENABLED:UNIVERSE_CHAT, <link expr="and(@UI:SAVE:ISENABLED:UNIVERSE_CHAT,
not(@UI:SAVE:ISDETACHED:UNIVERSE_CHAT))" not(@UI:SAVE:ISDETACHED:UNIVERSE_CHAT))"
target="tab6:active" /> target="tab7:active" />
<link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT), <link expr="and (and(%is_team_present, @UI:SAVE:ISENABLED:TEAM_CHAT),
not(@UI:SAVE:ISDETACHED:TEAM_CHAT))" not(@UI:SAVE:ISDETACHED:TEAM_CHAT))"
target="tab2:active" /> target="tab2:active" />
@ -1136,6 +1148,9 @@
target="tab4:active" /> target="tab4:active" />
<link expr="not(@UI:SAVE:ISDETACHED:USER_CHAT)" <link expr="not(@UI:SAVE:ISDETACHED:USER_CHAT)"
target="tab5:active" /> target="tab5:active" />
<link expr="and(and(%is_yubo_chat_present, @UI:SAVE:ISENABLED:YUBO_CHAT),
not(@UI:SAVE:ISDETACHED:YUBO_CHAT))"
target="tab6:active" />
<!-- Show individual chat windows if needed --> <!-- Show individual chat windows if needed -->
<link expr="and (@UI:SAVE:ISENABLED:AROUND_ME, <link expr="and (@UI:SAVE:ISENABLED:AROUND_ME,
@UI:SAVE:ISDETACHED:AROUND_ME)" @UI:SAVE:ISDETACHED:AROUND_ME)"
@ -1157,6 +1172,9 @@
target="ui:interface:system_info:active" /> target="ui:interface:system_info:active" />
<link expr="@UI:SAVE:ISDETACHED:USER_CHAT" <link expr="@UI:SAVE:ISDETACHED:USER_CHAT"
target="ui:interface:user_chat:active" /> target="ui:interface:user_chat:active" />
<link expr="and(and(%is_yubo_chat_present, @UI:SAVE:ISENABLED:YUBO_CHAT),
@UI:SAVE:ISDETACHED:YUBO_CHAT)"
target="ui:interface:yubo_chat:active" />
</group> </group>
<view type="bitmap" <view type="bitmap"
id="sep" id="sep"
@ -1230,6 +1248,13 @@
y="0" y="0"
w="0" w="0"
h="0" /> h="0" />
<instance template="chat_box_mainchat"
id="yubo_chat"
posref="TL TL"
sizeref="wh"
y="0"
w="0"
h="0" />
<!-- Fixed number of dynamic chat allowed --> <!-- Fixed number of dynamic chat allowed -->
<vector template="chat_box_mainchat" <vector template="chat_box_mainchat"
id="dyn_chat$i" id="dyn_chat$i"
@ -1262,7 +1287,7 @@
tooltip_parent="win" tooltip_parent="win"
onclick_l="select_chat_target" onclick_l="select_chat_target"
params_l="menu=ui:interface:user_chat_target_menu|party_chats=false" params_l="menu=ui:interface:user_chat_target_menu|party_chats=false"
case_mode="%case_normal" /> case_mode="%case_first_word_letter_up" />
<ctrl style="text_button_16" <ctrl style="text_button_16"
id="but_emote" id="but_emote"
posref="BR TR" posref="BR TR"
@ -1485,11 +1510,11 @@
posref="MR MR" posref="MR MR"
mini="true" mini="true"
x="-16" x="-16"
color1="%ChaScore2_color" color1="ChaScore2_color"
value1="UI:VARIABLES:BARS:TEAM:#team_mate_index:ChaScore2" value1="UI:VARIABLES:BARS:TEAM:#team_mate_index:ChaScore1"
range1="UI:CONST:127" range1="UI:CONST:127"
color2="%ChaScore3_color" color2="%ChaScore3_color"
value2="UI:VARIABLES:BARS:TEAM:#team_mate_index:ChaScore3" value2="UI:VARIABLES:BARS:TEAM:#team_mate_index:ChaScore2"
range2="UI:CONST:127" range2="UI:CONST:127"
color3="%ChaScore1_color" color3="%ChaScore1_color"
color3_negative="%ChaScore1_color_neg" color3_negative="%ChaScore1_color_neg"
@ -1578,9 +1603,9 @@
<!-- <!--
<group id="header_opened" x="0" y="0" w="160" child_resize_h="true" child_resize_hmargin="4" posref="TL TL" > <group id="header_opened" x="0" y="0" w="160" child_resize_h="true" child_resize_hmargin="4" posref="TL TL" >
<view type="bar3" id="jauges" posref="TR TR" y="-2" mini="true" x="-16" <view type="bar3" id="jauges" posref="TR TR" y="-2" mini="true" x="-16"
color1="%ChaScore2_color" value1="UI:VARIABLES:BARS:TEAM:#team_mate_index:ChaScore2" range1="UI:CONST:127" color1="%sta_color" value1="UI:VARIABLES:BARS:TEAM:#team_mate_index:STA" range1="UI:CONST:127"
color2="%ChaScore3_color" value2="UI:VARIABLES:BARS:TEAM:#team_mate_index:ChaScore3" range2="UI:CONST:127" color2="%sap_color" value2="UI:VARIABLES:BARS:TEAM:#team_mate_index:SAP" range2="UI:CONST:127"
color3="%ChaScore1_color" color3_negative="%ChaScore1_color_neg" value3="UI:VARIABLES:BARS:TEAM:#team_mate_index:ChaScore1" range3="UI:CONST:127" /> color3="%hp_color" color3_negative="%hp_color_neg" value3="UI:VARIABLES:BARS:TEAM:#team_mate_index:HP" range3="UI:CONST:127" />
<view type="bitmap" id="lead" posparent="jauges" posref="ML MR" x="-4" y="1" texture="w_leader.tga" global_color="false" /> <view type="bitmap" id="lead" posparent="jauges" posref="ML MR" x="-4" y="1" texture="w_leader.tga" global_color="false" />
<view type="bitmap" id="successor" posparent="jauges" posref="ML MR" x="-4" y="1" texture="w_leader.tga" global_color="false" color="255 255 255 128" active="false"/> <view type="bitmap" id="successor" posparent="jauges" posref="ML MR" x="-4" y="1" texture="w_leader.tga" global_color="false" color="255 255 255 128" active="false"/>
@ -1932,6 +1957,10 @@
name="uiSystemInfo" name="uiSystemInfo"
usergroup_l="chat_menu_button" usergroup_l="chat_menu_button"
usergroup_params_l="chat_db=SYSTEM_INFO" /> usergroup_params_l="chat_db=SYSTEM_INFO" />
<action id="yubo_chat"
name="uitabChatYuboChat"
usergroup_l="chat_menu_button"
usergroup_params_l="chat_db=YUBO_CHAT" />
<!-- Bit of a hack as vector is not supported inside a submenu --> <!-- Bit of a hack as vector is not supported inside a submenu -->
<action id="dyn0" <action id="dyn0"
name="0" name="0"
@ -3031,6 +3060,13 @@
<tree node="debug_console"> <tree node="debug_console">
</tree> </tree>
--> -->
<!-- ************* -->
<!-- * YUBO CHAT * -->
<!-- ************* -->
<proc id="yubo_chat_proc_close">
<action handler="set"
params="dblink=UI:SAVE:ISDETACHED:YUBO_CHAT|value=0" />
</proc>
<!-- **************** --> <!-- **************** -->
<!-- * DYNAMIC CHAT * --> <!-- * DYNAMIC CHAT * -->
<!-- **************** --> <!-- **************** -->

View file

@ -403,12 +403,12 @@
onclick_l="new_macro_new_cmd" /> onclick_l="new_macro_new_cmd" />
<group id="cmds" type="list" posref="BR TR" posparent="sep" x="0" y="-22" over="true" > <group id="cmds" x="0" y="-22" over="true" sizeref="w" posref="TL TL" posparent="sep" child_resize_h="true" child_resize_hmargin="4">
<!-- <group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300" >
<instance template="macro_command" id="cmd1" posref="TL TL" /> <group id="list" type="list" x="0" y="0" posref="TL TL" />
<instance template="macro_command" id="cmd2" posparent="cmd1" posref="BL TL" />
-->
</group> </group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" y="-4" target="macros" />
</group>
<instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4" <instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4"
onclick_ok="new_macro_ok" onclick_ok="new_macro_ok"
@ -659,4 +659,4 @@
<tree node="keys_r2ed"/> <tree node="keys_r2ed"/>
</tree> </tree>
</interface_config> </interface_config>

View file

@ -337,10 +337,10 @@
<proc id="respawn_map_activated"> <proc id="respawn_map_activated">
<action handler="exit_free_look" /> <action handler="exit_free_look" />
<action handler="set" params="dblink=UI:VARIABLES:RESPAWN:MSG_SENT|value=0" /> <action handler="set" params="dblink=UI:VARIABLES:RESPAWN:MSG_SENT|value=0" />
<!-- <action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(div(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn),10))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" /> --> <!-- <action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(div(mul(div(sub(%player_percent_max,abs(@%player_ChaScore1_percent)),%player_percent_max),%time_before_auto_respawn),10))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" /> -->
<action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(mul(div(sub(%player_percent_max,abs(@%player_hp_percent)),%player_percent_max),%time_before_auto_respawn))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" /> <action handler="add_link" params="id=respawn_timer_link|expr=secondsToTimeString(mul(div(sub(%player_percent_max,abs(@%player_ChaScore1_percent)),%player_percent_max),%time_before_auto_respawn))|target=ui:interface:respawn_map:content:map_content:timer:t:uc_hardtext" />
<action handler="add_link" params="id=respawn_acttimer_link|expr=depends(@%player_hp_percent)|action=respawn_map_valid|params=map=ui:interface:respawn_map:content:map_content:actual_map|cond=and(eq(abs(@%player_hp_percent), %player_percent_max), and(lt(@%player_hp_percent,0), eq(@UI:VARIABLES:CDB_INIT_IN_PROGRESS, 0)) ,ne(@UI:VARIABLES:RESPAWN:MSG_SENT,1)) " /> <action handler="add_link" params="id=respawn_acttimer_link|expr=depends(@%player_ChaScore1_percent)|action=respawn_map_valid|params=map=ui:interface:respawn_map:content:map_content:actual_map|cond=and(eq(abs(@%player_ChaScore1_percent), %player_percent_max), and(lt(@%player_ChaScore1_percent,0), eq(@UI:VARIABLES:CDB_INIT_IN_PROGRESS, 0)) ,ne(@UI:VARIABLES:RESPAWN:MSG_SENT,1)) " />
<action handler="add_link" params="id=respawn_showtimer_link|expr=lt(abs(@%player_hp_percent), %player_percent_max)|target=ui:interface:respawn_map:content:map_content:timer:active" /> <action handler="add_link" params="id=respawn_showtimer_link|expr=lt(abs(@%player_ChaScore1_percent), %player_percent_max)|target=ui:interface:respawn_map:content:map_content:timer:active" />
</proc> </proc>
<proc id="respawn_map_deactivated"> <proc id="respawn_map_deactivated">
@ -384,7 +384,7 @@
<ctrl style="button_ok" id="respawn" posparent="center" x="16" posref="TR TL" onclick_l="respawn_map_valid" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" hardtext="uiRespawn"/> <ctrl style="button_ok" id="respawn" posparent="center" x="16" posref="TR TL" onclick_l="respawn_map_valid" params_l="map=ui:interface:respawn_map:content:map_content:actual_map" hardtext="uiRespawn"/>
<group id="timer" posparent="respawn" posref="TR TL" x="8" y="-2" child_resize_h="true" child_resize_w="true"> <group id="timer" posparent="respawn" posref="TR TL" x="8" y="-2" child_resize_h="true" child_resize_w="true">
<view type="bar" id="b" ultra_mini="true" posref="TL TL" value="%player_hp_percent" range="%player_percent_max" color="255 255 255 255" color_negative="255 255 255 255" /> <view type="bar" id="b" ultra_mini="true" posref="TL TL" value="%player_ChaScore1_percent" range="%player_percent_max" color="255 255 255 255" color_negative="255 255 255 255" />
<view type="text" id="t" posparent="b" posref="TR TL" x="4" color="255 255 255 255" fontsize="8" shadow="true" hardtext="" /> <view type="text" id="t" posparent="b" posref="TR TL" x="4" color="255 255 255 255" fontsize="8" shadow="true" hardtext="" />
</group> </group>
@ -447,4 +447,4 @@
</tree> </tree>
</interface_config> </interface_config>

View file

@ -420,7 +420,7 @@
<!-- NAME OF SPELL --> <!-- NAME OF SPELL -->
<instance template="edit_box_widget" id="eb_spell_name" posref="TR BR" x="4" w="216" y="-54" h="20" child_resize="false" <instance template="edit_box_widget" id="eb_spell_name" posref="TR BR" x="4" w="216" y="-54" h="20" child_resize="false"
text_x="0" text_y="0" text_ref="ML ML" text_x="0" text_y="-2" text_ref="ML ML"
fontsize="12" multi_line="false" max_num_chars="20" fontsize="12" multi_line="false" max_num_chars="20"
enter_loose_focus="true" enter_recover_focus="false" prompt="" reset_focus_on_hide="true" onchange="phrase_change_name" /> enter_loose_focus="true" enter_recover_focus="false" prompt="" reset_focus_on_hide="true" onchange="phrase_change_name" />
<view type="text" id="text_spell_name" posparent="eb_spell_name" posref="TL BL" x="0" y="-2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiPhraseEditName" /> <view type="text" id="text_spell_name" posparent="eb_spell_name" posref="TL BL" x="0" y="-2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiPhraseEditName" />
@ -732,7 +732,7 @@
global_color="false" /> global_color="false" />
<link expr="getSPhraseName(@SERVER:EXECUTE_PHRASE:LINK:#index:PHRASE)" target="spell_name:uc_hardtext" /> <link expr="getSPhraseName(@SERVER:EXECUTE_PHRASE:LINK:#index:PHRASE)" target="spell_name:uc_hardtext" />
<!-- COSTS (ChaScore1, ChaScore3, ChaScore2) --> <!-- COSTS (HP, SAP, STA) -->
<!-- <!--
<view type="text" id="costs" posparent="spell" posref="BR BL" x="2" y="0" shadow="true" fontsize="8" hardtext="uiLinksCosts" /> <view type="text" id="costs" posparent="spell" posref="BR BL" x="2" y="0" shadow="true" fontsize="8" hardtext="uiLinksCosts" />
--> -->

File diff suppressed because it is too large Load diff

View file

@ -51,7 +51,7 @@
range3="%player_percent_max" /> range3="%player_percent_max" />
<ctrl type="tooltip" <ctrl type="tooltip"
id="tt1" id="tt1"
on_tooltip="player_tt_cha_score2" on_tooltip="player_tt_stamina"
color="%ChaScore2_color" color="%ChaScore2_color"
posparent="jauges" posparent="jauges"
posref="TL TL" posref="TL TL"
@ -62,7 +62,7 @@
h="0" /> h="0" />
<ctrl type="tooltip" <ctrl type="tooltip"
id="tt2" id="tt2"
on_tooltip="player_tt_cha_score3" on_tooltip="player_tt_sap"
color="%ChaScore3_color" color="%ChaScore3_color"
posparent="tt1" posparent="tt1"
posref="BL TL" posref="BL TL"
@ -73,7 +73,7 @@
h="0" /> h="0" />
<ctrl type="tooltip" <ctrl type="tooltip"
id="tt3" id="tt3"
on_tooltip="player_tt_cha_score4" on_tooltip="player_tt_focus"
color="%ChaScore4_color" color="%ChaScore4_color"
posparent="tt2" posparent="tt2"
posref="BL TL" posref="BL TL"
@ -196,16 +196,16 @@
<group type="menu" <group type="menu"
id="player_jauge_menu" id="player_jauge_menu"
extends="base_menu_with_color"> extends="base_menu_with_color">
<action id="ChaScore3_bardisplay" <action id="sap_bardisplay"
name="uiChaScore3BarDisplay" name="uiSapBarDisplay"
handler="set" handler="set"
params="dblink=UI:SAVE:PLAYER:DISP_ChaScore3|value=not(@UI:SAVE:PLAYER:DISP_ChaScore3)" /> params="dblink=UI:SAVE:PLAYER:DISP_ChaScore3|value=not(@UI:SAVE:PLAYER:DISP_ChaScore3)" />
<action id="ChaScore2_bardisplay" <action id="sta_bardisplay"
name="uiChaScore2BarDisplay" name="uiStaBarDisplay"
handler="set" handler="set"
params="dblink=UI:SAVE:PLAYER:DISP_ChaScore2|value=not(@UI:SAVE:PLAYER:DISP_ChaScore2)" /> params="dblink=UI:SAVE:PLAYER:DISP_ChaScore2|value=not(@UI:SAVE:PLAYER:DISP_ChaScore2)" />
<action id="ChaScore4_bardisplay" <action id="foc_bardisplay"
name="uiChaScore4BarDisplay" name="uiFocBarDisplay"
handler="set" handler="set"
params="dblink=UI:SAVE:PLAYER:DISP_ChaScore4|value=not(@UI:SAVE:PLAYER:DISP_ChaScore4)" /> params="dblink=UI:SAVE:PLAYER:DISP_ChaScore4|value=not(@UI:SAVE:PLAYER:DISP_ChaScore4)" />
</group> </group>
@ -576,45 +576,45 @@
posparent="b_ChaScore1" posparent="b_ChaScore1"
posref="TL TL" posref="TL TL"
color="214 56 7 255" color="214 56 7 255"
color_gray="160 42 5 255" color_gray="200 42 5 255"
text="uiChaScore1" text="uiHP"
val="%player_ChaScore1" val="%player_ChaScore1"
maxval="%player_ChaScore1_max" maxval="%player_ChaScore1_max"
val_bar="%player_ChaScore1_percent" val_bar="%player_ChaScore1_percent"
tooltip="uittGaugesChaScore1" /> tooltip="uittGaugesHP" />
<instance template="jauge_score" <instance template="jauge_score"
id="jChaScore3" id="jChaScore3"
posparent="b_ChaScore3" posparent="b_ChaScore3"
posref="TL TL" posref="TL TL"
color="133 189 5 255" color="133 189 5 255"
color_gray="100 141 3 255" color_gray="100 161 3 255"
text="uiChaScore3" text="uiSap"
val="%player_ChaScore3" val="%player_ChaScore3"
maxval="%player_ChaScore3_max" maxval="%player_ChaScore3_max"
val_bar="%player_ChaScore3_percent" val_bar="%player_ChaScore3_percent"
tooltip="uittGaugesChaScore3" /> tooltip="uittGaugesSap" />
<instance template="jauge_score" <instance template="jauge_score"
id="jChaScore2" id="jChaScore2"
posparent="b_ChaScore2" posparent="b_ChaScore2"
posref="TL TL" posref="TL TL"
color="202 67 152 255" color="202 67 152 255"
color_gray="151 50 114 255" color_gray="181 50 134 255"
text="uiChaScore2" text="uiStamina"
val="%player_ChaScore2" val="%player_ChaScore2"
maxval="%player_ChaScore2_max" maxval="%player_ChaScore2_max"
val_bar="%player_ChaScore2_percent" val_bar="%player_ChaScore2_percent"
tooltip="uittGaugesChaScore2" /> tooltip="uittGaugesSta" />
<instance template="jauge_score" <instance template="jauge_score"
id="jChaScore4" id="jChaScore4"
posparent="b_ChaScore4" posparent="b_ChaScore4"
posref="TL TL" posref="TL TL"
color="31 155 197 255" color="150 150 150 255"
color_gray="23 116 147 255" color_gray="130 130 130 255"
text="uiChaScore4" text="uiFocus"
val="%player_ChaScore4" val="%player_ChaScore4"
maxval="%player_ChaScore4_max" maxval="%player_ChaScore4_max"
val_bar="%player_ChaScore4_percent" val_bar="%player_ChaScore4_percent"
tooltip="uittGaugesChaScore4" /> tooltip="uittGaugesFoc" />
<!-- Action Progression (display only if user wants to). Important to set active by default, to have correct reset.xml behaviour --> <!-- Action Progression (display only if user wants to). Important to set active by default, to have correct reset.xml behaviour -->
<instance template="t_current_action_bar" <instance template="t_current_action_bar"
id="current_action" id="current_action"

View file

@ -1,473 +1,477 @@
<!-- ****************************************** --> <!-- ****************************************** -->
<!-- * RESET INTERFACE * --> <!-- * RESET INTERFACE * -->
<!-- ****************************************** --> <!-- ****************************************** -->
<!-- A container is ALWAYS defined in BL TL hotspot when poped (layer0) else (layer > 0) it is a TL TL --> <!-- A container is ALWAYS defined in BL TL hotspot when poped (layer0) else (layer > 0) it is a TL TL -->
<!-- Take care that if the container is not active a getProp of w or h will return 0 --> <!-- Take care that if the container is not active a getProp of w or h will return 0 -->
<interface_config> <interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<variable entry="UI:TEMP:ACTIVE" type="sint64" value="0" /> <variable entry="UI:TEMP:ACTIVE" type="sint64" value="0" />
<proc id="pri_top_center" > <proc id="pri_top_center" >
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" /> <action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('@0:active')" />
<action handler="set" params="target='@0:active'|value=1" /> <action handler="set" params="target='@0:active'|value=1" />
<!--<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:interface:w'),getprop('@0:w')),2)" />--> <!--<action handler="set" params="target='@0:x'|value=div(sub(getprop('ui:interface:w'),getprop('@0:w')),2)" />-->
<action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" /> <action handler="set" params="target='@0:y'|value=sub(getprop('ui:interface:h'),48)" />
<action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" /> <action handler="set" params="target='@0:active'|value=@UI:TEMP:ACTIVE" />
</proc> </proc>
<proc id="base_desktop" > <proc id="base_desktop" >
<action handler="reset_interface" params="" /> <action handler="reset_interface" params="" />
<action handler="unlock_all_container" params="" /> <action handler="unlock_all_container" params="" />
<!-- Player --> <!-- Player -->
<action handler="set" params="target='ui:interface:player:active'|value=1" /> <action handler="set" params="target='ui:interface:player:active'|value=1" />
<action handler="set" params="target='ui:interface:player:x'|value=4" /> <action handler="set" params="target='ui:interface:player:x'|value=4" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="set" params="target='ui:interface:player:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:player" /> <action handler="set_transparent" params="ui:interface:player" />
<!-- BonusMalus --> <!-- BonusMalus -->
<action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" /> <action handler="set" params="target='ui:interface:bonus_malus:active'|value=1" />
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" /> <action handler="set" params="target='ui:interface:bonus_malus:x'|value=188" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Target --> <!-- Target -->
<action handler="set" params="target='ui:interface:target:active'|value=1" /> <action handler="set" params="target='ui:interface:target:active'|value=1" />
<action handler="set" params="target='ui:interface:target:x'|value=4" /> <action handler="set" params="target='ui:interface:target:x'|value=4" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),8)" /> <action handler="set" params="target='ui:interface:target:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),8)" />
<action handler="set_transparent" params="ui:interface:target" /> <action handler="set_transparent" params="ui:interface:target" />
<!-- Team --> <!-- Team -->
<action handler="set" params="target='ui:interface:team_list:x'|value=4" /> <action handler="set" params="target='ui:interface:team_list:x'|value=4" />
<action handler="set" params="target='ui:interface:team_list:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),getprop('ui:interface:target:h')),12)" /> <action handler="set" params="target='ui:interface:team_list:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')),getprop('ui:interface:target:h')),12)" />
<!-- Compass --> <!-- Compass -->
<action handler="set" params="target='ui:interface:compass:active'|value=1" /> <action handler="set" params="target='ui:interface:compass:active'|value=1" />
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" /> <action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set_transparent" params="ui:interface:compass" /> <action handler="set_transparent" params="ui:interface:compass" />
<!-- Main Chat --> <!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:active'|value=1" /> <action handler="set" params="target='ui:interface:main_chat:active'|value=1" />
<action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" /> <action handler="set_alpha" params="target=ui:interface:main_chat|alpha=100" />
<!-- Actions --> <!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" /> <action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<!-- Info Player Journal --> <!-- Info Player Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" /> <action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=sub(getprop('ui:interface:h'),113)" /> <action handler="set" params="target='ui:interface:info_player_journal:y'|value=sub(getprop('ui:interface:h'),113)" />
<action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" /> <action handler="set_alpha" params="target=ui:interface:info_player_journal|alpha=100" />
<!-- Milko --> <!-- Milko -->
<action handler="set" params="target='ui:interface:milko_pad:active'|value=1" /> <action handler="set" params="target='ui:interface:milko_pad:active'|value=1" />
<action handler="set" params="target='ui:interface:milko_pad:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:milko_pad:w')),4)" /> <action handler="set" params="target='ui:interface:milko_pad:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:milko_pad:w')),4)" />
<action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" /> <action handler="set" params="target='ui:interface:milko_pad:y'|value=add(getprop('ui:interface:milko_pad:h'),4)" />
<action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" /> <action handler="set_alpha" params="target=ui:interface:milko_pad|alpha=200" />
<!-- Map --> <!-- Map -->
<action handler="set" params="target='ui:interface:map:active'|value=1" /> <action handler="set" params="target='ui:interface:map:active'|value=1" />
<action handler="set" params="target='ui:interface:map:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:map:w')),4)" /> <action handler="set" params="target='ui:interface:map:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:map:w')),4)" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 8)" /> <action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 8)" />
<action handler="set" params="target='ui:interface:map:active'|value=0" /> <action handler="set" params="target='ui:interface:map:active'|value=0" />
<!-- Contacts --> <!-- Contacts -->
<action handler="set" params="target='ui:interface:contact_list:active'|value=1" /> <action handler="set" params="target='ui:interface:contact_list:active'|value=1" />
<action handler="set" params="target='ui:interface:contact_list:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:contact_list:w')),4)" /> <action handler="set" params="target='ui:interface:contact_list:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:contact_list:w')),4)" />
<action handler="set" params="target='ui:interface:contact_list:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 12)" /> <action handler="set" params="target='ui:interface:contact_list:y'|value=sub(sub(getprop('ui:interface:h'), getprop('ui:interface:compass:h')), 12)" />
<action handler="set" params="target='ui:interface:contact_list:active'|value=0" /> <action handler="set" params="target='ui:interface:contact_list:active'|value=0" />
<!-- Mailbox --> <!-- Mailbox -->
<action handler="set" params="target='ui:interface:mailbox:w'|value=480" /> <action handler="set" params="target='ui:interface:mailbox:w'|value=480" />
<action handler="set" params="target='ui:interface:mailbox:h'|value=360" /> <action handler="set" params="target='ui:interface:mailbox:h'|value=360" />
<!-- Gestion Windows (the popup in middle of the screen) --> <!-- Gestion Windows (the popup in middle of the screen) -->
<action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('ui:interface:gestion_windows:active')" /> <action handler="set" params="dblink=UI:TEMP:ACTIVE|value=getprop('ui:interface:gestion_windows:active')" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=1" /> <action handler="set" params="target='ui:interface:gestion_windows:active'|value=1" />
<action handler="set" params="target='ui:interface:gestion_windows:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestion_windows:w')),2)" /> <action handler="set" params="target='ui:interface:gestion_windows:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestion_windows:w')),2)" />
<action handler="set" params="target='ui:interface:gestion_windows:y'|value=add(getprop('ui:interface:gestion_windows:h'),div(sub(getprop('ui:interface:h'),getprop('ui:interface:gestion_windows:h')),2))" /> <action handler="set" params="target='ui:interface:gestion_windows:y'|value=add(getprop('ui:interface:gestion_windows:h'),div(sub(getprop('ui:interface:h'),getprop('ui:interface:gestion_windows:h')),2))" />
<action handler="set" params="target='ui:interface:gestion_windows:active'|value=@UI:TEMP:ACTIVE" /> <action handler="set" params="target='ui:interface:gestion_windows:active'|value=@UI:TEMP:ACTIVE" />
</proc> <!-- AppZone -->
<action handler="set" params="target='ui:interface:appzone:active'|value=1" />
<proc id="proc_reset_interface"> <action handler="set" params="target='ui:interface:appzone:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:appzone:w')),2)" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" /> <action handler="set" params="target='ui:interface:appzone:y'|value=add(getprop('ui:interface:appzone:h'),2)" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" /> </proc>
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<!-- Reset all the items that are trivial --> <proc id="proc_reset_interface">
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:PLA|value=makeRGB(167,205,107)" /> <action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:ANI|value=makeRGB(189,154,123)" /> <action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:COM|value=makeRGB(255,237,89)" /> <action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INV|value=makeRGB(74,162,243)" /> <!-- Reset all the items that are trivial -->
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:OPT|value=makeRGB(255,79,69)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:PLA|value=makeRGB(167,205,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:LAB|value=makeRGB(251,163,60)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:ANI|value=makeRGB(189,154,123)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MEM|value=makeRGB(237,112,200)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:COM|value=makeRGB(255,237,89)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MAP|value=makeRGB(237,200,30)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INV|value=makeRGB(74,162,243)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:HELP|value=makeRGB(255,96,16)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:OPT|value=makeRGB(255,79,69)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:LAB|value=makeRGB(251,163,60)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MEM|value=makeRGB(237,112,200)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:MAP|value=makeRGB(237,200,30)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:HELP|value=makeRGB(255,96,16)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:INFOS|value=makeRGB(255,0,0)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:TRADE|value=makeRGB(204,177,107)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:BOT|value=makeRGB(0,251,222)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FORM|value=makeRGB(24,142,249)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK|value=makeRGB(239,170,33)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PALETTE|value=makeRGB(255,255,66)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_DIALOGS|value=makeRGB(117,163,255)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO|value=makeRGB(117,217,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_EVENTS|value=makeRGB(252,255,162)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PROP_WINDOW|value=makeRGB(26,251,142)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_ACTIVITIES|value=makeRGB(228,118,255)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FORM|value=makeRGB(24,142,249)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FEATURE_HELP|value=makeRGB(117,255,189)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CUSTOM_LOOK|value=makeRGB(239,170,33)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CONNECT|value=makeRGB(162,255,173)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_DIALOGS|value=makeRGB(117,163,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER|value=makeRGB(255,113,66)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_EVENTS|value=makeRGB(252,255,162)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_ACTIVITIES|value=makeRGB(228,118,255)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_FEATURE_HELP|value=makeRGB(117,255,189)" />
<action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_CONNECT|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SESSION_BROWSER|value=makeRGB(255,113,66)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_SCENARIO_CONTROL|value=makeRGB(255,12,89)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" /> <action handler="set" params="dblink=UI:SAVE:WIN:COLORS:R2_PLAYER_TRACKING|value=makeRGB(240,255,89)" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS|value=1" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTAINER_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTENT_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA|value=0" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA|value=0" /> <action handler="set" params="dblink=UI:SAVE:R2_PROP_SHEET:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:R2_FORM:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTENT_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:ROLLOVER_CONTAINER_ALPHA|value=0" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" /> <action handler="set" params="dblink=UI:SAVE:R2_FORM:USE_GLOBAL_ALPHA_SETTINGS|value=1" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GROUP|value=makeRGB(185,76,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GUILD|value=makeRGB(120,0,200)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:DEAD|value=makeRGB(255,255,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:NPC|value=makeRGB(192,192,192)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:USER|value=makeRGB(255,112,249)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:FAUNA|value=makeRGB(249,179,29)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PLAYER|value=makeRGB(77,144,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:TARGET|value=makeRGB(255,255,255)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GROUP|value=makeRGB(185,76,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:SOURCE|value=makeRGB(65,255,112)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:GUILD|value=makeRGB(120,0,200)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:MOUNT|value=makeRGB(217,255,114)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:NPC|value=makeRGB(192,192,192)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:BEAST|value=makeRGB(158,216,0)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:FAUNA|value=makeRGB(249,179,29)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPENEMY|value=makeRGB(185,0,0)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:TARGET|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLY|value=makeRGB(0,200,0)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:SOURCE|value=makeRGB(65,255,112)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:MOUNT|value=makeRGB(217,255,114)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:BEAST|value=makeRGB(158,216,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPENEMY|value=makeRGB(185,0,0)" />
<action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLY|value=makeRGB(0,200,0)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINTEAM|value=makeRGB(140,200,140)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPALLYINGUILD|value=makeRGB(100,150,100)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" /> <action handler="set" params="dblink=UI:SAVE:ENTITY:COLORS:PVPNEUTRAL|value=makeRGB(64,128,128)" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore1|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_SYMBOL|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore2|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore3|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:TITLE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore4|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:GUILD_NAME|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ACTION|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore1|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:MESSAGES|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore2|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:USER:PVP_LOGO|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore3|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ChaScore4|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:ACTION|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:TITLE|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:MESSAGES|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:USER:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore1|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore2|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore3|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore4|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MESSAGES|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore1|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:PVP_LOGO|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore3|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCNAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore2|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCTITLE|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:ChaScore4|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MISSION_ICON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON|value=0" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCNAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:NPCTITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:TITLE|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MISSION_ICON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_NAME|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:FRIEND:MINI_MISSION_ICON|value=0" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:ChaScore1|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_SYMBOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:TITLE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:GUILD_NAME|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:ChaScore1|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:MESSAGES|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" /> <action handler="set" params="dblink=UI:SAVE:INSCENE:ENEMY:PVP_LOGO|value=1" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CITIZEN|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNA|value=makeRGB(255,100,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISC|value=makeRGB(255,0,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL|value=makeRGB(255,50,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TRIBE|value=makeRGB(180,180,180)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNASUP|value=makeRGB(200,0,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BANDIT|value=makeRGB(110,110,110)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGE|value=makeRGB(150,200,50)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CITIZEN|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL|value=makeRGB(50,200,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNA|value=makeRGB(255,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGESUP|value=makeRGB(0,150,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNAEXCEL|value=makeRGB(255,50,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SAP|value=makeRGB(150,200,50)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FAUNASUP|value=makeRGB(200,0,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:AMBER|value=makeRGB(255,150,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGE|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NODE|value=makeRGB(200,100,50)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGEEXCEL|value=makeRGB(50,200,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FIBER|value=makeRGB(255,255,150)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FORAGESUP|value=makeRGB(0,150,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BARK|value=makeRGB(150,100,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SAP|value=makeRGB(150,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SEED|value=makeRGB(100,50,50)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:AMBER|value=makeRGB(255,150,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SHELL|value=makeRGB(200,150,150)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NODE|value=makeRGB(200,100,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:RESIN|value=makeRGB(50,100,0)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FIBER|value=makeRGB(255,255,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:WOOD|value=makeRGB(100,100,50)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:BARK|value=makeRGB(150,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:OIL|value=makeRGB(200,200,50)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SEED|value=makeRGB(100,50,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISSION|value=makeRGB(200,50,150)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:SHELL|value=makeRGB(200,150,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FOOD|value=makeRGB(200,50,150)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:RESIN|value=makeRGB(50,100,0)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CONSTRUCTION|value=makeRGB(255,0,100)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:WOOD|value=makeRGB(100,100,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:GOO|value=makeRGB(100,0,150)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:OIL|value=makeRGB(200,200,50)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:INSECT|value=makeRGB(50,100,150)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:MISSION|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:KITIN|value=makeRGB(50,0,150)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:FOOD|value=makeRGB(200,50,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NOCIVE|value=makeRGB(50,0,100)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:CONSTRUCTION|value=makeRGB(255,0,100)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:GOO|value=makeRGB(100,0,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:INSECT|value=makeRGB(50,100,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:KITIN|value=makeRGB(50,0,150)" />
<action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:NOCIVE|value=makeRGB(50,0,100)" />
<action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PRESERVATIVE|value=makeRGB(50,0,50)" />
<action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:PASSAGE|value=makeRGB(100,255,255)" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" /> <action handler="set" params="dblink=UI:SAVE:LANDMARK:COLORS:TELEPORTER|value=makeRGB(0,200,200)" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=255" /> <action handler="set" params="dblink=UI:SAVE:EXPAND_MISSION_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=255" /> <action handler="set" params="dblink=UI:SAVE:MISSION_JOURNAL_HEADER_ACTIVE|value=1" />
<action handler="set" params="dblink=UI:SAVE:ALPHA_ROLLOVER_SPEED|value=5" /> <action handler="set" params="dblink=UI:SAVE:CONTENT_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:DOUBLE_CLICK_SPEED|value=50" /> <action handler="set" params="dblink=UI:SAVE:CONTAINER_ALPHA|value=255" />
<action handler="set" params="dblink=UI:SAVE:KEY_REPEAT_SPEED|value=50" /> <action handler="set" params="dblink=UI:SAVE:CONTENT_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_FADE|value=0" /> <action handler="set" params="dblink=UI:SAVE:CONTAINER_ROLLOVER_FACTOR|value=255" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_OPA_MIN|value=160" /> <action handler="set" params="dblink=UI:SAVE:ALPHA_ROLLOVER_SPEED|value=5" />
<action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" /> <action handler="set" params="dblink=UI:SAVE:DOUBLE_CLICK_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" /> <action handler="set" params="dblink=UI:SAVE:KEY_REPEAT_SPEED|value=50" />
<action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" /> <action handler="set" params="dblink=UI:SAVE:USER_CHAR_FADE|value=0" />
<action handler="set" params="dblink=UI:SAVE:USER_CHAR_OPA_MIN|value=160" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_ChaScore3|value=1" /> <action handler="set" params="dblink=UI:SAVE:DAY_COLOR|value=makeRGB(219,254,174)" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_ChaScore2|value=1" /> <action handler="set" params="dblink=UI:SAVE:NIGHT_COLOR|value=makeRGB(127,190,254)" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_ChaScore4|value=1" /> <action handler="set" params="dblink=UI:SAVE:SHOW_3D_ITEM_PREVIEW|value=1" />
<action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" />
<action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_ChaScore3|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:FONT_SIZE|value=10" /> <action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_ChaScore2|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:MULTI_LINE_SPACE|value=0" /> <action handler="set" params="dblink=UI:SAVE:PLAYER:DISP_ChaScore4|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHADOWED_TEXT|value=1" /> <action handler="set" params="dblink=UI:SAVE:ACT_BAR_OUT|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SPEAKER|value=makeRGB(220,220,50)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SAY|value=makeRGB(255,255,255)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:FONT_SIZE|value=10" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SHOUT|value=makeRGB(255,70,70)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:MULTI_LINE_SPACE|value=0" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:GROUP|value=makeRGB(170,170,255)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:SHADOWED_TEXT|value=1" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CLADE|value=makeRGB(70,255,70)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SPEAKER|value=makeRGB(220,220,50)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CIVILIZATION|value=makeRGB(128,128,128)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SAY|value=makeRGB(255,255,255)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TERRITORY|value=makeRGB(128,128,128)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:SHOUT|value=makeRGB(255,70,70)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:UNIVERSE_NEW|value=makeRGB(255,127,0)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:GROUP|value=makeRGB(170,170,255)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:REGION|value=makeRGB(255,200,200)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CLADE|value=makeRGB(70,255,70)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TELL|value=makeRGB(170,170,170)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:CIVILIZATION|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:DYN|value=makeRGB(162,255,173)" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TERRITORY|value=makeRGB(128,128,128)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:UNIVERSE_NEW|value=makeRGB(255,127,0)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:REGION|value=makeRGB(255,200,200)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:TELL|value=makeRGB(170,170,170)" />
<action handler="set" params="dblink=UI:SAVE:CHAT:COLORS:DYN|value=makeRGB(162,255,173)" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:ENTER_DONT_QUIT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_TIMES_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:CHAT:SHOW_DYN_CHANNEL_NAME_IN_CHAT_CB|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_BAG:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA0:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA1:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:SORT_TYPE|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA2:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:SORT_TYPE|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:SORT_TYPE|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_PA3:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:SORT_TYPE|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:ICON_LIST|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_ARMOR|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_WEAPON|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_GUILD:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TOOL|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:SORT_TYPE|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:ICON_LIST|value=0" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_ARMOR|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_WEAPON|value=1" />
<action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TOOL|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MP|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_MISSMP|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" /> <action handler="set" params="dblink=UI:SAVE:INV_ROOM:FILTER_TP|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:SYSTEM_INFO|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:AROUND_ME|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:MAIN_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:CHAT_GROUP|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:USER_CHAT|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:TEAM_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:UNIVERSE_CHAT|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:SYSTEM_INFO|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISDETACHED:REGION_CHAT|value=0" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:AROUND_ME|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:AROUND_ME|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:CHAT_GROUP|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:REGION_CHAT|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:USER_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:TEAM_CHAT|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:UNIVERSE_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISDETACHED:REGION_CHAT|value=0" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:AROUND_ME|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:REGION_CHAT|value=1" />
<action handler="set" params="dblink=UI:SAVE:ISENABLED:TEAM_CHAT|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=0" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:GUILD_CHAT|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=1" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:UNIVERSE_CHAT|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=2" /> <action handler="set" params="dblink=UI:SAVE:ISENABLED:SYSTEM_INFO|value=1" />
<action handler="reset_virtual_desktop" params="vdesk=3" />
<action handler="reset_virtual_desktop" params="vdesk=0" />
<!-- ********* --> <action handler="reset_virtual_desktop" params="vdesk=1" />
<!-- DESKTOP 1 --> <action handler="reset_virtual_desktop" params="vdesk=2" />
<!-- ********* --> <action handler="reset_virtual_desktop" params="vdesk=3" />
<action handler="set_virtual_desktop" params="vdesk=0" />
<action handler="proc" params="base_desktop" /> <!-- ********* -->
<!-- DESKTOP 1 -->
<!-- Actions --> <!-- ********* -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" /> <action handler="set_virtual_desktop" params="vdesk=0" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" /> <action handler="proc" params="base_desktop" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Actions -->
<!-- Main Chat --> <action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" /> <action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" /> <action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" /> <!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<!-- Mission Journal --> <action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" /> <action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" /> <action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" /> <!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" /> <action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" /> <action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<!-- ********* --> <action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<!-- DESKTOP 2 --> <action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<!-- ********* --> <action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<action handler="set_virtual_desktop" params="vdesk=1" />
<action handler="proc" params="base_desktop" /> <!-- ********* -->
<!-- DESKTOP 2 -->
<!-- Compass --> <!-- ********* -->
<action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" /> <action handler="set_virtual_desktop" params="vdesk=1" />
<action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" /> <action handler="proc" params="base_desktop" />
<!-- Player --> <!-- Compass -->
<action handler="set" params="target='ui:interface:player:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:player:w')),4)" /> <action handler="set" params="target='ui:interface:compass:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),4)" />
<action handler="set" params="target='ui:interface:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" /> <action handler="set" params="target='ui:interface:compass:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Target --> <!-- Player -->
<action handler="set" params="target='ui:interface:target:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:target:w')),4)" /> <action handler="set" params="target='ui:interface:player:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:player:w')),4)" />
<action handler="set" params="target='ui:interface:target:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')), getprop('ui:interface:compass:h')), 12)" /> <action handler="set" params="target='ui:interface:player:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:compass:h')),8)" />
<!-- BonusMalus --> <!-- Target -->
<action handler="set" params="target='ui:interface:bonus_malus:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:bonus_malus:w')),4)" /> <action handler="set" params="target='ui:interface:target:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:target:w')),4)" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(sub(sub(sub(getprop('ui:interface:h'), getprop('ui:interface:target:h')), getprop('ui:interface:compass:h')), getprop('ui:interface:player:h')), 16)" /> <action handler="set" params="target='ui:interface:target:y'|value=sub(sub(sub(getprop('ui:interface:h'),getprop('ui:interface:player:h')), getprop('ui:interface:compass:h')), 12)" />
<!-- Mission Journal --> <!-- BonusMalus -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" /> <action handler="set" params="target='ui:interface:bonus_malus:x'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:bonus_malus:w')),4)" />
<action handler="set" params="target='ui:interface:bonus_malus:y'|value=sub(sub(sub(sub(getprop('ui:interface:h'), getprop('ui:interface:target:h')), getprop('ui:interface:compass:h')), getprop('ui:interface:player:h')), 16)" />
<!-- Actions -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=0" /> <!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=0" />
<!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" /> <!-- Actions -->
<action handler="set" params="target='ui:interface:main_chat:h'|value=132" /> <action handler="set" params="target='ui:interface:gestionsets:active'|value=0" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" /> <!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<!-- Map --> <action handler="set" params="target='ui:interface:main_chat:h'|value=132" />
<action handler="set" params="target='ui:interface:map:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" /> <action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" /> <action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<action handler="set" params="target='ui:interface:map:x'|value=4" />
<action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:map:h')),4)" /> <!-- Map -->
<action handler="set" params="target='ui:interface:map:locked'|value=0" /> <action handler="set" params="target='ui:interface:map:w'|value=sub(sub(getprop('ui:interface:w'),getprop('ui:interface:compass:w')),8)" />
<action handler="set" params="target='ui:interface:map:active'|value=1" /> <action handler="set" params="target='ui:interface:map:h'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:main_chat:h')),8)" />
<action handler="set" params="target='ui:interface:map:x'|value=4" />
<!-- ********* --> <action handler="set" params="target='ui:interface:map:y'|value=sub(sub(getprop('ui:interface:h'),getprop('ui:interface:map:h')),4)" />
<!-- DESKTOP 3 --> <action handler="set" params="target='ui:interface:map:locked'|value=0" />
<!-- ********* --> <action handler="set" params="target='ui:interface:map:active'|value=1" />
<action handler="set_virtual_desktop" params="vdesk=2" />
<action handler="reset_interface" params="" /> <!-- ********* -->
<!-- DESKTOP 3 -->
<!-- ********* -->
<!-- ********* --> <action handler="set_virtual_desktop" params="vdesk=2" />
<!-- DESKTOP 4 --> <action handler="reset_interface" params="" />
<!-- ********* -->
<action handler="set_virtual_desktop" params="vdesk=3" />
<action handler="proc" params="base_desktop" /> <!-- ********* -->
<!-- DESKTOP 4 -->
<!-- Actions --> <!-- ********* -->
<action handler="set" params="target='ui:interface:gestionsets:active'|value=1" /> <action handler="set_virtual_desktop" params="vdesk=3" />
<action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" /> <action handler="proc" params="base_desktop" />
<action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<!-- Actions -->
<!-- Main Chat --> <action handler="set" params="target='ui:interface:gestionsets:active'|value=1" />
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" /> <action handler="set" params="target='ui:interface:gestionsets:x'|value=div(sub(getprop('ui:interface:w'),getprop('ui:interface:gestionsets:w')),2)" />
<action handler="set" params="target='ui:interface:main_chat:h'|value=237" /> <action handler="set" params="target='ui:interface:gestionsets:y'|value=sub(getprop('ui:interface:h'),4)" />
<action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" /> <!-- Main Chat -->
<action handler="set" params="target='ui:interface:main_chat:w'|value=383" />
<!-- Mission Journal --> <action handler="set" params="target='ui:interface:main_chat:h'|value=237" />
<action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" /> <action handler="set" params="target='ui:interface:main_chat:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" /> <action handler="set" params="target='ui:interface:main_chat:y'|value=add(getprop('ui:interface:main_chat:h'),4)" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" /> <!-- Mission Journal -->
<action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" /> <action handler="set" params="target='ui:interface:info_player_journal:active'|value=1" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" /> <action handler="set" params="target='ui:interface:info_player_journal:locked'|value=0" />
<action handler="set" params="target='ui:interface:info_player_journal:h'|value=182" />
<!-- SAUVEGARDE DU DESKTOP 4 ET RETOUR AU DESKTOP 0 --> <action handler="set" params="target='ui:interface:info_player_journal:w'|value=280" />
<action handler="set_virtual_desktop" params="vdesk=0" /> <action handler="set" params="target='ui:interface:info_player_journal:x'|value=4" />
<action handler="set" params="target='ui:interface:info_player_journal:y'|value=add(add(getprop('ui:interface:main_chat:h'),getprop('ui:interface:info_player_journal:h')),8)" />
<!-- ************ --> <!-- SAUVEGARDE DU DESKTOP 4 ET RETOUR AU DESKTOP 0 -->
<!-- INFO WINDOWS --> <action handler="set_virtual_desktop" params="vdesk=0" />
<!-- ************ -->
<action handler="help_reset_pos" params="y=-100" /> <!-- ************ -->
<!-- INFO WINDOWS -->
<action handler="lua" params="local tbw = getUI('ui:interface:r2ed_toolbar_window', false) if tbw then tbw.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" /> <!-- ************ -->
<!-- ************ --> <action handler="help_reset_pos" params="y=-100" />
<!-- MISC -->
<!-- ************ --> <action handler="lua" params="local tbw = getUI('ui:interface:r2ed_toolbar_window', false) if tbw then tbw.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end" />
<action handler="lua" params="getUI('ui:interface:keys').uc_title = i18n.get('uiKeysTitle')"/>
<action handler="lua" params="local w = getUI('ui:interface:r2ed_toolbar_window', false) if w then w.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end"/> <!-- ************ -->
<!-- reenable missions, possibly hidden after a ring session --> <!-- MISC -->
<action handler="lua:game:updateMissionJournalMode()"/> <!-- ************ -->
<action handler="lua" params="local animals = getUI('ui:interface:animal_global'); <action handler="lua" params="getUI('ui:interface:keys').uc_title = i18n.get('uiKeysTitle')"/>
if animals then <action handler="lua" params="local w = getUI('ui:interface:r2ed_toolbar_window', false) if w then w.active = (r2~=nil and r2.Mode~=nil and r2.Mode=='Test') end"/>
animals.content.no_available_animals.active = false; <!-- reenable missions, possibly hidden after a ring session -->
animals.header_opened.active = true; <action handler="lua:game:updateMissionJournalMode()"/>
animals.header_closed.active = false; <action handler="lua" params="local animals = getUI('ui:interface:animal_global');
if animals.list then if animals then
animals.list.active = true; animals.content.no_available_animals.active = false;
end; animals.header_opened.active = true;
end"/> animals.header_closed.active = false;
if animals.list then
<action handler="lua" params="if r2 and r2.initDMToolbarWindowPos then r2:initDMToolbarWindowPos() end" /> animals.list.active = true;
end;
</proc> end"/>
<action handler="lua" params="if r2 and r2.initDMToolbarWindowPos then r2:initDMToolbarWindowPos() end" />
<proc id="proc_reset_r2ed_interface">
</proc>
</proc>
</interface_config> <proc id="proc_reset_r2ed_interface">
</proc>
</interface_config>

View file

@ -1702,7 +1702,7 @@
color_grayed="255 255 255 64" color_grayed="255 255 255 64"
shadow_color_grayed="0 0 0 255" shadow_color_grayed="0 0 0 255"
highlight_over="255 255 255 150" highlight_over="255 255 255 150"
case_mode="%case_first_word_letter_up"></group> case_mode="%case_normal"></group>
<group type="menu" <group type="menu"
id="base_menu_with_color" id="base_menu_with_color"
extends="base_menu"> extends="base_menu">
@ -1767,7 +1767,7 @@
name="uiOpen" name="uiOpen"
handler="item_text_display" handler="item_text_display"
params="ui:interface:edit_custom" /> params="ui:interface:edit_custom" />
<separator /> <separator />
<!-- Move to an Animal --> <!-- Move to an Animal -->
<action id="move" <action id="move"
name="uimMoveTo"> name="uimMoveTo">
@ -1991,7 +1991,7 @@
posparent="box1" posparent="box1"
posref="MR MR" posref="MR MR"
x="-3" x="-3"
y="-2" y="0"
color="135 243 28 255" color="135 243 28 255"
shadow="true" shadow="true"
fontsize="10" fontsize="10"
@ -2004,7 +2004,7 @@
posparent="box1" posparent="box1"
posref="MR MR" posref="MR MR"
x="-3" x="-3"
y="-3" y="0"
color="192 192 192 255" color="192 192 192 255"
shadow="true" shadow="true"
fontsize="10" fontsize="10"
@ -2619,7 +2619,7 @@
<template name="edit_box_widget" <template name="edit_box_widget"
posref="TL TL" posref="TL TL"
text_x="0" text_x="0"
text_y="-1" text_y="0"
text_ref="BL BL" text_ref="BL BL"
child_resize_h="true" child_resize_h="true"
child_resize_hmargin="0" child_resize_hmargin="0"
@ -2789,7 +2789,7 @@
<template name="edit_box_widget_multiline" <template name="edit_box_widget_multiline"
posref="TL TL" posref="TL TL"
text_x="0" text_x="0"
text_y="-1" text_y="0"
text_ref="BL BL" text_ref="BL BL"
child_resize_h="true" child_resize_h="true"
multi_line="true" multi_line="true"
@ -2872,6 +2872,7 @@
posref="#text_ref" posref="#text_ref"
multi_line="#multi_line" multi_line="#multi_line"
multi_line_space="0" multi_line_space="0"
multi_min_line="#multi_min_line"
fontsize="#fontsize" fontsize="#fontsize"
color="#color" color="#color"
shadow="true" shadow="true"
@ -3034,7 +3035,7 @@
id="edit" id="edit"
entry_type="positive_integer" entry_type="positive_integer"
text_ref="TR TR" text_ref="TR TR"
text_y="-1" text_y="0"
fontsize="12" fontsize="12"
posparent="sheet" posparent="sheet"
posref="MR ML" posref="MR ML"
@ -3897,39 +3898,39 @@
active="false" active="false"
global_color="false"/> global_color="false"/>
<view type="bitmap" <view type="bitmap"
id="hp_cost" id="ChaScore1_cost"
texture="ico_heal.tga" texture="ico_heal.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="success_rate" /> posparent="success_rate" />
<view type="bitmap" <view type="bitmap"
id="sta_cost" id="ChaScore2_cost"
y="0" y="0"
texture="ico_stamina.tga" texture="ico_stamina.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="hp_cost" /> posparent="ChaScore1_cost" />
<view type="bitmap" <view type="bitmap"
id="sap_cost" id="ChaScore3_cost"
y="0" y="0"
texture="ico_sap.tga" texture="ico_sap.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="sta_cost" /> posparent="ChaScore2_cost" />
<view type="bitmap" <view type="bitmap"
id="focus_cost" id="ChaScore4_cost"
y="0" y="0"
texture="ico_focus.tga" texture="ico_focus.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="sap_cost" /> posparent="ChaScore3_cost" />
<view type="bitmap" <view type="bitmap"
id="cast_time" id="cast_time"
y="0" y="0"
texture="ico_time.tga" texture="ico_time.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="focus_cost" /> posparent="ChaScore4_cost" />
<view type="bitmap" <view type="bitmap"
id="cast_range" id="cast_range"
y="0" y="0"
@ -3939,25 +3940,25 @@
posparent="cast_time" /> posparent="cast_time" />
<view type="text" <view type="text"
id="hp_cost_text" id="hp_cost_text"
posparent="hp_cost" posparent="ChaScore1_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="sta_cost_text" id="sta_cost_text"
posparent="sta_cost" posparent="ChaScore2_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="sap_cost_text" id="sap_cost_text"
posparent="sap_cost" posparent="ChaScore3_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="focus_cost_text" id="focus_cost_text"
posparent="focus_cost" posparent="ChaScore4_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
@ -4104,7 +4105,7 @@
line_maxw="300" line_maxw="300"
multi_line_maxw_only="true" /> multi_line_maxw_only="true" />
<view type="bitmap" <view type="bitmap"
id="hp_buff" id="ChaScore1_buff"
h="15" h="15"
y="0" y="0"
texture="ico_heal.tga" texture="ico_heal.tga"
@ -4113,47 +4114,47 @@
posparent="text" posparent="text"
active="true"/> active="true"/>
<view type="bitmap" <view type="bitmap"
id="sta_buff" id="ChaScore2_buff"
y="0" y="0"
texture="ico_stamina.tga" texture="ico_stamina.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="hp_buff" /> posparent="ChaScore1_buff" />
<view type="bitmap" <view type="bitmap"
id="sap_buff" id="ChaScore3_buff"
y="0" y="0"
texture="ico_sap.tga" texture="ico_sap.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="sta_buff" /> posparent="ChaScore2_buff" />
<view type="bitmap" <view type="bitmap"
id="focus_buff" id="ChaScore4_buff"
y="0" y="0"
texture="ico_focus.tga" texture="ico_focus.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="sap_buff" /> posparent="ChaScore3_buff" />
<view type="text" <view type="text"
id="hp_buff_text" id="hp_buff_text"
posparent="hp_buff" posparent="ChaScore1_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="sta_buff_text" id="sta_buff_text"
posparent="sta_buff" posparent="ChaScore2_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="sap_buff_text" id="sap_buff_text"
posparent="sap_buff" posparent="ChaScore3_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="focus_buff_text" id="focus_buff_text"
posparent="focus_buff" posparent="ChaScore4_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
@ -4321,7 +4322,7 @@
id="text" id="text"
posref="BL BL" posref="BL BL"
x="2" x="2"
y="1" y="0"
color="255 255 255 255" color="255 255 255 255"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
@ -4848,7 +4849,7 @@
global_color_normal="true" global_color_normal="true"
global_color_over="true" global_color_over="true"
global_color_pushed="true" global_color_pushed="true"
text_y="-2" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -4866,7 +4867,7 @@
global_color_normal="true" global_color_normal="true"
global_color_over="true" global_color_over="true"
global_color_pushed="true" global_color_pushed="true"
text_y="-2" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -4900,7 +4901,7 @@
x="0" x="0"
y="0" y="0"
posref="TL TL" posref="TL TL"
text_y="-2" text_y="0"
onclick_l="#onclick_ok" onclick_l="#onclick_ok"
params_l="#onclick_ok_param" params_l="#onclick_ok_param"
hardtext="#ok_text" hardtext="#ok_text"
@ -4908,7 +4909,7 @@
<ctrl style="button_cancel" <ctrl style="button_cancel"
x="4" x="4"
posparent="ok" posparent="ok"
text_y="-2" text_y="0"
posref="TR TL" posref="TR TL"
onclick_l="#onclick_cancel" onclick_l="#onclick_cancel"
params_l="#onclick_cancel_param" params_l="#onclick_cancel_param"
@ -4944,7 +4945,7 @@
global_color_normal="true" global_color_normal="true"
global_color_over="true" global_color_over="true"
global_color_pushed="true" global_color_pushed="true"
text_y="-2" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -4958,7 +4959,7 @@
tx_normal="w_text_button_normal" tx_normal="w_text_button_normal"
tx_pushed="w_text_button_pushed" tx_pushed="w_text_button_pushed"
tx_over="w_text_button_over" tx_over="w_text_button_over"
text_y="-2" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -4982,7 +4983,7 @@
global_color_normal="true" global_color_normal="true"
global_color_over="true" global_color_over="true"
global_color_pushed="true" global_color_pushed="true"
text_y="-2" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -5000,7 +5001,7 @@
tx_normal="w_text_button_normal" tx_normal="w_text_button_normal"
tx_pushed="w_text_button_pushed" tx_pushed="w_text_button_pushed"
tx_over="w_text_button_over" tx_over="w_text_button_over"
text_y="-2" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -5028,7 +5029,7 @@
color="255 255 255 128" color="255 255 255 128"
col_over="255 255 255 0" col_over="255 255 255 0"
col_pushed="255 128 0 192" col_pushed="255 128 0 192"
text_y="-2" text_y="0"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
text_color_normal="255 255 255 255" text_color_normal="255 255 255 255"
@ -5119,7 +5120,7 @@
global_color_normal="true" global_color_normal="true"
global_color_over="true" global_color_over="true"
global_color_pushed="true" global_color_pushed="true"
text_y="-2" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -5141,7 +5142,7 @@
color="255 255 255 255" color="255 255 255 255"
col_over="255 255 255 255" col_over="255 255 255 255"
col_pushed="255 255 255 255" col_pushed="255 255 255 255"
text_y="-4" text_y="0"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -6650,7 +6651,7 @@
posparent="button" posparent="button"
posref="MR ML" posref="MR ML"
x="4" x="4"
y="-3" y="0"
color="255 255 255 255" color="255 255 255 255"
fontsize="#fontsize" fontsize="#fontsize"
shadow="true" shadow="true"
@ -6927,4 +6928,241 @@
</group> </group>
</group> </group>
</template> </template>
<!-- html browsing context -->
<template name="webig_html"
keep="true"
home=""
browse_redo=""
browse_undo=""
browse_refresh="">
<group id="html"
type="webig_html"
posref="TL TL"
home="#home"
title_prefix=""
sizeref="wh"
x="0"
y="0"
w="0"
h="0"
background_color="0 0 0 255"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="20"
h2_font_size="18"
h3_font_size="16"
h4_font_size="14"
h5_font_size="12"
h6_font_size="12"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="w_slot_on.tga"
checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over=""
background_bitmap_view="background_bitmap"
browse_next_time="false"
form_text_area_group="edit_box_widget_multiline"
browse_refresh="#browse_refresh"
browse_undo="#browse_undo"
browse_redo="#browse_redo">
<group id="black"
posref="BR BR"
sizeref="hw"
w="-10"
h="-12"
inherit_gc_alpha="true" />
<instance template="inner_thin_border"
posparent="black"
inherit_gc_alpha="true " />
<view id="background_bitmap"
type="bitmap"
posparent="black"
posref="MM MM"
sizeref="wh"
w="-2"
h="-2"
inherit_gc_alpha="true"
scale="true"
texture="blank.tga"
global_color="false" />
<group id="text_list"
type="list"
fontsize="9"
posref="TL TL"
posparent="black"
x="2"
y="-2"
space="0"
sizeref="hw"
w="-4"
h="-4"
maxelements="2000" />
<ctrl id="scroll_bar"
style="skin_scroll" />
</group>
</template>
<!-- html browser window -->
<template name="webig_browser"
keep="true"
home=""
w="480"
h="400"
browse_redo=""
browse_undo=""
browse_refresh="">
<group id="browser"
type="container"
w="#w"
h="#h"
x="0"
y="0"
pop_max_w="2000"
pop_max_h="2000"
pop_min_w="64"
pop_min_h="32"
header_color="UI:SAVE:WIN:COLORS:COM"
posref="TL TL"
title=""
global_color="true"
global_color_over="true"
right_button="true"
movable="true"
lockable="true"
active="true"
openable="true"
opened="true"
resizer="true"
on_active="lua"
on_active_params="WebBrowser:onActive()">
<group id="header_closed"
w="64"
h="16"
posref="TL TL"
on_active="lua"
on_active_params="WebBrowser:onClickHeaderClose()" />
<group id="header_opened"
h="16"
w="480"
posref="TL TL"
on_active="lua"
on_active_params="WebBrowser:onClickHeaderOpen()">
<ctrl style="text_button_header"
id="browse_redo"
button_type="push_button"
posref="MR MR"
x="-16"
y="0"
hardtext="uiBrowseRedoButton"
tooltip="uittBrowseRedo"
onclick_l="lua"
params_l="WebBrowser:onClickRedo()"
frozen="true" />
<ctrl style="text_button_header"
id="browse_undo"
button_type="push_button"
posparent="browse_redo"
posref="ML MR"
x="-4"
y="0"
hardtext="uiBrowseUndoButton"
tooltip="uittBrowseUndo"
onclick_l="lua"
params_l="WebBrowser:onClickUndo()"
frozen="true" />
<ctrl style="text_button_header"
id="browse_refresh"
button_type="push_button"
posparent="browse_undo"
posref="ML MR"
x="-4"
y="0"
hardtext="uiBrowseRefresh"
tooltip="uittBrowseRefresh"
onclick_l="lua"
params_l="WebBrowser:onClickRefresh()"
frozen="true" />
<ctrl style="text_button_header"
id="browse_home"
button_type="push_button"
posparent="browse_refresh"
posref="ML MR"
x="-4"
y="0"
hardtext="uiBrowseHome"
tooltip="uittBrowseHome"
onclick_l="lua"
params_l="WebBrowser:onClickHome()" />
</group>
<group id="content"
x="0"
y="0"
w="0"
h="0"
posref="TL TL">
<instance template="webig_html"
home="#home"
browse_redo="#browse_redo"
browse_undo="#browse_undo"
browse_refresh="#browse_refresh" />
</group>
</group>
</template>
<!-- html <hr> element -->
<template name="html_hr"
keep="true">
<group id="sep_gr"
posref="ML ML"
sizeref="w"
w="0"
h="0"
child_resize_h="true"
child_resize_hmargin="12">
<view type="bitmap"
id="hr"
posref="MM MM"
sizeref="w"
w="-2"
h="2"
inherit_gc_alpha="true"
scale="true"
texture="blank.tga"
global_color="false" />
</group>
</template>
<template name="html_form_select_box_menu_widget"
keep="true"
id="sb">
<group type="menu"
id="#id"
posref="BL TL"
x="0"
y="0"
mouse_pos="false"
space="2"
shadow="false"
color="255 255 255 128"
color_over="255 255 255 255"
color_grayed="0 0 0 255"
fontsize="12"
highlight_over="255 255 255 128"
force_inside_screen="false"></group>
</template>
</interface_config> </interface_config>