Postado Agosto 15, 2017 8 anos May God show you the path. Descrição: NPC Simples do Tibia Global que comercia ferramentas Nome do Npc: Bashira Função: Comerciante de ferramentas. Vende: Vial of oil Blessed wooden stake Obsidian Knife Shovel Fishing Rod Rope Machete Golden Backpack Golden Bag Pick Scythe Machete Torch Bottle Document Book Parchment Scroll Plate Present Box Watch Worm Bucket Candlestick Crowbar Bashira.lua 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 npcHandler:addModule(FocusModule:new()) Bahira.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Bashira" script="data/npc/scripts/Bashira.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="159" head="78" body="62" legs="97" feet="76" addons="0"/> <parameters> <parameter key="module_shop" value="1" /> <parameter key="message_farewell" value="Good Bye, |PLAYERNAME|."/> <parameter key="message_walkaway" value="May God show you the path, |PLAYERNAME|." /> <parameter key="message_sendtrade" value="Of course, just browse through my offers." /> <parameter key="message_greet" value="Welcome, |PLAYERNAME|." /> <parameter key="shop_buyable" value="vial of oil,2006,100,11;blessed wooden stake,5942,10000;obsidian knife,5908,10000;shovel,2554,50;fishing rod,2580,150;rope,2120,50;machete,2420,40;golden backpack,2004,20;golden bag,1997,5;pick,2553,50;scythe,2550,50;machete,2420,40;torch,2050,2;bottle,2007,3,1;document,1952,12;book,1958,15;parchment,1948,8;scroll,1949,5;plate,2035,6;present box,1990,10;watch,2036,20;worm,3976,1;bucket,2005,1,4;candlestick,2047,2;crowbar,2416,260;crowbar,10223,1000;" /> <parameter key="shop_sellable" value="rope,2120,8;" /> </parameters> </npc> Ot Design: https://discord.gg/VgtVRNmCD7
Postado Agosto 15, 2017 8 anos Parabéns, seu tópico de conteúdo foi aprovado! Muito obrigado pela sua contribuição, nós do Tibia King agradecemos. Seu conteúdo com certeza ajudará à muitos outros, você recebeu +1 REP. Spoiler Congratulations, your content has been approved! Thank you for your contribution, we of Tibia King we are grateful. Your content will help many other users, you received +1 REP.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.