• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

NPC Alesar, Nah'Bob, Rashid

jolle_jkpg

Das kebab
Joined
Mar 12, 2008
Messages
371
Reaction score
53
Location
Sweden
Alesar
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Alesar" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="185" max="185"/>
  <look type="80" head="0" body="0" legs="0" feet="0" corpse="6020"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Welcome!"/>
		<parameter key="message_farewall" value="Bye..."/>
		<parameter key="message_walkaway" value="How rude!"/>
		<parameter key="shop_sellable" value="bonebreaker,7428,10000;dragon hammer,2434,2000;dreaded cleaver,7419,15000;giant sword,2393,17000;haunted blade,7407,8000;knight axe,2430,2000;ornamented axe,7411,20000;poison dagger,2411,50;scimitar,2419,150;serpent sword,2409,900;skull staff,2436,6000;titan axe,7413,4000;dark armor,2489,400;knight armor,2476,5000;dark helmet,2490,250;mystic turban,2663,150;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;"/>
		<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;"/>
	</parameters>
</npc>

Nah'Bob
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Nah'Bob" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="185" max="185"/>
  <look type="80" head="0" body="0" legs="0" feet="0" corpse="6020"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Welcome!"/>
		<parameter key="message_farewall" value="Bye..."/>
		<parameter key="message_walkaway" value="How rude!"/>
		<parameter key="shop_sellable" value="beholder shield,2518,1200;crown shield,2519,8000;dragon shield,2516,4000;guardian shield,2515,2000;phoenix shield,2539,16000;blue robe,2656,10000;crown armor,2487,12000;noble armor,2486,900;boots of haste,2195,30000;broadsword,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;glorious axe,7454,3000;thaian sword,7391,16000;shadow sceptre,7451,10000;butchers axe,7412,18000;angelic axe,7436,5000;crown helmet,2491,2500;crusader helmet,2497,6000;royal helmet,2498,30000;crown legs,2488,12000;"/>
		<parameter key="shop_buyable" value="beholder shield,2518,7000;noble armor,2486,8000;spike sword,2383,8000;war hammer,2391,10000;"/>
	</parameters>
</npc>

Rashid
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Rashid" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="185" max="185"/>
	<look type="146" head="0" body="120" legs="120" feet="132" addons="2"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Welcome!"/>
		<parameter key="message_farewall" value="Bye..."/>
		<parameter key="message_walkaway" value="How rude!"/>
		<parameter key="shop_sellable" value="dragon scale mail,2492,40000;dwarven armor,2503,30000;glacier robe,7897,11000;golden armor,2466,20000;hibiscus dress,8873,3000;leopard armor,3968,1000;lightning robe,7898,11000;magma coat,7899,11000;mammoth fur cape,7463,6000;paladin armor,8891,15000;pirate shirt,6095,500;skullcracker armor,8889,18000;terra mantle,7884,11000;glacier kilt,7896,11000;lightning legs,7895,11000;magma legs,7894,11000;mammoth fur shorts,7464,850;pirate knee breeches,5918,200;terra legs,7885,11000;bone shield,2541,80;castle shield,2535,5000;dark shield,2521,400;demon shield,2520,30000;medusa shield,2536,9000;norse shield,7460,1500;scarab shield,2540,2000;tortoise shield,6131,150;beholder helmet,3972,7500;devil helmet,2462,1000;glacier mask,7902,2500;krimhorn helmet,7461,200;lightning headband,7901,2500;magma monocle,7900,2500;pirate hat,6096,1000;ragnir helmet,7462,400;skull helmet,5741,40000;terra hood,7903,2500;crocodile boots,3982,1000;fur boots,7457,2000;glacier shoes,7892,2500;lightning boots,7893,2500;magma boots,7891,2500;pirate boots,5462,3000;steel boots,2645,30000;terra boots,7886,2500;abyss hammer,7414,20000;amber staff,7426,8000;assassin dagger,7404,20000;beastslayer axe,3962,1500;berserker,7403,40000;brutetamers staff,7379,1500;chaos mace,7427,9000;cranial basher,7415,30000;crystal sword,7449,600;daramanian mace,2439,110;daramanian waraxe,2440,1000;demonrage sword,7382,36000;diamond sceptre,7387,3000;dragon slayer,7402,15000;dragonbone staff,7430,3000;dreaded cleaver,7419,1000;epee,2438,8000;furry club,7432,1000;guardian halberd,2427,11000;hammer of wrath,2444,30000;heavy mace,2452,50000;heavy machete,2442,90;heroic axe,7389,30000;jade hammer,7422,25000;lunar staff,7424,5000;mammoth whopper,7381,300;mercenary sword,7386,12000;mystic blade,7384,30000;naginata,2426,2000;nightmare blade,7418,35000;noble axe,7456,10000;ornamented axe,7411,11000;relic sword,7383,25000;ruthless axe,6553,45000;sapphire hammer,7437,7000;silver dagger,2402,500;spiked squelcher,7452,5000;taurus mace,7425,500;vile axe,7388,30000;war axe,2454,12000;wyvern fang,7408,1500;ancient amulet,2142,200;crystal necklace,2125,400;crystal ring,2124,250;death ring,6300,1000;demonbone amulet,2136,32000;emerald bangle,2127,800;glacier amulet,7888,1500;lightning pendant,7889,1500;magma amulet,7890,1500;platinum amulet,2171,2500;ring of the sky,2123,30000;ruby necklace,2133,2000;scarab amulet,2135,200;silver brooch,2134,150;terra amulet,7887,1500;light shovel,5710,300;doll,2110,200;voodoo doll,3955,400;"/>
	</parameters>
</npc>

LUA Scripts:
PHP:
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())

I Add More Shopkeeper NPCs Soon. :D
 
Back
Top