Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2016
1,424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.94 KB | None | 0 0
  1. local config = {
  2. -- Window Config
  3. mainTitleMsg = "Crafting System", -- Main window title
  4. mainMsg = "Welcome to the crafting system. Please choose a vocation to begin.", -- Main window message
  5.  
  6. craftTitle = "Crafting System: ", -- Title of the crafting screen after player picks of vocation
  7. craftMsg = "Here is a list of all items that can be crafted for the ", -- Message on the crafting screen after player picks of vocation
  8. -- End Window Config
  9.  
  10. -- Player Notifications Config
  11. needItems = "You do not have all the required items to make ", -- This is the message the player recieves if he does not have all required items
  12.  
  13. -- Crafting Config
  14. system = {
  15. [1] = {vocation = "Master Sorcerer", -- This is the category can be anything.
  16. items = {
  17. [1] = {item = "Shadow's Sceptre", -- item name (THIS MUST BE EXACT OR IT WILL NOT WORK!)
  18. itemID = 25249, -- item to be made
  19. reqItems = { -- items and the amounts in order to craft.
  20. [1] = {item = 25224, count = 50}, -- Silver Tokens
  21. [2] = {item = 9969, count = 1}, -- Black Skull
  22. [3] = {item = 5904, count = 30}, -- Magic Sulphur
  23. [4] = {item = 7451, count = 1}, -- Shadow Sceptre
  24. [5] = {item = 22396, count = 50}, -- Cluster of Solace
  25. },
  26. },
  27.  
  28. [2] = {item = "Shadow's Book of Knowledge",
  29. itemID = 25250,
  30. reqItems = {
  31. [1] = {item = 25224, count = 30}, -- Silver Tokens
  32. [2] = {item = 8918, count = 1}, -- Spellbook of Dark mysteries
  33. [3] = {item = 22541, count = 5}, -- pool of chitinous glue
  34. [4] = {item = 10563, count = 20}, -- book of prayers
  35. [5] = {item = 11237, count = 20}, -- book of necromantic rituals
  36. },
  37. },
  38.  
  39. [3] = {item = "Shadow's Hat",
  40. itemID = 25251,
  41. reqItems = {
  42. [1] = {item = 25224, count = 30}, -- Silver Tokens
  43. [2] = {item = 2662, count = 1}, -- Magician Hat
  44. [3] = {item = 2131, count = 1}, -- Star Amulet
  45. [4] = {item = 5911, count = 100}, -- Red Piece of cloth
  46. },
  47. },
  48.  
  49. [4] = {item = "Shadow's Mantle",
  50. itemID = 25252,
  51. reqItems = {
  52. [1] = {item = 25224, count = 40}, -- Silver Tokens
  53. [2] = {item = 21725, count = 1}, -- Furious frock
  54. [3] = {item = 2125, count = 1}, -- Crystal Necklace
  55. [4] = {item = 9678, count = 1}, -- Piece of royal satin
  56. [5] = {item = 18420, count = 30}, -- red crystal fragment
  57. },
  58. },
  59.  
  60. [5] = {item = "Shadow's Legs",
  61. itemID = 25253,
  62. reqItems = {
  63. [1] = {item = 25224, count = 25}, -- Silver Tokens
  64. [2] = {item = 7894, count = 1}, -- Magma legs
  65. [3] = {item = 2158, count = 1}, -- Blue gem
  66. [4] = {item = 10553, count = 20}, -- Fiery Heart
  67. },
  68. },
  69.  
  70. [6] = {item = "Shadow's Slippers",
  71. itemID = 25254,
  72. reqItems = {
  73. [1] = {item = 25224, count = 25}, -- Silver Tokens
  74. [2] = {item = 7891, count = 1}, -- Magma Boots
  75. [3] = {item = 13757, count = 20}, -- Coal
  76. [4] = {item = 18420, count = 20}, -- red crystal fragments
  77. },
  78. },
  79. },
  80. },
  81.  
  82. [2] = {vocation= "Elder Druid",
  83. items = {
  84. [1] = {item = "Mystic's Wand of Healing",
  85. itemID = 25244,
  86. reqItems = {
  87. [1] = {item = 25224, count = 50}, -- Silver Tokens
  88. [2] = {item = 5944, count = 20}, -- Soul orb
  89. [3] = {item = 5904, count = 30}, -- Magic Sulphur
  90. [4] = {item = 7387, count = 1}, -- Diamond Sceptre
  91. [5] = {item = 22396, count = 50}, -- Cluster of Solace
  92. },
  93. },
  94.  
  95. [2] = {item = "Mystic's Primordial",
  96. itemID = 25245,
  97. reqItems = {
  98. [1] = {item = 25224, count = 30}, -- Silver Tokens
  99. [2] = {item = 2662, count = 1}, -- Magician Hat
  100. [3] = {item = 2131, count = 1}, -- Star Amulet
  101. [4] = {item = 5912, count = 100}, -- Blue piece of cloth
  102. },
  103. },
  104.  
  105. [3] = {item = "Mystic's Coat",
  106. itemID = 25246,
  107. reqItems = {
  108. [1] = {item = 25224, count = 40}, -- Silver Tokens
  109. [2] = {item = 21725, count = 1}, -- Furious frock
  110. [3] = {item = 7290, count = 10}, -- Shard
  111. [4] = {item = 18418, count = 30}, -- Blue crystal splinter
  112. },
  113. },
  114.  
  115. [4] = {item = "Mystic's Legs",
  116. itemID = 25247,
  117. reqItems = {
  118. [1] = {item = 25224, count = 25}, -- Silver Tokens
  119. [2] = {item = 7730, count = 1}, -- Blue legs
  120. [3] = {item = 10578, count = 20}, -- frosty heart
  121. [4] = {item = 2155, count = 1}, -- Green gem
  122. },
  123. },
  124.  
  125. [5] = {item = "Mystic's Slippers",
  126. itemID = 25248,
  127. reqItems = {
  128. [1] = {item = 25224, count = 25}, -- Silver Tokens
  129. [2] = {item = 7892, count = 1}, -- Glacier Shoes
  130. [3] = {item = 10578, count = 20}, -- frosty heart
  131. [4] = {item = 18413, count = 20}, -- Blue crystal shard
  132. },
  133. },
  134. },
  135. },
  136.  
  137. [3] = {vocation = "Royal Paladin",
  138. items = {
  139. [1] = {item = "Sacreds Holy Crossbow",
  140. itemID = 25243,
  141. reqItems = {
  142. [1] = {item = 25224, count = 60}, -- Silver Tokens
  143. [2] = {item = 2455, count = 1}, -- Crossbow
  144. [3] = {item = 5904, count = 30}, -- Magic Sulphur
  145. [4] = {item = 18427, count = 20}, -- Pulverized Ore
  146. [5] = {item = 22396, count = 50}, -- Cluster of Solace
  147. },
  148. },
  149.  
  150. [2] = {item = "Sacreds Mask",
  151. itemID = 25239,
  152. reqItems = {
  153. [1] = {item = 25224, count = 35}, -- Silver Tokens
  154. [2] = {item = 5880, count = 100}, -- Iron Ore
  155. [3] = {item = 5954, count = 30}, -- Demon Horn
  156. [4] = {item = 2497, count = 1}, -- Crusader Helmet
  157. },
  158. },
  159.  
  160. [3] = {item = "Sacreds Divine Armor",
  161. itemID = 25240,
  162. reqItems = {
  163. [1] = {item = 25224, count = 40}, -- Silver Tokens
  164. [2] = {item = 5912, count = 100}, -- Blue Cloth
  165. [3] = {item = 2472, count = 1}, -- Demon Horn
  166. },
  167. },
  168.  
  169. [4] = {item = "Sacreds Legs",
  170. itemID = 25241,
  171. reqItems = {
  172. [1] = {item = 25224, count = 35}, -- Silver Tokens
  173. [2] = {item = 2504, count = 1}, -- Dwarven Legs
  174. [3] = {item = 5809, count = 1}, -- Soul Stone
  175. [4] = {item = 5905, count = 30}, -- Vampire Dust
  176. },
  177. },
  178.  
  179. [5] = {item = "Sacreds Boots of Swiftness",
  180. itemID = 25242,
  181. reqItems = {
  182. [1] = {item = 25224, count = 30}, -- Silver Tokens
  183. [2] = {item = 22539, count = 20}, -- Goosebump Leather
  184. [3] = {item = 2645, count = 1}, -- Steel Boots
  185. },
  186. },
  187. },
  188. },
  189.  
  190. [4] = {vocation = "Elite Knight",
  191. items = {
  192. [1] = {item = "Vangaurd Slicer",
  193. itemID = 25233,
  194. reqItems = {
  195. [1] = {item = 25224, count = 50}, -- Silver Tokens
  196. [2] = {item = 2376, count = 1}, -- Sword
  197. [3] = {item = 5887, count = 20}, -- Piece of royal steel
  198. [4] = {item = 18427, count = 20}, -- Pulverized ore
  199. [5] = {item = 22396, count = 50}, -- Cluster of Solace
  200. },
  201. },
  202.  
  203. [2] = {item = "Vangaurd Defender",
  204. itemID = 25234,
  205. reqItems = {
  206. [1] = {item = 25224, count = 30}, -- Silver Tokens
  207. [2] = {item = 2533, count = 1}, -- Griffin Shield
  208. [3] = {item = 5889, count = 20}, -- piece of draconian steel
  209. },
  210. },
  211.  
  212. [3] = {item = "Vangaurd Helmet",
  213. itemID = 25236,
  214. reqItems = {
  215. [1] = {item = 25224, count = 30}, -- Silver Tokens
  216. [2] = {item = 2498, count = 1}, -- Royal helmet
  217. [3] = {item = 5880, count = 100}, -- Iron ore
  218. [4] = {item = 11227, count = 30}, -- Shiny Stone
  219. },
  220. },
  221.  
  222. [4] = {item = "Vangaurd Armor",
  223. itemID = 25237,
  224. reqItems = {
  225. [1] = {item = 25224, count = 40}, -- Silver Tokens
  226. [2] = {item = 2472, count = 1}, -- Magic plate armor
  227. [3] = {item = 5911, count = 100}, -- Red piece of cloth
  228. },
  229. },
  230.  
  231. [5] = {item = "Vangaurd Legs",
  232. itemID = 25238,
  233. reqItems = {
  234. [1] = {item = 25224, count = 25}, -- Silver Tokens
  235. [2] = {item = 2504, count = 1}, -- Dwarven legs
  236. [3] = {item = 5809, count = 1}, -- Soul stone
  237. [4] = {item = 5906, count = 20}, -- Demon dust
  238. },
  239. },
  240.  
  241.  
  242. [6] = {item = "Vangaurd Stompers",
  243. itemID = 25235,
  244. reqItems = {
  245. [1] = {item = 25224, count = 25}, -- Silver Tokens
  246. [2] = {item = 2195, count = 1}, -- Boots of haste
  247. [3] = {item = 5888, count = 30}, -- piece of hell steel
  248. },
  249. },
  250. },
  251. },
  252. },
  253. }
  254.  
  255. function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey)
  256. player:sendMainCraftWindow(config)
  257. return true
  258. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement