mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 23:51:17 +01:00
Autohiss QoL (#10377)
This commit is contained in:
@@ -376,6 +376,8 @@ INITIALIZE_IMMEDIATE(/mob/abstract/new_player)
|
||||
else
|
||||
client.prefs.copy_to(new_character)
|
||||
|
||||
client.autohiss_mode = client.prefs.autohiss_setting
|
||||
|
||||
src << sound(null, repeat = 0, wait = 0, volume = 85, channel = 1) // MAD JAMS cant last forever yo)
|
||||
|
||||
if(mind)
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
|
||||
#define AUTOHISS_OFF 0
|
||||
#define AUTOHISS_BASIC 1
|
||||
#define AUTOHISS_FULL 2
|
||||
|
||||
#define AUTOHISS_NUM 3
|
||||
|
||||
/mob/living/proc/handle_autohiss(message, datum/language/L)
|
||||
return message // no autohiss at this level
|
||||
|
||||
@@ -35,6 +28,7 @@
|
||||
to_chat(src, "Auto-hiss is now OFF.")
|
||||
|
||||
/datum/species
|
||||
var/has_autohiss = FALSE
|
||||
var/list/autohiss_basic_map = null
|
||||
var/list/autohiss_extra_map = null
|
||||
var/list/autohiss_exempt = null
|
||||
|
||||
@@ -428,7 +428,8 @@
|
||||
|
||||
// Used to update alien icons for aliens.
|
||||
/datum/species/proc/handle_login_special(var/mob/living/carbon/human/H)
|
||||
return
|
||||
if(has_autohiss && H.client)
|
||||
H.client.autohiss_mode = H.client.prefs.autohiss_setting
|
||||
|
||||
// As above.
|
||||
/datum/species/proc/handle_logout_special(var/mob/living/carbon/human/H)
|
||||
|
||||
Reference in New Issue
Block a user