mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 10:02:28 +00:00
Simplifies hearing into handle_hearing() (#9443)
Currently, hearing related stuff is handled in at least three places throughout Life(), and whether a mob is deaf or not is complicated - Handled by an sdisabilities flag, has_hearing_aid() and ear_deaf. This change consolidates everything into handle_hearing(); whether a mob is deaf or not can be determined just by the value of ear_deaf using isdeaf() Fixes #9310 Fixes #8490
This commit is contained in:
@@ -314,6 +314,10 @@
|
||||
#define TASTE_DULL 0.5 //anything below 30%
|
||||
#define TASTE_NUMB 0.1 //anything below 150%
|
||||
|
||||
//ear healing limit - past this ear_damage your ear will not recover its hearing over time
|
||||
#define HEARING_DAMAGE_LIMIT 100
|
||||
#define HEARING_DAMAGE_SLOW_HEAL 25
|
||||
|
||||
//Used by emotes
|
||||
#define VISIBLE_MESSAGE 1
|
||||
#define AUDIBLE_MESSAGE 2
|
||||
|
||||
Reference in New Issue
Block a user