• 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!

Lua Need help with npc!

jaku77

New Member
Joined
Feb 14, 2009
Messages
42
Reaction score
0
Hey , i need help with a npc. I want that this npc sells with nuggets and i would be glad if someone can help me , Thanks :$
 
Try this, I didn't test it but it should work.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Nugget" script="default.lua" walkinterval="2000" floorchange="0">
	<health now="150" max="150"/>
	<look type="128" head="20" body="100" legs="50" feet="99" corpse="2212"/>
	<parameters>
		<parameter key="module_shop" value="1"/>
		<parameter key="message_greet" value="Hello |PLAYERNAME|. I sell gold nuggets!"/>
		<parameter key="shop_buyable" value="gold nugget,2157,10000"/>
	</parameters>
</npc>
 
Back
Top