formspec.lua 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. form =
  2. 'size[10,10;]'..
  3. 'background[-0.15,-0.25;10.40,10.75;mylandscaping_madison_stone.png]'..
  4. 'button[0,0;2.5,1;retain;Retaining Walls]'..
  5. 'button[2.5,0;2.5,1;column;Columns]'..
  6. 'button[5,0;2.5,1;patio;Patio Pavers]'..
  7. 'button[7.5,0;2.5,1;deco;Deco Walls]'
  8. input =
  9. 'label[3,4.5;Input]'..
  10. 'list[context;input;3,5;1,1;]'..
  11. 'label[4,4.5;Dye]'..
  12. 'list[context;dye;4,5;1,1;]'..
  13. --Output
  14. 'label[6,4.5;Output]'..
  15. 'list[context;output;6,5;1,1;]'..
  16. --Players Inven
  17. 'list[current_player;main;1,6;8,4;]'
  18. retaining_walls =
  19. form..
  20. 'label[1,2.75;Freeport]'..
  21. 'label[1,3.75;Madison]'..
  22. 'label[1,1.75;Adaridge]'..
  23. --Freeport walls
  24. 'item_image_button[3,2.5;1,1;mylandscaping:fwall_left_cement;fwall1; ]'..
  25. 'item_image_button[4,2.5;1,1;mylandscaping:fwall_middle_cement;fwall2; ]'..
  26. 'item_image_button[5,2.5;1,1;mylandscaping:fwall_right_cement;fwall3; ]'..
  27. 'item_image_button[6,2.5;1,1;mylandscaping:fwall_corner_cement;fwall4; ]'..
  28. --Madison walls
  29. 'item_image_button[3,3.5;1,1;mylandscaping:mwall_middle_cement;mwall1; ]'..
  30. 'item_image_button[4,3.5;1,1;mylandscaping:mwall_icorner_cement;mwall2; ]'..
  31. 'item_image_button[5,3.5;1,1;mylandscaping:mwall_ocorner_cement;mwall3; ]'..
  32. --Adaridge walls
  33. 'item_image_button[3,1.5;1,1;mylandscaping:awall_left_cement;awall1; ]'..
  34. 'item_image_button[4,1.5;1,1;mylandscaping:awall_middle_cement;awall2; ]'..
  35. 'item_image_button[5,1.5;1,1;mylandscaping:awall_right_cement;awall3; ]'..
  36. 'item_image_button[6,1.5;1,1;mylandscaping:awall_icorner_cement;awall4; ]'..
  37. 'item_image_button[7,1.5;1,1;mylandscaping:awall_ocorner_cement;awall5; ]'..
  38. input
  39. columns = --Although all the columns are in the wall files they get their own menu.
  40. form..
  41. 'label[.75,1;Columns are compatible with all walls.]'..
  42. 'label[.75,2.75;Freeport]'..
  43. -- 'label[.75,3.75;Madison]'..
  44. 'label[.75,1.75;Adaridge]'..
  45. 'item_image_button[2,2.5;1,1;mylandscaping:fwall_column_m_t_cement;fcolumn1; ]'..
  46. 'item_image_button[3,2.5;1,1;mylandscaping:fwall_column_ic_t_cement;fcolumn2; ]'..
  47. 'item_image_button[4,2.5;1,1;mylandscaping:fwall_column_oc_t_cement;fcolumn3; ]'..
  48. 'item_image_button[2,1.5;1,1;mylandscaping:awall_column_m_t_cement;acolumn1; ]'..
  49. 'item_image_button[3,1.5;1,1;mylandscaping:awall_column_ic_t_cement;acolumn2; ]'..
  50. 'item_image_button[4,1.5;1,1;mylandscaping:awall_column_oc_t_cement;acolumn3; ]'..
  51. 'label[6.5,1;Column toppers]'..
  52. 'item_image_button[6,1.5;1,1;mylandscaping:column_t_sphere_cement;column_sphere; ]'..
  53. 'item_image_button[7,1.5;1,1;mylandscaping:column_t_dragon_cement;column_dragon; ]'..
  54. 'item_image_button[8,1.5;1,1;mylandscaping:column_t_suzanne_cement;column_suzanne; ]'..
  55. 'item_image_button[9,1.5;1,1;mylandscaping:column_t_cross_cement;column_cross; ]'..
  56. input
  57. patio_pavers =
  58. form..
  59. 'label[1,1.5;Place pavers on top of sand]'..
  60. 'label[1,2;to achieve best fit, and to be]'..
  61. 'label[1,2.5;able to place patio decorations.]'..
  62. 'item_image_button[5.5,1.5;1,1;mylandscaping:stone_squarecement;patio1; ]'..
  63. 'item_image_button[6.5,1.5;1,1;mylandscaping:stone_square_smcement;patio2; ]'..
  64. 'item_image_button[7.5,1.5;1,1;mylandscaping:stone_square_xsmcement;patio7; ]'..
  65. 'item_image_button[8.5,1.5;1,1;mylandscaping:stone_paverscement;patio3; ]'..
  66. 'item_image_button[6,2.5;1,1;mylandscaping:stone_ashlarcement;patio4; ]'..
  67. 'item_image_button[7,2.5;1,1;mylandscaping:stone_flagstonecement;patio5; ]'..
  68. 'item_image_button[8,2.5;1,1;mylandscaping:stone_pinwheelcement;patio6; ]'..
  69. input
  70. deco_walls =
  71. form..
  72. 'image_button[2,1.5;1,1;mylandscaping_deco_scallop.png;deco1;]'..
  73. 'tooltip[deco1;Scalloped decorative wall]'..
  74. 'image_button[3,1.5;1,1;mylandscaping_deco_flat.png;deco2;]'..
  75. 'tooltip[deco2;Flat decorative wall]'..
  76. 'image_button[4,1.5;1,1;mylandscaping_deco_peak.png;deco3;]'..
  77. 'tooltip[deco3;Peaked decorative wall]'..
  78. 'image_button[5,1.5;1,1;mylandscaping_deco_random.png;deco4;]'..
  79. 'tooltip[deco4;Random decorative wall]'..
  80. 'image_button[6,1.5;1,1;mylandscaping_deco_column.png;deco5;]'..
  81. 'tooltip[deco5;Decorative column]'..
  82. input