Jack Parsons
Member
I've managed to find enough data in the forum for a knight npc, but I was unable to find for a pali one, so I've created a simple one. Since it's incredibly boring to collect all the ids and prices, I'm sharing it with you.
"Rodrigo" is the name of a friend who is helping me develop our new map, so that's the reason why I chose this name (You can change it at will).
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Rodrigo" script="default.lua" walkinterval="1000" speed="100" walkradius="4" floorchange="0">
<health max="150" now="150"/>
<look type="129" head="0" body="119" legs="115" feet="114" addons="3" mount="0"/>
<parameters>
<!--MESSAGES-->
<parameter key="message_greet" value="Hello |PLAYERNAME|! I trade {ammo}, {bows} and {crossbows} for Paladins, say {trade} to check my offers!"/>
<parameter key="message_sendtrade" value="Choose your target!"/>
<parameter key="message_oncloseshop" value="Good hunting pal!"/>
<!--SHOP-->
<parameter key="module_shop" value="1"/>
<parameter key="shop_buyable" value="smallstone,1294,4;spear,2389,9;throwingknife,2410,25;throwingstar,2399,42;viperstar,7366,60;huntingspear,3965,25;royalspear,7378,30;enchantedspear,7367,150;assassinstar,7368,100;crossbow,2455,500;modifiedcrossbow,8849,10000;ornatecrossbow,15644,12000;chainbolter,8850,15000000;tripleboltcrossbow,21690,50000;crudeumbralcrossbow,22419,2000000;arbalest,5803,40000;theironworker,8853,100000;crystalcrossbow,18453,35000;thedevileye,8852,35000000;umbralcrossbow,22420,3000000;royalcrossbow,8851,300000;thornspitter,16111,4000000;umbralmastercrossbow,22421,25000000;bow,2456,350;compositehornbow,8855,25000;crudeumbralbow,22416,45000;elethriel'selementalbow,8858,75000;elvishbow,7438,1000;hivebow,15643,28000;iciclebow,21696,15000;mycologicalbow,18454,35000;shimmerbow,13873,18000;silkweaverbow,8857,5000;umbralbow,22417,75000;umbralmasterbow,22418,105000;warsingerbow,8854,500000;yol'sbow,8856,55000; arrow, 2544, 2; poison arrow, 2545, 10; burst arrow, 2546, 10; power bolt, 2547, 30; earth arrow, 7850, 100; tarsal arrow, 15648, 100; flaming arrow, 7840, 100; shiver arrow, 7839, 100; flash arrow, 7838, 100; infernal bolt, 6529, 100; onyx arrow, 7365, 100; crystal arrow, 2352, 100; bolt, 2543, 2; sniper arrow, 7364, 100; envenomed arrow, 18437, 100; crystalline arrow, 18304, 100; crystal bolt, 18303, 100; vortex bolt, 15649, 100; piercing bolt, 7363, 100"/>
<parameter key="shop_sellable" value="smallstone,1294,4;spear,2389,9;throwingknife,2410,25;throwingstar,2399,42;viperstar,7366,60;huntingspear,3965,25;royalspear,7378,30;enchantedspear,7367,150;assassinstar,7368,100;crossbow,2455,500;modifiedcrossbow,8849,10000;ornatecrossbow,15644,12000;chainbolter,8850,15000000;tripleboltcrossbow,21690,50000;crudeumbralcrossbow,22419,2000000;arbalest,5803,40000;theironworker,8853,100000;crystalcrossbow,18453,35000;thedevileye,8852,35000000;umbralcrossbow,22420,3000000;royalcrossbow,8851,300000;thornspitter,16111,4000000;umbralmastercrossbow,22421,25000000;bow,2456,350;compositehornbow,8855,25000;crudeumbralbow,22416,45000;elethriel'selementalbow,8858,75000;elvishbow,7438,1000;hivebow,15643,28000;iciclebow,21696,15000;mycologicalbow,18454,35000;shimmerbow,13873,18000;silkweaverbow,8857,5000;umbralbow,22417,75000;umbralmasterbow,22418,105000;warsingerbow,8854,500000;yol'sbow,8856,55000; arrow, 2544, 2; poison arrow, 2545, 10; burst arrow, 2546, 10; power bolt, 2547, 30; earth arrow, 7850, 100; tarsal arrow, 15648, 100; flaming arrow, 7840, 100; shiver arrow, 7839, 100; flash arrow, 7838, 100; infernal bolt, 6529, 100; onyx arrow, 7365, 100; crystal arrow, 2352, 100; bolt, 2543, 2; sniper arrow, 7364, 100; envenomed arrow, 18437, 100; crystalline arrow, 18304, 100; crystal bolt, 18303, 100; vortex bolt, 15649, 100; piercing bolt, 7363, 100"/>
</parameters>
</npc>
"Rodrigo" is the name of a friend who is helping me develop our new map, so that's the reason why I chose this name (You can change it at will).
Last edited: