Introduction ------------ This file deals with places etc. where you buy things to eat and drink. It also deals with the healing properties of foods etc. The word 'pub' is used in a broad sense, including bars, restaurants, pubs, coffee-shops etc. Rules ----- _The_pub_in_the_village_ The pub in the village is hereby excempt from those rules. It is the one pub that no other pubs must surpass. The admin feel that the village area needs this advantage. _General_points_ * All pubs requires permission. * A pub might be allowed in an area with 40-50 rooms or more. * Keep very long distances between the pubs, yours as well as others. * Things sold in the pub should be consumed there, too. * Add the property "no_teleport" to the room. Old code checks for a realm of "NT", set up that too. * Sell a limited amount per reset. _Drinking_and_eating_ All drinks must make the drinker less thirsty, and alcoholic drinks must also make people (more) drunk. Food eaten must make the eater (more) stuffed. Often the drink/food will heal the player. This heal must be less than the strength of the item, and at most equal to 50. _Non-healing_drinks__ Some pubs etc. sell beverages that have no healing at all, but instead just makes the drinker intoxicated, thus speeding up his healing rate. Such drink can have a max strength of 50, and can be sold for half the price they would have if they healed the same amount. Guide lines ----------- _Things_to_use_ Look at the objects in the /std dir: simple_food.c, simple_drink.c, smorgasbord.c, complex_drink.c and complex_food.c . Those standard objects are there for your and our convenience. Use them as far as possible. _Creating_your_own_ If you make your own food and drink, be sure to call some functions in the player object when they are used: drink_alco(), drink_soft() and eat_food(), all with the strength as an argument. _More_reading_ Read the rules on healing to get the right prices. - EOT -
Help topics available:
README | area.r | armour.r | behave.r | clubs.r |
container.r | debug.r | general.r | guilds.r | heal.r |
monster.r | paragon.r | pub.r | puzzles.r | quests.r |
room.r | shop.r | spells.r | testplaying.r | weapon.r |
word_list |
You are guest number 149 since November 2019.
This file was last modified: June 2000.