Merge corrections.

Fixes the todo:s I claimed I'd fix at merge.
This commit is contained in:
PsiOmegaDelta
2015-08-13 10:15:48 +02:00
parent 1b10f78940
commit 62155433c2
4 changed files with 3 additions and 9 deletions

View File

@@ -207,8 +207,7 @@
/mob/living/carbon/human/show_inv(mob/user as mob)
// TODO : Change to incapacitated() on merge.
if(user.stat || user.lying || user.resting || user.buckled)
if(user.incapacitated())
return
var/obj/item/clothing/under/suit = null

View File

@@ -3,8 +3,7 @@
if(!slot_to_strip || !istype(user))
return
// TODO : Change to incapacitated() on merge.
if(user.stat || user.lying || user.resting || user.buckled)
if(user.incapacitated())
user << browse(null, text("window=mob[src.name]"))
return

View File

@@ -378,7 +378,3 @@
src.attack_log += "\[[time_stamp()]\]<font color='orange'> Got knifed by [user.name] ([user.ckey]) with [W.name] (INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(W.damtype)])</font>"
msg_admin_attack("[key_name(user)] knifed [key_name(src)] with [W.name] (INTENT: [uppertext(user.a_intent)]) (DAMTYE: [uppertext(W.damtype)])" )
return
/mob/living/incapacitated()
if(stat || paralysis || stunned || weakened || restrained())
return 1

View File

@@ -153,7 +153,7 @@
return
/mob/proc/incapacitated()
return
return (stat || paralysis || stunned || weakened || restrained())
/mob/proc/restrained()
return