mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Adds a %chance to give a disease to the revived patient
(given they have a mind, so that there's no abuse of this to infect the station)
This commit is contained in:
@@ -648,6 +648,21 @@
|
||||
M.adjustBruteLoss(rand(0,15))
|
||||
M.adjustToxLoss(rand(0,15))
|
||||
M.adjustFireLoss(rand(0,15))
|
||||
if(ishuman(M) && M.mind && prob(10)) // To prevent people from using this on monkies to cause pandemics
|
||||
var/mob/living/carbon/human/H = M
|
||||
// Their body is being suffused with magical life-inducing stuff - so other things get lively, too
|
||||
// Things are going to get interesting for the reviving party, too
|
||||
var/virus_type = pick(list(
|
||||
/datum/disease/advance/flu,
|
||||
/datum/disease/advance/cold,
|
||||
/datum/disease/brainrot,
|
||||
/datum/disease/magnitis,
|
||||
/datum/disease/fake_gbs, // honk
|
||||
/datum/disease/cold9
|
||||
))
|
||||
var/datum/disease/D = new virus_type()
|
||||
H.AddDisease(D)
|
||||
|
||||
M.update_revive()
|
||||
M.stat = UNCONSCIOUS
|
||||
add_logs(M, M, "revived", object="strange reagent") //Yes, the logs say you revived yourself.
|
||||
|
||||
Reference in New Issue
Block a user