Vaurca Night Eyes (#10179)

* Vaurca Night Eyes

* weaken
This commit is contained in:
Geeves
2020-10-07 23:03:20 +02:00
committed by GitHub
parent 894356a741
commit f178386b3c
7 changed files with 37 additions and 25 deletions
@@ -0,0 +1,24 @@
/obj/item/organ/internal/eyes/night/vaurca
name = "vaurcaesian eyes"
desc = "A set of four vaurcaesian eyes, adapted to the low or no light tunnels of Sedantis."
icon_state = "eyes_vaurca"
vision_color = /datum/client_color/vaurca
eye_emote = "'s eyes gently shift."
/obj/item/organ/internal/eyes/night/vaurca/flash_act()
. = ..()
if(!.)
return
owner.Weaken(10)
take_damage(rand(10, 11))
if(damage > 12)
owner.eye_blurry += rand(3,6)
if(damage >= min_broken_damage)
owner.sdisabilities |= BLIND
else if(damage >= min_bruised_damage)
owner.eye_blind = 5
owner.eye_blurry = 5
owner.disabilities |= NEARSIGHTED
addtimer(CALLBACK(owner, /mob/.proc/reset_nearsighted), 100)
-23
View File
@@ -12,29 +12,6 @@
/obj/item/organ/internal/kidneys/vaurca
icon_state = "kidney_vaurca"
/obj/item/organ/internal/eyes/vaurca
icon_state = "eyes_vaurca"
/obj/item/organ/internal/eyes/vaurca/flash_act()
if(!owner)
return
to_chat(owner, "<span class='warning'>Your eyes burn with the intense light of the flash!</span>")
owner.Weaken(10)
take_damage(rand(10, 11))
if(damage > 12)
owner.eye_blurry += rand(3,6)
if(damage >= min_broken_damage)
owner.sdisabilities |= BLIND
else if(damage >= min_bruised_damage)
owner.eye_blind = 5
owner.eye_blurry = 5
owner.disabilities |= NEARSIGHTED
addtimer(CALLBACK(owner, /mob/.proc/reset_nearsighted), 100)
/obj/item/organ/internal/kidneys/vaurca/robo
icon_state = "kidney_vaurca"
organ_tag = BP_VAURCA_KIDNEYS