mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Spelling and sanity fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
var/name = "vision override"
|
||||
var/see_in_dark = 0
|
||||
var/see_invisible = 0
|
||||
var/light_sensetive = 0
|
||||
var/light_sensitive = 0
|
||||
var/sight_flags = 0
|
||||
|
||||
/datum/vision_override/nightvision
|
||||
@@ -13,4 +13,4 @@
|
||||
sight_flags = SEE_MOBS
|
||||
|
||||
/datum/vision_override/nightvision/thermals/ling_augmented_eyesight
|
||||
light_sensetive = 1
|
||||
light_sensitive = 1
|
||||
|
||||
@@ -36,19 +36,20 @@
|
||||
ear_safety++
|
||||
|
||||
//Flash
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/eyes/E = H.internal_organs_by_name["eyes"]
|
||||
var/eye_damage = rand(1,3)
|
||||
if(M.weakeyes)
|
||||
M.visible_message("<span class='disarm'><b>[M]</b> screams and collapses!</span>")
|
||||
M << "<span class='userdanger'>AAAAGH! IT BURNS!</span>"
|
||||
M.Weaken(15) //hella stunned
|
||||
M.Stun(15)
|
||||
if(E)
|
||||
E.damage += 8
|
||||
eye_damage += 8
|
||||
|
||||
if(!eye_safety && ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/eyes/E = H.internal_organs_by_name["eyes"]
|
||||
flick("e_flash", M.flash)
|
||||
if (E) E.damage += rand(1, 3)
|
||||
if (E)
|
||||
E.damage += eye_damage
|
||||
M.Stun(max(10/distance, 3))
|
||||
M.Weaken(max(10/distance, 3))
|
||||
if (istype(E) && E.damage >= E.min_bruised_damage)
|
||||
|
||||
@@ -1227,7 +1227,7 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
|
||||
if(vision_type)
|
||||
see_in_dark = max(see_in_dark, vision_type.see_in_dark, species.darksight)
|
||||
see_invisible = vision_type.see_invisible
|
||||
if(vision_type.light_sensetive)
|
||||
if(vision_type.light_sensitive)
|
||||
weakeyes = 1
|
||||
sight |= vision_type.sight_flags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user