9
3

aBagofBasicProvisions.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. --[[
  2. Script Name : ItemScripts/aBagofBasicProvisions.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.09 07:09:55
  5. Script Purpose :
  6. :
  7. --]]
  8. function examined(Item, Player)
  9. RemoveItem(Player,1001011,1)
  10. SummonItem(Player, 36684,0)
  11. SummonItem(Player, 36684,0)
  12. SummonItem(Player, 36684,0)
  13. SummonItem(Player, 36684,0)
  14. SummonItem(Player, 36684,0)
  15. SummonItem(Player, 36684,0)
  16. SummonItem(Player, 36684,0)
  17. SummonItem(Player, 36684,0)
  18. SummonItem(Player, 36684,0)
  19. SummonItem(Player, 36684,0)
  20. SummonItem(Player, 36684,0)
  21. SummonItem(Player, 36684,0)
  22. SummonItem(Player, 36684,0)
  23. SummonItem(Player, 36684,0)
  24. SummonItem(Player, 36684,0)
  25. SummonItem(Player, 36684,0)
  26. SummonItem(Player, 36684,0)
  27. SummonItem(Player, 36684,0)
  28. SummonItem(Player, 36684,0)
  29. SummonItem(Player, 36684,0)
  30. SummonItem(Player, 36211,0)
  31. SummonItem(Player, 36211,0)
  32. SummonItem(Player, 36211,0)
  33. SummonItem(Player, 36211,0)
  34. SummonItem(Player, 36211,0)
  35. SummonItem(Player, 36211,0)
  36. SummonItem(Player, 36211,0)
  37. SummonItem(Player, 36211,0)
  38. SummonItem(Player, 36211,0)
  39. SummonItem(Player, 36211,0)
  40. SummonItem(Player, 36211,0)
  41. SummonItem(Player, 36211,0)
  42. SummonItem(Player, 36211,0)
  43. SummonItem(Player, 36211,0)
  44. SummonItem(Player, 36211,0)
  45. SummonItem(Player, 36211,0)
  46. SummonItem(Player, 36211,0)
  47. SummonItem(Player, 36211,0)
  48. SummonItem(Player, 36211,0)
  49. SummonItem(Player, 36211,0)
  50. SendMessage(Player, "You found 20 flasks of water in the bag.")
  51. SendMessage(Player, "You found 20 rations in the bag.")
  52. --[[ alignment = GetDeity(Player) --THESE ARE COMMEMORATIVE COINS. THIS ITEM HAS BEEN GIVEN TO THE AMBASSADORS FOR PLAYERS SELECTING THEIR CITY. THIS REDUCES THE CHANCE THE WRONG COIN IS GIVEN.
  53. if alignment == 0 then
  54. SummonItem(Player, 1413,1) -- evil rewards
  55. else
  56. SummonItem(Player, 1414,1) -- good rewards
  57. end]]--
  58. end