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.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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: displayText
  31. !text: tr('Display text messages')
  32. Label
  33. id: turnDelayLabel
  34. !text: tr('Turn delay: %sms', 30)
  35. anchors.left: parent.left
  36. anchors.right: parent.right
  37. anchors.top: prev.bottom
  38. margin-top: 12
  39. @onSetup: |
  40. local value = modules.client_options.getOption('turnDelay')
  41. self:setText(tr('Turn delay: %dms', value))
  42. OptionScrollbar
  43. id: turnDelay
  44. anchors.left: parent.left
  45. anchors.right: parent.right
  46. anchors.top: prev.bottom
  47. margin-top: 3
  48. minimum: 30
  49. maximum: 250
  50. Label
  51. id: hotkeyDelayLabel
  52. !text: tr('Hotkey delay: %dms', 30)
  53. anchors.left: parent.left
  54. anchors.right: parent.right
  55. anchors.top: prev.bottom
  56. margin-top: 12
  57. @onSetup: |
  58. local value = modules.client_options.getOption('hotkeyDelay')
  59. self:setText(tr('Hotkey delay: %dms', value))
  60. OptionScrollbar
  61. id: hotkeyDelay
  62. anchors.left: parent.left
  63. anchors.right: parent.right
  64. anchors.top: prev.bottom
  65. margin-top: 3
  66. minimum: 30
  67. maximum: 250
  68. Button
  69. id: changeLocale
  70. !text: tr('Change language')
  71. @onClick: modules.client_locales.createWindow()
  72. anchors.top: prev.bottom
  73. anchors.left: prev.left
  74. margin-top: 12
  75. width: 120