mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Moves oldviro symptoms and transformation viruses to current virus system (#27946)
* progress * finish transformation symtoms, add dnaspread * toxic compensation, move petrification out of viro, wendigo transform * firt compile, fix errors * finish up move to virus 2, fix some symptoms * fix effects * rework into seperate stages, add stage 1 * cyborg virus done * mommi part one * finish mommi virus * plasma fixes, finish xeno disease, work on wendigo disease * fix * global disease hell * add uplink item * fix mommiviroos * rename * edit desc * fuggen typo * static type...? * oh duh * adjust colors * capitalize * use proce * remove bundle * actually remove bundle * make the proc dothe thing * move that * fix
This commit is contained in:
@@ -52,28 +52,31 @@ var/image/contamination_overlay = image('icons/effects/contamination.dmi')
|
||||
if(stat >= 2)
|
||||
return
|
||||
|
||||
if(species.breath_type != GAS_PLASMA)
|
||||
if(species.breath_type == GAS_PLASMA)
|
||||
return
|
||||
if(species.flags & PLASMA_IMMUNE)
|
||||
return
|
||||
|
||||
//Burn skin if exposed.
|
||||
if(zas_settings.Get(/datum/ZAS_Setting/SKIN_BURNS))
|
||||
if(!pl_head_protected() || !pl_suit_protected())
|
||||
burn_skin(0.75)
|
||||
if(prob(20))
|
||||
to_chat(src, "<span class='warning'>Your skin burns!</span>")
|
||||
updatehealth()
|
||||
//Burn skin if exposed.
|
||||
if(zas_settings.Get(/datum/ZAS_Setting/SKIN_BURNS))
|
||||
if(!pl_head_protected() || !pl_suit_protected())
|
||||
burn_skin(0.75)
|
||||
if(prob(20))
|
||||
to_chat(src, "<span class='warning'>Your skin burns!</span>")
|
||||
updatehealth()
|
||||
|
||||
//Burn eyes if exposed.
|
||||
if(zas_settings.Get(/datum/ZAS_Setting/EYE_BURNS))
|
||||
var/eye_protection = get_body_part_coverage(EYES)
|
||||
if(!eye_protection)
|
||||
burn_eyes()
|
||||
//Burn eyes if exposed.
|
||||
if(zas_settings.Get(/datum/ZAS_Setting/EYE_BURNS))
|
||||
var/eye_protection = get_body_part_coverage(EYES)
|
||||
if(!eye_protection)
|
||||
burn_eyes()
|
||||
|
||||
//Genetic Corruption
|
||||
if(zas_settings.Get(/datum/ZAS_Setting/GENETIC_CORRUPTION))
|
||||
if(rand(1,10000) < zas_settings.Get(/datum/ZAS_Setting/GENETIC_CORRUPTION))
|
||||
randmutb(src)
|
||||
to_chat(src, "<span class='warning'>High levels of toxins cause you to spontaneously mutate.</span>")
|
||||
domutcheck(src,null)
|
||||
//Genetic Corruption
|
||||
if(zas_settings.Get(/datum/ZAS_Setting/GENETIC_CORRUPTION))
|
||||
if(rand(1,10000) < zas_settings.Get(/datum/ZAS_Setting/GENETIC_CORRUPTION))
|
||||
randmutb(src)
|
||||
to_chat(src, "<span class='warning'>High levels of toxins cause you to spontaneously mutate.</span>")
|
||||
domutcheck(src,null)
|
||||
|
||||
|
||||
/mob/living/carbon/human/proc/burn_eyes()
|
||||
|
||||
Reference in New Issue
Block a user