A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/build/drinks


These are the rules concerning portable alcoholic and non-alcoholic drinks:

The total amount of sold healing per reset must not exceed 3000 hp.
A maximum of 200 hp may be sold to one customer per reset. The cost
of such healing is calculated using this formula:

x = The amount of healing sold.

Cost = 4*x + x^2/10

This means that the more healing an item contains, the more expensive 
it gets. These items must have a weight of at least 1.

The "strength" of the drink is equal to the amount of healing it makes to 
the player when he eats it. Typically this strength should not exceed 50.

Use the file "obj/drink" (and NOT "obj/alco_drink" or "obj/soft_drink")
for cloning and inherting purposes. Please read the file find out which
functions to call.

NB! DON'T USE "obj/alco_drink" or "obj/soft_drink"! The Nemesis generic
obj/drink is good!

Examples of food and drink and an inn selling these items can be found in
/lib/food/curry.c and /room/inn.c. 
Type "goto /room/inn" just to visit it.


This page was generated in LPC

Imprint / Impressum