Spelling and sanity fixes

This commit is contained in:
DZD
2015-09-23 16:20:06 -04:00
parent 37ea591087
commit 0a7f50bbe2
3 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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