Merge pull request #10195 from Kelenius/ofSpaceAndWounds

Of space and wounds
This commit is contained in:
PsiOmegaDelta
2015-07-18 20:04:39 +02:00

View File

@@ -410,27 +410,30 @@
var/atom/movable/t = M.pulling var/atom/movable/t = M.pulling
M.stop_pulling() M.stop_pulling()
//this is the gay blood on floor shit -- Added back -- Skie if(!istype(M.loc, /turf/space))
if (M.lying && (prob(M.getBruteLoss() / 6))) var/area/A = get_area(M)
var/turf/location = M.loc if(A.has_gravity)
if (istype(location, /turf/simulated)) //this is the gay blood on floor shit -- Added back -- Skie
location.add_blood(M) if (M.lying && (prob(M.getBruteLoss() / 6)))
//pull damage with injured people var/turf/location = M.loc
if(prob(25)) if (istype(location, /turf/simulated))
M.adjustBruteLoss(1) location.add_blood(M)
visible_message("<span class='danger'>\The [M]'s [M.isSynthetic() ? "state worsens": "wounds open more"] from being dragged!</span>") //pull damage with injured people
if(M.pull_damage()) if(prob(25))
if(prob(25)) M.adjustBruteLoss(1)
M.adjustBruteLoss(2) visible_message("<span class='danger'>\The [M]'s [M.isSynthetic() ? "state worsens": "wounds open more"] from being dragged!</span>")
visible_message("<span class='danger'>\The [M]'s [M.isSynthetic() ? "state" : "wounds"] worsen terribly from being dragged!</span>") if(M.pull_damage())
var/turf/location = M.loc if(prob(25))
if (istype(location, /turf/simulated)) M.adjustBruteLoss(2)
location.add_blood(M) visible_message("<span class='danger'>\The [M]'s [M.isSynthetic() ? "state" : "wounds"] worsen terribly from being dragged!</span>")
if(ishuman(M)) var/turf/location = M.loc
var/mob/living/carbon/H = M if (istype(location, /turf/simulated))
var/blood_volume = round(H:vessel.get_reagent_amount("blood")) location.add_blood(M)
if(blood_volume > 0) if(ishuman(M))
H:vessel.remove_reagent("blood",1) var/mob/living/carbon/human/H = M
var/blood_volume = round(H.vessel.get_reagent_amount("blood"))
if(blood_volume > 0)
H.vessel.remove_reagent("blood", 1)
step(pulling, get_dir(pulling.loc, T)) step(pulling, get_dir(pulling.loc, T))