No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

inventory.otui 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. InventoryItem < Item
  2. margin: 0 1
  3. HeadSlot < InventoryItem
  4. id: slot1
  5. image-source: /game_inventory/slots/head.png
  6. &position: {x=65535, y=1, z=0}
  7. BodySlot < InventoryItem
  8. id: slot4
  9. image-source: /game_inventory/slots/body.png
  10. &position: {x=65535, y=4, z=0}
  11. LegSlot < InventoryItem
  12. id: slot7
  13. image-source: /game_inventory/slots/legs.png
  14. &position: {x=65535, y=7, z=0}
  15. FeetSlot < InventoryItem
  16. id: slot8
  17. image-source: /game_inventory/slots/feet.png
  18. &position: {x=65535, y=8, z=0}
  19. NeckSlot < InventoryItem
  20. id: slot2
  21. image-source: /game_inventory/slots/neck.png
  22. &position: {x=65535, y=2, z=0}
  23. LeftSlot < InventoryItem
  24. id: slot6
  25. image-source: /game_inventory/slots/left-hand.png
  26. &position: {x=65535, y=6, z=0}
  27. FingerSlot < InventoryItem
  28. id: slot9
  29. image-source: /game_inventory/slots/finger.png
  30. &position: {x=65535, y=9, z=0}
  31. BackSlot < InventoryItem
  32. id: slot3
  33. image-source: /game_inventory/slots/back.png
  34. &position: {x=65535, y=3, z=0}
  35. RightSlot < InventoryItem
  36. id: slot5
  37. image-source: /game_inventory/slots/right-hand.png
  38. &position: {x=65535, y=5, z=0}
  39. AmmoSlot < InventoryItem
  40. id: slot10
  41. image-source: /game_inventory/slots/ammo.png
  42. &position: {x=65535, y=10, z=0}
  43. MiniWindow
  44. id: inventoryWindow
  45. !text: tr('Inventory')
  46. icon: inventory.png
  47. height: 95
  48. @onClose: Inventory.onMiniWindowClose()
  49. &save: true
  50. MiniWindowContents
  51. padding: 4 5
  52. layout:
  53. type: grid
  54. flow: true
  55. cell-size: 36 34
  56. HeadSlot
  57. BodySlot
  58. LegSlot
  59. FeetSlot
  60. RightSlot
  61. LeftSlot
  62. NeckSlot
  63. FingerSlot
  64. BackSlot
  65. AmmoSlot