2012-07-13 01:40:55 +02:00
|
|
|
InventoryItem < Item
|
|
|
|
|
|
|
|
HeadSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot1
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/head
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=1, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
BodySlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot4
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/body
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=4, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
LegSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot7
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/legs
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=7, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
FeetSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot8
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/feet
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=8, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
NeckSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot2
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/neck
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=2, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
LeftSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot6
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/left-hand
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=6, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
FingerSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot9
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/finger
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=9, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
BackSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot3
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/back
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=3, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
RightSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot5
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/right-hand
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=5, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
AmmoSlot < InventoryItem
|
2012-07-10 14:15:31 +02:00
|
|
|
id: slot10
|
2013-01-18 23:39:11 +01:00
|
|
|
image-source: /images/game/slots/ammo
|
2012-07-13 01:40:55 +02:00
|
|
|
&position: {x=65535, y=10, z=0}
|
2012-07-10 14:15:31 +02:00
|
|
|
|
2014-03-12 15:46:35 +01:00
|
|
|
PurseButton < Button
|
|
|
|
id: purseButton
|
|
|
|
size: 26 26
|
|
|
|
!tooltip: tr('Open purse')
|
|
|
|
icon-source: /images/game/slots/purse
|
|
|
|
icon-size: 24 24
|
|
|
|
icon-offset: 1 1
|
|
|
|
|
2012-03-27 00:24:01 +02:00
|
|
|
MiniWindow
|
2012-06-21 21:31:22 +02:00
|
|
|
id: inventoryWindow
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Inventory')
|
2013-01-18 23:39:11 +01:00
|
|
|
icon: /images/topbuttons/inventory
|
2012-08-18 11:20:28 +02:00
|
|
|
height: 175
|
2012-08-17 23:36:53 +02:00
|
|
|
@onClose: modules.game_inventory.onMiniWindowClose()
|
2012-06-24 14:41:39 +02:00
|
|
|
&save: true
|
2011-11-13 06:11:47 +01:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
MiniWindowContents
|
2012-07-10 14:15:31 +02:00
|
|
|
HeadSlot
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
2012-08-18 11:20:28 +02:00
|
|
|
margin-top: 3
|
2012-08-18 10:50:51 +02:00
|
|
|
|
2012-07-10 14:15:31 +02:00
|
|
|
BodySlot
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
2012-08-18 11:20:28 +02:00
|
|
|
margin-top: 3
|
2012-08-18 10:50:51 +02:00
|
|
|
|
2012-07-10 14:15:31 +02:00
|
|
|
LegSlot
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
2012-08-18 11:20:28 +02:00
|
|
|
margin-top: 3
|
2012-08-18 10:50:51 +02:00
|
|
|
|
2012-07-10 14:15:31 +02:00
|
|
|
FeetSlot
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
2012-08-18 11:20:28 +02:00
|
|
|
margin-top: 3
|
2012-08-18 10:50:51 +02:00
|
|
|
|
2012-07-13 01:40:55 +02:00
|
|
|
NeckSlot
|
2012-08-18 11:20:28 +02:00
|
|
|
anchors.top: slot1.top
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.right: slot1.left
|
|
|
|
margin-top: 10
|
|
|
|
margin-right: 5
|
|
|
|
|
|
|
|
LeftSlot
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
2012-08-18 11:20:28 +02:00
|
|
|
margin-top: 3
|
2012-08-18 10:50:51 +02:00
|
|
|
|
2012-07-10 14:15:31 +02:00
|
|
|
FingerSlot
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
2012-08-18 11:20:28 +02:00
|
|
|
margin-top: 3
|
2012-08-18 10:50:51 +02:00
|
|
|
|
|
|
|
BackSlot
|
2012-08-18 11:20:28 +02:00
|
|
|
anchors.top: slot1.top
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.left: slot1.right
|
|
|
|
margin-top: 10
|
|
|
|
margin-left: 5
|
|
|
|
|
|
|
|
RightSlot
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
2012-08-18 11:20:28 +02:00
|
|
|
margin-top: 3
|
2012-08-18 10:50:51 +02:00
|
|
|
|
2012-07-10 14:15:31 +02:00
|
|
|
AmmoSlot
|
2012-08-18 10:50:51 +02:00
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|
2014-03-12 15:46:35 +01:00
|
|
|
margin-top: 3
|
|
|
|
|
|
|
|
PurseButton
|
|
|
|
margin-top: 3
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
anchors.horizontalCenter: prev.horizontalCenter
|