A minetest mod for mapmaking
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.

187 lines
6.9KB

  1. -- Table used for skinning cartographer's look and feel
  2. return {
  3. -- The textures to use in maps for the sides of tiles
  4. cliff_textures = {
  5. "cartographer_simple_cliff",
  6. "cartographer_cliff",
  7. };
  8. -- The textures to use in maps for uncovered/unknown tiles
  9. unknown_biome_textures = {
  10. "cartographer_unknown_biome",
  11. };
  12. -- The animated texture data to use for the player icon
  13. player_icons = {
  14. {
  15. frame_count = 2,
  16. frame_duration = 500,
  17. texture = "cartographer_simple_player_icon",
  18. },
  19. {
  20. frame_count = 2,
  21. frame_duration = 500,
  22. texture = "cartographer_player_icon",
  23. },
  24. },
  25. -- The skinning data for the cartographer's tables
  26. table_skins = {
  27. simple_table = {
  28. node_mesh = "cartographer_simple_table.obj",
  29. node_texture = "cartographer_simple_table.png",
  30. background = {
  31. texture = "cartographer_simple_table_bg",
  32. radius = 16,
  33. },
  34. inner_background = {
  35. texture = "cartographer_simple_table_bg_2",
  36. radius = 4,
  37. },
  38. button = {
  39. font_color = "#694a3a",
  40. disabled_font_color = "#606060",
  41. texture = "cartographer_simple_table_button",
  42. selected_texture = "cartographer_simple_table_button_pressed",
  43. hovered_texture = "cartographer_simple_table_button_hovered",
  44. pressed_texture = "cartographer_simple_table_button_pressed",
  45. radius = 8,
  46. },
  47. slot = {
  48. texture = "cartographer_simple_table_slot",
  49. radius = 8,
  50. },
  51. separator = {
  52. texture = "cartographer_simple_table_separator",
  53. radius = "9,1",
  54. },
  55. label = {
  56. font_color = "#694a3a",
  57. texture = "cartographer_simple_table_slot",
  58. radius = 8,
  59. },
  60. tab = {
  61. font_color = "#694a3a",
  62. texture = "cartographer_simple_table_tab",
  63. selected_texture = "cartographer_simple_table_tab_selected",
  64. hovered_texture = "cartographer_simple_table_tab_hovered",
  65. pressed_texture = "cartographer_simple_table_tab_hovered",
  66. radius = 10,
  67. },
  68. paper_texture = "cartographer_paper";
  69. pigment_texture = "cartographer_pigment";
  70. },
  71. standard_table = {
  72. node_mesh = "cartographer_standard_table.obj",
  73. node_texture = "cartographer_standard_table.png",
  74. background = {
  75. texture = "cartographer_standard_table_bg",
  76. radius = 16,
  77. },
  78. inner_background = {
  79. texture = "cartographer_standard_table_bg_2",
  80. radius = 4,
  81. },
  82. button = {
  83. font_color = "#694a3a",
  84. disabled_font_color = "#606060",
  85. texture = "cartographer_simple_table_button",
  86. selected_texture = "cartographer_simple_table_button_pressed",
  87. hovered_texture = "cartographer_simple_table_button_hovered",
  88. pressed_texture = "cartographer_simple_table_button_pressed",
  89. radius = 8,
  90. },
  91. slot = {
  92. texture = "cartographer_standard_table_slot",
  93. radius = 8,
  94. },
  95. separator = {
  96. texture = "cartographer_standard_table_separator",
  97. radius = "9,1",
  98. },
  99. label = {
  100. font_color = "#694a3a",
  101. texture = "cartographer_standard_table_slot",
  102. radius = 8,
  103. },
  104. tab = {
  105. font_color = "#694a3a",
  106. texture = "cartographer_standard_table_tab",
  107. selected_texture = "cartographer_standard_table_tab_selected",
  108. hovered_texture = "cartographer_standard_table_tab_hovered",
  109. pressed_texture = "cartographer_standard_table_tab_hovered",
  110. radius = 10,
  111. },
  112. paper_texture = "cartographer_paper";
  113. pigment_texture = "cartographer_pigment";
  114. },
  115. advanced_table = {
  116. node_mesh = "cartographer_advanced_table.obj",
  117. node_texture = "cartographer_advanced_table.png",
  118. background = {
  119. texture = "cartographer_advanced_table_bg",
  120. radius = 16,
  121. },
  122. inner_background = {
  123. texture = "cartographer_advanced_table_bg_2",
  124. radius = 2,
  125. },
  126. button = {
  127. font_color = "#1f2533",
  128. disabled_font_color = "#606060",
  129. texture = "cartographer_advanced_table_button",
  130. selected_texture = "cartographer_advanced_table_button_pressed",
  131. hovered_texture = "cartographer_advanced_table_button_hovered",
  132. pressed_texture = "cartographer_advanced_table_button_pressed",
  133. radius = 8,
  134. },
  135. slot = {
  136. texture = "cartographer_advanced_table_slot",
  137. radius = 8,
  138. },
  139. separator = {
  140. texture = "cartographer_advanced_table_separator",
  141. radius = "9,1",
  142. },
  143. label = {
  144. font_color = "#1f2533",
  145. texture = "cartographer_advanced_table_slot",
  146. radius = 8,
  147. },
  148. tab = {
  149. font_color = "#1f2533",
  150. texture = "cartographer_advanced_table_tab",
  151. selected_texture = "cartographer_advanced_table_tab_selected",
  152. hovered_texture = "cartographer_advanced_table_tab_hovered",
  153. pressed_texture = "cartographer_advanced_table_tab_hovered",
  154. radius = 10,
  155. },
  156. paper_texture = "cartographer_paper";
  157. pigment_texture = "cartographer_pigment";
  158. },
  159. },
  160. -- The skinning data for the marker editor's background
  161. marker_bg = {
  162. texture = "cartographer_markers_bg",
  163. radius = 6,
  164. },
  165. -- The skinning data for the marker editor's buttons
  166. marker_button = {
  167. font_color = "#694a3a",
  168. texture = "cartographer_simple_table_button",
  169. selected_texture = "cartographer_simple_table_button_pressed",
  170. hovered_texture = "cartographer_simple_table_button_hovered",
  171. pressed_texture = "cartographer_simple_table_button_pressed",
  172. radius = 8,
  173. },
  174. -- The texture of the height toggle button when active
  175. height_button_texture = "cartographer_height_button",
  176. -- The texture of the height toggle button when inactive
  177. flat_button_texture = "cartographer_flat_button",
  178. };