From e633d9f6cee2d661f53da7238a8fd5d517879219 Mon Sep 17 00:00:00 2001
From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
Date: Sun, 29 Aug 2021 15:42:10 -0400
Subject: [PATCH] removes a little prick
---
.../gamemodes/changeling/powers/tiny_prick.dm | 54 -------------------
1 file changed, 54 deletions(-)
diff --git a/code/game/gamemodes/changeling/powers/tiny_prick.dm b/code/game/gamemodes/changeling/powers/tiny_prick.dm
index 14d93439510..09702c97d3c 100644
--- a/code/game/gamemodes/changeling/powers/tiny_prick.dm
+++ b/code/game/gamemodes/changeling/powers/tiny_prick.dm
@@ -66,60 +66,6 @@
add_attack_logs(user, target, "Unsuccessful sting (changeling)")
return 1
-/datum/action/changeling/sting/transformation
- name = "Transformation Sting"
- desc = "We silently sting a human, injecting a retrovirus that forces them to transform. Costs 50 chemicals."
- helptext = "The victim will transform much like a changeling would. The effects will be obvious to the victim, and the process will damage our genomes."
- button_icon_state = "sting_transform"
- sting_icon = "sting_transform"
- chemical_cost = 50
- dna_cost = 3
- genetic_damage = 100
- var/datum/dna/selected_dna = null
-
-/datum/action/changeling/sting/transformation/Trigger()
- var/mob/user = usr
- var/datum/changeling/changeling = user.mind.changeling
- if(changeling.chosen_sting)
- unset_sting(user)
- return
- selected_dna = changeling.select_dna("Select the target DNA: ", "Target DNA")
- if(!selected_dna)
- return
- if((NOTRANSSTING in selected_dna.species.species_traits) || selected_dna.species.is_small)
- to_chat(user, "The selected DNA is incompatible with our sting.")
- return
- ..()
-
-/datum/action/changeling/sting/transformation/can_sting(mob/user, mob/target)
- if(!..())
- return
- if(HAS_TRAIT(target, TRAIT_HUSK) || !ishuman(target) || (NOTRANSSTING in target.dna.species.species_traits))
- to_chat(user, "Our sting appears ineffective against its DNA.")
- return FALSE
- if(ishuman(target))
- var/mob/living/carbon/human/H = target
- if(HAS_TRAIT(H, TRAIT_GENELESS))
- to_chat(user, "This won't work on a creature without DNA.")
- return FALSE
- return TRUE
-
-/datum/action/changeling/sting/transformation/sting_action(mob/user, mob/target)
- add_attack_logs(user, target, "Transformation sting (changeling) (new identity is [selected_dna.real_name])")
- if(issmall(target))
- to_chat(user, "Our genes cry out as we sting [target.name]!")
-
- if(iscarbon(target) && (target.status_flags & CANWEAKEN))
- var/mob/living/carbon/C = target
- C.do_jitter_animation(500)
-
- target.visible_message("[target] begins to violenty convulse!","You feel a tiny prick and a begin to uncontrollably convulse!")
-
- spawn(10)
- transform_dna(target,selected_dna)//target is always human so no problem here
- SSblackbox.record_feedback("nested tally", "changeling_powers", 1, list("[name]"))
- return TRUE
-
/datum/action/changeling/sting/extract_dna
name = "Extract DNA Sting"
desc = "We stealthily sting a target and extract their DNA. Costs 25 chemicals."