khanat-client-data-NeL/data/ryz/ryz_zzz_bazaar/game_context_menu.xml

139 lines
8.4 KiB
XML

<interface_config>
<!-- *********************************************** -->
<!-- * IN-GAME CONTEXT MENU DEFINITION * -->
<!-- *********************************************** -->
<root id="interface" w="800" h="600" />
<variable entry="UI:GCM_BEAST_SELECTED" type="sint32" value="-1" />
<group type="menu" id="game_context_menu" extends="base_menu" on_active="" on_active_params=""
options="context_menu_back"
color="255 255 255 255"
fontsize="12"
shadow="false"
shadow_color="0 0 0 255"
shadow_color_over="0 0 0 255"
color_over="0 0 0 255"
color_grayed="255 255 255 128"
shadow_color_grayed="0 0 0 255"
highlight_over="255 255 255 128"
formatted="true"
case_mode="%case_normal"
>
<!-- Put First NPC interaction, sorted by usage frequency-->
<!-- trade -->
<action id="trade_item" name="uimGcmTrade" handler="context_trade_item" params="" />
<action id="trade_pact" name="uimGcmTradePact" handler="context_trade_pact" params="" />
<action id="trade_phrase" name="uimGcmTradePhase" handler="context_trade_phrase" params="" />
<action id="trade_teleport" name="uimGcmTeleport" handler="context_trade_teleport" params="" />
<action id="trade_faction" name="uimGcmFaction" handler="context_trade_faction" params="" />
<action id="trade_cosmetic" name="uimGcmCosmetic" handler="context_trade_cosmetic" params="" />
<action id="trade_guild_options" name="uimGcmGuildOptions" handler="context_trade_guild_options" params="" />
<action id="trade_outpost_building" name="uimGcmOutpostBuilding" handler="context_trade_outpost_building" params="" />
<action id="trade_guild_role_master" name="uimGcmGuildRoleMaster" handler="context_trade_guild_role_master" params="" />
<!-- choose mission -->
<action id="choose_mission" name="uimGcmMissions" handler="context_choose_mission" params=""/>
<!-- access to the web page -->
<action id="web_page" name="" handler="context_web_page" params=""/>
<!-- create guild -->
<action id="create_guild" name="uimGcmCreateGuild" handler="context_create_guild" params="" />
<!-- mission options -->
<action id="mo0" name="" handler="mission_option" params="id=0" />
<action id="mo1" name="" handler="mission_option" params="id=1" />
<action id="mo2" name="" handler="mission_option" params="id=2" />
<action id="mo3" name="" handler="mission_option" params="id=3" />
<action id="mo4" name="" handler="mission_option" params="id=4" />
<action id="mo5" name="" handler="mission_option" params="id=5" />
<action id="mo6" name="" handler="mission_option" params="id=6" />
<action id="mo7" name="" handler="mission_option" params="id=7" />
<!-- mission ring -->
<action id="mr0" name="" handler="mission_ring" params="id=0" />
<action id="mr1" name="" handler="mission_ring" params="id=1" />
<action id="mr2" name="" handler="mission_ring" params="id=2" />
<action id="mr3" name="" handler="mission_ring" params="id=3" />
<!-- Loot/Forage/Quartering -->
<action id="loot_action" name="uimGcmLoot" handler="context_loot" params="" />
<action id="quartering" name="uimGcmQuartering" handler="context_quartering" params="" />
<!-- New BotChat By Yoyo -->
<action id="choose_zc_charge" name="uimGcmZoneCharge" handler="context_choose_zc_charge" params=""/>
<action id="cancel_zc_charge" name="uimGcmCancelZoneCharge" handler="context_cancel_zc_charge" params=""/>
<action id="choose_building" name="uimGcmChooseBuilding" handler="context_choose_building" params=""/>
<action id="destroy_building" name="uimGcmDestroyBuilding" handler="context_destroy_building" params=""/>
<action id="outpost_state" name="uimGcmDeclareWar" handler="lua:game:outpostBCOpenStateWindow()" params=""/>
<action id="buy_rm" name="uimGcmBuyRM" handler="context_buy_rm" params=""/>
<action id="upgrade_rm" name="uimGcmUpgradeRM" handler="context_upgrade_rm" params=""/>
<action id="outpost_bannish_player" name="uimGcmOutpostBanishPlayer" handler="outpost_ban_player" params=""/>
<action id="outpost_bannish_guild" name="uimGcmOutpostBanishGuild" handler="outpost_ban_guild" params=""/>
<!-- talk : engage conversation with player or ask news to a npc -->
<action id="talk" name="uimGcmTalk" handler="context_talk" params="" />
<action id="news" name="uimGcmNews" handler="context_talk" params="" />
<!-- Action misc with selection -->
<separator/>
<!-- ennemy -->
<action id="attack" name="uimGcmAttack" handler="context_attack" params="" />
<action id="duel" name="uimGcmDuel" handler="context_duel" params="" />
<action id="unduel" name="uimGcmUnDuel" handler="context_unduel" params="" />
<!-- <action id="pvp_challenge" name="uimGcmPvpChallenge" handler="context_pvp_challenge" params="" /> -->
<!-- <action id="unpvp_challenge" name="uimGcmUnPvpChanllenge" handler="context_unpvp_challenge" params="" /> -->
<action id="disengage" name="uimGcmDisengage" handler="context_disengage" params="" />
<!-- friendly -->
<action id="assist" name="uimAssist" handler="assist_target" params="" />
<action id="follow" name="uimFollow" handler="command" params="follow" />
<action id="exchange" name="uimGcmExchange" handler="context_exchange" params="" />
<action id="invit" name="uimGcmInvit" handler="context_invit" params="" />
<action id="guild_invit" name="uimGcmGuildInvit" handler="context_guild_invit" params="" />
<action id="add_to_friend_list" name="uimGcmAddToFriendList" handler="context_add_to_friend_list" params="" />
<!-- misc -->
<action id="mount" name="uimGcmMount" handler="beast_order" params="order=mount|beast_index=@UI:GCM_BEAST_SELECTED" />
<action id="pa_follow" name="uimFollowMe" handler="beast_order" params="order=follow|beast_index=@UI:GCM_BEAST_SELECTED"/>
<action id="pa_stop" name="uimGcmStop" handler="beast_order" params="order=stop|beast_index=@UI:GCM_BEAST_SELECTED"/>
<action id="pa_free" name="uimGcmFree" handler="beast_order" params="order=free|beast_index=@UI:GCM_BEAST_SELECTED"/>
<action id="pa_enter_stable" name="uimGcmEnterStable" handler="beast_order" params="order=enter_stable|beast_index=@UI:GCM_BEAST_SELECTED"/>
<action id="extract_rm" name="uimGcmExtractRM" handler="context_extract_rm" params="" />
<action id="quit_team" name="uimGcmQuitTeam" handler="context_quit_team" params="" />
<action id="info" name="uimGcmInfo" handler="open_title_help" params="from=target" />
<action id="build_totem" name="uimGcmChooseBuilding" handler="build_totem" params="" />
<!-- Action with no selection -->
<separator/>
<action id="free_look" name="uiMouseHead" handler="context_free_look" params="" />
<action id="move" name="uimGcmMove" handler="context_move" params="" />
<action id="stop" name="uimGcmStopMove" handler="context_stop" params="" />
<action id="unseat" name="uimUnmount" handler="beast_order" params="order=unmount|beast_index=0" />
</group>
<!-- TEMPORARY FOR TESTS -->
<!--
<action id="long" name="TEST" handler="" params="" >
<action id="action1" name="ACTION 1" handler="" params="" >
<action id="action11" name="ACTION 1-1" handler="" params="" />
<action name="ACTION 1-2" handler="" params="" >
<action name="ACTION 1-2-1" handler="" params="" />
<action name="ACTION 1-2-2" handler="" params="" />
</action>
<action name="ACTION 1-3" handler="" params="" />
</action>
<action name="ACTION 2" handler="" params="" >
<action name="ACTION 2-1" handler="" params="" />
<action name="ACTION 2-2" handler="" params="" />
<action name="ACTION 2-3" handler="" params="" />
</action>
<action name="ACTION 3" handler="" params="" >
<action name="ACTION 3-1" handler="" params="" />
<action name="ACTION 3-2" handler="" params="" />
<action name="ACTION 3-3" handler="" params="" />
</action>
<action name="ACTION 4" handler="" params="" grayed="true" />
</action>
-->
<!--<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:harvest:grayed" />
<link expr="isRangeWeapon(@%set_base:[%set_active]:%set_r:SHEET)" target="game_context_menu:long:action1:1:grayed" />-->
</interface_config>