EagerBeaver
New Member
- Joined
- Jul 22, 2015
- Messages
- 4
- Reaction score
- 0
Hello!
I'm looking for someone who can make this script instead of require 10 gold, requires 10 small sapphires (ID: 2146)
Would really love the help!
I'm looking for someone who can make this script instead of require 10 gold, requires 10 small sapphires (ID: 2146)
Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
local shopModule = ShopModule:new()
npcHandler:addModule(shopModule)
shopModule:addBuyableItem({'assassin star'}, 7368, 10, 100,'assassin star')
npcHandler:addModule(FocusModule:new())
Would really love the help!