mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Buffs phoron contact damage, very slight buff to no pressure damage. (#14118)
Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
+8
-9
@@ -42,10 +42,13 @@ var/image/contamination_overlay = image('icons/effects/contamination.dmi')
|
||||
|
||||
|
||||
/obj/item/proc/can_contaminate()
|
||||
//Clothing and backpacks can be contaminated.
|
||||
if(flags & PHORONGUARD) return 0
|
||||
else if(istype(src,/obj/item/storage/backpack)) return 0 //Cannot be washed :(
|
||||
else if(istype(src,/obj/item/clothing)) return 1
|
||||
if(flags & PHORONGUARD)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
//Clothing can be contaminated.
|
||||
/obj/item/storage/backpack/can_contaminate()
|
||||
return FALSE
|
||||
|
||||
/obj/item/proc/contaminate()
|
||||
//Do a contamination overlay? Temporary measure to keep contamination less deadly than it was.
|
||||
@@ -68,10 +71,6 @@ var/image/contamination_overlay = image('icons/effects/contamination.dmi')
|
||||
if(!pl_head_protected())
|
||||
if(prob(1)) suit_contamination() //Phoron can sometimes get through such an open suit.
|
||||
|
||||
//Cannot wash backpacks currently.
|
||||
// if(istype(back,/obj/item/storage/backpack))
|
||||
// back.contaminate()
|
||||
|
||||
/mob/proc/pl_effects()
|
||||
|
||||
/mob/living/carbon/human/pl_effects()
|
||||
@@ -90,7 +89,7 @@ var/image/contamination_overlay = image('icons/effects/contamination.dmi')
|
||||
//Burn skin if exposed.
|
||||
if(vsc.plc.SKIN_BURNS)
|
||||
if(!pl_head_protected() || !pl_suit_protected())
|
||||
burn_skin(2)
|
||||
burn_skin(3)
|
||||
if(prob(20))
|
||||
to_chat(src, SPAN_DANGER("Your skin burns!"))
|
||||
updatehealth()
|
||||
|
||||
Reference in New Issue
Block a user