From c83e792b63d640db5283286b84e2e3b832be095b Mon Sep 17 00:00:00 2001 From: Lucy Date: Tue, 28 May 2024 17:21:44 -0400 Subject: [PATCH] Changeling blind stings no longer stack --- .../antagonists/changeling/powers/tiny_prick.dm | 12 ++++++++++++ tgstation.dme | 1 + 2 files changed, 13 insertions(+) create mode 100644 monkestation/code/modules/antagonists/changeling/powers/tiny_prick.dm diff --git a/monkestation/code/modules/antagonists/changeling/powers/tiny_prick.dm b/monkestation/code/modules/antagonists/changeling/powers/tiny_prick.dm new file mode 100644 index 000000000000..98a49d37f1cb --- /dev/null +++ b/monkestation/code/modules/antagonists/changeling/powers/tiny_prick.dm @@ -0,0 +1,12 @@ +/datum/action/changeling/sting/blind/sting_action(mob/user, mob/living/carbon/target) + var/obj/item/organ/internal/eyes/eyes = target.get_organ_slot(ORGAN_SLOT_EYES) + if(!eyes) + user.balloon_alert(user, "no eyes!") + return FALSE + + log_combat(user, target, "stung", "blind sting") + to_chat(target, span_danger("Your eyes burn horrifically!")) + eyes.apply_organ_damage(eyes.maxHealth * 0.8, maximum = eyes.maxHealth * 0.8) + target.set_temp_blindness_if_lower(40 SECONDS) + target.set_eye_blur_if_lower(80 SECONDS) + return TRUE diff --git a/tgstation.dme b/tgstation.dme index 8725e29e54b1..02e5f3b31d13 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -5880,6 +5880,7 @@ #include "monkestation\code\modules\antagonists\brother\actions\gear.dm" #include "monkestation\code\modules\antagonists\brother\gear\_gear.dm" #include "monkestation\code\modules\antagonists\brother\gear\recipes.dm" +#include "monkestation\code\modules\antagonists\changeling\powers\tiny_prick.dm" #include "monkestation\code\modules\antagonists\clock_cult\area.dm" #include "monkestation\code\modules\antagonists\clock_cult\dynamic_ruleset.dm" #include "monkestation\code\modules\antagonists\clock_cult\globals.dm"