Adds the ability to apply pressure to bleeding wounds

This commit is contained in:
Yoshax
2016-09-21 22:22:47 +01:00
parent 34cc19cf1e
commit 653610e194
7 changed files with 95 additions and 17 deletions
+5 -1
View File
@@ -158,7 +158,7 @@ Proc for attack log creation, because really why not
else
return pick("chest", "groin")
/proc/do_mob(mob/user , mob/target, time = 30, uninterruptible = 0, progress = 1)
/proc/do_mob(mob/user , mob/target, time = 30, target_zone = 0, uninterruptible = 0, progress = 1)
if(!user || !target)
return 0
var/user_loc = user.loc
@@ -194,6 +194,10 @@ Proc for attack log creation, because really why not
. = 0
break
if(target_zone && user.zone_sel.selecting != target_zone)
. = 0
break
if (progbar)
qdel(progbar)