Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.40 KB | None | 0 0
  1. TableDescription limitsHeader
  2. {
  3. int _width = 7;
  4. int _height = 1;
  5. int _cellPad = 2;
  6.  
  7. int _topPad = 2;
  8.  
  9. TableItem _items
  10. [
  11. { int _x = 0; int _y = -1; ElementDescription _element = "limitItemHeader"; }
  12. { int _x = 1; int _y = -1; ElementDescription _element = "limitLimitHeader"; }
  13. { int _x = 2; int _y = -1; ElementDescription _element = "limitCurrentHeader"; }
  14. { int _x = 3; int _y = -1; ElementDescription _element = "limitUsedHeader"; }
  15. { int _x = 4; int _y = -1; ElementDescription _element = "limitProducedHeader"; }
  16. { int _x = 5; int _y = -1; ElementDescription _element = "limitPrevUsedHeader"; }
  17. { int _x = 6; int _y = -1; ElementDescription _element = "limitPrevProducedHeader"; }
  18. ]
  19. }
  20.  
  21. TextDescription limitItemHeader : "tableHeaderText" { String _text = "InventoryItem"; int _minWidth = 80; }
  22. TextDescription limitLimitHeader : "tableHeaderText" { String _text = "Limit"; int _minWidth = 44; }
  23. TextDescription limitCurrentHeader : "tableHeaderText" { String _text = "ProductionCurrent"; int _minWidth = 52; }
  24. TextDescription limitUsedHeader : "tableHeaderText" { String _text = "ProductionUsed"; int _minWidth = 52; }
  25. TextDescription limitProducedHeader : "tableHeaderText" { String _text = "ProductionProduced"; int _minWidth = 52; }
  26. TextDescription limitPrevUsedHeader : "tableHeaderText" { String _text = "PreviousUsed"; int _minWidth = 78; }
  27. TextDescription limitPrevProducedHeader : "tableHeaderText" { String _text = "PreviousProduced"; int _minWidth = 85; }
  28.  
  29. TableDescription limits
  30. {
  31.  
  32. int _width = 6;
  33. int _height = 11;
  34. int _cellPad = 2;
  35.  
  36. TableItem _items
  37. [
  38. { int _x = 0; int _y = 0; ElementDescription _element = "limit0"; }
  39. { int _x = 0; int _y = 1; ElementDescription _element = "limit1"; }
  40. { int _x = 0; int _y = 2; ElementDescription _element = "limit2"; }
  41. { int _x = 0; int _y = 3; ElementDescription _element = "limit3"; }
  42. { int _x = 0; int _y = 4; ElementDescription _element = "limit4"; }
  43. { int _x = 0; int _y = 5; ElementDescription _element = "limit5"; }
  44. { int _x = 0; int _y = 6; ElementDescription _element = "limit6"; }
  45. { int _x = 0; int _y = 7; ElementDescription _element = "limit7"; }
  46. { int _x = 0; int _y = 8; ElementDescription _element = "limit8"; }
  47. { int _x = 0; int _y = 9; ElementDescription _element = "limit9"; }
  48. { int _x = 0; int _y = 10; ElementDescription _element = "limit10"; }
  49.  
  50. { int _x = 1; int _y = -1; ElementDescription _element = "productionCountCurrent"; }
  51. { int _x = 2; int _y = -1; ElementDescription _element = "productionCountUsed"; }
  52. { int _x = 3; int _y = -1; ElementDescription _element = "productionCountProduced"; }
  53. { int _x = 4; int _y = -1; ElementDescription _element = "productionCountLastUsed"; }
  54. { int _x = 5; int _y = -1; ElementDescription _element = "productionCountLastProduced"; }
  55. ]
  56. }
  57.  
  58. NumberDescription productionCountCurrent : "tableNumber" { int _minWidth = 54; }
  59. NumberDescription productionCountUsed : "tableNumber" { int _minWidth = 54; }
  60. NumberDescription productionCountProduced : "tableNumber" { int _minWidth = 54; }
  61. NumberDescription productionCountLastUsed : "tableNumber" { int _minWidth = 80; }
  62. NumberDescription productionCountLastProduced : "tableNumber" { int _minWidth = 87; }
  63.  
  64. GroupDescription limit0 { }
  65. GroupDescription limit1 { }
  66. GroupDescription limit2 { }
  67. GroupDescription limit3 { }
  68. GroupDescription limit4 { }
  69. GroupDescription limit5 { }
  70. GroupDescription limit6 { }
  71. GroupDescription limit7 { }
  72. GroupDescription limit8 { }
  73. GroupDescription limit9 { }
  74. GroupDescription limit10 { }
  75.  
  76. ResourceLimitUIConfig resourceLimitConfigLog { ResourceLimit _resourceLimit = Log; }
  77. ResourceLimitUIConfig resourceLimitConfigStone { ResourceLimit _resourceLimit = Stone; }
  78. ResourceLimitUIConfig resourceLimitConfigIron { ResourceLimit _resourceLimit = Iron; }
  79. ResourceLimitUIConfig resourceLimitConfigHerbs { ResourceLimit _resourceLimit = Herbs; }
  80. ResourceLimitUIConfig resourceLimitConfigTools { ResourceLimit _resourceLimit = Tools; }
  81. ResourceLimitUIConfig resourceLimitConfigFuel { ResourceLimit _resourceLimit = Fuel; }
  82. ResourceLimitUIConfig resourceLimitConfigFood { ResourceLimit _resourceLimit = Food; }
  83. ResourceLimitUIConfig resourceLimitConfigClothing { ResourceLimit _resourceLimit = Clothing; }
  84. ResourceLimitUIConfig resourceLimitConfigAlcohol { ResourceLimit _resourceLimit = Alcohol; }
  85. ResourceLimitUIConfig resourceLimitConfigCoal { ResourceLimit _resourceLimit = Coal; }
  86. ResourceLimitUIConfig resourceLimitConfigTextile { ResourceLimit _resourceLimit = Textile; }
  87.  
  88. RibbonDescription resourceLimit
  89. {
  90. Alignment _alignment = TopLeft;
  91. bool vertical = false;
  92. int _cellPad = 2;
  93.  
  94. Dialog _toolTipDialog = "ToolTip.rsc";
  95. StringTable _toolTipStringTable = "StringTable.rsc:gameDialogs";
  96. }
  97.  
  98. LabelDescription labelLimit
  99. {
  100. ElementDescription _border = "SharedElements.rsc:flatButtonEnabledBorder";
  101. Alignment _alignment = MidLeft;
  102.  
  103. Font _font = "Font\FontSmall.rsc";
  104. int _minWidth = 72;
  105. int _imageWidth = 20;
  106. int _imageHeight = 20;
  107. int _spacing = 4;
  108. int _leftPad = 2;
  109. LabelPosition _labelPosition = TextRight;
  110. Alignment _textAlignment = MidLeft;
  111.  
  112. StringTable _stringTable = "StringTable.rsc:gameDialogs";
  113. SpriteSheet _spriteSheet = "SpriteSheet.rsc";
  114. }
  115.  
  116. SpinnerDescription editLimit : "SharedElements.rsc:spinnerSmall6"
  117. {
  118. int _increment = 100;
  119. ElementDescription _border = "SharedElements.rsc:flatButtonEnabledBorder";
  120. }
  121.  
  122. RibbonDescription resourceLimitLog : "resourceLimit" { String _toolTipText = "LogLimitTip"; ElementDescription _elements [ "labelLimitLog", "editLimit" ] }
  123. RibbonDescription resourceLimitStone : "resourceLimit" { String _toolTipText = "StoneLimitTip"; ElementDescription _elements [ "labelLimitStone", "editLimit" ] }
  124. RibbonDescription resourceLimitIron : "resourceLimit" { String _toolTipText = "IronLimitTip"; ElementDescription _elements [ "labelLimitIron", "editLimit" ] }
  125. RibbonDescription resourceLimitFuel : "resourceLimit" { String _toolTipText = "FuelLimitTip"; ElementDescription _elements [ "labelLimitFuel", "editLimit" ] }
  126. RibbonDescription resourceLimitTool : "resourceLimit" { String _toolTipText = "ToolLimitTip"; ElementDescription _elements [ "labelLimitTool", "editLimit" ] }
  127. RibbonDescription resourceLimitHerb : "resourceLimit" { String _toolTipText = "HerbLimitTip"; ElementDescription _elements [ "labelLimitHerb", "editLimit" ] }
  128. RibbonDescription resourceLimitFood : "resourceLimit" { String _toolTipText = "FoodLimitTip"; ElementDescription _elements [ "labelLimitFood", "editLimit" ] }
  129. RibbonDescription resourceLimitClothing : "resourceLimit" { String _toolTipText = "ClothesLimitTip"; ElementDescription _elements [ "labelLimitClothing",
  130.  
  131. "editLimit" ] }
  132. RibbonDescription resourceLimitAlcohol : "resourceLimit" { String _toolTipText = "AlcoholLimitTip"; ElementDescription _elements [ "labelLimitAlcohol", "editLimit"
  133.  
  134. ] }
  135. RibbonDescription resourceLimitCoal : "resourceLimit" { String _toolTipText = "CoalLimitTip"; ElementDescription _elements [ "labelLimitCoal", "editLimit" ] }
  136. RibbonDescription resourceLimitTextile : "resourceLimit" { String _toolTipText = "TextileLimitTip"; ElementDescription _elements [ "labelLimitTextile", "editLimit"
  137.  
  138. ] }
  139.  
  140. LabelDescription labelLimitLog : "labelLimit" { String _text = "LogLimitShort"; String _spriteName = "Log"; }
  141. LabelDescription labelLimitStone : "labelLimit" { String _text = "StoneLimitShort"; String _spriteName = "Stone"; }
  142. LabelDescription labelLimitIron : "labelLimit" { String _text = "IronLimitShort"; String _spriteName = "Iron"; }
  143. LabelDescription labelLimitFuel : "labelLimit" { String _text = "FuelLimitShort"; String _spriteName = "Firewood"; }
  144. LabelDescription labelLimitTool : "labelLimit" { String _text = "ToolLimitShort"; String _spriteName = "Tool"; }
  145. LabelDescription labelLimitHerb : "labelLimit" { String _text = "HerbLimitShort"; String _spriteName = "Mushroom"; }
  146. LabelDescription labelLimitFood : "labelLimit" { String _text = "FoodLimitShort"; String _spriteName = "Potato"; }
  147. LabelDescription labelLimitClothing : "labelLimit" { String _text = "ClothesLimitShort"; String _spriteName = "WinterCoat"; }
  148. LabelDescription labelLimitAlcohol : "labelLimit" { String _text = "AlcoholLimitShort"; String _spriteName = "Ale"; }
  149. LabelDescription labelLimitCoal : "labelLimit" { String _text = "CoalLimitShort"; String _spriteName = "Coal"; }
  150. LabelDescription labelLimitTextile : "labelLimit" { String _text = "TextileLimitShort"; String _spriteName = "Leather"; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement