<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<!-- *NOTE: See also menu_avatar_other.xml -->
<context_menu
 layout="topleft"
 name="Avatar Pie">
    <menu_item_call
     enabled="false"
     label="Touch"
     layout="topleft"
     name="Attachment Object Touch">
        <menu_item_call.on_click
         function="Object.Touch" />
        <menu_item_call.on_enable
         function="Object.EnableTouch"
         name="EnableTouch"/>
    </menu_item_call>
   <menu_item_separator />
    <menu_item_call
     label="View Profile"
     name="Profile...">
        <menu_item_call.on_click
         function="ShowAgentProfile"
         parameter="hit object" />
    </menu_item_call>
   <menu_item_call
     enabled="false"
     label="Add Friend"
     name="Add Friend">
        <menu_item_call.on_click
         function="Avatar.AddFriend" />
        <menu_item_call.on_enable
         function="Avatar.EnableAddFriend" />
    </menu_item_call>
    <menu_item_call
     label="Send IM..."
     name="Send IM...">
        <menu_item_call.on_click
         function="Avatar.SendIM" />
    </menu_item_call>
    <menu_item_call
     label="Call"
     name="Call">
        <menu_item_call.on_click
         function="Avatar.Call" />
        <menu_item_call.on_enable
         function="Avatar.EnableCall" />
    </menu_item_call>
      <menu_item_call
         label="Invite to Group"
         name="Invite...">
      <menu_item_call.on_click
         function="Avatar.InviteToGroup" />
      </menu_item_call>

     <menu_item_separator />

    <menu
     label="Appearance"
     name="Appearance Menu">
    <menu_item_call
     label="Refresh"
     name="Refresh">
      <menu_item_call.on_click
       function="Object.RefreshTex" />
    </menu_item_call>

     <menu_item_call label="Reset Skeleton"
       layout="topleft"
       name="Reset Skeleton">
       <menu_item_call.on_click
        function="Avatar.ResetSkeleton" />
     </menu_item_call>

     <menu_item_call label="Reset Skeleton And Animations"
       layout="topleft"
       name="Reset Skeleton And Animations">
       <menu_item_call.on_click
        function="Avatar.ResetSkeletonAndAnimations" />
     </menu_item_call>
    </menu>

        <menu_item_call
         label="Debug Textures"
         name="Debug...">
            <menu_item_call.on_click
             function="Avatar.Debug" />
            <menu_item_call.on_visible
             function="IsGodCustomerService"/>
        </menu_item_call>
    <menu_item_call
		 label="Dump XML"
         name="Dump XML">
            <menu_item_call.on_click
             function="Advanced.AppearanceToXML" />
            <menu_item_call.on_visible
             function="Advanced.EnableAppearanceToXML"/>
    </menu_item_call>
	    <menu_item_call
         label="Zoom In"
          name="Zoom In">
        <menu_item_call.on_click
           function="Tools.LookAtSelection"
           parameter="zoom" />
    </menu_item_call>
   <menu_item_call
     enabled="false"
     label="Pay"
     name="Pay...">
        <menu_item_call.on_click
         function="PayObject" />
        <menu_item_call.on_enable
         function="EnablePayAvatar" />
    </menu_item_call>
   <menu_item_separator />
   <menu_item_call
       label="Object Profile"
       name="Object Inspect">
         <menu_item_call.on_click
          function="Object.Inspect" />
         <menu_item_call.on_enable
          function="Object.EnableInspect" />
   </menu_item_call>

   <menu_item_separator />

    <menu
     label="Visibility"
     name="Visibility">

      <menu_item_check
        name="RenderNormally"
        label="Render Normally">
        <menu_item_check.on_check
          function="Avatar.CheckImpostorMode"
          parameter="0" />
	    <menu_item_check.on_click
	      function="Avatar.SetImpostorMode"
	      parameter="0" />
      </menu_item_check>
      <menu_item_check
        name="DoNotRender"
        label="Do Not Render">
        <menu_item_check.on_check
          function="Avatar.CheckImpostorMode"
          parameter="1" />
	    <menu_item_check.on_click
	      function="Avatar.SetImpostorMode"
	      parameter="1" />
      </menu_item_check>
      <menu_item_check
        name="AlwaysRenderFully"
        label="Render Fully">
        <menu_item_check.on_check
          function="Avatar.CheckImpostorMode"
          parameter="2" />
	    <menu_item_check.on_click
	      function="Avatar.SetImpostorMode"
	      parameter="2" />
      </menu_item_check>
    </menu>

  <menu
   label="Manage"
   name="manage_menu">
    <menu_item_call
        label="Freeze"
        name="freeze">
      <menu_item_call.on_click
       function="Avatar.Freeze" />
      <menu_item_call.on_visible
       function="Avatar.EnableFreezeEject"/>
    </menu_item_call>
    <menu_item_call
        label="Eject"
        name="eject">
      <menu_item_call.on_click
       function="Avatar.Eject" />
      <menu_item_call.on_visible
       function="Avatar.EnableFreezeEject"/>
    </menu_item_call>
    <menu_item_call
        label="Teleport Home"
        name="estate_tphome">
      <menu_item_call.on_click
       function="Avatar.EstateTPHome" />
      <menu_item_call.on_visible
       function="Avatar.EnableEstateManage"/>
    </menu_item_call>
    <menu_item_call
        label="Estate Kick"
        name="estate_kick">
      <menu_item_call.on_click
       function="Avatar.EstateKick" />
      <menu_item_call.on_visible
       function="Avatar.EnableEstateManage"/>
    </menu_item_call>
    <menu_item_call
        label="Estate Ban"
        name="estate_ban">
      <menu_item_call.on_click
       function="Avatar.EstateBan" />
      <menu_item_call.on_visible
       function="Avatar.EnableEstateManage"/>
    </menu_item_call>

    <menu_item_separator
     name="moderation_separator">
     <menu_item_separator.on_visible
      function="Avatar.EnableFreezeEject"/>
    </menu_item_separator >

   <menu_item_call
    label="Derender"
    name="Derender">
    <menu_item_call.on_click
     function="Alchemy.Derender" />
   </menu_item_call>
   <menu_item_call
     enabled="false"
     label="Block Particle Owner"
     name="Mute Particle">
    <menu_item_call.on_click
     function="Particle.Mute" />
    <menu_item_call.on_enable
     function="EnableMuteParticle" />
   </menu_item_call>
    <menu_item_call
     enabled="false"
     label="Block"
     name="Avatar Mute">
      <menu_item_call.on_click
       function="Avatar.Mute" />
      <menu_item_call.on_enable
       function="Avatar.EnableMute" />
    </menu_item_call>
    <menu_item_call
     label="Report Abuse"
     name="abuse">
      <menu_item_call.on_click
       function="Avatar.ReportAbuse" />
    </menu_item_call>
  </menu>
  <menu
   label="Tools"
   name="Tools">
    <menu_item_call
     label="Copy Name"
     name="Copy Name">
      <menu_item_call.on_click
      function="Avatar.CopyData"
      parameter="copy_name" />
    </menu_item_call>
    <menu_item_call
     label="Copy SLURL"
     name="Copy SLURL">
      <menu_item_call.on_click
      function="Avatar.CopyData"
      parameter="copy_slurl" />
    </menu_item_call>
    <menu_item_call
     label="Copy Key"
     name="Copy Key">
      <menu_item_call.on_click
      function="Avatar.CopyData"
      parameter="copy_key" />
    </menu_item_call>
  </menu>
  <menu
   label="Tag Color"
   name="tag_color">
    <menu_item_call
     label="Color 1"
     name="Color 1"
     enabled_color="AvatarCustomColor1">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color1" />
    </menu_item_call>
    <menu_item_call
     label="Color 2"
     name="Color 2"
     enabled_color="AvatarCustomColor2">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color2" />
    </menu_item_call>
    <menu_item_call
     label="Color 3"
     name="Color 3"
     enabled_color="AvatarCustomColor3">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color3" />
    </menu_item_call>
    <menu_item_call
     label="Color 4"
     name="Color 4"
     enabled_color="AvatarCustomColor4">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color4" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call
     label="Clear Color"
     name="clear_color">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="clear" />
    </menu_item_call>
  </menu>
</context_menu>
