mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Everything else through the door (#19358)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
possible_locs = list(BODY_ZONE_PRECISE_MOUTH)
|
||||
|
||||
/datum/surgery/dental_implant/can_start(mob/user, mob/living/carbon/target)
|
||||
if(istype(target,/mob/living/carbon/human))
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
if(!H.check_has_mouth())
|
||||
return FALSE
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
M.internal_organs |= src
|
||||
M.internal_organs_slot[slot] = src
|
||||
var/obj/item/organ/external/parent
|
||||
if(istype(M, /mob/living/carbon/human))
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
parent = H.get_organ(check_zone(parent_organ))
|
||||
if(!istype(parent))
|
||||
@@ -59,7 +59,7 @@
|
||||
if(M.stat != DEAD)//safety check!
|
||||
M.death()
|
||||
|
||||
if(istype(M, /mob/living/carbon/human))
|
||||
if(ishuman(M))
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/external/parent = H.get_organ(check_zone(parent_organ))
|
||||
if(!istype(parent))
|
||||
@@ -299,7 +299,7 @@
|
||||
if(!owner)
|
||||
return
|
||||
|
||||
if(istype(owner, /mob/living/carbon/human))
|
||||
if(ishuman(owner))
|
||||
var/mob/living/carbon/human/H = owner
|
||||
var/obj/item/organ/external/head/head_organ = H.get_organ("head")
|
||||
if(!(head_organ.h_style == "Very Long Hair" || head_organ.h_style == "Mohawk"))
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
. = ..()
|
||||
if(!.)
|
||||
return FALSE
|
||||
if(istype(target, /mob/living/carbon/human))
|
||||
if(ishuman(target))
|
||||
var/mob/living/carbon/human/H = target
|
||||
var/obj/item/organ/external/affected = H.get_organ(user.zone_selected)
|
||||
if(affected && affected.encased) //no bones no problem.
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
var/obj/item/card/id/ID
|
||||
|
||||
//IDs in hand
|
||||
if(istype(user, /mob/living/carbon/human)) //Only 'humans' can hold ID cards
|
||||
if(ishuman(user)) //Only 'humans' can hold ID cards
|
||||
var/mob/living/carbon/human/H = user
|
||||
ID = H.get_id_from_hands()
|
||||
if(ID)
|
||||
|
||||
@@ -407,7 +407,7 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
if(can_infect && affected)
|
||||
spread_germs_to_organ(affected, user, tool)
|
||||
if(ishuman(user) && !istype(target, /mob/living/carbon/alien) && prob(60))
|
||||
if(ishuman(user) && !isalien(target) && prob(60))
|
||||
var/mob/living/carbon/human/H = user
|
||||
switch(blood_level)
|
||||
if(SURGERY_BLOODSPREAD_HANDS)
|
||||
|
||||
Reference in New Issue
Block a user