Implement purse slot (closes #208), add version 10.37 (could not find protocol changes)

This commit is contained in:
Sam
2014-03-12 15:46:35 +01:00
parent 8d8f32b081
commit a58a3e90c8
5 changed files with 40 additions and 6 deletions

View File

@@ -50,6 +50,14 @@ AmmoSlot < InventoryItem
image-source: /images/game/slots/ammo
&position: {x=65535, y=10, z=0}
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
MiniWindow
id: inventoryWindow
!text: tr('Inventory')
@@ -109,4 +117,9 @@ MiniWindow
AmmoSlot
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter
margin-top: 3
margin-top: 3
PurseButton
margin-top: 3
anchors.top: prev.bottom
anchors.horizontalCenter: prev.horizontalCenter