mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
@@ -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)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user