Advertisement
Guest User

Untitled

a guest
May 25th, 2016
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. local potions = {
  2. -- Config
  3. titleMsg = "Choose your Potion",
  4. mainMsg = "Please select how many potions you would like to buy.",
  5. moneyMsg = "You do not have enough money!", -- This is the message the player will recieve when he does not have enough money.
  6. capacityMsg = "I need more cap", -- This is the message the player will recieve when he does not have enough capactiy.
  7. buyMsg = "You have bought ", -- This is the message the player will recieve when he succesfully buys.
  8. -- End Config
  9.  
  10. -- Change prices in this table here price10 = price for 10 potions etc.
  11. [1] = {potion = "Health Potion", itemID = 7618, price10 = 450, price50 = 2250, price100 = 4500},
  12. [2] = {potion = "Strong Health Potion", itemID = 7588, price10 = 1000, price50 = 5000, price100 = 10000},
  13. [3] = {potion = "Great Health Potion", itemID = 7591, price10 = 1900, price50 = 9500, price100 = 19000},
  14. [4] = {potion = "Ultimate Health Potion", itemID = 8473, price10 = 3100, price50 = 15500, price100 = 31000},
  15. [5] = {potion = "Supreme Health Potion", itemID = 7618, price10 = 760, price50 = 760, price100 = 760},
  16. [6] = {potion = "Mana Potion", itemID = 7620, price10 = 500, price50 = 2500, price100 = 5000},
  17. [7] = {potion = "Strong Mana Potion", itemID = 7589, price10 = 800, price50 = 4000, price100 = 8000},
  18. [8] = {potion = "Great Mana Potion", itemID = 7590, price10 = 1200, price50 = 6000, price100 = 12000},
  19. [9] = {potion = "Ultimate Mana Potion", itemID = 7618, price10 = 760, price50 = 760, price100 = 760},
  20. [10] = {potion = "Great Spirit Potion", itemID = 8472, price10 = 1900, price50 = 9500, price100 = 19000},
  21. [11] = {potion = "Ultimate Spirit Potion", itemID = 7618, price10 = 760, price50 = 760, price100 = 760},
  22. }
  23.  
  24. function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey)
  25. player:sendShopWindow(potions)
  26. return true
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement