/** * This is the main include file for the pub_shop.c inheritable. * The file reaction.h contains a series of defines for sizes of * containers. * @author Lemming * @started 23/10/1999 * @see /include/reaction.h */ #ifndef __SYS__PUB_SHOP /** @ignore */ #define __SYS__PUB_SHOP /** * This tells add_menu_item() that the new item is an appetiser. */ #define PUB_APPETISER 0 /** * This tells add_menu_item() that the new item is a main course. */ #define PUB_MAINCOURSE 1 /** * This tells add_menu_item() that the new item is a dessert. */ #define PUB_DESSERT 2 /** * This tells add_menu_item() that the new item is an alcoholic drink. */ #define PUB_ALCOHOL 3 /** * This tells add_menu_item() that the new item is a soft drink. */ #define PUB_SOFTDRINK 4 /** * This tells add_menu_item() that the new item is a hot drink. */ #define PUB_HOTDRINK 5 /** * This is the path where the menu file is held. */ #define PUB_MENU_FILE "/obj/misc/menu" /** * This is the path where the counter file is held. */ #define PUB_COUNTER_FILE "/std/shops/objs/counter" /** * This is the path where the standard glasses are held. */ #define PUB_GLASS_PATH "/obj/misc/glasses/" /** * This is the path for the standard tankard. * Volume 4000. */ #define PUB_STD_TANKARD PUB_GLASS_PATH + "std_tankard" /** * This is the path for the standard pint glass. * Volume 2200. */ #define PUB_STD_PINT PUB_GLASS_PATH + "std_pint_glass" /** * This is the path for the standard half-pint glass. * Volume 1100. */ #define PUB_STD_HALFPINT PUB_GLASS_PATH + "std_half_glass" /** * This is the path for the standard shot glass. * Volume 200. */ #define PUB_STD_SHOT PUB_GLASS_PATH + "std_shot_glass" /** * This is the path for the standard wine glass. * Volume 960. */ #define PUB_STD_WINE PUB_GLASS_PATH + "std_wine_glass" /** * This is the path for the standard brandy glass. * Volume 700. */ #define PUB_STD_BRANDY PUB_GLASS_PATH + "std_brandy_glass" /** * This is the path for the standard tumbler. * Volume 1100. */ #define PUB_STD_TUMBLER PUB_GLASS_PATH + "std_tumbler" /** * This is the path for the standard cocktail glass. * Volume 750. */ #define PUB_STD_COCKTAIL PUB_GLASS_PATH + "std_cocktail_glass" /** * This is the path for the standard flute glass (champagne, etc). * Volume 750. */ #define PUB_STD_FLUTE PUB_GLASS_PATH + "std_flute_glass" /** * This is the path for the standard teacup. * Volume 550. */ #define PUB_STD_TEACUP PUB_GLASS_PATH + "std_teacup" /** * This is the path for the standard mug. * Volume 800. */ #define PUB_STD_MUG PUB_GLASS_PATH + "std_mug" /** * This is the path where the standard plates are held. */ #define PUB_PLATE_PATH "/obj/misc/plates/" /** * This is the path for the standard plate. * Maximum weight 50. */ #define PUB_STD_PLATE PUB_PLATE_PATH + "std_plate" /** * This is the path for the standard dish. * Maximum weight 30. */ #define PUB_STD_DISH PUB_PLATE_PATH + "std_dish" /** * This is the path for the standard bowl. * Maximum weight 30. */ #define PUB_STD_BOWL PUB_PLATE_PATH + "std_bowl" /** * This is the path for the standard soup dish. * Maximum weight 30. */ #define PUB_STD_SOUPDISH PUB_PLATE_PATH + "std_soup_dish" /** * This is the path for the standard dinner plate. * Maximum weight 50. */ #define PUB_STD_DINNERPLATE PUB_PLATE_PATH + "std_dinner_plate" /** * This is the path for the standard side plate. * Maximum weight 30. */ #define PUB_STD_SIDEPLATE PUB_PLATE_PATH + "std_side_plate" /** * This is the path for the standard dessert plate. * Maximum weight 30. */ #define PUB_STD_DESSERTPLATE PUB_PLATE_PATH + "std_dessert_plate" /** * This is the path for the standard dessert dish. * Maximum weight 30. */ #define PUB_STD_DESSERTDISH PUB_PLATE_PATH + "std_dessert_dish" /** * This is the class used for all the menu items. * @element type The type of the item, as defined in this file * @element cost The cost of the item * @element item The path to use to get the item from * @element container The path to use to get the container from * @element volume The volume of the liquid to put in the glass * @element intox The intoxication parameter, this is used by the * npcs for drinking themselves silly */ class menu_item { int type; int cost; string item; string container; int volume; int intox; } #endif /* __SYS__PUB_SHOP */