Advertisement
Guest User

Untitled

a guest
Nov 14th, 2023
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. import uiScriptLocale
  2.  
  3. BUTTON_ROOT = "d:/ymir work/ui/public/"
  4.  
  5. window = {
  6. "name" : "ExtendedInventoryWindow",
  7. "x" : 100 + 171,
  8. "y" : 20,
  9. "style" : ("movable", "float",),
  10. "width" : 176,
  11. "height" : 395+10+20-17,
  12. "children" :
  13. (
  14. {
  15. "name" : "board",
  16. "type" : "board",
  17. "x" : 0,
  18. "y" : 0,
  19. "width" : 176,
  20. "height" : 395+10+20-17,
  21. "children" :
  22. (
  23. ## Title
  24. {
  25. "name" : "TitleBar",
  26. "type" : "titlebar",
  27. "style" : ("attach",),
  28. "x" : 8,
  29. "y" : 7,
  30. "width" : 161,
  31. "color" : "yellow",
  32. "children" :
  33. (
  34. { "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.EXTENDED_INVENTORY_TITLE, "text_horizontal_align":"center" },
  35. ),
  36. },
  37.  
  38. ## Item Slot
  39. {
  40. "name" : "ItemSlot",
  41. "type" : "grid_table",
  42. "x" : 8,
  43. "y" : 35,
  44. "start_index" : 0,
  45. "x_count" : 5,
  46. "y_count" : 9,
  47. "x_step" : 32,
  48. "y_step" : 32,
  49. "image" : "d:/ymir work/ui/public/Slot_Base.sub"
  50. },
  51.  
  52. {
  53. "name" : "Inventory_Tab_01",
  54. "type" : "radio_button",
  55.  
  56. "x" : 10,
  57. "y" : 328,
  58.  
  59. "default_image" : "d:/ymir work/ui/game/windows/tab_button_middle_01.sub",
  60. "over_image" : "d:/ymir work/ui/game/windows/tab_button_middle_02.sub",
  61. "down_image" : "d:/ymir work/ui/game/windows/tab_button_middle_03.sub",
  62. "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,
  63.  
  64. "children" :
  65. (
  66. {
  67. "name" : "Inventory_Tab_01_Print",
  68. "type" : "text",
  69.  
  70. "x" : 0,
  71. "y" : 0,
  72.  
  73. "all_align" : "center",
  74.  
  75. "text" : "I",
  76. },
  77. ),
  78. },
  79. {
  80. "name" : "Inventory_Tab_02",
  81. "type" : "radio_button",
  82.  
  83. "x" : 10 + 52,
  84. "y" : 328,
  85.  
  86. "default_image" : "d:/ymir work/ui/game/windows/tab_button_middle_01.sub",
  87. "over_image" : "d:/ymir work/ui/game/windows/tab_button_middle_02.sub",
  88. "down_image" : "d:/ymir work/ui/game/windows/tab_button_middle_03.sub",
  89. "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,
  90.  
  91. "children" :
  92. (
  93. {
  94. "name" : "Inventory_Tab_02_Print",
  95. "type" : "text",
  96.  
  97. "x" : 0,
  98. "y" : 0,
  99.  
  100. "all_align" : "center",
  101.  
  102. "text" : "II",
  103. },
  104. ),
  105. },
  106. {
  107. "name" : "Inventory_Tab_03",
  108. "type" : "radio_button",
  109.  
  110. "x" : 10 + 104,
  111. "y" : 328,
  112.  
  113. "default_image" : "d:/ymir work/ui/game/windows/tab_button_middle_01.sub",
  114. "over_image" : "d:/ymir work/ui/game/windows/tab_button_middle_02.sub",
  115. "down_image" : "d:/ymir work/ui/game/windows/tab_button_middle_03.sub",
  116. "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_3,
  117.  
  118. "children" :
  119. (
  120. {
  121. "name" : "Inventory_Tab_03_Print",
  122. "type" : "text",
  123.  
  124. "x" : 0,
  125. "y" : 0,
  126.  
  127. "all_align" : "center",
  128.  
  129. "text" : "III",
  130. },
  131. ),
  132. },
  133.  
  134. ## Button
  135. {
  136. "name" : "SkillBookButton",
  137. "type" : "radio_button",
  138. "x" : 8,
  139. "y" : 47 + 48 - 26 - 13,
  140. "tooltip_text" : uiScriptLocale.SKILL_BOOK_INVENTORY,
  141. "vertical_align" : "bottom",
  142. "default_image" : "d:/ymir work/ui/ekenvanter/bk_env_1.tga",
  143. "over_image" : "d:/ymir work/ui/ekenvanter/bk_env_2.tga",
  144. "down_image" : "d:/ymir work/ui/ekenvanter/bk_env_3.tga",
  145. },
  146. {
  147. "name" : "UpgradeItemsButton",
  148. "type" : "radio_button",
  149. "x" : 35,
  150. "y" : 47 + 48 - 26 - 13,
  151. "tooltip_text" : uiScriptLocale.UPGRADE_ITEMS_INVENTORY,
  152. "vertical_align" : "bottom",
  153. "default_image" : "d:/ymir work/ui/ekenvanter/yuk_env_1.tga",
  154. "over_image" : "d:/ymir work/ui/ekenvanter/yuk_env_2.tga",
  155. "down_image" : "d:/ymir work/ui/ekenvanter/yuk_env_3.tga",
  156. },
  157. {
  158. "name" : "StoneButton",
  159. "type" : "radio_button",
  160. "x" : 35+27,
  161. "y" : 47 + 48 - 26 - 13,
  162. "tooltip_text" : uiScriptLocale.UPGRADE_STONE_INVENTORY,
  163. "vertical_align" : "bottom",
  164. "default_image" : "d:/ymir work/ui/ekenvanter/tas_env_1.tga",
  165. "over_image" : "d:/ymir work/ui/ekenvanter/tas_env_2.tga",
  166. "down_image" : "d:/ymir work/ui/ekenvanter/tas_env_3.tga",
  167. },
  168. {
  169. "name" : "BoxButton",
  170. "type" : "radio_button",
  171. "x" : 35+27+27,
  172. "y" : 47 + 48 - 26 - 13,
  173. "tooltip_text" : uiScriptLocale.UPGRADE_BOX_INVENTORY,
  174. "vertical_align" : "bottom",
  175. "default_image" : "d:/ymir work/ui/ekenvanter/sandik_env_1.tga",
  176. "over_image" : "d:/ymir work/ui/ekenvanter/sandik_env_2.tga",
  177. "down_image" : "d:/ymir work/ui/ekenvanter/sandik_env_3.tga",
  178. },
  179. {
  180. "name" : "EfsunButton",
  181. "type" : "radio_button",
  182. "x" : 35+27+27+27,
  183. "y" : 47 + 48 - 26 - 13,
  184. "tooltip_text" : uiScriptLocale.UPGRADE_EFSUN_INVENTORY,
  185. "vertical_align" : "bottom",
  186. "default_image" : "d:/ymir work/ui/ekenvanter/efsun_env_1.tga",
  187. "over_image" : "d:/ymir work/ui/ekenvanter/efsun_env_2.tga",
  188. "down_image" : "d:/ymir work/ui/ekenvanter/efsun_env_3.tga",
  189. },
  190. {
  191. "name" : "CicekButton",
  192. "type" : "radio_button",
  193. "x" : 35+27+27+27+27,
  194. "y" : 47 + 48 - 26 - 13,
  195. "tooltip_text" : uiScriptLocale.UPGRADE_CICEK_INVENTORY,
  196. "vertical_align" : "bottom",
  197. "default_image" : "d:/ymir work/ui/ekenvanter/cicek_env_1.tga",
  198. "over_image" : "d:/ymir work/ui/ekenvanter/cicek_env_2.tga",
  199. "down_image" : "d:/ymir work/ui/ekenvanter/cicek_env_3.tga",
  200. },
  201. {
  202. "name" : "MalzemeDeposuInfo",
  203. "type" : "button",
  204.  
  205. "x" : 132,
  206. "y" : 8,
  207.  
  208. "default_image" : "d:/ymir work/ui/pattern/q_mark_01.tga",
  209. "over_image" : "d:/ymir work/ui/pattern/q_mark_02.tga",
  210. "down_image" : "d:/ymir work/ui/pattern/q_mark_01.tga",
  211. },
  212. ),
  213. },
  214. ),
  215. }
  216.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement