mirror of
				https://github.com/ErikasKontenis/SabrehavenServer.git
				synced 2025-10-31 03:56:22 +01:00 
			
		
		
		
	commit client
This commit is contained in:
		
							
								
								
									
										1
									
								
								SabrehavenOTClient/layouts/mobile/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								SabrehavenOTClient/layouts/mobile/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| Min. height for mobile is 360, don't make windows bigger than that | ||||
							
								
								
									
										108
									
								
								SabrehavenOTClient/layouts/mobile/styles/10-scrollbars.otui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										108
									
								
								SabrehavenOTClient/layouts/mobile/styles/10-scrollbars.otui
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,108 @@ | ||||
| ScrollBarSlider < UIButton | ||||
|   id: sliderButton | ||||
|   anchors.centerIn: parent | ||||
|   size: 16 20 | ||||
|   image-source: /images/ui/scrollbar | ||||
|   image-clip: 0 26 13 13 | ||||
|   image-border: 2 | ||||
|   image-color: #ffffffff | ||||
|   $hover: | ||||
|     image-clip: 13 26 13 13 | ||||
|   $pressed: | ||||
|     image-clip: 26 26 13 13 | ||||
|   $disabled: | ||||
|     image-color: #ffffff66 | ||||
|  | ||||
| ScrollBarValueLabel < Label | ||||
|   id: valueLabel | ||||
|   anchors.fill: parent | ||||
|   color: white | ||||
|   text-align: center | ||||
|  | ||||
| VerticalScrollBar < UIScrollBar | ||||
|   orientation: vertical | ||||
|   width: 16 | ||||
|   height: 39 | ||||
|   image-source: /images/ui/scrollbar | ||||
|   image-clip: 39 0 13 65 | ||||
|   image-border: 1 | ||||
|   pixels-scroll: true | ||||
|  | ||||
|   UIButton | ||||
|     id: decrementButton | ||||
|     anchors.top: parent.top | ||||
|     anchors.left: parent.left | ||||
|     image-source: /images/ui/scrollbar | ||||
|     image-clip: 0 0 13 13 | ||||
|     image-color: #ffffffff | ||||
|     size: 16 16 | ||||
|     $hover: | ||||
|       image-clip: 13 0 13 13 | ||||
|     $pressed: | ||||
|       image-clip: 26 0 13 13 | ||||
|     $disabled: | ||||
|       image-color: #ffffff66 | ||||
|  | ||||
|   UIButton | ||||
|     id: incrementButton | ||||
|     anchors.bottom: parent.bottom | ||||
|     anchors.right: parent.right | ||||
|     size: 16 16 | ||||
|     image-source: /images/ui/scrollbar | ||||
|     image-clip: 0 13 13 13 | ||||
|     image-color: #ffffffff | ||||
|     $hover: | ||||
|       image-clip: 13 13 13 13 | ||||
|     $pressed: | ||||
|       image-clip: 26 13 13 13 | ||||
|     $disabled: | ||||
|       image-color: #ffffff66 | ||||
|  | ||||
|   ScrollBarSlider | ||||
|  | ||||
|   ScrollBarValueLabel | ||||
|  | ||||
| HorizontalScrollBar < UIScrollBar | ||||
|   orientation: horizontal | ||||
|   height: 16 | ||||
|   width: 39 | ||||
|   image-source: /images/ui/scrollbar | ||||
|   image-clip: 0 65 52 13 | ||||
|   image-border: 1 | ||||
|  | ||||
|   $disabled: | ||||
|     color: #bbbbbb88 | ||||
|  | ||||
|   UIButton | ||||
|     id: decrementButton | ||||
|     anchors.top: parent.top | ||||
|     anchors.left: parent.left | ||||
|     image-source: /images/ui/scrollbar | ||||
|     image-clip: 0 39 13 13 | ||||
|     image-color: #ffffffff | ||||
|     size: 16 16 | ||||
|     $hover: | ||||
|       image-clip: 13 39 13 13 | ||||
|     $pressed: | ||||
|       image-clip: 26 39 13 13 | ||||
|     $disabled: | ||||
|       image-color: #ffffff66 | ||||
|  | ||||
|   UIButton | ||||
|     id: incrementButton | ||||
|     anchors.bottom: parent.bottom | ||||
|     anchors.right: parent.right | ||||
|     size: 16 16 | ||||
|     image-source: /images/ui/scrollbar | ||||
|     image-clip: 0 52 13 13 | ||||
|     image-color: #ffffffff | ||||
|     $hover: | ||||
|       image-clip: 13 52 13 13 | ||||
|     $pressed: | ||||
|       image-clip: 26 52 13 13 | ||||
|     $disabled: | ||||
|       image-color: #ffffff66 | ||||
|  | ||||
|   ScrollBarSlider | ||||
|  | ||||
|   ScrollBarValueLabel | ||||
| @@ -0,0 +1,60 @@ | ||||
| SmallScrollBar < UIScrollBar | ||||
|   orientation: vertical | ||||
|   margin-bottom: 1 | ||||
|   step: 20 | ||||
|   width: 16 | ||||
|   image-source: /images/ui/scrollbar | ||||
|   image-clip: 39 0 13 65 | ||||
|   image-border: 1 | ||||
|   pixels-scroll: true | ||||
|  | ||||
|   UIButton | ||||
|     id: decrementButton | ||||
|     anchors.top: parent.top | ||||
|     anchors.left: parent.left | ||||
|     image-source: /images/ui/scrollbar | ||||
|     image-clip: 0 0 13 13 | ||||
|     image-color: #ffffffff | ||||
|     size: 16 16 | ||||
|     $hover: | ||||
|       image-clip: 13 0 13 13 | ||||
|     $pressed: | ||||
|       image-clip: 26 0 13 13 | ||||
|     $disabled: | ||||
|       image-color: #ffffff66 | ||||
|  | ||||
|   UIButton | ||||
|     id: incrementButton | ||||
|     anchors.bottom: parent.bottom | ||||
|     anchors.right: parent.right | ||||
|     size: 16 16 | ||||
|     image-source: /images/ui/scrollbar | ||||
|     image-clip: 0 13 13 13 | ||||
|     image-color: #ffffffff | ||||
|     $hover: | ||||
|       image-clip: 13 13 13 13 | ||||
|     $pressed: | ||||
|       image-clip: 26 13 13 13 | ||||
|     $disabled: | ||||
|       image-color: #ffffff66 | ||||
|  | ||||
|   UIButton | ||||
|     id: sliderButton | ||||
|     anchors.centerIn: parent | ||||
|     size: 16 20 | ||||
|     image-source: /images/ui/scrollbar | ||||
|     image-clip: 0 26 13 13 | ||||
|     image-border: 2 | ||||
|     image-color: #ffffffff | ||||
|     $hover: | ||||
|       image-clip: 13 26 13 13 | ||||
|     $pressed: | ||||
|       image-clip: 26 26 13 13 | ||||
|     $disabled: | ||||
|       image-color: #ffffff66 | ||||
|          | ||||
|   Label | ||||
|     id: valueLabel | ||||
|     anchors.fill: parent | ||||
|     color: white | ||||
|     text-align: center | ||||
							
								
								
									
										128
									
								
								SabrehavenOTClient/layouts/mobile/styles/30-miniwindow.otui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										128
									
								
								SabrehavenOTClient/layouts/mobile/styles/30-miniwindow.otui
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,128 @@ | ||||
| MiniWindow < UIMiniWindow | ||||
|   font: verdana-11px-antialised | ||||
|   icon-rect: 4 4 16 16 | ||||
|   width: 192 | ||||
|   height: 200 | ||||
|   text-offset: 24 5 | ||||
|   text-align: topLeft | ||||
|   image-source: /images/ui/miniwindow | ||||
|   image-border: 4 | ||||
|   image-border-top: 23 | ||||
|   image-border-bottom: 4 | ||||
|   focusable: false | ||||
|   &minimizedHeight: 24 | ||||
|  | ||||
|   $on: | ||||
|     image-border-bottom: 2 | ||||
|  | ||||
|   UIWidget | ||||
|     id: miniwindowTopBar | ||||
|     anchors.top: parent.top | ||||
|     anchors.right: parent.right | ||||
|     anchors.left: parent.left | ||||
|     margin-right: 3 | ||||
|     margin-left: 3 | ||||
|     margin-top: 3 | ||||
|     size: 258 18 | ||||
|     phantom: true | ||||
|  | ||||
|   UIButton | ||||
|     id: closeButton | ||||
|     anchors.top: parent.top | ||||
|     anchors.right: parent.right | ||||
|     margin-top: 5 | ||||
|     margin-right: 5 | ||||
|     size: 14 14 | ||||
|     image-source: /images/ui/miniwindow_buttons | ||||
|     image-clip: 28 0 14 14 | ||||
|  | ||||
|     $hover: | ||||
|       image-clip: 28 14 14 14 | ||||
|  | ||||
|     $pressed: | ||||
|       image-clip: 28 28 14 14 | ||||
|  | ||||
|   UIButton | ||||
|     id: minimizeButton | ||||
|     anchors.top: closeButton.top | ||||
|     anchors.right: closeButton.left | ||||
|     margin-right: 3 | ||||
|     size: 14 14 | ||||
|     image-source: /images/ui/miniwindow_buttons | ||||
|     image-clip: 0 0 14 14 | ||||
|  | ||||
|     $hover: | ||||
|       image-clip: 0 14 14 14 | ||||
|  | ||||
|     $pressed: | ||||
|       image-clip: 0 28 14 14 | ||||
|  | ||||
|     $on: | ||||
|       image-clip: 14 0 14 14 | ||||
|  | ||||
|     $on hover: | ||||
|       image-clip: 14 14 14 14 | ||||
|  | ||||
|     $on pressed: | ||||
|       image-clip: 14 28 14 14 | ||||
|  | ||||
|   UIButton | ||||
|     id: lockButton | ||||
|     anchors.top: minimizeButton.top | ||||
|     anchors.right: minimizeButton.left | ||||
|     margin-right: 3 | ||||
|     size: 14 14 | ||||
|     image-source: /images/ui/miniwindow_buttons | ||||
|     image-clip: 112 0 14 14 | ||||
|  | ||||
|     $hover: | ||||
|       image-clip: 112 14 14 14 | ||||
|  | ||||
|     $pressed: | ||||
|     image-clip: 112 28 14 14 | ||||
|  | ||||
|     $on: | ||||
|       image-clip: 98 0 14 14 | ||||
|  | ||||
|     $on hover: | ||||
|       image-clip: 98 14 14 14 | ||||
|  | ||||
|     $on pressed: | ||||
|       image-clip: 98 28 14 14 | ||||
|  | ||||
|   VerticalScrollBar | ||||
|     id: miniwindowScrollBar | ||||
|     anchors.top: parent.top | ||||
|     anchors.bottom: parent.bottom | ||||
|     anchors.right: parent.right | ||||
|     step: 14 | ||||
|     margin-top: 22 | ||||
|     margin-right: 3 | ||||
|     margin-bottom: 3 | ||||
|     pixels-scroll: true | ||||
|  | ||||
|     $!on: | ||||
|       width: 0 | ||||
|  | ||||
|   ResizeBorder | ||||
|     id: bottomResizeBorder | ||||
|     anchors.bottom: parent.bottom | ||||
|     anchors.left: parent.left | ||||
|     anchors.right: parent.right | ||||
|     height: 8 | ||||
|     minimum: 48 | ||||
|     margin-left: 3 | ||||
|     margin-right: 3 | ||||
|     background: #ffffff88 | ||||
|  | ||||
| MiniWindowContents < ScrollablePanel | ||||
|   id: contentsPanel | ||||
|   anchors.fill: parent | ||||
|   anchors.right: miniwindowScrollBar.left | ||||
|   margin-left: 3 | ||||
|   margin-bottom: 8 | ||||
|   margin-top: 22 | ||||
|   margin-right: 1 | ||||
|   vertical-scrollbar: miniwindowScrollBar | ||||
|  | ||||
| HeadlessMiniWindow < MiniWindow | ||||
							
								
								
									
										165
									
								
								SabrehavenOTClient/layouts/mobile/styles/40-console.otui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										165
									
								
								SabrehavenOTClient/layouts/mobile/styles/40-console.otui
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,165 @@ | ||||
| ConsoleLabel < UITextEdit | ||||
|   font: verdana-11px-antialised | ||||
|   height: 14 | ||||
|   color: yellow | ||||
|   margin-left: 2 | ||||
|   text-wrap: true | ||||
|   text-auto-resize: true | ||||
|   selection-color: #111416 | ||||
|   selection-background-color: #999999 | ||||
|   change-cursor-image: false | ||||
|   cursor-visible: false | ||||
|   editable: false | ||||
|   draggable: true | ||||
|   selectable: false | ||||
|   focusable: false | ||||
|  | ||||
| ConsolePhantomLabel < UILabel | ||||
|   font: verdana-11px-antialised | ||||
|   height: 14 | ||||
|   color: yellow | ||||
|   text-wrap: true | ||||
|   text-auto-resize: true | ||||
|   selection-color: #111416 | ||||
|   selection-background-color: #999999 | ||||
|  | ||||
| ConsoleTabBar < MoveableTabBar | ||||
|   height: 22 | ||||
|  | ||||
| ConsoleTabBarPanel < MoveableTabBarPanel | ||||
|   id: consoleTab | ||||
|  | ||||
|   ScrollablePanel | ||||
|     id: consoleBuffer | ||||
|     anchors.fill: parent | ||||
|     margin-right: 12 | ||||
|     vertical-scrollbar: consoleScrollBar | ||||
|     layout: | ||||
|       type: verticalBox | ||||
|       align-bottom: true | ||||
|     border-width: 1 | ||||
|     border-color: #202327 | ||||
|     background: #00000066 | ||||
|     inverted-scroll: true | ||||
|     padding: 1 | ||||
|  | ||||
|   VerticalScrollBar | ||||
|     id: consoleScrollBar | ||||
|     anchors.top: parent.top | ||||
|     anchors.bottom: parent.bottom | ||||
|     anchors.right: parent.right | ||||
|     step: 14 | ||||
|     pixels-scroll: true | ||||
|  | ||||
| ConsoleTabBarButton < MoveableTabBarButton | ||||
|   height: 22 | ||||
|   padding: 5 | ||||
|  | ||||
| ConsolePanel < Panel | ||||
|   image-source: /images/ui/panel_bottom | ||||
|   image-border: 4 | ||||
|    | ||||
|   $first: | ||||
|     anchors.fill: parent | ||||
|      | ||||
|   $!first: | ||||
|     anchors.top: prev.bottom | ||||
|     anchors.bottom: parent.bottom | ||||
|     anchors.left: parent.left | ||||
|     anchors.right: parent.right | ||||
|  | ||||
|   CheckBox | ||||
|     id: toggleChat | ||||
|     !tooltip: tr('Disable chat mode, allow to walk using ASDW') | ||||
|     anchors.left: parent.left | ||||
|     anchors.top: parent.top | ||||
|     @onCheckChange: toggleChat() | ||||
|     visible: false | ||||
|  | ||||
|   TabButton | ||||
|     id: prevChannelButton | ||||
|     icon: /images/game/console/leftarrow | ||||
|     anchors.left: parent.left | ||||
|     anchors.top: parent.top | ||||
|  | ||||
|   ConsoleTabBar | ||||
|     id: consoleTabBar | ||||
|     anchors.left: prev.right | ||||
|     anchors.top: parent.top | ||||
|     anchors.right: next.left | ||||
|     tab-spacing: 2 | ||||
|     movable: true | ||||
|  | ||||
|   TabButton | ||||
|     id: nextChannelButton | ||||
|     icon: /images/game/console/rightarrow | ||||
|     anchors.right: next.left | ||||
|     anchors.top: parent.top | ||||
|  | ||||
|   TabButton | ||||
|     id: closeChannelButton | ||||
|     !tooltip: tr('Close this channel') .. ' (Ctrl+E)' | ||||
|     icon: /images/game/console/closechannel | ||||
|     anchors.right: next.left | ||||
|     anchors.top: parent.top | ||||
|     enabled: false | ||||
|     @onClick: removeCurrentTab() | ||||
|  | ||||
|   TabButton | ||||
|     id: clearChannelButton | ||||
|     !tooltip: tr('Clear current message window') | ||||
|     icon: /images/game/console/clearchannel | ||||
|     anchors.right: next.left | ||||
|     anchors.top: parent.top | ||||
|     @onClick: | | ||||
|       local consoleTabBar = self:getParent():getChildById('consoleTabBar') | ||||
|       clearChannel(consoleTabBar) | ||||
|  | ||||
|   TabButton | ||||
|     id: channelsButton | ||||
|     !tooltip: tr('Open new channel') .. ' (Ctrl+O)' | ||||
|     icon: /images/game/console/channels | ||||
|     anchors.right: next.left | ||||
|     anchors.top: parent.top | ||||
|     @onClick: g_game.requestChannels() | ||||
|  | ||||
|   TabButton | ||||
|     id: ignoreButton | ||||
|     !tooltip: tr('Ignore players') | ||||
|     icon: /images/game/console/ignore | ||||
|     anchors.right: parent.right | ||||
|     anchors.top: parent.top | ||||
|     @onClick: onClickIgnoreButton() | ||||
|  | ||||
|   Panel | ||||
|     id: consoleContentPanel | ||||
|     anchors.top: prev.bottom | ||||
|     anchors.left: parent.left | ||||
|     anchors.right: parent.right | ||||
|     anchors.bottom: consoleTextEdit.top | ||||
|     padding: 1 | ||||
|     focusable: false | ||||
|     phantom: true | ||||
|  | ||||
|   TabButton | ||||
|     id: sayModeButton | ||||
|     icon: /images/game/console/say | ||||
|     !tooltip: tr('Adjust volume') | ||||
|     &sayMode: 2 | ||||
|     size: 22 22 | ||||
|     anchors.left: parent.left | ||||
|     anchors.bottom: parent.bottom | ||||
|     margin-left: 6 | ||||
|     @onClick: sayModeChange() | ||||
|  | ||||
|   TextEdit | ||||
|     id: consoleTextEdit | ||||
|     anchors.left: sayModeButton.right | ||||
|     anchors.right: parent.right | ||||
|     anchors.bottom: parent.bottom | ||||
|     height: 22 | ||||
|     margin-right: 6 | ||||
|     margin-left: 6 | ||||
|     shift-navigation: true | ||||
|     max-length: 255 | ||||
|     text-auto-submit: true | ||||
							
								
								
									
										299
									
								
								SabrehavenOTClient/layouts/mobile/styles/40-inventory.otui
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										299
									
								
								SabrehavenOTClient/layouts/mobile/styles/40-inventory.otui
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,299 @@ | ||||
| InventoryItem < Item | ||||
|   $on: | ||||
|     image-source: /images/ui/item-blessed | ||||
|  | ||||
| HeadSlot < InventoryItem | ||||
|   id: slot1 | ||||
|   image-source: /images/game/slots/head | ||||
|   &position: {x=65535, y=1, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/head-blessed | ||||
|  | ||||
| BodySlot < InventoryItem | ||||
|   id: slot4 | ||||
|   image-source: /images/game/slots/body | ||||
|   &position: {x=65535, y=4, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/body-blessed | ||||
|  | ||||
| LegSlot < InventoryItem | ||||
|   id: slot7 | ||||
|   image-source: /images/game/slots/legs | ||||
|   &position: {x=65535, y=7, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/legs-blessed | ||||
|  | ||||
| FeetSlot < InventoryItem | ||||
|   id: slot8 | ||||
|   image-source: /images/game/slots/feet | ||||
|   &position: {x=65535, y=8, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/feet-blessed | ||||
|  | ||||
| NeckSlot < InventoryItem | ||||
|   id: slot2 | ||||
|   image-source: /images/game/slots/neck | ||||
|   &position: {x=65535, y=2, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/neck-blessed | ||||
|  | ||||
| LeftSlot < InventoryItem | ||||
|   id: slot6 | ||||
|   image-source: /images/game/slots/left-hand | ||||
|   &position: {x=65535, y=6, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/left-hand-blessed | ||||
|  | ||||
| FingerSlot < InventoryItem | ||||
|   id: slot9 | ||||
|   image-source: /images/game/slots/finger | ||||
|   &position: {x=65535, y=9, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/finger-blessed | ||||
|  | ||||
| BackSlot < InventoryItem | ||||
|   id: slot3 | ||||
|   image-source: /images/game/slots/back | ||||
|   &position: {x=65535, y=3, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/back-blessed | ||||
|  | ||||
| RightSlot < InventoryItem | ||||
|   id: slot5 | ||||
|   image-source: /images/game/slots/right-hand | ||||
|   &position: {x=65535, y=5, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/right-hand-blessed | ||||
|  | ||||
| AmmoSlot < InventoryItem | ||||
|   id: slot10 | ||||
|   image-source: /images/game/slots/ammo | ||||
|   &position: {x=65535, y=10, z=0} | ||||
|   $on: | ||||
|     image-source: /images/game/slots/ammo-blessed | ||||
|  | ||||
| PurseButton < UIButton | ||||
|   id: purseButton | ||||
|   size: 34 12 | ||||
|   !tooltip: tr('Open purse') | ||||
|   icon-source: /images/game/slots/purse | ||||
|   icon-clip: 0 0 34 12 | ||||
|    | ||||
|   $on: | ||||
|     icon-clip: 0 12 34 12 | ||||
|  | ||||
|   $pressed: | ||||
|     icon-clip: 0 12 34 12 | ||||
|  | ||||
| CombatBox < UICheckBox | ||||
|   size: 20 20 | ||||
|   image-clip: 0 0 20 20 | ||||
|   margin-left: 4 | ||||
|  | ||||
|   $checked: | ||||
|     image-clip: 0 20 20 20 | ||||
|  | ||||
|  | ||||
| InventoryButton < Button | ||||
|   font: verdana-11px-antialised | ||||
|   height: 18 | ||||
|   margin-top: 2 | ||||
|   text-align: center | ||||
|  | ||||
| SoulCapLabel < GameLabel | ||||
|   text-align: center | ||||
|   color: #FFFFFF | ||||
|   font: cipsoftFont | ||||
|   margin-top: 4 | ||||
|   text-offset: 0 3 | ||||
|   width: 36 | ||||
|   height: 20 | ||||
|   icon-source: /images/game/slots/soulcap | ||||
|        | ||||
| FightOffensiveBox < CombatBox | ||||
|   image-source: /images/game/combatmodes/fightoffensive | ||||
| FightBalancedBox < CombatBox | ||||
|   image-source: /images/game/combatmodes/fightbalanced | ||||
| FightDefensiveBox < CombatBox | ||||
|   image-source: /images/game/combatmodes/fightdefensive | ||||
| ChaseModeBox < CombatBox | ||||
|   image-source: /images/game/combatmodes/chasemode | ||||
| SafeFightBox < CombatBox | ||||
|   image-source: /images/game/combatmodes/safefight | ||||
|  | ||||
| MountButton < CombatBox | ||||
|   image-source: /images/game/combatmodes/mount     | ||||
|  | ||||
| InventoryWindow < MiniWindow | ||||
|   icon: /images/topbuttons/inventory | ||||
|   height: 200 | ||||
|   id: inventoryWindow | ||||
|   @onClose: modules.game_inventory.onMiniWindowClose() | ||||
|   &save: true | ||||
|   &autoOpen: 3 | ||||
|  | ||||
|   MiniWindowContents | ||||
|     anchors.left: parent.left | ||||
|          | ||||
|     Panel | ||||
|       id: inventoryPanel | ||||
|       margin-right: 63 | ||||
|       margin-top: 2 | ||||
|       anchors.fill: parent | ||||
|        | ||||
|       HeadSlot | ||||
|         anchors.top: parent.top | ||||
|         anchors.horizontalCenter: parent.horizontalCenter | ||||
|         margin-top: 3 | ||||
|  | ||||
|       BodySlot | ||||
|         anchors.top: prev.bottom | ||||
|         anchors.horizontalCenter: prev.horizontalCenter | ||||
|         margin-top: 3 | ||||
|  | ||||
|       LegSlot | ||||
|         anchors.top: prev.bottom | ||||
|         anchors.horizontalCenter: prev.horizontalCenter | ||||
|         margin-top: 3 | ||||
|  | ||||
|       FeetSlot | ||||
|         anchors.top: prev.bottom | ||||
|         anchors.horizontalCenter: prev.horizontalCenter | ||||
|         margin-top: 3 | ||||
|  | ||||
|       NeckSlot | ||||
|         anchors.top: slot1.top | ||||
|         anchors.right: slot1.left | ||||
|         margin-top: 13 | ||||
|         margin-right: 5 | ||||
|  | ||||
|       LeftSlot | ||||
|         anchors.top: prev.bottom | ||||
|         anchors.horizontalCenter: prev.horizontalCenter | ||||
|         margin-top: 3 | ||||
|  | ||||
|       FingerSlot | ||||
|         anchors.top: prev.bottom | ||||
|         anchors.horizontalCenter: prev.horizontalCenter | ||||
|         margin-top: 3 | ||||
|          | ||||
|       BackSlot | ||||
|         anchors.top: slot1.top | ||||
|         anchors.left: slot1.right | ||||
|         margin-top: 13 | ||||
|         margin-left: 5 | ||||
|  | ||||
|       RightSlot | ||||
|         anchors.top: prev.bottom | ||||
|         anchors.horizontalCenter: prev.horizontalCenter | ||||
|         margin-top: 3 | ||||
|  | ||||
|       AmmoSlot | ||||
|         anchors.top: prev.bottom | ||||
|         anchors.horizontalCenter: prev.horizontalCenter | ||||
|         margin-top: 3 | ||||
|  | ||||
|       SoulCapLabel | ||||
|         id: soulLabel | ||||
|         anchors.top: slot10.bottom | ||||
|         anchors.horizontalCenter: slot10.horizontalCenter | ||||
|          | ||||
|       SoulCapLabel | ||||
|         id: capLabel | ||||
|         anchors.top: slot9.bottom | ||||
|         anchors.horizontalCenter: slot9.horizontalCenter | ||||
|  | ||||
|       PurseButton | ||||
|         anchors.left: slot3.left | ||||
|         anchors.bottom: slot3.top         | ||||
|         margin-bottom: 3 | ||||
|    | ||||
|       Panel | ||||
|         id: conditionPanel | ||||
|         layout: | ||||
|           type: horizontalBox | ||||
|         height: 22 | ||||
|         padding: 2 | ||||
|         anchors.top: slot8.bottom | ||||
|         anchors.left: slot6.left | ||||
|         anchors.right: slot5.right | ||||
|         margin-top: 4 | ||||
|         border-width: 1 | ||||
|         border-color: #00000077 | ||||
|         background-color: #ffffff22 | ||||
|          | ||||
|     Panel | ||||
|       margin-top: 5 | ||||
|       anchors.fill: parent | ||||
|       anchors.left: prev.right | ||||
|          | ||||
|       FightOffensiveBox | ||||
|         id: fightOffensiveBox | ||||
|         anchors.left: parent.left | ||||
|         anchors.top: parent.top         | ||||
|         margin-left: 8 | ||||
|  | ||||
|       ChaseModeBox | ||||
|         id: chaseModeBox | ||||
|         anchors.left: prev.right | ||||
|         anchors.top: parent.top | ||||
|  | ||||
|       FightBalancedBox | ||||
|         id: fightBalancedBox | ||||
|         margin-top: 22 | ||||
|         anchors.left: parent.left | ||||
|         anchors.top: parent.top | ||||
|         margin-left: 8 | ||||
|          | ||||
|       SafeFightBox | ||||
|         id: safeFightBox | ||||
|         margin-top: 22 | ||||
|         anchors.left: prev.right | ||||
|         anchors.top: parent.top | ||||
|  | ||||
|       FightDefensiveBox | ||||
|         id: fightDefensiveBox | ||||
|         margin-top: 44 | ||||
|         anchors.left: parent.left | ||||
|         anchors.top: parent.top | ||||
|         margin-left: 8 | ||||
|          | ||||
|       MountButton | ||||
|         id: mountButton | ||||
|         margin-top: 44 | ||||
|         anchors.left: prev.right | ||||
|         anchors.top: parent.top | ||||
|          | ||||
|       Panel | ||||
|         id: buttonsPanel | ||||
|         margin-top: 4 | ||||
|         margin-right: 5 | ||||
|         anchors.fill: parent | ||||
|         anchors.top: prev.bottom | ||||
|         layout: | ||||
|           type: verticalBox | ||||
|          | ||||
|         UIButton | ||||
|           id: buttonPvp | ||||
|           height: 20 | ||||
|           icon: /images/game/combatmodes/pvp | ||||
|           icon-clip: 0 0 42 20 | ||||
|  | ||||
|           $on: | ||||
|             icon-clip: 0 20 42 20 | ||||
|          | ||||
|         InventoryButton | ||||
|           !text: tr('Stop') | ||||
|           @onClick: g_game.stop(); g_game.cancelAttackAndFollow() | ||||
|  | ||||
|         InventoryButton | ||||
|           !text: tr('Options') | ||||
|           @onClick: modules.client_options.toggle() | ||||
|  | ||||
|         InventoryButton | ||||
|           !text: tr('Quests') | ||||
|           @onClick: g_game.requestQuestLog() | ||||
|  | ||||
|         InventoryButton | ||||
|           !text: tr('Logout') | ||||
|           @onClick: modules.game_interface.tryLogout() | ||||
		Reference in New Issue
	
	Block a user
	 ErikasKontenis
					ErikasKontenis