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.

game.otui 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Panel
  2. OptionCheckBox
  3. id: classicControl
  4. !text: tr('Classic control')
  5. OptionCheckBox
  6. id: autoChaseOverride
  7. !text: tr('Allow auto chase override')
  8. OptionCheckBox
  9. id: smartWalk
  10. !text: tr('Enable smart walking')
  11. !tooltip: tr('Will detect when to use diagonal step based on the\nkeys you are pressing')
  12. OptionCheckBox
  13. id: dashWalk
  14. !text: tr('Enable dash walking')
  15. !tooltip: tr('Will boost your walk on high speed characters')
  16. OptionCheckBox
  17. id: showPing
  18. !text: tr('Show connection ping')
  19. !tooltip: tr('Display connection speed to the server (milliseconds)')
  20. OptionCheckBox
  21. id: showLeftPanel
  22. !text: tr('Show left panel')
  23. OptionCheckBox
  24. id: displayNames
  25. !text: tr('Display creature names')
  26. OptionCheckBox
  27. id: displayHealth
  28. !text: tr('Display creature health bars')
  29. OptionCheckBox
  30. id: displayMana
  31. !text: tr('Display player mana bar')
  32. OptionCheckBox
  33. id: displayText
  34. !text: tr('Display text messages')
  35. Label
  36. id: turnDelayLabel
  37. !text: tr('Turn delay: %sms', 30)
  38. anchors.left: parent.left
  39. anchors.right: parent.right
  40. anchors.top: prev.bottom
  41. margin-top: 12
  42. @onSetup: |
  43. local value = modules.client_options.getOption('turnDelay')
  44. self:setText(tr('Turn delay: %dms', value))
  45. OptionScrollbar
  46. id: turnDelay
  47. anchors.left: parent.left
  48. anchors.right: parent.right
  49. anchors.top: prev.bottom
  50. margin-top: 3
  51. minimum: 30
  52. maximum: 250
  53. Label
  54. id: hotkeyDelayLabel
  55. !text: tr('Hotkey delay: %dms', 30)
  56. anchors.left: parent.left
  57. anchors.right: parent.right
  58. anchors.top: prev.bottom
  59. margin-top: 12
  60. @onSetup: |
  61. local value = modules.client_options.getOption('hotkeyDelay')
  62. self:setText(tr('Hotkey delay: %dms', value))
  63. OptionScrollbar
  64. id: hotkeyDelay
  65. anchors.left: parent.left
  66. anchors.right: parent.right
  67. anchors.top: prev.bottom
  68. margin-top: 3
  69. minimum: 30
  70. maximum: 250
  71. Button
  72. id: changeLocale
  73. !text: tr('Change language')
  74. @onClick: modules.client_locales.createWindow()
  75. anchors.top: prev.bottom
  76. anchors.left: prev.left
  77. margin-top: 12
  78. width: 120