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

[XML] NPC, Fluids / Liquids

Rudixx

New Member
Joined
Aug 3, 2007
Messages
246
Reaction score
0
Location
England
The problem comes again, I am trying to make NPC which will sell vials of liquids:
vial of blood
vial of oil
vial of water
Etc.

As I've heard I should make it by this order: name, id, cost, charge/subtype, realname
So it should looks like:

Code:
<parameter key="shop_buyable" value="vial,2006,10,2,vial of blood;vial,2006,10,11,vial of oil;" />

The result is, trade window only show last item and it doesn't show real name, just vial and it's not even oil but beer.

How to make then NPC that's selling liquids? Can someone correct me?
 
Its not like that its like this:
Example:

PHP:
<parameter key="shop_buyable" value="brown bread,2691,8;ham,2671,8;carrot,2684,8;meat,2666,8;apple,2674,8;brown mushroom,2789,8;egg,2695,8"/>

1.- Name
2.- Item ID
3.- Cost
 
Its not like that its like this:
Example:

PHP:
<parameter key="shop_buyable" value="brown bread,2691,8;ham,2671,8;carrot,2684,8;meat,2666,8;apple,2674,8;brown mushroom,2789,8;egg,2695,8"/>

1.- Name
2.- Item ID
3.- Cost
4.- Subtype or charges
else the NPC would sell an empty vial. But this bug should be fixed; NPC can't sell multiple items of same ID, for example vial of water and an empty vial.
 
Last edited:
Back
Top