• 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 make npc sell bag with items

FilipeJF

New Member
Joined
Jan 9, 2012
Messages
124
Reaction score
4
Is there a way to make NPC sell a bag with items in the trade window, like, we have it:

Lua:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Ghuka" script="data/npc/scripts/ghuka.lua" walkinterval="1000" floorchange="0">
    <health now="100" max="100"/>
    <look type="29" head="20" body="100" legs="50" feet="99" addons="1"/>
    <parameters>    
        <parameter key="message_greet" value="Saudações! ({missão}, {troca})" />
        <parameter key="message_walkaway" value="Volte sempre!"/>
        <parameter key="message_farewell" value="Volte sempre, |PLAYERNAME|!" />
        <parameter key="message_idletimeout" value="Próximo!" />
        <parameter key="message_sendtrade" value="Aqui tem tudo que você precisa para forjar os mais valiosos dos equipamentos!"/>
        <parameter key="module_shop" value="1"/>
        <parameter key="shop_buyable" value="braseiro vivo,5468,10;martelo de forja,4846,40;picareta,2553,25;faca de caça,2402,25;machado,2386,25;flecha,2544,1" />
        <parameter key="shop_sellable" value="" />
    </parameters>
</npc>

Is there a way to add a bag with arrows in there?
 
Back
Top