mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge corrections.
Fixes the todo:s I claimed I'd fix at merge.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -153,7 +153,7 @@
|
||||
return
|
||||
|
||||
/mob/proc/incapacitated()
|
||||
return
|
||||
return (stat || paralysis || stunned || weakened || restrained())
|
||||
|
||||
/mob/proc/restrained()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user