Ir para conteúdo

[npc] Pack Para Tfs ~ Last Update 28/12


MarcolinoGOD

Posts Recomendados

  • 2 weeks later...
  • 4 weeks later...
  • 3 weeks later...

Muito bom, mas acrescente esse npc meu:

 

 

Rashid.gifRashid

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Rashid" script="data/npc/scripts/rashid.lua" walkinterval="2000" floorchange="0">

<health now="100" max="100"/>

<look type="146" head="81" body="120" legs="119" feet="115" addons="3" corpse="2212"/>

<parameters>

<parameter key="module_shop" value="3" />

<parameter key="message_greet" value="Hello |PLAYERNAME|! I buy all itens rashid, says trade {trade}." />

<parameter key="message_farewell" value="Goodbye. Thanks for trading with me |PLAYERNAME|." />

<parameter key="message_walkaway" value="Goodbye." />

</parameters>

</npc>

 

Script

local keywordHandler = KeywordHandler:new()

local npcHandler = NpcHandler:new(keywordHandler)

NpcSystem.parseParameters(npcHandler)

local talkState = {}

 

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:addSellableItem({'dragon slayer'}, 7402, 15000, 'dragon slayer')

shopModule:addSellableItem({'war axe'}, 2454, 9000, 'war axe')

shopModule:addSellableItem({'amber staff'}, 7426, 8000, 'amber staff')

shopModule:addSellableItem({'sapphire hammer'}, 7437, 7000, 'sapphire hammer')

shopModule:addSellableItem({'lunar staff'}, 7424, 5000, 'lunar staff')

shopModule:addSellableItem({'diamond spectre'}, 7387, 3000, 'diamond spectre')

shopModule:addSellableItem({'dragonbone'}, 7430, 3000, 'dragonbone')

shopModule:addSellableItem({'brutetamers staff'}, 7379, 1500, 'brutetamers staff')

shopModule:addSellableItem({'wyvern fang'}, 7408, 1500, 'wyvern fang')

shopModule:addSellableItem({'daramanian waraxe'}, 2440, 1000, 'daramanian waraxe')

shopModule:addSellableItem({'furry club'}, 7432, 1000, 'furry club')

shopModule:addSellableItem({'crystal sword'}, 7449, 600, 'crystal sword')

shopModule:addSellableItem({'taurus mace'}, 7425, 500, 'taurus mace')

shopModule:addSellableItem({'mammoth whopper'}, 7381, 300, 'mammoth whopper')

shopModule:addSellableItem({'daramanian mace'}, 2439, 110, 'daramanian mace')

shopModule:addSellableItem({'heavy machete'}, 2442, 90, 'heavy machete')

 

shopModule:addSellableItem({'dragon scale mail'}, 1019, 40000, 'dragon scale mail')

shopModule:addSellableItem({'dwarven armor'}, 2503, 30000, 'dwarven armor')

shopModule:addSellableItem({'pirate shirt'}, 6095, 500, 'pirate shirt')

shopModule:addSellableItem({'leopard armor'}, 3968, 1000, 'leopard armor')

shopModule:addSellableItem({'golden armor'}, 2466, 20000, 'golden armor')

shopModule:addSellableItem({'mammoth fur cape'}, 7463, 6000, 'mammoth fur cape')

 

shopModule:addSellableItem({'skull helmet'}, 5741, 40000, 'skull helmet')

shopModule:addSellableItem({'beholder helmet'}, 3972, 7500, 'beholder helmet')

shopModule:addSellableItem({'devil helmet'}, 2462, 1000, 'devil helmet')

shopModule:addSellableItem({'pirate hat'}, 6096, 1000, 'pirate hat')

shopModule:addSellableItem({'ragnir helmet'}, 7462, 400, 'ragnir helmet')

shopModule:addSellableItem({'krimhorn helmet'}, 7461, 200, 'krimhorn helmet')

 

shopModule:addSellableItem({'steel boots'}, 2645, 30000, 'steel boots')

shopModule:addSellableItem({'pirate boots'}, 5462, 3000, 'pirate boots')

shopModule:addSellableItem({'fur boots'}, 7457, 2000, 'fur boots')

shopModule:addSellableItem({'crocodile boots'}, 3982, 1000, 'crocodile boots')

shopModule:addSellableItem({'pirate knee breeches'}, 5918, 200, 'pirate knee creeches')

 

shopModule:addSellableItem({'demon shield'}, 2520, 30000, 'demon shield')

shopModule:addSellableItem({'medusa shield'}, 2536, 9000, 'medusa shield')

shopModule:addSellableItem({'castle shield'}, 2535, 5000, 'castle shield')

shopModule:addSellableItem({'scarab shield'}, 2540, 2000, 'scarab shield')

shopModule:addSellableItem({'dark shield'}, 2521, 400, 'dark shield')

shopModule:addSellableItem({'tortoise shield'}, 6231, 150, 'tortoise shield')

shopModule:addSellableItem({'bone shield'}, 2541, 80, 'bone shield')

 

shopModule:addSellableItem({'ancient amulet'}, 2142, 200, 'ancient amulet')

shopModule:addSellableItem({'scarab amulet'}, 2135, 200, 'scarab amulet')

 

shopModule:addSellableItem({'light shovel'}, 5710, 300, 'light shovel')

 

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)

npcHandler:addModule(FocusModule:new())

 

:)

Editado por Schiavinato
Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

Cara realmente ficou muito bom... o A Sweaty Cyclops era o que faltava em meu servidor mais eu estou tendo um probleminha com ele...

até agora as unicas coisas que consegui trocar com ele foi Lottery Ticket e Giant Spider Silk

podes resolver meu problema?

infelizmente so falta isso em meu server e estou louco para arrumar o npc

Grato des de Já.

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...