Everything else through the door (#19358)

This commit is contained in:
Vi3trice
2022-10-13 21:56:58 +02:00
committed by GitHub
parent 2410930b2b
commit 59dfdba201
134 changed files with 200 additions and 200 deletions
+3 -3
View File
@@ -87,7 +87,7 @@
if(slot in list(slot_r_hand, slot_l_hand, slot_in_backpack, slot_l_store, slot_r_store))
return 1
if(species_restricted && istype(M,/mob/living/carbon/human))
if(species_restricted && ishuman(M))
var/wearable = null
var/exclusive = null
@@ -335,7 +335,7 @@ BLIND // can't see anything
to_chat(user, "Your suit will now report your vital lifesigns.")
if(SUIT_SENSOR_TRACKING)
to_chat(user, "Your suit will now report your vital lifesigns as well as your coordinate position.")
if(istype(user,/mob/living/carbon/human))
if(ishuman(user))
var/mob/living/carbon/human/H = user
if(H.w_uniform == src)
H.update_suit_sensors()
@@ -354,7 +354,7 @@ BLIND // can't see anything
if(SUIT_SENSOR_TRACKING)
for(var/mob/V in viewers(user, 1))
V.show_message("[user] sets [src.loc]'s sensors to maximum.", 1)
if(istype(src,/mob/living/carbon/human))
if(ishuman(src))
var/mob/living/carbon/human/H = src
if(H.w_uniform == src)
H.update_suit_sensors()
+1 -1
View File
@@ -56,7 +56,7 @@
on = !on
icon_state = "[basestate][on]-[item_color]"
if(istype(user,/mob/living/carbon/human))
if(ishuman(user))
var/mob/living/carbon/human/H = user
H.update_inv_head()
+1 -1
View File
@@ -374,7 +374,7 @@
icon_state = "reactiveoff"
item_state = "reactiveoff"
addtimer(CALLBACK(src, .proc/reboot), disable_time SECONDS)
if(istype(loc, /mob/living/carbon/human))
if(ishuman(loc))
var/mob/living/carbon/human/C = loc
C.update_inv_wear_suit()
@@ -59,7 +59,7 @@
if(!holstered)
return
if(istype(user.get_active_hand(),/obj) && istype(user.get_inactive_hand(),/obj))
if(isobj(user.get_active_hand()) && isobj(user.get_inactive_hand()))
to_chat(user, "<span class='warning'>You need an empty hand to draw [holstered]!</span>")
else
if(user.a_intent == INTENT_HARM)