mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Update Eyeglow
Updates eyeglow on a humanoid when the disabilities that trigger it are toggled.
This commit is contained in:
@@ -128,10 +128,12 @@
|
||||
/datum/dna/gene/disability/colourblindness/activate(var/mob/M, var/connected, var/flags)
|
||||
..()
|
||||
M.update_client_colour() //Handle the activation of the colourblindness on the mob.
|
||||
M.update_icons() //Apply eyeglow as needed.
|
||||
|
||||
/datum/dna/gene/disability/colourblindness/deactivate(var/mob/M, var/connected, var/flags)
|
||||
..()
|
||||
M.update_client_colour() //Handle the deactivation of the colourblindness on the mob.
|
||||
M.update_icons() //Remove eyeglow as needed.
|
||||
|
||||
/datum/dna/gene/disability/deaf
|
||||
name="Deafness"
|
||||
|
||||
@@ -164,10 +164,12 @@
|
||||
/datum/dna/gene/basic/xray/activate(mob/living/M, connected, flags)
|
||||
..()
|
||||
M.update_sight()
|
||||
M.update_icons() //Apply eyeglow as needed.
|
||||
|
||||
/datum/dna/gene/basic/xray/deactivate(mob/living/M, connected, flags)
|
||||
..()
|
||||
M.update_sight()
|
||||
M.update_icons() //Remove eyeglow as needed.
|
||||
|
||||
/datum/dna/gene/basic/tk
|
||||
name="Telekenesis"
|
||||
|
||||
Reference in New Issue
Block a user