SHARE
TWEET

gamestore.lua

a guest Jul 25th, 2016 358 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Parser
  2. dofile('data/modules/scripts/gamestore/init.lua')
  3. -- Config
  4. GameStore.Categories = {
  5.         {    name = "Other Items",
  6.         state = GameStore.States.STATE_NEW,
  7.         icons = {"Category_Items.png"},
  8.         offers = {
  9.             -- Item Example : thingId = itemId
  10.             {name = "Crystal Coins", thingId = 2160, count = 5, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Become rich!"},
  11.             {name = "Crystal Coins", thingId = 2160, count = 10, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Become rich!"},
  12.             {name = "Crystal Coins", thingId = 2160, count = 15, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 30, icons = {"Product_CC.png"}, description = "Become rich!"},
  13.             {name = "Donation Box", thingId = 2331, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 100, icons = {"Product_CC.png"}, description = "Use this box to receive Upgraded Soft Boots, Stamina Refiller, Magical Orb, Addon Doll, Mount Doll, Green Light and 25cc!"},
  14.             {name = "Magical Orb", thingId = 9737, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this item so that you can use it to sell your loot!"},
  15.             {name = "Golden Raid Token", thingId = 21399, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this item to spawn raids!"},
  16.             {name = "Blood Herbs", thingId = 2798, count = 10, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy these blood herbs, some nice decoration!"},
  17.             {name = "Blood Herbs", thingId = 2798, count = 20, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy these blood herbs, some nice decoration!"},
  18.             {name = "Upgraded Soft Boots", thingId = 2358, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy the Upgraded Soft Boots for regeneration!"},
  19.             {name = "Soft Boots", thingId = 6132, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy the Soft Boots for regeneration!"},
  20.             {name = "Boots of Haste", thingId = 2195, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy these boots for some speed!"},
  21.             {name = "Upgrade Crystal", thingId = 8300, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy 1x upgrade crystal on any item with Attack, Armor, or Defense to get more % of it!"},
  22.             {name = "Upgrade Crystals", thingId = 8300, count = 8, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 35, icons = {"Product_CC.png"}, description = "Buy 8x upgrade crystals on any item with Attack, Armor, or Defense to get more % of it!"},
  23.             }
  24.     },
  25. {    name = "Premium Items",
  26.         state = GameStore.States.STATE_NEW,
  27.         icons = {"Category_Prem.png"},
  28.         offers = {
  29.             -- Item Example : thingId = itemId
  30.             {name = "Premium Coin", thingId = 24115, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy 1x premium coin and use it to receive 10 shop points!"},
  31.             {name = "Premium Coins", thingId = 24115, count = 5, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 50, icons = {"Product_CC.png"}, description = "Buy 5x premium coins and use it to receive 50 shop points!"},
  32.             {name = "Premium Scroll", thingId = 16101, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 30, icons = {"Product_CC.png"}, description = "Buy 1x premium scroll and use it to receive 100 shop points!"},
  33.             {name = "Premium Scrolls", thingId = 16101, count = 3, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 90, icons = {"Product_CC.png"}, description = "Buy 3x premium scrolls and use it to receive 90 shop points!"},
  34.             {name = "Tibia Coin", thingId = 24774, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 100, icons = {"Product_CC.png"}, description = "Buy 1x tibia coin and use it to receive 100 shop points!"},
  35.             {name = "Tibia Coins", thingId = 24774, count = 2, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 200, icons = {"Product_CC.png"}, description = "Buy 2x tibia coins and use it to receive 200 shop points!"},
  36.            {name = "Stamina Refiller", thingId = 12328, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "Buy this item to refill your stamina!"},
  37.             {name = "Stamina Refillers", thingId = 12328, count = 3, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 36, icons = {"Product_CC.png"}, description = "Buy this item to refill your stamina!"}
  38.         }
  39.     },
  40. {    name = "Special Dolls",
  41.         state = GameStore.States.STATE_NEW,
  42.         icons = {"Category_Dolls.png"},
  43.         offers = {
  44.             -- Item Example : thingId = itemId
  45.             {name = "Addon Doll", thingId = 13559, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this doll to obtain a addon!"},
  46.             {name = "Addon Dolls", thingId = 13559, count = 2, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this doll to obtain a addon!"},
  47.             {name = "Mount Doll", thingId = 13030, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this doll to obtain a mount!"},
  48.             {name = "Mount Dolls", thingId = 13030, count = 2, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this doll to obtain a mount!"}
  49.         }
  50.     },
  51. {    name = "Potions & Runes",
  52.         state = GameStore.States.STATE_NEW,
  53.         icons = {"Category_PotsRunes.png"},
  54.         offers = {
  55.             -- Item Example : thingId = itemId
  56.             {name = "Supreme Health Potions", thingId = 26031, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 4, icons = {"Product_CC.png"}, description = "Buy these potions, perfect for a Knight!"},
  57.             {name = "Ultimate Spirit Potions", thingId = 26030, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 4, icons = {"Product_CC.png"}, description = "Buy these potions, perfect for a Paladin!"},
  58.             {name = "Ultimate Mana Potions", thingId = 26029, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 4, icons = {"Product_CC.png"}, description = "Buy these potions, perfect for a Mage!"},
  59.             {name = "Ultimate Health Potions", thingId = 8473, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 3, icons = {"Product_CC.png"}, description = "Buy these potions, perfect for a Knight!"},
  60.             {name = "Great Health Potions", thingId = 7591, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 2, icons = {"Product_CC.png"}, description = "Buy these potions, perfect for a Knight!"},
  61.             {name = "Great Spirit Potions", thingId = 8472, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 2, icons = {"Product_CC.png"}, description = "Buy these potions, perfect for a Paladin!"},
  62.             {name = "Great Mana Potions", thingId = 7590, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 2, icons = {"Product_CC.png"}, description = "Buy these potions, perfect for a Mage!"},
  63.             {name = "Sudden Death Rune", thingId = 2268, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 4, icons = {"Product_CC.png"}, description = "Buy these runes, send death to your enemies!"},
  64.             {name = "Avalanche Rune", thingId = 2274, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 2, icons = {"Product_CC.png"}, description = "Buy these runes, to attack enemys all around you!"},
  65.             {name = "Ultimate Healing Runes", thingId = 2273, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 3, icons = {"Product_CC.png"}, description = "Buy these runes, good for healing!"},
  66.             {name = "Firebomb Runes", thingId = 2305, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 2, icons = {"Product_CC.png"}, description = "Buy these runes, to set fire fields to your enemys!"},
  67.             {name = "Destroy Field Runes", thingId = 2261, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 1, icons = {"Product_CC.png"}, description = "Buy these runes, to destory enemy fields!"},
  68.             {name = "Paralyze Runes", thingId = 2278, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy these rune, to paralyze your enemies!"},
  69.             {name = "Magic Wall Runes", thingId = 2293, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 3, icons = {"Product_CC.png"}, description = "Buy these rune, good for making walls!"},
  70.             {name = "Wild Growth Runes", thingId = 2269, count = 100, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 3, icons = {"Product_CC.png"}, description = "Buy these rune, good for making walls!"}
  71.         }
  72.     },
  73. {    name = "Knight Items",
  74.         state = GameStore.States.STATE_NEW,
  75.         icons = {"Category_Knight.png"},
  76.         offers = {
  77.             -- Item Example : thingId = itemId
  78.             {name = "Crystalline Axe (Lvl 70+)", thingId = 18451, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  79.             {name = "Shiny Blade (Lvl 70+)", thingId = 18456, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  80.             {name = "Mycological Mace (Lvl 70+)", thingId = 18452, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  81.             {name = "Crude Umbral Axe (Lvl 50+)", thingId = 22404, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  82.             {name = "Umbral Axe (Lvl 75+)", thingId = 22405, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  83.             {name = "Crude Umbral Blade (Lvl 50+)", thingId = 22398, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  84.             {name = "Umbral Blade (Lvl 75+)", thingId = 22399, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  85.            {name = "Crude Umbral Mace (Lvl 50+)", thingId = 22410, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  86.             {name = "Umbral Mace (Lvl 75+)", thingId = 22411, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  87.             {name = "Axe of Mayhem (Lvl 160+)", thingId = 26285, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  88.             {name = "Blade of Mayhem (Lvl 160+)", thingId = 26283, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  89.             {name = "Mace of Mayhem (Lvl 160+)", thingId = 26288, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  90.             {name = "Prismatic Shield (Lvl 80+)", thingId = 18410, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "This item is fit for a Knight!"},
  91.             {name = "Prismatic Helmet (Lvl 80+)", thingId = 18403, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "This item is fit for a Knight!"},
  92.             {name = "Prismatic Armor (Lvl 80+)", thingId = 18404, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "This item is fit for a Knight!"},
  93.             {name = "Ornate Legs (Lvl 85+)", thingId = 15412, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "This item is fit for a Knight!"},
  94.             {name = "Depth Calcei (Lvl 70+)", thingId = 15410, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "This item is fit for a Knight!"},
  95.             {name = "Treader of Torment", thingId = 25412, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy these boots, perfect for a Knight!"},
  96.             {name = "Collar of Red Plasma (Lvl 80+)", thingId = 26487, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this amulet, gives skill and protection of physical!"},
  97.             {name = "Ring of Red Plasma (Lvl 80+)", thingId = 26493, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this ring, gives skill and protection of physical!"}
  98.             }
  99.     },
  100. {    name = "Paladin Items",
  101.         state = GameStore.States.STATE_NEW,
  102.         icons = {"Category_Pally.png"},
  103.         offers = {
  104.             -- Item Example : thingId = itemId
  105.             {name = "Crystal Crossbow (Lvl 80+)", thingId = 18453, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 6, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  106.             {name = "Crude Umbral Bow (Lvl 50+)", thingId = 22416, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  107.             {name = "Umbral Bow (Lvl 75+)", thingId = 22417, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  108.             {name = "Crude Umbral Crossbow (Lvl 50+)", thingId = 22419, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  109.             {name = "Umbral Crossbow (Lvl 75+)", thingId = 22420, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  110.             {name = "Bow of Mayhem (Lvl 140+)", thingId = 26289, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  111.             {name = "Crossbow of Mayhem (Lvl 140+)", thingId = 26290, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  112.             {name = "Elite Draken Helmet (Lvl 80+)", thingId = 12645, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 6, icons = {"Product_CC.png"}, description = "This item is fit for a Paladin!"},
  113.             {name = "Prismatic Armor (Lvl 80+)", thingId = 18404, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "This item is fit for a Paladin!"},
  114.             {name = "Prismatic Legs (Lvl 80+)", thingId = 18405, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "This item is fit for a Paladin!"},
  115.             {name = "Prismatic Boots (Lvl 80+)", thingId = 18406, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "This item is fit for a Paladin!"},
  116.             {name = "Badger Boots", thingId = 24742, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "This item is fit for a Paladin!"},
  117.             {name = "Collar of Blue Plasma (Lvl 80+)", thingId = 26485, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this amulet, gives distance skill and magic level!"},
  118.             {name = "Ring of Blue Plasma (Lvl 80+)", thingId = 26489, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "This this ring, gives distance skill and magic level!"}
  119.         }
  120.     },
  121. {    name = "Sorcerer Items",
  122.         state = GameStore.States.STATE_NEW,
  123.         icons = {"Category_Sorc.png"},
  124.         offers = {
  125.             -- Item Example : thingId = itemId
  126.             {name = "Wand of Defiance (Lvl 65+)", thingId = 18390, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 4, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  127.             {name = "Wand of Mayhem (Lvl 130+)", thingId = 26291, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  128.             {name = "Yalahari Mask (Lvl 80+)", thingId = 9778, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 7, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  129.             {name = "Furious Frock (Lvl 80+)", thingId = 21725, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  130.             {name = "Gill Legs (Lvl 80+)", thingId = 18400, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  131.             {name = "Spellbook of Ancient Arcana (Lvl 100+)", thingId = 16112, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 7, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  132.             {name = "Crude Umbral Spellbook (Lvl 50+)", thingId = 18390, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  133.             {name = "Umbral Spellbook (Lvl 75+)", thingId = 18390, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  134.             {name = "Oriental Shoes", thingId = 24637, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  135.             {name = "Collar of Green Plasma (Lvl 80+)", thingId = 26486, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this amulet, gives magic level and faster regeneration!"},
  136.             {name = "Ring of Green Plasma (Lvl 80+)", thingId = 26491, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this ring, gives magic level and faster regeneration!"}
  137.         }
  138.     },
  139. {    name = "Druid Items",
  140.         state = GameStore.States.STATE_NEW,
  141.         icons = {"Category_Druid.png"},
  142.         offers = {
  143.             -- Item Example : thingId = itemId
  144.             {name = "Glacial Rod (Lvl 65+)", thingId = 18412, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 4, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  145.             {name = "Rod of Mayhem (Lvl 130+)", thingId = 26292, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 4, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  146.             {name = "Yalahari Mask (Lvl 80+)", thingId = 9778, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 7, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  147.             {name = "Furious Frock (Lvl 80+)", thingId = 21725, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  148.             {name = "Gill Legs (Lvl 80+)", thingId = 18400, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  149.             {name = "Spellbook of Ancient Arcana (Lvl 100+)", thingId = 16112, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 7, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  150.             {name = "Crude Umbral Spellbook (Lvl 50+)", thingId = 18390, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 8, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  151.             {name = "Umbral Spellbook (Lvl 75+)", thingId = 18390, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  152.             {name = "Oriental Shoes", thingId = 24637, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  153.             {name = "Collar of Green Plasma (Lvl 80+)", thingId = 26486, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this amulet, gives magic level and faster regeneration!"},
  154.             {name = "Ring of Green Plasma (Lvl 80+)", thingId = 26491, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this ring, gives magic level and faster regeneration!"}
  155.         }
  156.     },
  157. {    name = "Rings",
  158.         state = GameStore.States.STATE_NEW,
  159.         icons = {"Category_Rings.png"},
  160.         offers = {
  161.             -- Item Example : thingId = itemId
  162.             {name = "Broken Ring of Ending", thingId = 13877, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this ring to look classy!"},
  163.             {name = "Signet Ring", thingId = 7697, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this ring to look classy!"},
  164.             {name = "Horn", thingId = 21693, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this ring, gives magic lvel!"},
  165.             {name = "Ring of the Sky", thingId = 2123, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 3, icons = {"Product_CC.png"}, description = "Buy this ring to look classy!"},
  166.             {name = "Ring of Wishes", thingId = 2357, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy this ring to look classy!"},
  167.             {name = "Sweetheart Ring", thingId = 24324, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this ring to look classy!"},
  168.             {name = "Magic Ring (Lvl 25+)", thingId = 2141, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this ring, gives magic level and faster regeneration!"}
  169.             }
  170.     },
  171. {    name = "Amulets & Necklaces",
  172.         state = GameStore.States.STATE_NEW,
  173.         icons = {"Category_AmmysNecklaces.png"},
  174.         offers = {
  175.             -- Item Example : thingId = itemId
  176.             {name = "Koshei's Ancient Amulet", thingId = 8266, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this amulet, some good death protection!"},
  177.             {name = "Werewolf Helmet (Lvl 20+)", thingId = 24718, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this helmet, some good death protection and speed!"},
  178.             {name = "Enchanted Werewolf Helmet(Lvl 30+)", thingId = 24744, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this helmet, some good death protection and speed!"},
  179.             {name = "Werewolf Amulet(Lvl 20+)", thingId = 24716, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this amulet, some good death protection and speed!"},
  180.             {name = "Enchanted Werewolf Amulet (Lvl 30+)", thingId = 24717, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy this amulet, some good death protection and speed!"},
  181.             {name = "Ancient Amulet", thingId = 25402, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy 2x tibia coins and use it to receive 200 shop points!"},
  182.             {name = "Beetle Necklace", thingId = 11374, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this amulet, some good speed!"},
  183.             {name = "Ornamented Brooch", thingId = 12424, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this amulet, to check your blessings!"},
  184.             {name = "Shrunken Head Necklace (Lvl 75+)", thingId = 21691, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this amulet, some good speed!"},
  185.             {name = "Amulet of Life (Lvl 25+)", thingId = 10720, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy this amulet, gives magic level and faster regeneration!"}
  186.             }
  187.     },
  188. {    name = "Crafting Materials",
  189.         state = GameStore.States.STATE_NEW,
  190.         icons = {"Category_Crafting.png"},
  191.         offers = {
  192.             -- Item Example : thingId = itemId
  193.             {name = "Dream Matters", thingId = 22397, count = 2, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 25, icons = {"Product_CC.png"}, description = "Buy these to create items from Eruaran!"},
  194.             {name = "Cluster of Solaces", thingId = 22396, count = 60, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 30, icons = {"Product_CC.png"}, description = "Buy these to create items from Eruaran!"},
  195.             {name = "Major Crystalline Tokens", thingId = 18423, count = 20, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 20, icons = {"Product_CC.png"}, description = "Buy these to buy items from Gnomally!"},
  196.             {name = "Minor Crystalline Tokens", thingId = 18422, count = 30, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy these to buy items from Gnomally!"},
  197.             {name = "Silver Token", thingId = 25172, count = 5, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy these tokens to craft items at the crafting station!"},
  198.             }
  199.     },
  200. {    name = "Tools",
  201.         state = GameStore.States.STATE_NEW,
  202.         icons = {"Category_Tools.png"},
  203.         offers = {
  204.             -- Item Example : thingId = itemId
  205.             {name = "Whacking Driller of Fate", thingId = 10515, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  206.             {name = "Squeezing Gear of Girlpower", thingId = 10513, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this weapon to defeat your enemies!"},
  207.             {name = "Sneaky Stabber of Eliteness", thingId = 10511, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  208.             {name = "Blessed Wooden Stake", thingId = 5942, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  209.             {name = "Obsidian Knife", thingId = 5908, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "This item is fit for a Sorcerer!"},
  210.             }
  211.     },
  212. {    name = "Containers",
  213.         state = GameStore.States.STATE_NEW,
  214.         icons = {"Category_Containers.png"},
  215.         offers = {
  216.             -- Item Example : thingId = itemId
  217.             {name = "Heart Backpack (Vol:20)", thingId = 11119, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"},
  218.             {name = "Santa Backpack (Vol:20)", thingId = 11263, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"},
  219.             {name = "Cake Backpack (Vol:20)", thingId = 22696, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 5, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"},
  220.             {name = "Anniversary Backpack (Vol:15)", thingId = 16007, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"},
  221.             {name = "Backpack of Holding (Vol:24)", thingId = 2365, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 15, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"},
  222.             {name = "Zaoan Chess Box (Vol:32)", thingId = 20620, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 7, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"},
  223.             {name = "Wolf Backpack (Vol:30)", thingId = 5942, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 12, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"},
  224.             {name = "Energetic Backpack (Vol:42)", thingId = 26484, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 16, icons = {"Product_CC.png"}, description = "Buy this backpack to hold items!"}
  225.             }
  226.     },
  227. {    name = "Light Sources",
  228.         state = GameStore.States.STATE_NEW,
  229.         icons = {"Category_Lights.png"},
  230.         offers = {
  231.             -- Item Example : thingId = itemId
  232.             {name = "Frozen Starlight", thingId = 2361, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this item to explore the dark caves!"},
  233.             {name = "Green Light", thingId = 11263, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this item to explore the dark caves!"},
  234.             {name = "Lit Glowing Mushroom", thingId = 18392, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this item to explore the dark caves!"},
  235.             {name = "Lit Rift Lamp", thingId = 25390, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this item to explore the dark caves!"},
  236.             {name = "Lit Crystal Lamp", thingId = 18389, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this item to explore the dark caves!"},
  237.             {name = "Trapped Lightning", thingId = 21699, count = 1, type = GameStore.OfferTypes.OFFER_TYPE_ITEM, price = 10, icons = {"Product_CC.png"}, description = "Buy this item to explore the dark caves!"},
  238.             }
  239.     },
  240. {    name = "Free Outfits",
  241.         state = GameStore.States.STATE_NEW,
  242.         icons = {"Category_FreeOutfits.png"},
  243.         offers = {
  244.             -- Addon Example : thingId = lookType, addon = ( 1 = addon 1, 2 = addon 2, 3 = both addons)
  245.             {name = "Citizen Addon", thingId = {male=128,female=136}, addon = 3, type = GameStore.OfferTypes.OFFER_TYPE_OUTFIT_ADDON, price = 0, icons = {"Outfit_Citizen_Male_Addon_3.gif"}},
  246.             {name = "Nobleman Addon", thingId = {male=132,female=140}, addon = 3, type = GameStore.OfferTypes.OFFER_TYPE_OUTFIT_ADDON, price = 0, icons = {"Outfit_Citizen_Male_Addon_3.gif"}},
  247.             {name = "Beggar Addon", thingId = {male=153,female=157}, addon = 3, type = GameStore.OfferTypes.OFFER_TYPE_OUTFIT_ADDON, price = 0, icons = {"Outfit_Citizen_Male_Addon_3.gif"}},
  248.             {name = "Norseman Addon", thingId = {male=251,female=252}, addon = 3, type = GameStore.OfferTypes.OFFER_TYPE_OUTFIT_ADDON, price = 0, icons = {"Outfit_Citizen_Male_Addon_3.gif"}}
  249.         }
  250.     },
  251. {    name = "FREE Mounts",
  252.         state = GameStore.States.STATE_NEW,
  253.         icons = {"Category_FreeMounts.png"},
  254.         offers = {
  255.             -- Item Example : thingId = itemId
  256.             {name = "Donkey", thingId = 13, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 0, icons = {"Product_Mount_Titanica.png"}, description = "Free mount!"},
  257.             {name = "War Horse", thingId = 17, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 0, icons = {"Product_Mount_Titanica.png"}, description = "Free mount!"},
  258.             {name = "Lady Bug", thingId = 27, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 0, icons = {"Product_Mount_Titanica.png"}, description = "Free mount!"},
  259.             {name = "War Bear", thingId = 3, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 0, icons = {"Product_Mount_Titanica.png"}, description = "Free mount!"}
  260.         }
  261.     },
  262. {    name = "10.90 Mounts",
  263.         state = GameStore.States.STATE_NEW,
  264.         icons = {"Category_1090Mounts.png"},
  265.         offers = {
  266.             -- Item Example : thingId = itemId
  267.             {name = "Rift Runner", thingId = 87, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 12, icons = {"Product_Mount_Titanica.png"}, description = "New 10.90 mount!"},
  268.             {name = "Nightdweller", thingId = 88, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 12, icons = {"Product_Mount_Titanica.png"}, description = "New 10.90 mount!"},
  269.             {name = "Frostflare", thingId = 89, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 12, icons = {"Product_Mount_Titanica.png"}, description = "New 10.90 mount!"},
  270.             {name = "Cinderhoof", thingId = 90, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 12, icons = {"Product_Mount_Titanica.png"}, description = "New 10.90 mount!"}
  271.         }
  272.     },
  273. {    name = "10.91 Mounts",
  274.         state = GameStore.States.STATE_NEW,
  275.         icons = {"Category_1091Mounts.png"},
  276.         offers = {
  277.             -- Item Example : thingId = itemId
  278.             {name = "Mouldpincer", thingId = 91, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 15, icons = {"Product_Mount_Titanica.png"}, description = "New 10.91 mount!"},
  279.             {name = "Bloodcurl", thingId = 92, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 15, icons = {"Product_Mount_Titanica.png"}, description = "New 10.91 mount!"},
  280.             {name = "Leafscuttler", thingId = 93, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 15, icons = {"Product_Mount_Titanica.png"}, description = "New 10.91 mount!"}
  281.         }
  282.     },
  283. {    name = "10.94 Mounts",
  284.         state = GameStore.States.STATE_NEW,
  285.         icons = {"Category_1094Mounts.png"},
  286.         offers = {
  287.             -- Item Example : thingId = itemId
  288.             {name = "Sparkion", thingId = 94, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 20, icons = {"Product_Mount_Titanica.png"}, description = "New 10.94 mount!"},
  289.             {name = "Neon Sparkid", thingId = 95, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 20, icons = {"Product_Mount_Titanica.png"}, description = "New 10.94 mount!"},
  290.             {name = "Vortexion", thingId = 96, type = GameStore.OfferTypes.OFFER_TYPE_MOUNT, price = 20, icons = {"Product_Mount_Titanica.png"}, description = "New 10.94 mount!"}
  291.         }
  292.     },
  293.  {    name = "Extra Services",
  294.         state = GameStore.States.STATE_NEW,
  295.         icons = {"Category_ExtraServices.png"},
  296.         offers = {
  297.             -- NameChange example
  298.             {name = "Character Name Change", type = GameStore.OfferTypes.OFFER_TYPE_NAMECHANGE, price = 25, icons = {"Product_CharacterNameChange.png"}},
  299.             -- Sexchange example
  300.             {name = "Character Sex Change", type = GameStore.OfferTypes.OFFER_TYPE_SEXCHANGE, price = 15, icons = {"Product_CharacterSexChange.png"}},
  301.             }
  302.     },
  303. }
  304.  
  305. -- For Explanation and information
  306. -- view the readme.md file in github or via markdown viewer.
  307.  
  308. -- Non-Editable
  309. local runningId = 1
  310. for k, category in ipairs(GameStore.Categories) do
  311.     if category.offers then
  312.         for m, offer in ipairs(category.offers) do
  313.             offer.id = runningId
  314.             runningId = runningId + 1
  315.            
  316.             if not offer.type then
  317.                 offer.type = GameStore.OfferTypes.OFFER_TYPE_NONE
  318.             end
  319.         end
  320.     end
  321. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top