local outfit = 20 -- nmr do newtypelocal item1 = 12620local quant1 = 600local vocation547 = 547local pos = {x=655, y=399, z=7}local keywordHandler = KeywordHandler:new()local npcHandler = NpcHandler:new(keywordHandler)NpcSystem.parseParameters(npcHandler)function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) endfunction onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) endfunction onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) endfunction onThink() npcHandler:onThink() endfunction santaNPC(cid, message, keywords, parameters, node)if(not npcHandler:isFocused(cid)) thenreturn falseendif(parameters.present == true) thenif(doPlayerRemoveItem(cid,item1,quant1) == true) thendoPlayerSetVocation(cid, 547)doSetCreatureOutfit(cid, {lookType = outfit}, -1)doTeleportThing(cid, pos)npcHandler:say('Voce agora é broly ultragod.',cid)elsenpcHandler:say('Voce nao tem 600 ultimate coins .',cid)endnpcHandler:resetNpc()return trueendendnpcHandler:setMessage(MESSAGE_GREET, "Ola |PLAYERNAME|. Voce quer ser {broly ultragod}?.")local noNode = KeywordNode:new({'no'}, santaNPC, {present = false})local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true})local node = keywordHandler:addKeyword({'broly ultragod'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce quer realmente ser broly ultragod?, você não ira se arrepender. {yes}'})node:addChildKeywordNode(yesNode)node:addChildKeywordNode(noNode)npcHandler:addModule(FocusModule:new())