• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

NPC Parameter keys

Chaos ruler

New Member
Joined
Dec 1, 2008
Messages
73
Reaction score
0
Location
The Netherlands
Is it possible to use 2 times a "Module_shop" for a selling and buying part?

like for example:

ye well first of all the <Greet, farewell, idletimeout, walkaway, alreadyfocused, placedinqueue>
That's not the point but this.

Code:
<parameter key="module_shop"  value="1" />
<parameter key="message_buy"  value="blabla." />
<parameter key="message_onbuy"  value="blabla." />
<parameter key="message_needmoremoney"  value="blabla." />
<parameter key="message_decline"  value="maybe you will buy it another time." />
<parameter key="module_shop"  value="2" />
<parameter key="message_sell"  value="blabla." />
<parameter key="message_onsell"  value="blabla." />
<parameter key="message_nothaveitem"  value="blabla." />
<parameter key="message_decline"  value="maybe next time." />

What I like to have is:

BUY
When you say
Player: Buy ITEMNAME.
npc: Do you want to buy ITEMNAME?
Player: no
npc: maybe you will buy it another time. <----------


SELL
When you say
Player: Sell 20 ITEMNAME.
npc: Do you want to sell ITEMNAME for blabla?
Player: no
npc: maybe next time. <------------------


Otherwise I will have no clue!

EDIT: Or should I make more parameters?
 
Last edited:

Similar threads

Back
Top