mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Monkey business
This commit is contained in:
@@ -278,9 +278,9 @@
|
||||
screen_loc = ui_internal
|
||||
|
||||
/obj/screen/internals/Click()
|
||||
if(!ishuman(usr))
|
||||
if(!iscarbon(usr))
|
||||
return
|
||||
var/mob/living/carbon/human/C = usr
|
||||
var/mob/living/carbon/C = usr
|
||||
if(C.incapacitated())
|
||||
return
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
toggle_internals(user)
|
||||
|
||||
/obj/item/tank/proc/toggle_internals(mob/user)
|
||||
var/mob/living/carbon/human/H = user
|
||||
var/mob/living/carbon/H = user
|
||||
if(!istype(H))
|
||||
return
|
||||
|
||||
|
||||
@@ -77,12 +77,6 @@
|
||||
s_store,
|
||||
)
|
||||
|
||||
/mob/living/carbon/human/proc/get_internal_slots()
|
||||
return list(
|
||||
head,
|
||||
wear_mask,
|
||||
)
|
||||
|
||||
//This is an UNSAFE proc. Use mob_can_equip() before calling this one! Or rather use equip_to_slot_if_possible() or advanced_equip_to_slot_if_possible()
|
||||
/mob/living/carbon/human/equip_to_slot(obj/item/I, slot)
|
||||
if(!..()) //a check failed or the item has already found its slot
|
||||
|
||||
@@ -140,3 +140,9 @@
|
||||
/mob/living/carbon/proc/get_holding_bodypart_of_item(obj/item/I)
|
||||
var/index = get_held_index_of_item(I)
|
||||
return index && hand_bodyparts[index]
|
||||
|
||||
/mob/living/carbon/proc/get_internal_slots()
|
||||
return list(
|
||||
head,
|
||||
wear_mask,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user