mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Merge pull request #16311 from S34NW/does-anyone-else-hate-genetics
Replaces genetics xray vision with other vision genes
This commit is contained in:
@@ -140,12 +140,16 @@
|
||||
/datum/mutation/disability/colourblindness/activate(mob/M)
|
||||
..()
|
||||
M.update_client_colour() //Handle the activation of the colourblindness on the mob.
|
||||
M.update_icons() //Apply eyeshine as needed.
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
H.update_misc_effects()
|
||||
|
||||
/datum/mutation/disability/colourblindness/deactivate(mob/M)
|
||||
..()
|
||||
M.update_client_colour() //Handle the deactivation of the colourblindness on the mob.
|
||||
M.update_icons() //Remove eyeshine as needed.
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
H.update_misc_effects()
|
||||
|
||||
/datum/mutation/disability/deaf
|
||||
name = "Deafness"
|
||||
|
||||
@@ -158,28 +158,6 @@
|
||||
M.status_flags |= CANSTUN | CANWEAKEN | CANPARALYSE | CANPUSH //temporary fix until the problem can be solved.
|
||||
to_chat(M, "<span class='danger'>You suddenly feel very weak.</span>")
|
||||
|
||||
/datum/mutation/xray
|
||||
name = "X-Ray Vision"
|
||||
activation_messages = list("The walls suddenly disappear.")
|
||||
deactivation_messages = list("The walls around you re-appear.")
|
||||
instability = GENE_INSTABILITY_MAJOR
|
||||
traits_to_add = list(TRAIT_XRAY_VISION)
|
||||
activation_prob = 15
|
||||
|
||||
/datum/mutation/xray/New()
|
||||
..()
|
||||
block = GLOB.xrayblock
|
||||
|
||||
/datum/mutation/xray/activate(mob/living/M)
|
||||
..()
|
||||
M.update_sight()
|
||||
M.update_icons() //Apply eyeshine as needed.
|
||||
|
||||
/datum/mutation/xray/deactivate(mob/living/M)
|
||||
..()
|
||||
M.update_sight()
|
||||
M.update_icons() //Remove eyeshine as needed.
|
||||
|
||||
/datum/mutation/tk
|
||||
name = "Telekenesis"
|
||||
activation_messages = list("You feel smarter.")
|
||||
@@ -1181,3 +1159,58 @@
|
||||
else
|
||||
H.remoteview_target = null
|
||||
H.reset_perspective()
|
||||
|
||||
/datum/mutation/meson_vision
|
||||
name = "Meson Vision"
|
||||
activation_messages = list("More information seems to reach your eyes...")
|
||||
deactivation_messages = list("The amount of information reaching your eyes fades...")
|
||||
instability = GENE_INSTABILITY_MINOR
|
||||
traits_to_add = list(TRAIT_MESON_VISION)
|
||||
|
||||
/datum/mutation/meson_vision/New()
|
||||
..()
|
||||
block = GLOB.mesonblock
|
||||
|
||||
/datum/mutation/meson_vision/activate(mob/living/M)
|
||||
..()
|
||||
M.update_sight()
|
||||
|
||||
/datum/mutation/meson_vision/deactivate(mob/living/M)
|
||||
..()
|
||||
M.update_sight()
|
||||
|
||||
/datum/mutation/night_vision
|
||||
name = "Night Vision"
|
||||
activation_messages = list("Were the lights always that bright?")
|
||||
deactivation_messages = list("The ambient light level returns to normal...")
|
||||
instability = GENE_INSTABILITY_MODERATE
|
||||
traits_to_add = list(TRAIT_NIGHT_VISION)
|
||||
|
||||
/datum/mutation/night_vision/New()
|
||||
..()
|
||||
block = GLOB.nightvisionblock
|
||||
|
||||
/datum/mutation/night_vision/activate(mob/living/M)
|
||||
..()
|
||||
M.update_sight()
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
H.update_misc_effects()
|
||||
|
||||
/datum/mutation/night_vision/deactivate(mob/living/M)
|
||||
..()
|
||||
M.update_sight()
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
H.update_misc_effects()
|
||||
|
||||
/datum/mutation/flash_protection
|
||||
name = "Flash Protection"
|
||||
activation_messages = list("You stop noticing the glare from lights...")
|
||||
deactivation_messages = list("Lights begin glaring again...")
|
||||
instability = GENE_INSTABILITY_MINOR
|
||||
traits_to_add = list(TRAIT_FLASH_PROTECTION)
|
||||
|
||||
/datum/mutation/flash_protection/New()
|
||||
..()
|
||||
block = GLOB.noflashblock
|
||||
|
||||
Reference in New Issue
Block a user