2012-03-27 00:24:01 +02:00
|
|
|
MiniWindow
|
2012-03-28 13:46:15 +02:00
|
|
|
id: inventoryMiniWindow
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Inventory')
|
2012-03-27 00:24:01 +02:00
|
|
|
icon: inventory.png
|
2012-03-28 16:10:21 +02:00
|
|
|
height: 180
|
|
|
|
@onClose: Inventory.toggle()
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
MiniWindowContents
|
|
|
|
Item
|
|
|
|
// head
|
|
|
|
id: slot1
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
&position: {x=65535, y=1, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// armor
|
|
|
|
id: slot4
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
|
|
|
margin-top: 5
|
|
|
|
&position: {x=65535, y=4, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// legs
|
|
|
|
id: slot7
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
|
|
|
margin-top: 5
|
|
|
|
&position: {x=65535, y=7, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// feet
|
|
|
|
id: slot8
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
|
|
|
margin-top: 5
|
|
|
|
&position: {x=65535, y=8, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// necklace
|
|
|
|
id: slot2
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.right: slot1.left
|
|
|
|
margin-top: 10
|
|
|
|
margin-right: 5
|
|
|
|
&position: {x=65535, y=2, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// left
|
|
|
|
id: slot6
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
|
|
|
margin-top: 5
|
|
|
|
&position: {x=65535, y=6, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// ring
|
|
|
|
id: slot9
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
|
|
|
margin-top: 5
|
|
|
|
&position: {x=65535, y=9, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// backpack
|
|
|
|
id: slot3
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: slot1.right
|
|
|
|
margin-top: 10
|
|
|
|
margin-left: 5
|
|
|
|
&position: {x=65535, y=3, z=0}
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// right
|
|
|
|
id: slot5
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
|
|
|
margin-top: 5
|
|
|
|
&position: {x=65535, y=5, z=0}
|
2011-11-17 22:41:02 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
Item
|
|
|
|
// ammo
|
|
|
|
id: slot10
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
|
|
|
margin-top: 5
|
|
|
|
&position: {x=65535, y=10, z=0}
|
2011-11-17 22:41:02 +01:00
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
GameLabel
|
|
|
|
id: soul
|
|
|
|
anchors.top: slot9.bottom
|
|
|
|
anchors.bottom: slot8.bottom
|
|
|
|
anchors.left: slot9.left
|
|
|
|
anchors.right: slot9.right
|
|
|
|
margin-top: 5
|
|
|
|
text-align: center
|
|
|
|
image-source: /core_styles/styles/images/panel_flat.png
|
|
|
|
image-border: 1
|
|
|
|
|
|
|
|
GameLabel
|
|
|
|
id: capacity
|
|
|
|
anchors.top: slot10.bottom
|
|
|
|
anchors.bottom: slot8.bottom
|
|
|
|
anchors.left: slot10.left
|
|
|
|
anchors.right: slot10.right
|
|
|
|
margin-top: 5
|
|
|
|
text-align: center
|
|
|
|
image-source: /core_styles/styles/images/panel_flat.png
|
|
|
|
image-border: 1
|
2011-11-10 06:29:25 +01:00
|
|
|
|