Postado Agosto 14, 2017 7 anos Descrição: NPC Simples do Tibia Global que vende cartas, parcels e labels. Ele também vende vários rings e alguns itens gerais. Nome do Npc: Benjamin Função: Vendedor de itens. Vende: Key ring Label Parcel Letter Time Ring Energy Ring Life Ring Stealth Ring Sword Ring Axe Ring Club Ring Dwarven Ring Blood herb Coconut Scarf Platinum amulet Benjamin.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()) Benjamin.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Benjamin" script="data/npc/scripts/Benjamin.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="128" head="116" body="79" legs="117" feet="76" addons="0"/> <voices> <voice text="If you need help with letters or parcels, just ask me. I can explain everything." interval2="1000" margin="1" yell="no"/> <voice text="Hey, send a letter to your friend now and then. Keep in touch, you know." interval2="1200" margin="1" yell="no"/> <voice text="Welcome to the post office!" interval2="900" margin="1" yell="no"/> </voices> <parameters> <parameter key="module_shop" value="1" /> <parameter key="shop_buyable" value="key ring,5801,15000;label,2599,1;parcel,2595,15;letter,2597,8;time ring,2169,1000;energy ring,2204,1000;life ring,2205,1000;stealth ring,2202,1000;sword ring,2207,1000;axe ring,2208,1000;club ring,2209,1000;dwarven ring,2213,1000;blood herb,2798,500;coconut,2678,500;platinum amulet,2171,3000;scarf,2661,2000;"/> <parameter key="message_greet" value="Hello. How may I help you |PLAYERNAME|? Ask me for a {trade} if you want to buy something. I can also explain the {mail} system."/> <parameter key="message_farewell" value="It was a pleasure to help you, |PLAYERNAME|."/> <parameter key="message_walkaway" value="Good bye." /> <parameter key="message_sendtrade" value="Here. Don't forget that you need to buy a label too if you want to send a parcel. Always write the name of the {receiver} in the first line and the name of the {city} in the second line." /> </parameters> </npc> Ot Design: https://discord.gg/VgtVRNmCD7
Postado Agosto 14, 2017 7 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. Bruno Carvalho / Ex-Administrador TibiaKing [email protected] Em 26/12/2016 em 03:47, Spraypaint disse: A força da alienação vem dessa fragilidade dos indivíduos, quando apenas conseguem identificar o que os separa e não o que os une. -miltinho
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.