TConsumable Class Reference

An item that can be "consumed". More...

#import <item.h>

Inheritance diagram for TConsumable:

TItem TObject TDrink TFood TAlcohol TDrug List of all members.

Public Member Functions

(id) - init:level:hp:price:weight:weight_units:name:desc:lvl_mod:hp_mod:str_mod:cons_mod:intel_mod:wis_mod:charisma_mod:dex_mod:speed_mod:
(id) - free
(int) - get_lvl_mod
(int) - get_hp_mod
(int) - get_str_mod
(int) - get_cons_mod
(int) - get_intel_mod
(int) - get_wis_mod
(int) - get_charisma_mod
(int) - get_dex_mod
(int) - get_speed_mod
(int) - get_exp_mod

Protected Attributes

int lvl_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int hp_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int str_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int cons_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int intel_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int wis_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int charisma_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int dex_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int speed_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.
int exp_mod
 Additive modifier for use when this item is "eaten" or "drinken" or etc.

Detailed Description

An item that can be "consumed".

Definition at line 80 of file item.h.


The documentation for this class was generated from the following files:
Generated on Wed Dec 21 13:16:08 2005 for Toten by  doxygen 1.4.5 SourceForge.net Logo