Zombie Stuff (#10499)

This commit is contained in:
Geeves
2020-11-17 10:15:09 +01:00
committed by GitHub
parent 2042dafb69
commit ae46ed4a04
36 changed files with 263 additions and 57 deletions
@@ -463,8 +463,7 @@
if(affecting.take_damage(0, removed * power * 0.1))
H.UpdateDamageIcon()
if(prob(100 * removed / meltdose)) // Applies disfigurement
if (H.can_feel_pain())
H.emote("scream")
H.emote("scream")
H.status_flags |= DISFIGURED
else
M.take_organ_damage(0, removed * power * 0.1) // Balance. The damage is instant, so it's weaker. 10 units -> 5 damage, double for pacid. 120 units beaker could deal 60, but a) it's burn, which is not as dangerous, b) it's a one-use weapon, c) missing with it will splash it over the ground and d) clothes give some protection, so not everything will hit
@@ -697,7 +697,7 @@
if(H.reagents.has_reagent(/datum/reagent/thetamycin, 15))
return
if(!H.internal_organs_by_name["zombie"] && prob(15))
if(!H.internal_organs_by_name[BP_ZOMBIE_PARASITE] && prob(15))
var/obj/item/organ/external/affected = H.get_organ(BP_CHEST)
var/obj/item/organ/internal/parasite/zombie/infest = new()
infest.replaced(H, affected)