mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Changed: Removed trailing spaces at EOL
This commit is contained in:
parent
fec3a81af4
commit
b22528aac9
1 changed files with 122 additions and 122 deletions
|
@ -9,8 +9,8 @@
|
|||
|
||||
<!-- search "DEPENDS on %phrase_max_restrict_combat" if you have to change this value" -->
|
||||
<define id="phrase_max_restrict_combat" value="15"/>
|
||||
<!-- Definition of all combat Skill (ie weapons) we want to see in weapon restriction.
|
||||
Code deduce the icons (fake sbrick) to draw, by filling UI:PHRASE:BUILD:RESTRICT_COMBAT:*:SHEET
|
||||
<!-- Definition of all combat Skill (ie weapons) we want to see in weapon restriction.
|
||||
Code deduce the icons (fake sbrick) to draw, by filling UI:PHRASE:BUILD:RESTRICT_COMBAT:*:SHEET
|
||||
the number of skill must be == %phrase_max_restrict_combat (nlassert)
|
||||
-->
|
||||
<define id="phrase_def_skill_restrict_combat" value="SFM1SSM SFM1SAM SFM1BMM SFM1BSM SFM1PSM SFM2SSM SFM2SAM SFM2BMM SFM2PPM SFMCADM SFMCAHM SFR1APM SFR2AAM SFR2ALM SFR2ARM"/>
|
||||
|
@ -44,13 +44,13 @@
|
|||
<template name="tips_skill" keep="true" posparent="parent" posref="TL TL" h="30" id="" skillid="" >
|
||||
|
||||
<group id="#id" w="160" h="#h" posparent="#posparent" posref="#posref" >
|
||||
|
||||
|
||||
<instance template="frame_widget" id="frame" posref="TL TL" sizeref="wh" w="0" h="0" x="0" />
|
||||
<view type="bitmap" id="back" scale="true" posref="TL TL" x="1" y="-1" sizeref="hw" h="-2" w="-2" texture="blank.tga" color="28 28 28 255" global_color="false"/>
|
||||
|
||||
|
||||
<!-- do not change id (used for setting right skill name) -->
|
||||
<group id="group_name" x="0" sizeref="wh" w="0" h="0" posref="TL TL" >
|
||||
<view type="text" id="name" fontsize="10" x="1" y="-3" posref="TM TM" shadow="true" global_color="false" line_maxw="156"
|
||||
<view type="text" id="name" fontsize="10" x="1" y="-3" posref="TM TM" shadow="true" global_color="false" line_maxw="156"
|
||||
over_extend_view_text="true" over_extend_parent_rect="true" />
|
||||
</group>
|
||||
|
||||
|
@ -61,19 +61,19 @@
|
|||
<view type="text_number" id="lvl" posparent="bas" posref="BL BR" x="-2" y="0" fontsize="10" shadow="true" value="%player_skills:#skillid:%skill" positive="true" global_color="false" />
|
||||
<view type="bar" id="progress" posref="BL BL" x="4" y="4" mini="true" value="%player_skills:#skillid:%skill_progress" range="255" />
|
||||
|
||||
|
||||
|
||||
<!-- Buf Debuf. -->
|
||||
<link expr="ifthenelse(lt(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base), '%skill_neg_buf',
|
||||
<link expr="ifthenelse(lt(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base), '%skill_neg_buf',
|
||||
ifthenelse(gt(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base), '%skill_pos_buf', '255 255 255 255' ) )"
|
||||
target="lvl:color" />
|
||||
<link expr="getSkillBaseText(@%player_skills:#skillid:%skill, @%player_skills:#skillid:%skill_base)"
|
||||
target="bas:hardtext" />
|
||||
|
||||
<!-- Change Skill Background Color -->
|
||||
|
||||
<!-- Change Skill Background Color -->
|
||||
<link expr="ifthenelse(eq(@%player_skills:#skillid:%skill_base, 0), '60 90 90 64',
|
||||
ifthenelse(not(isSkillAtMax(#skillid,@UI:VARIABLES:TRACK_SKILL_CHANGE)), '175 100 10 192', '145 155 20 192'))" target="back:color" />
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Skill not At Max or not 0: show progress & change name Y-->
|
||||
<link expr="and(ne(@%player_skills:#skillid:%skill_base, 0),not(isSkillAtMax(#skillid,@UI:VARIABLES:TRACK_SKILL_CHANGE)))" target="progress:active,max:active,sep:active,bas:active,lvl:active" />
|
||||
<link expr="ifthenelse(and(ne(@%player_skills:#skillid:%skill_base, 0),not(isSkillAtMax(#skillid,@UI:VARIABLES:TRACK_SKILL_CHANGE))), '-3' ,'-11')" target="group_name:name:y" />
|
||||
|
@ -93,11 +93,11 @@
|
|||
|
||||
<!-- * template for Phrase as Icon List -->
|
||||
<template name="template_phrase_action_icon_list" id="" dbentry="" >
|
||||
<group type="list_sheet_icon_phrase" nature="sphrase" id="#id" value="#dbentry" array="false"
|
||||
posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"
|
||||
wspace="4" hspace="4" dragable="true" rowmax="32" lmargin="10" tmargin="2" bmargin="0"
|
||||
<group type="list_sheet_icon_phrase" nature="sphrase" id="#id" value="#dbentry" array="false"
|
||||
posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"
|
||||
wspace="4" hspace="4" dragable="true" rowmax="32" lmargin="10" tmargin="2" bmargin="0"
|
||||
onclick_r="open_help_auto" oncandrag="phrase_can_drag_castable" auto_grayed="true" >
|
||||
|
||||
|
||||
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="26" />
|
||||
|
||||
</group>
|
||||
|
@ -108,22 +108,22 @@
|
|||
|
||||
<!-- * template for Phrase as Text List -->
|
||||
<template name="template_phrase_action_text_list" id="" dbentry="" >
|
||||
<group type="list_sheet_text_phrase" nature="sphrase" id="#id" value="#dbentry" array="false"
|
||||
<group type="list_sheet_text_phrase" nature="sphrase" id="#id" value="#dbentry" array="false"
|
||||
child_resize_h="false"
|
||||
posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"
|
||||
hspace="4" selection="false"
|
||||
onclick_r="open_help_auto" oncandrag="phrase_can_drag_castable"
|
||||
posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0"
|
||||
hspace="4" selection="false"
|
||||
onclick_r="open_help_auto" oncandrag="phrase_can_drag_castable"
|
||||
xitem="2" yitem="-2" xtext="30" ytext="-2"
|
||||
dragable="true" auto_grayed="true" gray_text_with_ctrl="true"
|
||||
dragable="true" auto_grayed="true" gray_text_with_ctrl="true"
|
||||
over_color="%bot_chat_sheet_selection_normal"
|
||||
over_col_pushed="%bot_chat_sheet_selection_pushed"
|
||||
over_col_over="%bot_chat_sheet_selection_over"
|
||||
color="255 255 255 255" fontsize="8" shadow="true"
|
||||
multi_line="true" multi_line_space="0" >
|
||||
multi_line="true" multi_line_space="0" >
|
||||
<!-- the scroll -->
|
||||
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" target_stepy="30" />
|
||||
|
||||
<!-- the group to scroll -->
|
||||
|
||||
<!-- the group to scroll -->
|
||||
<group id="list" max_sizeref="h" max_sizeparent="parent" max_h="0" sizeref="w" posref="TL TL" x="8" y="0" w="-16" />
|
||||
</group>
|
||||
<view type="bitmap" id="sep2" posparent="#id" posref="BL TL" scale="true" sizeref="w" h="2" y="0" texture="W_line_hor.tga" />
|
||||
|
@ -144,31 +144,31 @@
|
|||
|
||||
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL" >
|
||||
</group>
|
||||
|
||||
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL"
|
||||
|
||||
<group id="header_opened" x="0" y="0" w="0" h="16" posref="TL TL"
|
||||
group_onclick_r="active_menu"
|
||||
group_params_r="menu=ui:interface:base_menu_with_color" >
|
||||
|
||||
|
||||
<group id="death_malus" posref="MR MR" w="80" h="10" x="-32" y="0" >
|
||||
<view type="bar" id="xp_malus" posref="MR MR" mini="true" color="255 255 255 255" value="SERVER:USER:DEATH_XP_MALUS" range="255" />
|
||||
<ctrl type="tooltip" id="tt_malus" tooltip="uittPhraseXPMalus" tooltip_parent="win" posref="TL TL" x="0" y="0" sizeref="w" w="0" h="10" />
|
||||
|
||||
|
||||
<view type="bitmap" id="death" posref="TL TL" texture="w_death.tga" global_color="false" />
|
||||
</group>
|
||||
<link expr="ne(@SERVER:USER:DEATH_XP_MALUS,255)" target="death_malus:active" />
|
||||
<link expr="ne(@SERVER:USER:DEATH_XP_MALUS,255)" target="death_malus:active" />
|
||||
</group>
|
||||
|
||||
|
||||
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
|
||||
|
||||
|
||||
<!-- SKILLS -->
|
||||
<group type="skills_displayer" id="content" posref="TL TL" x="0" y="-6" sizeref="w6h" w="0" h="-24" template_skill="tips_skill"
|
||||
<group type="skills_displayer" id="content" posref="TL TL" x="0" y="-6" sizeref="w6h" w="0" h="-24" template_skill="tips_skill"
|
||||
node_handler="phrase_book_skill_filter" >
|
||||
|
||||
<group id="sbtree" posref="TL TL" sizeref="wh" w="0" x="0" y="0" h="0" >
|
||||
<group id="black" posref="TL TL" sizeref="wh" x="10" w="-10" 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="14" y="-2"
|
||||
col_over="255 255 255 150" col_select="255 255 255 255" fontsize="10"
|
||||
max_sizeparent="parent" max_sizeref="wh" max_w="-16" max_h="-8"
|
||||
|
@ -179,7 +179,7 @@
|
|||
arbo_son="skill_arbo_son.tga"
|
||||
arbo_level="skill_arbo_level.tga"
|
||||
arbo_x_extend="skill_arbo_x_extend.tga"
|
||||
select_ancestor_on_close="true"
|
||||
select_ancestor_on_close="true"
|
||||
navigate_one_branch="true"
|
||||
rectangle_outline="true"
|
||||
rectangle_w="160"
|
||||
|
@ -189,13 +189,13 @@
|
|||
rectangle_drl="1"
|
||||
>
|
||||
</group>
|
||||
|
||||
|
||||
<ctrl style="skin_scroll" id="scroll_bar" posref="TL TL" target="tree_list" target_stepy="32" />
|
||||
|
||||
</group>
|
||||
</group>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- ACTION TYPE SELECTION -->
|
||||
<group id="tab_group" posref="TR TR" x="-4" y="-8" sizeref="w4" w="-4" h="24" >
|
||||
<group type="tab" id="action_select" posref="TL TL" x="0" y="0" child_resize_w="true" h="24" >
|
||||
|
@ -226,12 +226,12 @@
|
|||
|
||||
<!-- TOGGLE List / Details -->
|
||||
<instance template="check_box" id="details" posref="BR BR" hardtext="uiPhraseDisplayTextList" dblink="UI:SAVE:PHRASE:BOOK_AS_LIST_TEXT" />
|
||||
|
||||
|
||||
<!-- TOGGLE AutoFold / Not -->
|
||||
<instance template="check_box" id="autofold" posref="BL BL" hardtext="uiPhraseAutoFold" dblink="UI:SAVE:PHRASE:BOOK_AUTOFOLD" />
|
||||
<link expr="@UI:SAVE:PHRASE:BOOK_AUTOFOLD" target="content:sbtree:tree_list:navigate_one_branch" />
|
||||
|
||||
|
||||
|
||||
|
||||
</group>
|
||||
</group>
|
||||
|
||||
|
@ -246,7 +246,7 @@
|
|||
<variable entry="UI:PHRASE:SELECT:$i:SHEET" type="sint32" value="0" size="%phrase_brick_selection_max" />
|
||||
|
||||
<!-- The modal for Brick selection -->
|
||||
<!--<group type="modal" id="build_phrase_select_brick" x="0" y="0" w="184" posref="BL TL" child_resize_h="true" child_resize_hmargin="4"
|
||||
<!--<group type="modal" id="build_phrase_select_brick" x="0" y="0" w="184" posref="BL TL" child_resize_h="true" child_resize_hmargin="4"
|
||||
exit_click_l="true" >
|
||||
<group type="list_sheet" nature="sbrick" brick_over="true" id="list" posref="TL TL" value="UI:PHRASE:SELECT" wspace="4" hspace="4" array="false" x="4" y="-4" w="176"
|
||||
onclick_l="phrase_validate_brick" params_l="src=ctrl_launch_modal" onclick_r="open_sbrick_help" >
|
||||
|
@ -260,7 +260,7 @@
|
|||
<group id="fake_minh" posref="TL TL" sizeref="w" w="0" h="30" />
|
||||
|
||||
<!-- The Selection group -->
|
||||
<group type="list_sheet_compo_brick" id="list" sizeref="w" w="-12" child_resize_h="true" child_resize_hmargin="0"
|
||||
<group type="list_sheet_compo_brick" id="list" sizeref="w" w="-12" child_resize_h="true" child_resize_hmargin="0"
|
||||
posref="TL TL"
|
||||
x="4"
|
||||
y="-4"
|
||||
|
@ -276,7 +276,7 @@
|
|||
nature="sbrick"
|
||||
brick_over="true"
|
||||
onclick_l="phrase_validate_brick" params_l="src=ctrl_launch_modal"
|
||||
onclick_r="open_sbrick_help"
|
||||
onclick_r="open_sbrick_help"
|
||||
|
||||
over_color="%bot_chat_sheet_selection_normal"
|
||||
over_col_pushed="%bot_chat_sheet_selection_pushed"
|
||||
|
@ -287,12 +287,12 @@
|
|||
shadow="true"
|
||||
multi_line="true"
|
||||
multi_line_space="0"
|
||||
line_maxw="180"
|
||||
>
|
||||
line_maxw="180"
|
||||
>
|
||||
<!-- the scroll -->
|
||||
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" y="-2" />
|
||||
|
||||
<!-- the group to scroll -->
|
||||
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" y="-2" />
|
||||
|
||||
<!-- the group to scroll -->
|
||||
<group id="list" sizeref="w" posref="TL TL" max_h="300" x="8" y="0" w="-8" h="0" />
|
||||
</group>
|
||||
</group>
|
||||
|
@ -310,7 +310,7 @@
|
|||
<!-- Ctrls for a Parameter -->
|
||||
<template name="ctrl_phrase_param" id="" index="" paramindex="" posparent="" x="4" y="0" >
|
||||
<view type="bitmap" id="param_back#index_#paramindex" posref="TR TL" posparent="#posparent" x="#x" y="#y" texture="W_slot_brick.tga" color="255 255 255 192" />
|
||||
<ctrl type="sheet" id="param_brick#index_#paramindex" nature="sbrick" value="UI:PHRASE:BUILD:PARAM:#index:#paramindex" posref="TL TL" posparent="param_back#index_#paramindex" x="0" y="0"
|
||||
<ctrl type="sheet" id="param_brick#index_#paramindex" nature="sbrick" value="UI:PHRASE:BUILD:PARAM:#index:#paramindex" posref="TL TL" posparent="param_back#index_#paramindex" x="0" y="0"
|
||||
onclick_l="phrase_select_param_brick" params_l="index=#index|param_index=#paramindex" onclick_r="open_sbrick_help" />
|
||||
</template>
|
||||
|
||||
|
@ -322,11 +322,11 @@
|
|||
<template name="ctrl_phrase_main" posref="" posparent="parent" x="0" y="-2" index="" id="" >
|
||||
<!-- The Main Suffix Brick -->
|
||||
<view type="bitmap" id="main_back#index" posref="#posref" posparent="#posparent" x="#x" y="#y" texture="W_slot_brick.tga" color="255 255 255 192" />
|
||||
<ctrl type="sheet" id="main_brick#index" nature="sbrick" value="UI:PHRASE:BUILD:MAIN:#index" posref="TL TL" posparent="main_back#index" x="0" y="0"
|
||||
<ctrl type="sheet" id="main_brick#index" nature="sbrick" value="UI:PHRASE:BUILD:MAIN:#index" posref="TL TL" posparent="main_back#index" x="0" y="0"
|
||||
onclick_l="phrase_select_main_brick" params_l="index=#index" onclick_r="open_sbrick_help" tooltip="uittSelectBrick" />
|
||||
<view type="text" id="main_cost#index" posparent="main_brick#index" posref="MR ML" x="128" y="-2" color="255 210 11 255" shadow="true" fontsize="10" />
|
||||
<view type="text" id="main_credit#index" posparent="main_brick#index" posref="MR ML" x="172" y="-2" color="80 217 11 255" shadow="true" fontsize="10" />
|
||||
<view type="text" id="main_info#index" posparent="main_brick#index" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10"
|
||||
<view type="text" id="main_info#index" posparent="main_brick#index" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10"
|
||||
multi_line="true" line_maxw="116" multi_line_space="0" />
|
||||
<!-- The 4 Params Brick (hardcoded). Relative to Suffix then each other -->
|
||||
<instance template="ctrl_phrase_param" id="param_back#index_0" index="#index" paramindex="0" posparent="main_back#index" x="8" />
|
||||
|
@ -348,7 +348,7 @@
|
|||
<view type="bitmap" id="tlb" texture="W_box_top_left.tga" posref="TL TL" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
<view type="bitmap" id="trb" texture="W_box_top_right.tga" posref="TR TR" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
<view type="bitmap" id="brb" texture="W_box_bot_right.tga" posref="BR BR" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
<view type="bitmap" id="blb" texture="W_box_bot_left.tga" posref="BL BL" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
<view type="bitmap" id="tb" texture="W_box_top.tga" posref="TM TM" scale="true" sizeref="w" w="-8" h="4" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
<view type="bitmap" id="bb" texture="W_box_bot.tga" posref="BM BM" scale="true" sizeref="w" w="-8" h="4" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
<view type="bitmap" id="lb" texture="W_box_left.tga" posref="ML ML" scale="true" sizeref="h" h="-8" w="4" color="#color" global_color="false" inherit_gc_alpha="true"/>
|
||||
|
@ -358,23 +358,23 @@
|
|||
|
||||
<!-- brick to show weapon restriction -->
|
||||
<template name="ctrl_combat_restrict" posparent="parent" posref="" x="0" y="0" index="" id="" >
|
||||
<ctrl type="sheet" id="#id" nature="sbrick" value="UI:PHRASE:BUILD:RESTRICT_COMBAT:#index" posparent="#posparent" posref="#posref"
|
||||
<ctrl type="sheet" id="#id" nature="sbrick" value="UI:PHRASE:BUILD:RESTRICT_COMBAT:#index" posparent="#posparent" posref="#posref"
|
||||
x="#x" y="#y" auto_grayed="true" on_tooltip="phrase_combat_restrict_tooltip" />
|
||||
</template>
|
||||
|
||||
<!-- Composition Modal container-->
|
||||
<group style="container_modal" id="phrase_composition" w="272" h="440" title="uiPhraseCreate"
|
||||
<group style="container_modal" id="phrase_composition" w="272" h="440" title="uiPhraseCreate"
|
||||
modal_parent="phrase_book" header_color="UI:SAVE:WIN:COLORS:INV" pop_max_h="700"
|
||||
on_enter="phrase_validate_on_enter"
|
||||
on_enter="phrase_validate_on_enter"
|
||||
on_active="set" on_active_params="dblink=UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE|value=1"
|
||||
on_deactive="set" on_deactive_params="dblink=UI:VARIABLES:PHRASE_COMPOSITION:ACTIVE|value=0"
|
||||
>
|
||||
|
||||
<group id="header_closed" x="0" y="0" w="0" h="16" posref="TL TL" >
|
||||
</group>
|
||||
|
||||
|
||||
<group type="build_phrase" id="header_opened" x="0" y="0" w="0" h="0" posref="TL TL" >
|
||||
|
||||
|
||||
<!-- RESTRICT -->
|
||||
<group id="restrict" posref="TM TM" w="256" h="66" x="0" y="-59">
|
||||
<view type="text" id="restrict_text" posref="TL BL" x="0" y="-15" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiPhraseRESTRICTION" />
|
||||
|
@ -395,17 +395,17 @@
|
|||
<link expr="ifthenelse(ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0), 316, 66)" target="back:h" />
|
||||
<link expr="ifthenelse(ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0), 316, 66)" target="back:back_root:h" />
|
||||
<link expr="ifthenelse(ne(@UI:PHRASE:BUILD:RESTRICT_COMBAT:ENABLED,0), -142, -74)" target="back:y" />
|
||||
|
||||
|
||||
|
||||
<!-- NEW OP BUTTON. -->
|
||||
<group id="new_buttons" posparent="back" posref="TM TM" x="0" y="-8" child_resize_w="true" child_resize_h="true" >
|
||||
|
||||
|
||||
<ctrl style="new_element_content" id="new_optional_button" posref="TL TL" y="0" wmargin="8" hardtext="uittPhraseEditNewOptional"
|
||||
onclick_l="phrase_select_new_brick" params_l="type=optional"/>
|
||||
|
||||
<ctrl style="new_element_content" id="new_credit_button" posref="TR TL" posparent="new_optional_button" x="4" y="0"
|
||||
|
||||
<ctrl style="new_element_content" id="new_credit_button" posref="TR TL" posparent="new_optional_button" x="4" y="0"
|
||||
wmargin="8" hardtext="uittPhraseEditNewCredit" onclick_l="phrase_select_new_brick" params_l="type=credit"/>
|
||||
|
||||
|
||||
</group>
|
||||
<!-- display only if root and effects are valid -->
|
||||
<link expr="@UI:PHRASE:BUILD:ROOT_EFFECT_VALID" target="new_buttons:active" />
|
||||
|
@ -416,30 +416,30 @@
|
|||
<view type="text" id="spell_view_name" posparent="spell_view" posref="TL BL" x="0" y="-3" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiPhraseEditIcon" />
|
||||
<!-- Hide only the Icon if no composition starter (game design request) -->
|
||||
<link expr="ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0)" target="spell_view:active" />
|
||||
|
||||
|
||||
|
||||
<!-- 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"
|
||||
text_x="0" text_y="0" 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" />
|
||||
<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" />
|
||||
|
||||
<!-- INFOS -->
|
||||
<group id="infos" w="256" h="80" posparent="back" posref="BL TL" x="0" y="-4" >
|
||||
|
||||
|
||||
<!-- Sabrina Cost -->
|
||||
<view type="text" id="totaltext" posref="TL TL" fontsize="12" global_color="true" shadow="true" color="255 255 255 255" hardtext="uiPhraseTotal" />
|
||||
<view type="text_number" id="cost" posref="TL TM" fontsize="12" x="186" global_color="false" shadow="true" color="255 210 11 255" value="UI:PHRASE:BUILD:TOTAL_COST" />
|
||||
<view type="text_number" id="credit" posref="TL TM" fontsize="12" x="230" global_color="false" shadow="true" color="80 217 11 255" value="UI:PHRASE:BUILD:TOTAL_CREDIT" />
|
||||
|
||||
|
||||
<!-- Phrase DESC -->
|
||||
<view type="text" id="phrase_desc" posref="TL TL" x="0" y="-17" color="255 255 255 255" shadow="true" fontsize="10"
|
||||
<view type="text" id="phrase_desc" posref="TL TL" x="0" y="-17" color="255 255 255 255" shadow="true" fontsize="10"
|
||||
multi_line="true" multi_line_space="0" />
|
||||
|
||||
</group>
|
||||
<link expr="ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0)" target="infos:active" />
|
||||
|
||||
|
||||
<!-- BALANCE -->
|
||||
<view type="bitmap" id="balance" posref="BM BM" x="0" y="34" texture="action_balance_equal.tga" global_color="false"/>
|
||||
<link expr="ne(@UI:PHRASE:BUILD:MAIN:0:SHEET,0)" target="balance:active" />
|
||||
|
@ -457,11 +457,11 @@
|
|||
ifthenelse(gt(@UI:PHRASE:BUILD:TOTAL_COST,@UI:PHRASE:BUILD:TOTAL_CREDIT),'255 210 11 255',
|
||||
'80 217 11 255'))"
|
||||
target="balancetext:color" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<view type="text" id="compo" posref="TL BL" posparent="back" x="0" y="0" fontsize="10" shadow="true" global_color="true" color="255 255 255 255" hardtext="uiPhraseCOMPOSITION" />
|
||||
|
||||
|
||||
|
||||
<!-- The scroll group -->
|
||||
<group id="bricks" posparent="back" posref="TL TL" x="12" y="-32" w="244" child_resize_h="true" child_resize_hmargin="4" max_h="280" >
|
||||
|
@ -473,14 +473,14 @@
|
|||
|
||||
|
||||
<!-- VALIDATION -->
|
||||
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_validate" ok_text="uittPhraseEditValidate"
|
||||
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_validate" ok_text="uittPhraseEditValidate"
|
||||
onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:phrase_composition:active|value=0" cancel_text="uittCancel" />
|
||||
|
||||
</group>
|
||||
<link expr="ifthenelse( eq(@UI:PHRASE:BUILD:MAIN:0:SHEET,0), 190,
|
||||
ifthenelse(ne(@UI:PHRASE:BUILD:RESTRICT_COMBAT:ENABLED,0), 608, 540) )"
|
||||
ifthenelse(ne(@UI:PHRASE:BUILD:RESTRICT_COMBAT:ENABLED,0), 608, 540) )"
|
||||
target="header_opened:h" />
|
||||
|
||||
|
||||
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL" >
|
||||
</group>
|
||||
|
||||
|
@ -540,14 +540,14 @@
|
|||
|
||||
|
||||
<!-- The modal for Mp selection. NB: x/y so the mouse is ready to click on first mp -->
|
||||
<group type="modal" id="phrase_faber_mp_selection" posref="BL TL" x="-24" y="24" w="290"
|
||||
<group type="modal" id="phrase_faber_mp_selection" posref="BL TL" x="-24" y="24" w="290"
|
||||
child_resize_h="true" child_resize_hmargin="4" exit_click_out="true" options="skin_modal" >
|
||||
|
||||
<group type="list_sheet" nature="item" id="list" posref="TL TL" value="UI:PHRASE:FABER:MP_SELECT"
|
||||
<group type="list_sheet" nature="item" id="list" posref="TL TL" value="UI:PHRASE:FABER:MP_SELECT"
|
||||
wspace="4" hspace="4" array="false" x="4" y="-4" w="290" child_resize_h="true"
|
||||
rowmax="6" column_max="6" lmargin="10"
|
||||
onclick_l="phrase_faber_validate_mp" params_l="src=ctrl_launch_modal" onclick_r="open_item_help" >
|
||||
|
||||
|
||||
<!-- the scroll -->
|
||||
<ctrl style="skin_scroll" id="scroll_row" posref="TL TL" />
|
||||
</group>
|
||||
|
@ -561,27 +561,27 @@
|
|||
<!-- then select the quantity -->
|
||||
<action handler="phrase_faber_select_mp_quantity" />
|
||||
</proc>
|
||||
<group type="modal" id="phrase_faber_mp_quantity" exit_click_out="true"
|
||||
<group type="modal" id="phrase_faber_mp_quantity" exit_click_out="true"
|
||||
posref="TL TL" w="185" h="100" x="-35" y="85"
|
||||
on_enter="phrase_faber_select_mp_quantity" options="skin_modal"
|
||||
>
|
||||
<view type="text" id="text" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" global_color="false" hardtext="SELECT QUANTITY" />
|
||||
<ctrl type="sheet" id="sheet" onclick_r="open_help_auto" value="UI:PHRASE:FABER:STACK_SELECT" posref="MM MM" x="-26" y="0" use_quantity="false" />
|
||||
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X" />
|
||||
<instance template="edit_box_widget" id="edit" entry_type="positive_integer" text_ref="TR TR" text_y="-1" fontsize="12"
|
||||
posparent="sheet" posref="MR ML" x="16" y="0" text_x="-2" w="32"
|
||||
<instance template="edit_box_widget" id="edit" entry_type="positive_integer" text_ref="TR TR" text_y="-1" fontsize="12"
|
||||
posparent="sheet" posref="MR ML" x="16" y="0" text_x="-2" w="32"
|
||||
prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3"
|
||||
onchange="editbox_number" onchange_params="value=UI:PHRASE:FABER:STACK_SELECT:CUR_QUANTITY|update_text=false|value=UI:PHRASE:FABER:STACK_SELECT:MAX_QUANTITY"
|
||||
onchange="editbox_number" onchange_params="value=UI:PHRASE:FABER:STACK_SELECT:CUR_QUANTITY|update_text=false|value=UI:PHRASE:FABER:STACK_SELECT:MAX_QUANTITY"
|
||||
onenter="phrase_faber_select_mp_quantity" max_historic="0" />
|
||||
|
||||
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
|
||||
onclick_ok="phrase_faber_select_mp_quantity"
|
||||
onclick_ok_param=""
|
||||
|
||||
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4"
|
||||
onclick_ok="phrase_faber_select_mp_quantity"
|
||||
onclick_ok_param=""
|
||||
onclick_cancel="leave_modal"
|
||||
onclick_cancel_param="" />
|
||||
|
||||
<!-- the button to remove it (smae as set 0), on the left -->
|
||||
<ctrl style="button_ok" id="button_remove" posref="BL BL" x="4" y="4"
|
||||
<ctrl style="button_ok" id="button_remove" posref="BL BL" x="4" y="4"
|
||||
onclick_l="proc" params_l="phrase_faber_remove_mp" hardtext="uiFaberMpRemove" />
|
||||
|
||||
</group>
|
||||
|
@ -600,15 +600,15 @@
|
|||
|
||||
<!-- The Quantity of item required info text -->
|
||||
<view type="text_quantity" id="text_quantity" posref="TR TR" x="0" y="-8"
|
||||
color="255 255 255 255" global_color="true" fontsize="10" shadow="true"
|
||||
value="UI:PHRASE:FABER:MP_QUANTITY:#item_req:SELECTED"
|
||||
color="255 255 255 255" global_color="true" fontsize="10" shadow="true"
|
||||
value="UI:PHRASE:FABER:MP_QUANTITY:#item_req:SELECTED"
|
||||
valuemax="UI:PHRASE:FABER:MP_QUANTITY:#item_req:REQUIRED" />
|
||||
|
||||
<!-- The list of item -->
|
||||
<group type="list_sheet" nature="item" id="list"
|
||||
<group type="list_sheet" nature="item" id="list"
|
||||
posref="TL TL" x="8" y="-24" w="350" child_resize_h="true"
|
||||
wspace="8" hspace="8"
|
||||
value="UI:PHRASE:FABER:MP_BUILD:#item_req" array="false"
|
||||
wspace="8" hspace="8"
|
||||
value="UI:PHRASE:FABER:MP_BUILD:#item_req" array="false"
|
||||
auto_grayed="false"
|
||||
onclick_l="phrase_faber_select_mp" params_l="item_req=#item_req" onclick_r="open_item_help" tooltip="uittSelectMp" />
|
||||
</group>
|
||||
|
@ -618,9 +618,9 @@
|
|||
<!-- Template for a MPStat in Faber -->
|
||||
<template name="template_mp_faber_stat" id="" x="0" y="-2" posparent="item_result" posref="" >
|
||||
<group id="#id" posparent="#posparent" posref="#posref" x="#x" y="#y" w="350" h="16" active="false" >
|
||||
<view type="text" id="text" line_maxw="170" posref="ML ML" over_extend_view_text="true" />
|
||||
<view type="bar" id="bar" posref="MR MR" x="-50" value="0" range="100" />
|
||||
<view type="text" id="textstat" posref="MR MR" />
|
||||
<view type="text" id="text" line_maxw="170" posref="ML ML" over_extend_view_text="true" />
|
||||
<view type="bar" id="bar" posref="MR MR" x="-50" value="0" range="100" />
|
||||
<view type="text" id="textstat" posref="MR MR" />
|
||||
<ctrl type="tooltip" id="tt" sizeref="wh" w="0" h="0" tooltip="" />
|
||||
</group>
|
||||
</template>
|
||||
|
@ -639,7 +639,7 @@
|
|||
|
||||
<!-- container modal on hand -->
|
||||
<!-- on_enter="phrase_faber_validate_on_enter" -->
|
||||
<group style="container_modal" id="phrase_faber_execution" w="780" h="516" title="uiPhraseFaberExecute"
|
||||
<group style="container_modal" id="phrase_faber_execution" w="780" h="516" title="uiPhraseFaberExecute"
|
||||
modal_parent="gestionsets|bot_chat_missions" header_color="UI:SAVE:WIN:COLORS:INV" pop_max_h="716"
|
||||
on_active="proc" on_active_params="proc_phrase_faber_opened"
|
||||
on_deactive="proc" on_deactive_params="proc_phrase_faber_closed"
|
||||
|
@ -655,19 +655,19 @@
|
|||
</group>
|
||||
|
||||
<!-- Help info -->
|
||||
<view type="text" id="select_info" posref="TL TL" x="8" y="-26" color="255 255 255 255" shadow="true" fontsize="12"
|
||||
<view type="text" id="select_info" posref="TL TL" x="8" y="-26" color="255 255 255 255" shadow="true" fontsize="12"
|
||||
multi_line="true" line_maxw="380" multi_line_space="0" hardtext="uiTextHelpSelectMp" />
|
||||
<link expr="ifthenelse(eq(@UI:PHRASE:FABER:FABER_PLAN:SHEET, 0), 'uiTextHelpSelectFaberPlan', 'uiTextHelpSelectMp')" target="select_info:hardtext" />
|
||||
|
||||
|
||||
<!-- The FaberPlan Brick -->
|
||||
<ctrl type="sheet" id="faber_plan" nature="sbrick" value="UI:PHRASE:FABER:FABER_PLAN" posref="TL TL" posparent="back" x="8" y="-6"
|
||||
<ctrl type="sheet" id="faber_plan" nature="sbrick" value="UI:PHRASE:FABER:FABER_PLAN" posref="TL TL" posparent="back" x="8" y="-6"
|
||||
onclick_l="phrase_faber_select_plan" onclick_r="open_sbrick_help" tooltip="uittSelectPlan" />
|
||||
<view type="text" id="faber_plan_info" posparent="faber_plan" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10"
|
||||
<view type="text" id="faber_plan_info" posparent="faber_plan" posref="MR ML" x="8" y="-1" color="255 255 255 255" shadow="true" fontsize="10"
|
||||
multi_line="true" line_maxw="250" multi_line_space="0" hardtext="uiTextHelpSelectFaberPlanSlot" />
|
||||
<link expr="eq(@UI:PHRASE:FABER:FABER_PLAN:SHEET, 0)" target="faber_plan_info:active" />
|
||||
|
||||
<!-- The Success Rate info. Must be multiline for Formating -->
|
||||
<view type="text" id="success_text" posparent="back" posref="TL TL" x="8" y="-36" color="255 255 255 255" shadow="true" fontsize="12"
|
||||
<view type="text" id="success_text" posparent="back" posref="TL TL" x="8" y="-36" color="255 255 255 255" shadow="true" fontsize="12"
|
||||
multi_line="true" line_maxw="350" multi_line_space="0" hardtext="" />
|
||||
<link expr="ne(@UI:PHRASE:FABER:FABER_PLAN:SHEET, 0)" target="success_text:active" />
|
||||
|
||||
|
@ -684,20 +684,20 @@
|
|||
<!-- RESULT ITEM -->
|
||||
<group id="item_result" posparent="back" posref="TR TR" x="-20" y="-4" w="360" child_resize_h="true" max_h="368" >
|
||||
<instance template="inner_thin_border" inherit_gc_alpha="true" />
|
||||
|
||||
|
||||
<!-- Text Header -->
|
||||
<view type="text" id="header" posref="TL TL" y="0" hardtext="uiFaberItemResultHeader"/> <!-- for item, pacts, .. -->
|
||||
<view type="text" id="header" posref="TL TL" y="0" hardtext="uiFaberItemResultHeader"/> <!-- for item, pacts, .. -->
|
||||
|
||||
<!-- item result -->
|
||||
<ctrl type="sheet" id="item_result" nature="item" value="UI:PHRASE:FABER:RESULT_ITEM" posparent="header" posref="BL TL" x="0" y="-2" tooltip="uittFaberItemResult" />
|
||||
|
||||
|
||||
<!-- Stat Preview -->
|
||||
<vector template="template_mp_faber_stat" id="stat$i" _size="%MAX_STAT_MP_CRAFT" _firstpos="BL TL" _xfirst="0" _yfirst="-2" _nextpos="BL TL" />
|
||||
</group>
|
||||
<ctrl style="skin_scroll" id="sv_ir" posparent="back" posref="TR TR" x="-8" y="-44" target="item_result" />
|
||||
|
||||
<!-- VALIDATION -->
|
||||
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_faber_validate" ok_text="uittPhraseFaberBuild"
|
||||
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="phrase_faber_validate" ok_text="uittPhraseFaberBuild"
|
||||
onclick_cancel="set" onclick_cancel_param="target_property=ui:interface:phrase_faber_execution:active|value=0" cancel_text="uittCancel" />
|
||||
</group>
|
||||
|
||||
|
@ -721,53 +721,53 @@
|
|||
<view type="bitmap" id="cadre4" posref="BL BL" scale="true" sizeref="w" h="2" w="0" texture="W_line_hor.tga" y="-1" />
|
||||
</group>
|
||||
<link expr="ifthenelse(eq(@UI:VARIABLES:LINKS_INFOS, 0), 306, 200)" target="cadre:w" />
|
||||
|
||||
|
||||
<!-- SLOT. don't change the id for info -->
|
||||
<ctrl type="sheet" id="ctrl_phrase" nature="sphraseid" posref="ML ML" x="2" dragable="false"
|
||||
value="SERVER:EXECUTE_PHRASE:LINK:#index" onclick_r="open_phraseid_help" />
|
||||
|
||||
<ctrl type="sheet" id="ctrl_phrase" nature="sphraseid" posref="ML ML" x="2" dragable="false"
|
||||
value="SERVER:EXECUTE_PHRASE:LINK:#index" onclick_r="open_phraseid_help" />
|
||||
|
||||
<group id="name_cost" w="120" h="26" posparent="ctrl_phrase" posref="TR TL" x="2" y="-1" >
|
||||
<!-- NAME. Get the Name spell -->
|
||||
<view type="text" id="spell_name" posref="TL TL" y="-1" w="120" h="10" shadow="true" fontsize="10"
|
||||
global_color="false" />
|
||||
<link expr="getSPhraseName(@SERVER:EXECUTE_PHRASE:LINK:#index:PHRASE)" target="spell_name:uc_hardtext" />
|
||||
|
||||
|
||||
<!-- COSTS (HP, SAP, STA) -->
|
||||
<!--
|
||||
<view type="text" id="costs" posparent="spell" posref="BR BL" x="2" y="0" shadow="true" fontsize="8" hardtext="uiLinksCosts" />
|
||||
-->
|
||||
<instance template="box_widget" id="box_cost" posref="BL BL" w="81" h="13" />
|
||||
|
||||
|
||||
<view type="text_number" id="hp_cost" posparent="box_cost" posref="ML MM" x="14" y="-2" fontsize="8" shadow="true" value="SERVER:EXECUTE_PHRASE:LINK:#index:HP_COST" color="%hp_color" global_color="false" />
|
||||
<view type="text" id="sep1" posparent="box_cost" posref="ML MM" x="27" y="-1" shadow="true" fontsize="10" hardtext="/" color="255 255 255 255" />
|
||||
<view type="text_number" id="sap_cost" posparent="box_cost" posref="MM MM" x="0" y="-2" fontsize="8" shadow="true" value="SERVER:EXECUTE_PHRASE:LINK:#index:SAP_COST" color="%sap_color" global_color="false" />
|
||||
<view type="text" id="sep2" posparent="box_cost" posref="ML MM" x="54" y="-1" shadow="true" fontsize="10" hardtext="/" color="255 255 255 255" />
|
||||
<view type="text_number" id="sta_cost" posparent="box_cost" posref="MR MM" x="-14" y="-2" fontsize="8" shadow="true" value="SERVER:EXECUTE_PHRASE:LINK:#index:STA_COST" color="%sta_color" global_color="false" />
|
||||
</group>
|
||||
<link expr="eq(@UI:VARIABLES:LINKS_INFOS, 0)" target="name_cost:active" />
|
||||
|
||||
<link expr="eq(@UI:VARIABLES:LINKS_INFOS, 0)" target="name_cost:active" />
|
||||
|
||||
<!-- SEP SPELL/TARGET -->
|
||||
<view type="bitmap" id="sep" posref="ML ML" x="150" scale="true" w="2" h="26" color="255 255 255 160" texture="W_line_ver.tga" />
|
||||
<link expr="eq(@UI:VARIABLES:LINKS_INFOS, 0)" target="sep:active" />
|
||||
|
||||
<link expr="eq(@UI:VARIABLES:LINKS_INFOS, 0)" target="sep:active" />
|
||||
|
||||
<!-- TARGET -->
|
||||
<group id="target" posref="ML ML" x="154" w="150" h="26" >
|
||||
<!-- TARGET Name -->
|
||||
<view type="text_id" id="name" posref="TL TL" x="0" y="-1" h="10" shadow="true" fontsize="10" textid="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_NAME" />
|
||||
<!-- Jauges Target -->
|
||||
<view type="bar3" id="jauges" posref="BL BL" mini="true" y="1"
|
||||
color1="%sta_color" value1="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_STA" range1="UI:CONST:127"
|
||||
color1="%sta_color" value1="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_STA" range1="UI:CONST:127"
|
||||
color2="%sap_color" value2="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_SAP" range2="UI:CONST:127"
|
||||
color3="%hp_color" value3="SERVER:EXECUTE_PHRASE:LINK:#index:TARGET_HP" range3="UI:CONST:127" />
|
||||
</group>
|
||||
<link expr="ifthenelse(eq(@UI:VARIABLES:LINKS_INFOS, 0), 154, 40)" target="target:x" />
|
||||
|
||||
|
||||
<!-- BUTTON TO STOP THE LINK -->
|
||||
<ctrl type="button" id="stop_button" button_type="push_button" posref="MM MM" sizeref="wh" w="-2" h="-4" scale="true"
|
||||
<ctrl type="button" id="stop_button" button_type="push_button" posref="MM MM" sizeref="wh" w="-2" h="-4" scale="true"
|
||||
tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" color="0 0 0 0" col_pushed="0 0 0 0" col_over="255 255 255 32"
|
||||
onclick_l="phrase_link_stop" params_l="#index" tooltip="uiStopLinkSpell"
|
||||
onclick_l="phrase_link_stop" params_l="#index" tooltip="uiStopLinkSpell"
|
||||
onclick_r="phrase_link_ctrl_rclick" />
|
||||
|
||||
|
||||
<!-- HIDE THIS GROUP IF NO LINK -->
|
||||
<link expr="ne(@SERVER:EXECUTE_PHRASE:LINK:#index:PHRASE, 0)" target="active" />
|
||||
|
||||
|
@ -784,12 +784,12 @@
|
|||
|
||||
<group id="header_closed" x="0" y="0" w="314" h="16" posref="TL TL" >
|
||||
</group>
|
||||
|
||||
<group id="header_opened" x="0" y="0" w="314" h="20" posref="TL TL"
|
||||
|
||||
<group id="header_opened" x="0" y="0" w="314" h="20" posref="TL TL"
|
||||
group_onclick_r="active_menu"
|
||||
group_params_r="menu=ui:interface:base_menu_with_color" >
|
||||
|
||||
<view type="text" id="text_show_preview" posref="MR MR" x="-16" y="0" color="255 255 255 255" fontsize="10" global_color="false" shadow="true" hardtext="uiLinkInfo" />
|
||||
|
||||
<view type="text" id="text_show_preview" posref="MR MR" x="-16" y="0" color="255 255 255 255" fontsize="10" global_color="false" shadow="true" hardtext="uiLinkInfo" />
|
||||
<ctrl type="button" id="show_info" button_type="toggle_button" posparent="text_show_preview" posref="ML MR" x="-2" y="2" pushed="false"
|
||||
tx_normal="w_opacity_on.tga" tx_pushed="w_slot_on.tga" tx_over="w_slot_on.tga"
|
||||
color="255 255 255 255" col_pushed="255 255 255 255" col_over="255 255 255 0"
|
||||
|
|
Loading…
Reference in a new issue