Advertisement
HeavenHU

UIInventory.py

Dec 1st, 2015
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 26.88 KB | None | 0 0
  1. import uiScriptLocale
  2.  
  3. MIDDLE_VALUE_FILE = "d:/ymir work/ui/public/Parameter_Slot_01.sub"
  4. EQUIPMENT_START_INDEX = 90
  5.  
  6. window = {
  7.     "name" : "InventoryWindow",
  8.  
  9.     ## 600 - (width + żŔ¸ĄÂĘŔ¸·Î şÎĹÍ ¶çżě±â 24 px)
  10.     "x" : SCREEN_WIDTH - 124 - 176,
  11.     "y" : SCREEN_HEIGHT - 37 - 565,
  12.  
  13.     "style" : ("movable", "float",),
  14.  
  15.     "width" : 176+124,
  16.     "height" : 565,
  17.  
  18.     "children" :
  19.     (
  20.         {
  21.             "name" : "board",
  22.             "type" : "board",
  23.             "style" : ("attach",),
  24.  
  25.             "x" : 0,
  26.             "y" : 0,
  27.  
  28.             "width" : 176+124,
  29.             "height" : 565,
  30.  
  31.             "children" :
  32.             (
  33.                 ## Title
  34.                 {
  35.                     "name" : "TitleBar",
  36.                     "type" : "titlebar",
  37.                     "style" : ("attach",),
  38.  
  39.                     "x" : 8,
  40.                     "y" : 7,
  41.  
  42.                     "width" : 161+124,
  43.                     "color" : "yellow",
  44.  
  45.                     "children" :
  46.                     (
  47.                         {
  48.                             "name":"TitleName",
  49.                             "type":"text",
  50.                             "x":77+62,
  51.                             "y":3,
  52.                             "text":uiScriptLocale.INVENTORY_TITLE,
  53.                             "text_horizontal_align":"center"
  54.                         },
  55.                     ),
  56.                 },
  57.  
  58.                 ## Equipment Slot
  59.                 {
  60.                     "name" : "Equipment_Base",
  61.                     "type" : "image",
  62.  
  63.                     "x" : 10,
  64.                     "y" : 33,
  65.  
  66.                     "image" : "d:/ymir work/ui/game/windows/equipment_base.sub",
  67.  
  68.                     "children" :
  69.                     (
  70.  
  71.                         {
  72.                             "name" : "EquipmentSlot",
  73.                             "type" : "slot",
  74.  
  75.                             "x" : 3,
  76.                             "y" : 3,
  77.  
  78.                             "width" : 150,
  79.                             "height" : 182,
  80.  
  81.                             "slot" : (
  82.                                         {"index":EQUIPMENT_START_INDEX+0, "x":39, "y":37, "width":32, "height":64},
  83.                                         {"index":EQUIPMENT_START_INDEX+1, "x":39, "y":2, "width":32, "height":32},
  84.                                         {"index":EQUIPMENT_START_INDEX+2, "x":39, "y":145, "width":32, "height":32},
  85.                                         {"index":EQUIPMENT_START_INDEX+3, "x":75, "y":67, "width":32, "height":32},
  86.                                         {"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
  87.                                         {"index":EQUIPMENT_START_INDEX+5, "x":114, "y":84, "width":32, "height":32},
  88.                                         {"index":EQUIPMENT_START_INDEX+6, "x":114, "y":52, "width":32, "height":32},
  89.                                         {"index":EQUIPMENT_START_INDEX+7, "x":2, "y":113, "width":32, "height":32},
  90.                                         {"index":EQUIPMENT_START_INDEX+8, "x":75, "y":113, "width":32, "height":32},
  91.                                         {"index":EQUIPMENT_START_INDEX+9, "x":114, "y":1, "width":32, "height":32},
  92.                                         {"index":EQUIPMENT_START_INDEX+10, "x":75, "y":35, "width":32, "height":32},
  93.                                     ),
  94.                         },
  95.                         ## MallButton
  96.                         {
  97.                             "name" : "MallButton",
  98.                             "type" : "button",
  99.  
  100.                             "x" : 120,
  101.                             "y" : 150,
  102.  
  103.                             "tooltip_text" : uiScriptLocale.MALL_TITLE,
  104.  
  105.                             "default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
  106.                             "over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
  107.                             "down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
  108.                         },
  109.                         ## CostumeButton
  110.                         {
  111.                             "name" : "CostumeButton",
  112.                             "type" : "button",
  113.  
  114.                             "x" : 78,
  115.                             "y" : 5,
  116.  
  117.                             "tooltip_text" : uiScriptLocale.COSTUME_TITLE,
  118.  
  119.                             "default_image" : "d:/ymir work/ui/game/taskbar/costume_Button_01.tga",
  120.                             "over_image" : "d:/ymir work/ui/game/taskbar/costume_Button_02.tga",
  121.                             "down_image" : "d:/ymir work/ui/game/taskbar/costume_Button_03.tga",
  122.                         },     
  123.                         {
  124.                             "name" : "Equipment_Tab_01",
  125.                             "type" : "radio_button",
  126.  
  127.                             "x" : 86,
  128.                             "y" : 161,
  129.  
  130.                             "default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
  131.                             "over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
  132.                             "down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
  133.  
  134.                             "children" :
  135.                             (
  136.                                 {
  137.                                     "name" : "Equipment_Tab_01_Print",
  138.                                     "type" : "text",
  139.  
  140.                                     "x" : 0,
  141.                                     "y" : 0,
  142.  
  143.                                     "all_align" : "center",
  144.  
  145.                                     "text" : "I",
  146.                                 },
  147.                             ),
  148.                         },
  149.                         {
  150.                             "name" : "Equipment_Tab_02",
  151.                             "type" : "radio_button",
  152.  
  153.                             "x" : 86 + 32,
  154.                             "y" : 161,
  155.  
  156.                             "default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
  157.                             "over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
  158.                             "down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",
  159.  
  160.                             "children" :
  161.                             (
  162.                                 {
  163.                                     "name" : "Equipment_Tab_02_Print",
  164.                                     "type" : "text",
  165.  
  166.                                     "x" : 0,
  167.                                     "y" : 0,
  168.  
  169.                                     "all_align" : "center",
  170.  
  171.                                     "text" : "II",
  172.                                 },
  173.                             ),
  174.                         },
  175.  
  176.                     ),
  177.                 },
  178.                 ## Bonus Part
  179.                 {
  180.                     "name" : "Bonus_Page",
  181.                     "type" : "window",
  182.                     "x" : 166,
  183.                     "y" : 34,
  184.                     "width" : 124,
  185.                     "height" : 565-24,
  186.                     "children" :
  187.                     (
  188.                         {
  189.                             "name" : "BonusBase1",
  190.                             "type" : "horizontalbar",
  191.                             "x" : 4,
  192.                             "y" : 0,
  193.                             "width" : 120,
  194.                             "children" :
  195.                             (
  196.                                 {
  197.                                     "name" : "bonus_text_1",
  198.                                     "type" : "text",
  199.                                     "x" : 0,
  200.                                     "y" : 0,
  201.                                     "all_align" : "center",
  202.                                     "text" : "Védelem",
  203.                                     "r":1.0, "g":0.6352941176470588, "b":0, "a":1.0,
  204.                                 },
  205.                             ),
  206.                         },
  207.                         {
  208.                             "name" : "Kard_vedelem",
  209.                             "type" : "text",
  210.                             "x" : 5,
  211.                             "y" : 1*18,
  212.                             "text" : "Kard:"
  213.                         },
  214.                         {
  215.                             "name" : "Kard_def",
  216.                             "type" : "window",
  217.                             "x" : 72,
  218.                             "y" : 1*18,
  219.                             "width" : 53,
  220.                             "height" : 19,
  221.                             "children" :
  222.                             (
  223.                                 {
  224.                                     "name" : "Kard_def_Slot",
  225.                                     "type" : "image",
  226.                                     "x" : 0,
  227.                                     "y" : 0,
  228.                                     "image" : MIDDLE_VALUE_FILE
  229.                                 },
  230.                                 {
  231.                                     "name" : "Kard_def_Value",
  232.                                     "type" : "text",
  233.                                     "x" : 26,
  234.                                     "y" : 3,
  235.                                     "text" : "999",
  236.                                     "r" : 1.0,
  237.                                     "g" : 1.0,
  238.                                     "b" : 1.0,
  239.                                     "a" : 1.0,
  240.                                     "text_horizontal_align":"center"
  241.                                 },
  242.                             ),
  243.                         },
  244.                         {
  245.                             "name" : "Ketkezes_vedelem",
  246.                             "type" : "text",
  247.                             "x" : 5,
  248.                             "y" : 2*18,
  249.                             "text" : "Kétkezes:"
  250.                         },
  251.                         {
  252.                             "name" : "Ketkezes_def",
  253.                             "type" : "window",
  254.                             "x" : 72,
  255.                             "y" : 2*18,
  256.                             "width" : 53,
  257.                             "height" : 19,
  258.                             "children" :
  259.                             (
  260.                                 {
  261.                                     "name" : "Ketkezes_def_Slot",
  262.                                     "type" : "image",
  263.                                     "x" : 0,
  264.                                     "y" : 0,
  265.                                     "image" : MIDDLE_VALUE_FILE
  266.                                 },
  267.                                 {
  268.                                     "name" : "Ketkezes_def_Value",
  269.                                     "type" : "text",
  270.                                     "x" : 26,
  271.                                     "y" : 3,
  272.                                     "text" : "999",
  273.                                     "r" : 1.0,
  274.                                     "g" : 1.0,
  275.                                     "b" : 1.0,
  276.                                     "a" : 1.0,
  277.                                     "text_horizontal_align":"center"
  278.                                 },
  279.                             ),
  280.                         },
  281.                         {
  282.                             "name" : "Tor_vedelem",
  283.                             "type" : "text",
  284.                             "x" : 5,
  285.                             "y" : 3*18,
  286.                             "text" : "Tőr:"
  287.                         },
  288.                         {
  289.                             "name" : "Tor_def",
  290.                             "type" : "window",
  291.                             "x" : 72,
  292.                             "y" : 3*18,
  293.                             "width" : 53,
  294.                             "height" : 19,
  295.                             "children" :
  296.                             (
  297.                                 {
  298.                                     "name" : "Tor_def_Slot",
  299.                                     "type" : "image",
  300.                                     "x" : 0,
  301.                                     "y" : 0,
  302.                                     "image" : MIDDLE_VALUE_FILE
  303.                                 },
  304.                                 {
  305.                                     "name" : "Tor_def_Value",
  306.                                     "type" : "text",
  307.                                     "x" : 26,
  308.                                     "y" : 3,
  309.                                     "text" : "999",
  310.                                     "r" : 1.0,
  311.                                     "g" : 1.0,
  312.                                     "b" : 1.0,
  313.                                     "a" : 1.0,
  314.                                     "text_horizontal_align":"center"
  315.                                 },
  316.                             ),
  317.                         },
  318.                         {
  319.                             "name" : "Nyil_vedelem",
  320.                             "type" : "text",
  321.                             "x" : 5,
  322.                             "y" : 4*18,
  323.                             "text" : "Nyíl:"
  324.                         },
  325.                         {
  326.                             "name" : "Nyil_def",
  327.                             "type" : "window",
  328.                             "x" : 72,
  329.                             "y" : 4*18,
  330.                             "width" : 53,
  331.                             "height" : 19,
  332.                             "children" :
  333.                             (
  334.                                 {
  335.                                     "name" : "Nyil_def_Slot",
  336.                                     "type" : "image",
  337.                                     "x" : 0,
  338.                                     "y" : 0,
  339.                                     "image" : MIDDLE_VALUE_FILE
  340.                                 },
  341.                                 {
  342.                                     "name" : "Nyil_def_Value",
  343.                                     "type" : "text",
  344.                                     "x" : 26,
  345.                                     "y" : 3,
  346.                                     "text" : "999",
  347.                                     "r" : 1.0,
  348.                                     "g" : 1.0,
  349.                                     "b" : 1.0,
  350.                                     "a" : 1.0,
  351.                                     "text_horizontal_align":"center"
  352.                                 },
  353.                             ),
  354.                         },
  355.                         {
  356.                             "name" : "Harang_vedelem",
  357.                             "type" : "text",
  358.                             "x" : 5,
  359.                             "y" : 5*18,
  360.                             "text" : "Harang:"
  361.                         },
  362.                         {
  363.                             "name" : "Harang_def",
  364.                             "type" : "window",
  365.                             "x" : 72,
  366.                             "y" : 5*18,
  367.                             "width" : 53,
  368.                             "height" : 19,
  369.                             "children" :
  370.                             (
  371.                                 {
  372.                                     "name" : "Harang_def_Slot",
  373.                                     "type" : "image",
  374.                                     "x" : 0,
  375.                                     "y" : 0,
  376.                                     "image" : MIDDLE_VALUE_FILE
  377.                                 },
  378.                                 {
  379.                                     "name" : "Harang_def_Value",
  380.                                     "type" : "text",
  381.                                     "x" : 26,
  382.                                     "y" : 3,
  383.                                     "text" : "999",
  384.                                     "r" : 1.0,
  385.                                     "g" : 1.0,
  386.                                     "b" : 1.0,
  387.                                     "a" : 1.0,
  388.                                     "text_horizontal_align":"center"
  389.                                 },
  390.                             ),
  391.                         },
  392.                         {
  393.                             "name" : "Legyezo_vedelem",
  394.                             "type" : "text",
  395.                             "x" : 5,
  396.                             "y" : 6*18,
  397.                             "text" : "Legyező:"
  398.                         },
  399.                         {
  400.                             "name" : "Legyezo_def",
  401.                             "type" : "window",
  402.                             "x" : 72,
  403.                             "y" : 6*18,
  404.                             "width" : 53,
  405.                             "height" : 19,
  406.                             "children" :
  407.                             (
  408.                                 {
  409.                                     "name" : "Legyezo_def_Slot",
  410.                                     "type" : "image",
  411.                                     "x" : 0,
  412.                                     "y" : 0,
  413.                                     "image" : MIDDLE_VALUE_FILE
  414.                                 },
  415.                                 {
  416.                                     "name" : "Legyezo_def_Value",
  417.                                     "type" : "text",
  418.                                     "x" : 26,
  419.                                     "y" : 3,
  420.                                     "text" : "999",
  421.                                     "r" : 1.0,
  422.                                     "g" : 1.0,
  423.                                     "b" : 1.0,
  424.                                     "a" : 1.0,
  425.                                     "text_horizontal_align":"center"
  426.                                 },
  427.                             ),
  428.                         },
  429.                         {
  430.                             "name" : "Magia_vedelem",
  431.                             "type" : "text",
  432.                             "x" : 5,
  433.                             "y" : 7*18,
  434.                             "text" : "Mágia:"
  435.                         },
  436.                         {
  437.                             "name" : "Magia_def",
  438.                             "type" : "window",
  439.                             "x" : 72,
  440.                             "y" : 7*18,
  441.                             "width" : 53,
  442.                             "height" : 19,
  443.                             "children" :
  444.                             (
  445.                                 {
  446.                                     "name" : "Magia_def_Slot",
  447.                                     "type" : "image",
  448.                                     "x" : 0,
  449.                                     "y" : 0,
  450.                                     "image" : MIDDLE_VALUE_FILE
  451.                                 },
  452.                                 {
  453.                                     "name" : "Magia_def_Value",
  454.                                     "type" : "text",
  455.                                     "x" : 26,
  456.                                     "y" : 3,
  457.                                     "text" : "999",
  458.                                     "r" : 1.0,
  459.                                     "g" : 1.0,
  460.                                     "b" : 1.0,
  461.                                     "a" : 1.0,
  462.                                     "text_horizontal_align":"center"
  463.                                 },
  464.                             ),
  465.                         },
  466.                         {
  467.                             "name" : "Mereg_vedelem",
  468.                             "type" : "text",
  469.                             "x" : 5,
  470.                             "y" : 8*18,
  471.                             "text" : "Méreg:"
  472.                         },
  473.                         {
  474.                             "name" : "Mereg_def",
  475.                             "type" : "window",
  476.                             "x" : 72,
  477.                             "y" : 8*18,
  478.                             "width" : 53,
  479.                             "height" : 19,
  480.                             "children" :
  481.                             (
  482.                                 {
  483.                                     "name" : "Mereg_def_Slot",
  484.                                     "type" : "image",
  485.                                     "x" : 0,
  486.                                     "y" : 0,
  487.                                     "image" : MIDDLE_VALUE_FILE
  488.                                 },
  489.                                 {
  490.                                     "name" : "Mereg_def_Value",
  491.                                     "type" : "text",
  492.                                     "x" : 26,
  493.                                     "y" : 3,
  494.                                     "text" : "999",
  495.                                     "r" : 1.0,
  496.                                     "g" : 1.0,
  497.                                     "b" : 1.0,
  498.                                     "a" : 1.0,
  499.                                     "text_horizontal_align":"center"
  500.                                 },
  501.                             ),
  502.                         },
  503.                         {
  504.                             "name" : "Harcos_vedelem",
  505.                             "type" : "text",
  506.                             "x" : 5,
  507.                             "y" : 9*18,
  508.                             "text" : "Harcos:"
  509.                         },
  510.                         {
  511.                             "name" : "Harcos_def",
  512.                             "type" : "window",
  513.                             "x" : 72,
  514.                             "y" : 9*18,
  515.                             "width" : 53,
  516.                             "height" : 19,
  517.                             "children" :
  518.                             (
  519.                                 {
  520.                                     "name" : "Harcos_def_Slot",
  521.                                     "type" : "image",
  522.                                     "x" : 0,
  523.                                     "y" : 0,
  524.                                     "image" : MIDDLE_VALUE_FILE
  525.                                 },
  526.                                 {
  527.                                     "name" : "Harcos_def_Value",
  528.                                     "type" : "text",
  529.                                     "x" : 26,
  530.                                     "y" : 3,
  531.                                     "text" : "999",
  532.                                     "r" : 1.0,
  533.                                     "g" : 1.0,
  534.                                     "b" : 1.0,
  535.                                     "a" : 1.0,
  536.                                     "text_horizontal_align":"center"
  537.                                 },
  538.                             ),
  539.                         },
  540.                         {
  541.                             "name" : "Nindzsa_vedelem",
  542.                             "type" : "text",
  543.                             "x" : 5,
  544.                             "y" : 10*18,
  545.                             "text" : "Nindzsa:"
  546.                         },
  547.                         {
  548.                             "name" : "Nindzsa_def",
  549.                             "type" : "window",
  550.                             "x" : 72,
  551.                             "y" : 10*18,
  552.                             "width" : 53,
  553.                             "height" : 19,
  554.                             "children" :
  555.                             (
  556.                                 {
  557.                                     "name" : "Nindzsa_def_Slot",
  558.                                     "type" : "image",
  559.                                     "x" : 0,
  560.                                     "y" : 0,
  561.                                     "image" : MIDDLE_VALUE_FILE
  562.                                 },
  563.                                 {
  564.                                     "name" : "Nindzsa_def_Value",
  565.                                     "type" : "text",
  566.                                     "x" : 26,
  567.                                     "y" : 3,
  568.                                     "text" : "999",
  569.                                     "r" : 1.0,
  570.                                     "g" : 1.0,
  571.                                     "b" : 1.0,
  572.                                     "a" : 1.0,
  573.                                     "text_horizontal_align":"center"
  574.                                 },
  575.                             ),
  576.                         },
  577.                         {
  578.                             "name" : "Sura_vedelem",
  579.                             "type" : "text",
  580.                             "x" : 5,
  581.                             "y" : 11*18,
  582.                             "text" : "Sura:"
  583.                         },
  584.                         {
  585.                             "name" : "Sura_def",
  586.                             "type" : "window",
  587.                             "x" : 72,
  588.                             "y" : 11*18,
  589.                             "width" : 53,
  590.                             "height" : 19,
  591.                             "children" :
  592.                             (
  593.                                 {
  594.                                     "name" : "Sura_def_Slot",
  595.                                     "type" : "image",
  596.                                     "x" : 0,
  597.                                     "y" : 0,
  598.                                     "image" : MIDDLE_VALUE_FILE
  599.                                 },
  600.                                 {
  601.                                     "name" : "Sura_def_Value",
  602.                                     "type" : "text",
  603.                                     "x" : 26,
  604.                                     "y" : 3,
  605.                                     "text" : "999",
  606.                                     "r" : 1.0,
  607.                                     "g" : 1.0,
  608.                                     "b" : 1.0,
  609.                                     "a" : 1.0,
  610.                                     "text_horizontal_align":"center"
  611.                                 },
  612.                             ),
  613.                         },
  614.                         {
  615.                             "name" : "Saman_vedelem",
  616.                             "type" : "text",
  617.                             "x" : 5,
  618.                             "y" : 12*18,
  619.                             "text" : "Sámán:"
  620.                         },
  621.                         {
  622.                             "name" : "Saman_def",
  623.                             "type" : "window",
  624.                             "x" : 72,
  625.                             "y" : 12*18,
  626.                             "width" : 53,
  627.                             "height" : 19,
  628.                             "children" :
  629.                             (
  630.                                 {
  631.                                     "name" : "Saman_def_Slot",
  632.                                     "type" : "image",
  633.                                     "x" : 0,
  634.                                     "y" : 0,
  635.                                     "image" : MIDDLE_VALUE_FILE
  636.                                 },
  637.                                 {
  638.                                     "name" : "Saman_def_Value",
  639.                                     "type" : "text",
  640.                                     "x" : 26,
  641.                                     "y" : 3,
  642.                                     "text" : "999",
  643.                                     "r" : 1.0,
  644.                                     "g" : 1.0,
  645.                                     "b" : 1.0,
  646.                                     "a" : 1.0,
  647.                                     "text_horizontal_align":"center"
  648.                                 },
  649.                             ),
  650.                         },
  651.                         {
  652.                             "name" : "BonusBase2",
  653.                             "type" : "horizontalbar",
  654.                             "x" : 4,
  655.                             "y" : 235,
  656.                             "width" : 120,
  657.                             "children" :
  658.                             (
  659.                                 {
  660.                                     "name" : "bonus_text_1",
  661.                                     "type" : "text",
  662.                                     "x" : 0,
  663.                                     "y" : 0,
  664.                                     "all_align" : "center",
  665.                                     "text" : "Támadó",
  666.                                     "r":1.0, "g":0.6352941176470588, "b":0, "a":1.0,
  667.                                 },
  668.                             ),
  669.                         },
  670.                         {
  671.                             "name" : "Kritikus_talalat",
  672.                             "type" : "text",
  673.                             "x" : 5,
  674.                             "y" : 235+(1*18),
  675.                             "text" : "Krit:"
  676.                         },
  677.                         {
  678.                             "name" : "Krit",
  679.                             "type" : "window",
  680.                             "x" : 72,
  681.                             "y" : 235+(1*18),
  682.                             "width" : 53,
  683.                             "height" : 19,
  684.                             "children" :
  685.                             (
  686.                                 {
  687.                                     "name" : "Krit_Slot",
  688.                                     "type" : "image",
  689.                                     "x" : 0,
  690.                                     "y" : 0,
  691.                                     "image" : MIDDLE_VALUE_FILE
  692.                                 },
  693.                                 {
  694.                                     "name" : "Krit_Value",
  695.                                     "type" : "text",
  696.                                     "x" : 26,
  697.                                     "y" : 3,
  698.                                     "text" : "999",
  699.                                     "r" : 1.0,
  700.                                     "g" : 1.0,
  701.                                     "b" : 1.0,
  702.                                     "a" : 1.0,
  703.                                     "text_horizontal_align":"center"
  704.                                 },
  705.                             ),
  706.                         },
  707.                         {
  708.                             "name" : "Athato_talalat",
  709.                             "type" : "text",
  710.                             "x" : 5,
  711.                             "y" : 235+(2*18),
  712.                             "text" : "Átható:"
  713.                         },
  714.                         {
  715.                             "name" : "Athato",
  716.                             "type" : "window",
  717.                             "x" : 72,
  718.                             "y" : 235+(2*18),
  719.                             "width" : 53,
  720.                             "height" : 19,
  721.                             "children" :
  722.                             (
  723.                                 {
  724.                                     "name" : "Athato_Slot",
  725.                                     "type" : "image",
  726.                                     "x" : 0,
  727.                                     "y" : 0,
  728.                                     "image" : MIDDLE_VALUE_FILE
  729.                                 },
  730.                                 {
  731.                                     "name" : "Athato_Value",
  732.                                     "type" : "text",
  733.                                     "x" : 26,
  734.                                     "y" : 3,
  735.                                     "text" : "999",
  736.                                     "r" : 1.0,
  737.                                     "g" : 1.0,
  738.                                     "b" : 1.0,
  739.                                     "a" : 1.0,
  740.                                     "text_horizontal_align":"center"
  741.                                 },
  742.                             ),
  743.                         },
  744.                         {
  745.                             "name" : "Atlagos_karok",
  746.                             "type" : "text",
  747.                             "x" : 5,
  748.                             "y" : 235+(3*18),
  749.                             "text" : "Átlag kár:"
  750.                         },
  751.                         {
  752.                             "name" : "Atlagkar",
  753.                             "type" : "window",
  754.                             "x" : 72,
  755.                             "y" : 235+(3*18),
  756.                             "width" : 53,
  757.                             "height" : 19,
  758.                             "children" :
  759.                             (
  760.                                 {
  761.                                     "name" : "Atlagkar_Slot",
  762.                                     "type" : "image",
  763.                                     "x" : 0,
  764.                                     "y" : 0,
  765.                                     "image" : MIDDLE_VALUE_FILE
  766.                                 },
  767.                                 {
  768.                                     "name" : "Atlagkar_Value",
  769.                                     "type" : "text",
  770.                                     "x" : 26,
  771.                                     "y" : 3,
  772.                                     "text" : "999",
  773.                                     "r" : 1.0,
  774.                                     "g" : 1.0,
  775.                                     "b" : 1.0,
  776.                                     "a" : 1.0,
  777.                                     "text_horizontal_align":"center"
  778.                                 },
  779.                             ),
  780.                         },
  781.                         {
  782.                             "name" : "Keszeg_karok",
  783.                             "type" : "text",
  784.                             "x" : 5,
  785.                             "y" : 235+(4*18),
  786.                             "text" : "Készség kár:"
  787.                         },
  788.                         {
  789.                             "name" : "Keszsegkar",
  790.                             "type" : "window",
  791.                             "x" : 72,
  792.                             "y" : 235+(4*18),
  793.                             "width" : 53,
  794.                             "height" : 19,
  795.                             "children" :
  796.                             (
  797.                                 {
  798.                                     "name" : "Keszseg_Slot",
  799.                                     "type" : "image",
  800.                                     "x" : 0,
  801.                                     "y" : 0,
  802.                                     "image" : MIDDLE_VALUE_FILE
  803.                                 },
  804.                                 {
  805.                                     "name" : "Keszsegkar_Value",
  806.                                     "type" : "text",
  807.                                     "x" : 26,
  808.                                     "y" : 3,
  809.                                     "text" : "999",
  810.                                     "r" : 1.0,
  811.                                     "g" : 1.0,
  812.                                     "b" : 1.0,
  813.                                     "a" : 1.0,
  814.                                     "text_horizontal_align":"center"
  815.                                 },
  816.                             ),
  817.                         },
  818.                         {
  819.                             "name" : "Felemberek",
  820.                             "type" : "text",
  821.                             "x" : 5,
  822.                             "y" : 235+(5*18),
  823.                             "text" : "Félemberek:"
  824.                         },
  825.                         {
  826.                             "name" : "Felember",
  827.                             "type" : "window",
  828.                             "x" : 72,
  829.                             "y" : 235+(5*18),
  830.                             "width" : 53,
  831.                             "height" : 19,
  832.                             "children" :
  833.                             (
  834.                                 {
  835.                                     "name" : "Felember_Slot",
  836.                                     "type" : "image",
  837.                                     "x" : 0,
  838.                                     "y" : 0,
  839.                                     "image" : MIDDLE_VALUE_FILE
  840.                                 },
  841.                                 {
  842.                                     "name" : "Felember_Value",
  843.                                     "type" : "text",
  844.                                     "x" : 26,
  845.                                     "y" : 3,
  846.                                     "text" : "999",
  847.                                     "r" : 1.0,
  848.                                     "g" : 1.0,
  849.                                     "b" : 1.0,
  850.                                     "a" : 1.0,
  851.                                     "text_horizontal_align":"center"
  852.                                 },
  853.                             ),
  854.                         },
  855.                         {
  856.                             "name" : "Nemhalottak",
  857.                             "type" : "text",
  858.                             "x" : 5,
  859.                             "y" : 235+(6*18),
  860.                             "text" : "Nemhalottak:"
  861.                         },
  862.                         {
  863.                             "name" : "Nemhalott",
  864.                             "type" : "window",
  865.                             "x" : 72,
  866.                             "y" : 235+(6*18),
  867.                             "width" : 53,
  868.                             "height" : 19,
  869.                             "children" :
  870.                             (
  871.                                 {
  872.                                     "name" : "Nemhalott_Slot",
  873.                                     "type" : "image",
  874.                                     "x" : 0,
  875.                                     "y" : 0,
  876.                                     "image" : MIDDLE_VALUE_FILE
  877.                                 },
  878.                                 {
  879.                                     "name" : "Nemhalott_Value",
  880.                                     "type" : "text",
  881.                                     "x" : 26,
  882.                                     "y" : 3,
  883.                                     "text" : "999",
  884.                                     "r" : 1.0,
  885.                                     "g" : 1.0,
  886.                                     "b" : 1.0,
  887.                                     "a" : 1.0,
  888.                                     "text_horizontal_align":"center"
  889.                                 },
  890.                             ),
  891.                         },
  892.                         {
  893.                             "name" : "Ordog_elleni",
  894.                             "type" : "text",
  895.                             "x" : 5,
  896.                             "y" : 235+(7*18),
  897.                             "text" : "Ördög:"
  898.                         },
  899.                         {
  900.                             "name" : "Ordog",
  901.                             "type" : "window",
  902.                             "x" : 72,
  903.                             "y" : 235+(7*18),
  904.                             "width" : 53,
  905.                             "height" : 19,
  906.                             "children" :
  907.                             (
  908.                                 {
  909.                                     "name" : "Ordog_Slot",
  910.                                     "type" : "image",
  911.                                     "x" : 0,
  912.                                     "y" : 0,
  913.                                     "image" : MIDDLE_VALUE_FILE
  914.                                 },
  915.                                 {
  916.                                     "name" : "Ordog_Value",
  917.                                     "type" : "text",
  918.                                     "x" : 26,
  919.                                     "y" : 3,
  920.                                     "text" : "999",
  921.                                     "r" : 1.0,
  922.                                     "g" : 1.0,
  923.                                     "b" : 1.0,
  924.                                     "a" : 1.0,
  925.                                     "text_horizontal_align":"center"
  926.                                 },
  927.                             ),
  928.                         },
  929.                         {
  930.                             "name" : "Harcos_elleni",
  931.                             "type" : "text",
  932.                             "x" : 5,
  933.                             "y" : 235+(8*18),
  934.                             "text" : "Harcos:"
  935.                         },
  936.                         {
  937.                             "name" : "Harcos_str",
  938.                             "type" : "window",
  939.                             "x" : 72,
  940.                             "y" : 235+(8*18),
  941.                             "width" : 53,
  942.                             "height" : 19,
  943.                             "children" :
  944.                             (
  945.                                 {
  946.                                     "name" : "Harcos_str_Slot",
  947.                                     "type" : "image",
  948.                                     "x" : 0,
  949.                                     "y" : 0,
  950.                                     "image" : MIDDLE_VALUE_FILE
  951.                                 },
  952.                                 {
  953.                                     "name" : "Harcos_str_Value",
  954.                                     "type" : "text",
  955.                                     "x" : 26,
  956.                                     "y" : 3,
  957.                                     "text" : "999",
  958.                                     "r" : 1.0,
  959.                                     "g" : 1.0,
  960.                                     "b" : 1.0,
  961.                                     "a" : 1.0,
  962.                                     "text_horizontal_align":"center"
  963.                                 },
  964.                             ),
  965.                         },
  966.                         {
  967.                             "name" : "Nindzsa_elleni",
  968.                             "type" : "text",
  969.                             "x" : 5,
  970.                             "y" : 235+(9*18),
  971.                             "text" : "Nindzsa:"
  972.                         },
  973.                         {
  974.                             "name" : "Nindzsa_str",
  975.                             "type" : "window",
  976.                             "x" : 72,
  977.                             "y" : 235+(9*18),
  978.                             "width" : 53,
  979.                             "height" : 19,
  980.                             "children" :
  981.                             (
  982.                                 {
  983.                                     "name" : "Nindzsa_str_Slot",
  984.                                     "type" : "image",
  985.                                     "x" : 0,
  986.                                     "y" : 0,
  987.                                     "image" : MIDDLE_VALUE_FILE
  988.                                 },
  989.                                 {
  990.                                     "name" : "Nindzsa_str_Value",
  991.                                     "type" : "text",
  992.                                     "x" : 26,
  993.                                     "y" : 3,
  994.                                     "text" : "999",
  995.                                     "r" : 1.0,
  996.                                     "g" : 1.0,
  997.                                     "b" : 1.0,
  998.                                     "a" : 1.0,
  999.                                     "text_horizontal_align":"center"
  1000.                                 },
  1001.                             ),
  1002.                         },
  1003.                         {
  1004.                             "name" : "Sura_elleni",
  1005.                             "type" : "text",
  1006.                             "x" : 5,
  1007.                             "y" : 235+(10*18),
  1008.                             "text" : "Sura:"
  1009.                         },
  1010.                         {
  1011.                             "name" : "Nindzsa_str",
  1012.                             "type" : "window",
  1013.                             "x" : 72,
  1014.                             "y" : 235+(10*18),
  1015.                             "width" : 53,
  1016.                             "height" : 19,
  1017.                             "children" :
  1018.                             (
  1019.                                 {
  1020.                                     "name" : "Sura_str_Slot",
  1021.                                     "type" : "image",
  1022.                                     "x" : 0,
  1023.                                     "y" : 0,
  1024.                                     "image" : MIDDLE_VALUE_FILE
  1025.                                 },
  1026.                                 {
  1027.                                     "name" : "Sura_str_Value",
  1028.                                     "type" : "text",
  1029.                                     "x" : 26,
  1030.                                     "y" : 3,
  1031.                                     "text" : "999",
  1032.                                     "r" : 1.0,
  1033.                                     "g" : 1.0,
  1034.                                     "b" : 1.0,
  1035.                                     "a" : 1.0,
  1036.                                     "text_horizontal_align":"center"
  1037.                                 },
  1038.                             ),
  1039.                         },
  1040.                         {
  1041.                             "name" : "Saman_elleni",
  1042.                             "type" : "text",
  1043.                             "x" : 5,
  1044.                             "y" : 235+(11*18),
  1045.                             "text" : "Sámán:"
  1046.                         },
  1047.                         {
  1048.                             "name" : "Saman_str",
  1049.                             "type" : "window",
  1050.                             "x" : 72,
  1051.                             "y" : 235+(11*18),
  1052.                             "width" : 53,
  1053.                             "height" : 19,
  1054.                             "children" :
  1055.                             (
  1056.                                 {
  1057.                                     "name" : "Saman_str_Slot",
  1058.                                     "type" : "image",
  1059.                                     "x" : 0,
  1060.                                     "y" : 0,
  1061.                                     "image" : MIDDLE_VALUE_FILE
  1062.                                 },
  1063.                                 {
  1064.                                     "name" : "Saman_str_Value",
  1065.                                     "type" : "text",
  1066.                                     "x" : 26,
  1067.                                     "y" : 3,
  1068.                                     "text" : "999",
  1069.                                     "r" : 1.0,
  1070.                                     "g" : 1.0,
  1071.                                     "b" : 1.0,
  1072.                                     "a" : 1.0,
  1073.                                     "text_horizontal_align":"center"
  1074.                                 },
  1075.                             ),
  1076.                         },
  1077.                         {
  1078.                             "name" : "Szorny_elleni",
  1079.                             "type" : "text",
  1080.                             "x" : 5,
  1081.                             "y" : 235+(12*18),
  1082.                             "text" : "Szörny:"
  1083.                         },
  1084.                         {
  1085.                             "name" : "Szorny_str",
  1086.                             "type" : "window",
  1087.                             "x" : 72,
  1088.                             "y" : 235+(12*18),
  1089.                             "width" : 53,
  1090.                             "height" : 19,
  1091.                             "children" :
  1092.                             (
  1093.                                 {
  1094.                                     "name" : "Szorny_str_Slot",
  1095.                                     "type" : "image",
  1096.                                     "x" : 0,
  1097.                                     "y" : 0,
  1098.                                     "image" : MIDDLE_VALUE_FILE
  1099.                                 },
  1100.                                 {
  1101.                                     "name" : "Szorny_str_Value",
  1102.                                     "type" : "text",
  1103.                                     "x" : 26,
  1104.                                     "y" : 3,
  1105.                                     "text" : "999",
  1106.                                     "r" : 1.0,
  1107.                                     "g" : 1.0,
  1108.                                     "b" : 1.0,
  1109.                                     "a" : 1.0,
  1110.                                     "text_horizontal_align":"center"
  1111.                                 },
  1112.                             ),
  1113.                         },
  1114.                         {
  1115.                             "name" : "CopyRight",
  1116.                             "type" : "horizontalbar",
  1117.                             "x" : 4,
  1118.                             "y" : 470,
  1119.                             "width" : 120,
  1120.                             "children" :
  1121.                             (
  1122.                                 {
  1123.                                     "name" : "(C)",
  1124.                                     "type" : "text",
  1125.                                     "x" : 0,
  1126.                                     "y" : 0,
  1127.                                     "all_align" : "center",
  1128.                                     "text" : "War Of Change", ## Átírhatod ha gondolod..
  1129.                                     "r" : 1.0,
  1130.                                     "g" : 0.0,
  1131.                                     "b" : 0.0,
  1132.                                     "a" : 1.0,
  1133.                                 },
  1134.                             ),
  1135.                         },
  1136.                     ),
  1137.                 },
  1138.  
  1139.                 {
  1140.                     "name" : "Inventory_Tab_01",
  1141.                     "type" : "radio_button",
  1142.  
  1143.                     "x" : 10,
  1144.                     "y" : 33 + 191,
  1145.  
  1146.                     "default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
  1147.                     "over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
  1148.                     "down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
  1149.                     "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,
  1150.  
  1151.                     "children" :
  1152.                     (
  1153.                         {
  1154.                             "name" : "Inventory_Tab_01_Print",
  1155.                             "type" : "text",
  1156.  
  1157.                             "x" : 0,
  1158.                             "y" : 0,
  1159.  
  1160.                             "all_align" : "center",
  1161.  
  1162.                             "text" : "I",
  1163.                         },
  1164.                     ),
  1165.                 },
  1166.                 {
  1167.                     "name" : "Inventory_Tab_02",
  1168.                     "type" : "radio_button",
  1169.  
  1170.                     "x" : 10 + 78,
  1171.                     "y" : 33 + 191,
  1172.  
  1173.                     "default_image" : "d:/ymir work/ui/game/windows/tab_button_large_01.sub",
  1174.                     "over_image" : "d:/ymir work/ui/game/windows/tab_button_large_02.sub",
  1175.                     "down_image" : "d:/ymir work/ui/game/windows/tab_button_large_03.sub",
  1176.                     "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,
  1177.  
  1178.                     "children" :
  1179.                     (
  1180.                         {
  1181.                             "name" : "Inventory_Tab_02_Print",
  1182.                             "type" : "text",
  1183.  
  1184.                             "x" : 0,
  1185.                             "y" : 0,
  1186.  
  1187.                             "all_align" : "center",
  1188.  
  1189.                             "text" : "II",
  1190.                         },
  1191.                     ),
  1192.                 },
  1193.  
  1194.                 ## Item Slot
  1195.                 {
  1196.                     "name" : "ItemSlot",
  1197.                     "type" : "grid_table",
  1198.  
  1199.                     "x" : 8,
  1200.                     "y" : 246,
  1201.  
  1202.                     "start_index" : 0,
  1203.                     "x_count" : 5,
  1204.                     "y_count" : 9,
  1205.                     "x_step" : 32,
  1206.                     "y_step" : 32,
  1207.  
  1208.                     "image" : "d:/ymir work/ui/public/Slot_Base.sub"
  1209.                 },
  1210.  
  1211.                 ## Print
  1212.                 {
  1213.                     "name":"Money_Slot",
  1214.                     "type":"button",
  1215.  
  1216.                     "x":8+20,
  1217.                     "y":28,
  1218.  
  1219.                     # "horizontal_align":"center",
  1220.                     "vertical_align":"bottom",
  1221.  
  1222.                     "default_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
  1223.                     "over_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
  1224.                     "down_image" : "d:/ymir work/ui/public/parameter_slot_05.sub",
  1225.  
  1226.                     "children" :
  1227.                     (
  1228.                         {
  1229.                             "name":"Money_Icon",
  1230.                             "type":"image",
  1231.  
  1232.                             "x":-18,
  1233.                             "y":2,
  1234.  
  1235.                             "image":"d:/ymir work/ui/game/windows/money_icon.sub",
  1236.                         },
  1237.  
  1238.                         {
  1239.                             "name" : "Money",
  1240.                             "type" : "text",
  1241.  
  1242.                             "x" : 3,
  1243.                             "y" : 3,
  1244.  
  1245.                             "horizontal_align" : "right",
  1246.                             "text_horizontal_align" : "right",
  1247.  
  1248.                             "text" : "123456789",
  1249.                         },
  1250.                     ),
  1251.                 },
  1252.  
  1253.             ),
  1254.         },
  1255.     ),
  1256. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement