diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-02-13 08:15:39 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-04-05 21:20:35 +0200 |
commit | 554e54afebf3eed9d6293a7891c66320af2586a0 (patch) | |
tree | 8da18e38a2b2860c8215ae0d4ba67ac58ab44b39 /src/common | |
parent | b996ad73974b282a15db217fcbac5f284be3fdd5 (diff) | |
download | hercules-554e54afebf3eed9d6293a7891c66320af2586a0.tar.gz hercules-554e54afebf3eed9d6293a7891c66320af2586a0.tar.bz2 hercules-554e54afebf3eed9d6293a7891c66320af2586a0.tar.xz hercules-554e54afebf3eed9d6293a7891c66320af2586a0.zip |
Add enum for pet hunger levels and use its constants
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/mmo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index 25ad350c0..4886ca04b 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -1378,6 +1378,16 @@ enum questinfo_type { QINFO_MERCENARY_CLASS }; +/** Pet hunger level **/ +enum e_pet_hunger_level { + PET_HUNGER_STARVING = 0, + PET_HUNGER_VERY_HUNGRY = 10, + PET_HUNGER_HUNGRY = 25, + PET_HUNGER_NEUTRAL = 75, + PET_HUNGER_SATISFIED = 90, + PET_HUNGER_STUFFED = 100 +}; + /* packet size constant for itemlist */ #if MAX_INVENTORY > MAX_STORAGE && MAX_INVENTORY > MAX_CART #define MAX_ITEMLIST MAX_INVENTORY |