heretics from tg (with changes)
This commit is contained in:
@@ -476,5 +476,19 @@
|
||||
hand_bodyparts[i] = BP
|
||||
..() //Don't redraw hands until we have organs for them
|
||||
|
||||
|
||||
//GetAllContents that is reasonable and not stupid
|
||||
/mob/living/carbon/proc/get_all_gear()
|
||||
var/list/processing_list = get_equipped_items() + held_items
|
||||
listclearnulls(processing_list) // handles empty hands
|
||||
var/i = 0
|
||||
while(i < length(processing_list) )
|
||||
var/atom/A = processing_list[++i]
|
||||
if(SEND_SIGNAL(A, COMSIG_CONTAINS_STORAGE))
|
||||
var/list/item_stuff = list()
|
||||
SEND_SIGNAL(A, COMSIG_TRY_STORAGE_RETURN_INVENTORY, item_stuff)
|
||||
processing_list += item_stuff
|
||||
return processing_list
|
||||
|
||||
/mob/canReachInto(atom/user, atom/target, list/next, view_only, obj/item/tool)
|
||||
return ..() && (user == src)
|
||||
|
||||
Reference in New Issue
Block a user