• 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] Shopkeeper help

Popcorn

New Member
Joined
Jun 12, 2011
Messages
3
Reaction score
4
I've been trying to figure out how teh fuck to get my barkeep to sell drinks like Cup/Flask of beer/wine. All I get him to do is sell cup filled with void or something.

All help is appriciated.



Yours,
Popcorn
 
in <npc>.lua
Code:
shopModule:addBuyableItem({'water'}, 2012, 1, [B]1[/B],'mug of water')
in <npc>.xml (NOT SURE)
Code:
<parameter key="shop_sellable" value="mug of water,2012,1,1;"/>

The bolded number is the number that is important, if you switch to 2 it will be a mug of blood.
These are the values that can be found in items.xml
Code:
  <item id="2000[B]1[/B]" name="water" />
  <item id="2000[B]2[/B]" name="blood" />
  <item id="2000[B]3[/B]" name="beer" />
  <item id="2000[B]4[/B]" name="slime" />
  <item id="2000[B]5[/B]" name="lemonade" />
  <item id="2000[B]6[/B]" name="milk" />
  <item id="2000[B]7[/B]" name="manafluid" />
  <item id="200[B]10[/B]" name="lifefluid" />
  <item id="200[B]11[/B]" name="oil" />
  <item id="200[B]13[/B]" name="urine" />
  <item id="200[B]14[/B]" name="coconut milk" />
  <item id="200[B]15[/B]" name="wine" />
  <item id="200[B]19[/B]" name="mud" />
  <item id="200[B]21[/B]" name="fruit juice" />
  <item id="200[B]26[/B]" name="lava" />
  <item id="200[B]27[/B]" name="rum" />
  <item id="200[B]28[/B]" name="swamp" />
  <item id="200[B]35[/B]" name="tea" />
 
Back
Top