God Mythera
Veteran OT User
Hello and im trying to fix this npc so it doesnt sell euipment someon is wearing, can someone help me?
i dont have npc script i just have the npc.xml :s could someone possibly help me?
i dont have npc script i just have the npc.xml :s could someone possibly help me?
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Nah Alesar" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="80" head="0" body="0" legs="0" feet="0" addons="0"/>
<parameters>
<parameter key="module_shop" value="2"/>
<parameter key="shop_buyable" value="Ice rapier,2396,5000;Serpent sword,2409,6000;Dark armor,2489,1500;Dark helmet,2490,1000;Ancient shield,2532,5000;Beholder shield,2518,7000;Noble armor,2486,8000;Spike sword,2383,8000;War hammer,2391,10000"/>
<parameter key="shop_sellable" value="Focus cape,8871,6000;Dragon hammer,2434,2000;Giant sword,2393,17000;Knight axe,2430,2000;Poison dagger,2411,50;Scimitar,2419,150;Serpent sword,2409,900;Skull staff,2436,6000;Dark armor,2489,400;Knight armor,2476,5000;Dark helmet,2490,250;Mystic turban,2663,2000;Strange helmet,2479,500;Warrior helmet,2475,5000;Knight legs,2477,5000;Ancient shield,2532,900;Black shield,2529,800;Tower shield,2528,8000;Vampire shield,2534,15000;Beholder shield,2518,1200;Crown shield,2519,8000;Dragon shield,2516,4000;Guardian shield,2515,2000;Blue robe,2656,10000;Crown armor,2487,12000;Noble armor,2486,900;Boots of haste,2195,30000;Broad sword,2413,500;Dragon lance,2414,9000;Fire axe,2432,8000;Fire sword,2392,4000;Ice rapier,2396,1000;Obsidian lance,2425,500;Spike sword,2383,1000;War hammer,2391,1200;Crown helmet,2491,2500;Crusader helmet,2497,6000;Royal helmet,2498,30000;Crown legs,2488,12000;Blade of corruption,12649,60000;Twiceslicer,12613,60000;Armor of corruption,12607,50000;Jade hat,11368,16000;Zaoan robe,11356,20000;Spellweaver's robe,11355,20000;Zaoan halberd,11323,5000;Twin hooks,11309,6000;Zaoan sword,11307,50000;Drakinata,11305,12000;Zaoan legs,11304,15000;Zaoan shoes,11303,8000;Zaoan helmet,11302,45000;Zaoan armor,11301,15000;Guardian boots,11240,35000;Dragon scale boots,11118,30000;Bonebreaker,7428,30000;Drachaku,11308,20000;onyx flail,7421,30000"/>
<parameter key="message_greet" value="Ah, a customer! Be greeted, |PLAYERNAME|! Make sure to say 'info' before trading!"/>
<parameter key="message_farewell" value="Farewell, |PLAYERNAME|, may the winds guide your way."/>
<parameter key="message_walkaway" value="Farewell, |PLAYERNAME|, may the winds guide your way." />
<parameter key="module_keywords" value="1" />
<parameter key="keywords" value="info" />
<parameter key="keyword_reply1" value="Make sure you dont accidently sell a item that you are wearing, the problem with that will be fixed soon!" />
</parameters>
</npc>