mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
[MIRROR] Removes-blind_eyes [MDB IGNORE] (#16061)
* Removes-blind_eyes (#69652) * Removes blind_eyes, replaces it with adjust_blindness. * Removes-blind_eyes Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com>
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
if(3)
|
||||
to_chat(owner, span_warning("You shut your eyes in terror!"))
|
||||
owner.set_timed_status_effect(10 SECONDS, /datum/status_effect/jitter, only_if_higher = TRUE)
|
||||
owner.blind_eyes(10)
|
||||
owner.adjust_blindness(10)
|
||||
if(4)
|
||||
owner.adjust_timed_status_effect(20 SECONDS, /datum/status_effect/dizziness)
|
||||
owner.adjust_timed_status_effect(10 SECONDS, /datum/status_effect/confusion)
|
||||
|
||||
@@ -67,6 +67,6 @@
|
||||
if(isliving(examiner) && prob(20))
|
||||
var/mob/living/target = examiner
|
||||
examine_text += span_danger("You can feel something in [eaten_light.p_them()] gnash at your eyes!")
|
||||
target.blind_eyes(5)
|
||||
target.adjust_blindness(5)
|
||||
target.blur_eyes(10)
|
||||
return NONE
|
||||
|
||||
@@ -686,7 +686,7 @@
|
||||
|
||||
if(C.client)
|
||||
C.blur_eyes(3)
|
||||
C.blind_eyes(1)
|
||||
C.adjust_blindness(1)
|
||||
if(C.get_eye_protection() <= 0) // no eye protection? ARGH IT BURNS. Warning: don't add a stun here. It's a roundstart item with some quirks.
|
||||
C.apply_effects(eyeblur = 5, jitter = 10)
|
||||
flash_color(C, flash_color=paint_color, flash_time=40)
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
/obj/item/book/granter/action/spell/blind/recoil(mob/living/user)
|
||||
. = ..()
|
||||
to_chat(user, span_warning("You go blind!"))
|
||||
user.blind_eyes(10)
|
||||
user.adjust_blindness(10)
|
||||
|
||||
@@ -209,7 +209,7 @@
|
||||
log_combat(user, target, "stung", "blind sting")
|
||||
to_chat(target, span_danger("Your eyes burn horrifically!"))
|
||||
target.become_nearsighted(EYE_DAMAGE)
|
||||
target.blind_eyes(20)
|
||||
target.adjust_blindness(20)
|
||||
target.blur_eyes(40)
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -515,7 +515,7 @@ Striking a noncultist, however, will tear their flesh."}
|
||||
user.dropItemToGround(src, TRUE)
|
||||
user.set_timed_status_effect(1 MINUTES, /datum/status_effect/dizziness, only_if_higher = TRUE)
|
||||
user.Paralyze(100)
|
||||
user.blind_eyes(30)
|
||||
user.adjust_blindness(30)
|
||||
|
||||
/obj/item/reagent_containers/cup/beaker/unholywater
|
||||
name = "flask of unholy water"
|
||||
|
||||
@@ -243,6 +243,6 @@
|
||||
carbon_victim.adjust_timed_status_effect(5 SECONDS, /datum/status_effect/confusion)
|
||||
carbon_victim.set_timed_status_effect(20 SECONDS, /datum/status_effect/jitter, only_if_higher = TRUE)
|
||||
carbon_victim.set_timed_status_effect(40 SECONDS, /datum/status_effect/dizziness, only_if_higher = TRUE)
|
||||
carbon_victim.blind_eyes(2)
|
||||
carbon_victim.adjust_blindness(2)
|
||||
carbon_victim.add_mood_event("gates_of_mansus", /datum/mood_event/gates_of_mansus)
|
||||
playsound(src, 'sound/magic/blind.ogg', 75, TRUE)
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
if(H.glasses == src)
|
||||
to_chat(H, span_danger("[src] overloads and blinds you!"))
|
||||
H.flash_act(visual = 1)
|
||||
H.blind_eyes(3)
|
||||
H.adjust_blindness(3)
|
||||
H.blur_eyes(5)
|
||||
eyes.applyOrganDamage(5)
|
||||
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
|
||||
/////////////////////////////////// EYE_BLIND ////////////////////////////////////
|
||||
|
||||
/mob/living/brain/blind_eyes() // no eyes to damage or heal
|
||||
return
|
||||
|
||||
/mob/living/brain/adjust_blindness()
|
||||
return
|
||||
|
||||
|
||||
@@ -624,7 +624,7 @@
|
||||
eyes.applyOrganDamage(rand(12, 16))
|
||||
|
||||
if(eyes.damage > 10)
|
||||
blind_eyes(damage)
|
||||
adjust_blindness(damage)
|
||||
blur_eyes(damage * rand(3, 6))
|
||||
|
||||
if(eyes.damage > 20)
|
||||
|
||||
@@ -165,7 +165,7 @@
|
||||
/mob/living/silicon/ai/proc/ai_lose_power()
|
||||
disconnect_shell()
|
||||
setAiRestorePowerRoutine(POWER_RESTORATION_START)
|
||||
blind_eyes(1)
|
||||
adjust_blindness(1)
|
||||
update_sight()
|
||||
to_chat(src, span_alert("You've lost power!"))
|
||||
addtimer(CALLBACK(src, .proc/start_RestorePowerRoutine), 20)
|
||||
|
||||
@@ -195,4 +195,4 @@
|
||||
return things
|
||||
|
||||
/datum/action/cooldown/spell/aoe/blindness/cast_on_thing_in_aoe(mob/living/victim, atom/caster)
|
||||
victim.blind_eyes(4)
|
||||
victim.adjust_blindness(4)
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
|
||||
/mob/living/simple_animal/blind_eyes()
|
||||
return
|
||||
|
||||
/mob/living/simple_animal/adjust_blindness()
|
||||
return
|
||||
|
||||
|
||||
@@ -12,11 +12,6 @@
|
||||
/mob/proc/adjust_drowsyness(amount)
|
||||
drowsyness = max(drowsyness + amount, 0)
|
||||
|
||||
|
||||
///Blind a mobs eyes by amount
|
||||
/mob/proc/blind_eyes(amount)
|
||||
adjust_blindness(amount)
|
||||
|
||||
/**
|
||||
* Adjust a mobs blindness by an amount
|
||||
*
|
||||
|
||||
@@ -386,7 +386,7 @@
|
||||
victim.emote("scream")
|
||||
victim.emote("cry")
|
||||
victim.blur_eyes(5) // 10 seconds
|
||||
victim.blind_eyes(3) // 6 seconds
|
||||
victim.adjust_blindness(3) // 6 seconds
|
||||
victim.set_timed_status_effect(5 SECONDS, /datum/status_effect/confusion, only_if_higher = TRUE)
|
||||
victim.Knockdown(3 SECONDS)
|
||||
victim.add_movespeed_modifier(/datum/movespeed_modifier/reagent/pepperspray)
|
||||
@@ -715,7 +715,7 @@
|
||||
else
|
||||
if(!exposed_mob.eye_blurry)
|
||||
to_chat(exposed_mob, span_warning("Tears well up in your eyes!"))
|
||||
exposed_mob.blind_eyes(2)
|
||||
exposed_mob.adjust_blindness(2)
|
||||
exposed_mob.blur_eyes(5)
|
||||
|
||||
/datum/reagent/consumable/tearjuice/on_mob_life(mob/living/carbon/M, delta_time, times_fired)
|
||||
@@ -724,7 +724,7 @@
|
||||
M.blur_eyes(4 * REM * delta_time)
|
||||
if(DT_PROB(5, delta_time))
|
||||
to_chat(M, span_warning("Your eyes sting!"))
|
||||
M.blind_eyes(2)
|
||||
M.adjust_blindness(2)
|
||||
|
||||
|
||||
/datum/reagent/consumable/nutriment/stabilized
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
return FALSE
|
||||
|
||||
to_chat(cast_on, span_warning("Your eyes cry out in pain!"))
|
||||
cast_on.blind_eyes(eye_blind_amount)
|
||||
cast_on.adjust_blindness(eye_blind_amount)
|
||||
cast_on.blur_eyes(eye_blurry_amount)
|
||||
if(cast_on.dna && blind_mutation_duration > 0 SECONDS)
|
||||
cast_on.dna.add_mutation(/datum/mutation/human/blind)
|
||||
|
||||
Reference in New Issue
Block a user