MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // health.h -- Heilstaerken und -geschwindigkeiten |
| 4 | // |
| 5 | // $Id: health.h 8368 2013-02-12 21:03:07Z Zesstra $ |
| 6 | |
| 7 | #ifndef _HEALTH_ |
| 8 | #define _HEALTH_ |
| 9 | |
| 10 | /* |
| 11 | * health.h |
| 12 | * |
| 13 | * A configuration file for all food and drink stuff |
| 14 | */ |
| 15 | |
| 16 | /* These are tune macros to determine the actual effect of food, */ |
| 17 | /* drink and alcohol */ |
| 18 | #define ALOCHOL_VALUE(strength) strength |
| 19 | #define DRINK_VALUE(strength) strength |
| 20 | #define FOOD_VALUE(strength) strength |
| 21 | |
| 22 | /* How fast alcohol wears off and drink and food are reduced */ |
| 23 | #define ALCOHOL_DELAY 5 /* quite fast */ |
| 24 | #define DRINK_DELAY 7 /* quite medium */ |
| 25 | #define FOOD_DELAY 9 /* quite slow */ |
| 26 | #define HEAL_DELAY 4 /* quite fast */ |
| 27 | |
| 28 | #define POISON_DELAY 4 |
| 29 | #define POISON_MERCY_DELAY 3 |
| 30 | |
| 31 | #define ALC_EFFECT_HICK 0 |
| 32 | #define ALC_EFFECT_RUELPS 1 |
| 33 | #define ALC_EFFECT_LOOKDRUNK 2 |
| 34 | #define ALC_EFFECT_STUMBLE 3 |
| 35 | |
| 36 | #define ALC_EFFECT_AREA_GUILD 0 |
| 37 | #define ALC_EFFECT_AREA_ENV 1 |
| 38 | |
| 39 | /* Any regeneration prohibited ? */ |
| 40 | #define NO_REG_HP 0x01 |
| 41 | #define NO_REG_BUFFER_HP 0x02 |
| 42 | #define NO_REG_SP 0x04 |
| 43 | #define NO_REG_BUFFER_SP 0x08 |
| 44 | #define NO_REG_ALCOHOL 0x10 |
| 45 | #define NO_REG_DRINK 0x20 |
| 46 | #define NO_REG_FOOD 0x40 |
| 47 | #define NO_REG (NO_REG_HP|NO_REG_BUFFER_HP|NO_REG_SP|NO_REG_BUFFER_SP| \ |
| 48 | NO_REG_ALCOHOL|NO_REG_DRINK|NO_REG_FOOD) |
| 49 | |
| 50 | #endif |