Merge pull request #8625 from Atermonera/removes_dnaswitch

Removes dnaswitch artifact effect
This commit is contained in:
Sypsoti
2022-05-09 09:09:12 -05:00
committed by GitHub
2 changed files with 0 additions and 73 deletions
@@ -1,72 +0,0 @@
//todo
/datum/artifact_effect/extreme/dnaswitch
name = "dnaswitch"
effect_type = EFFECT_ORGANIC
var/severity
effect_state = "smoke"
effect_color = "#77ff83"
/datum/artifact_effect/extreme/dnaswitch/New()
..()
if(effect == EFFECT_AURA)
severity = rand(5,30)
else
severity = rand(25,95)
/datum/artifact_effect/extreme/dnaswitch/DoEffectTouch(var/mob/toucher)
var/weakness = GetAnomalySusceptibility(toucher)
if(ishuman(toucher) && prob(weakness * 100))
to_chat(toucher,pick("<font color='green'>You feel a little different.</font>",
"<font color='green'>You feel very strange.</font>",
"<font color='green'>Your stomach churns.</font>",
"<font color='green'>Your skin feels loose.</font>",
"<font color='green'>You feel a stabbing pain in your head.</font>",
"<font color='green'>You feel a tingling sensation in your chest.</font>",
"<font color='green'>Your entire body vibrates.</font>"))
if(prob(75))
scramble(1, toucher, weakness * severity)
else
scramble(0, toucher, weakness * severity)
return 1
/datum/artifact_effect/extreme/dnaswitch/DoEffectAura()
var/atom/holder = get_master_holder()
if(holder)
var/turf/T = get_turf(holder)
for(var/mob/living/carbon/human/H in range(src.effectrange,T))
var/weakness = GetAnomalySusceptibility(H)
if(prob(weakness * 100))
if(prob(30))
to_chat(H, pick("<font color='green'>You feel a little different.</font>",
"<font color='green'>You feel very strange.</font>",
"<font color='green'>Your stomach churns.</font>",
"<font color='green'>Your skin feels loose.</font>",
"<font color='green'>You feel a stabbing pain in your head.</font>",
"<font color='green'>You feel a tingling sensation in your chest.</font>",
"<font color='green'>Your entire body vibrates.</font>"))
if(prob(50))
scramble(1, H, weakness * severity)
else
scramble(0, H, weakness * severity)
/datum/artifact_effect/extreme/dnaswitch/DoEffectPulse()
var/atom/holder = get_master_holder()
if(holder)
var/turf/T = get_turf(holder)
for(var/mob/living/carbon/human/H in range(200, T))
var/weakness = GetAnomalySusceptibility(H)
if(prob(weakness * 100))
if(prob(75))
to_chat(H, pick("<font color='green'> You feel a little different.</font>",
"<font color='green'> You feel very strange.</font>",
"<font color='green'> Your stomach churns.</font>",
"<font color='green'> Your skin feels loose.</font>",
"<font color='green'> You feel a stabbing pain in your head.</font>",
"<font color='green'> You feel a tingling sensation in your chest.</font>",
"<font color='green'> Your entire body vibrates.</font>"))
if(prob(25))
if(prob(75))
scramble(1, H, weakness * severity)
else
scramble(0, H, weakness * severity)