Revert "Comments out clothing coverage."

This commit is contained in:
Neerti
2015-10-31 04:15:36 -04:00
parent 261cb58da0
commit 865f4b1d38
3 changed files with 10 additions and 12 deletions
+6 -8
View File
@@ -29,9 +29,9 @@
//It should be used purely for appearance. For gameplay effects caused by items covering body parts, use body_parts_covered.
var/flags_inv = 0
var/body_parts_covered = 0 //see setup.dm for appropriate bit flags
var/item_flags = 0 //Miscellaneous flags pertaining to equippable objects.
//var/heat_transfer_coefficient = 1 //0 prevents all transfers, 1 is invisible
var/gas_transfer_coefficient = 1 // for leaking gas from turf to mask and vice-versa (for masks right now, but at some point, i'd like to include space helmets)
var/permeability_coefficient = 1 // for chemicals/diseases
@@ -293,12 +293,12 @@ var/list/global/slot_flags_enumeration = list(
//Next check that the slot is free
if(H.get_equipped_item(slot))
return 0
/*
//Next check if the slot is accessible.
var/mob/_user = disable_warning? null : H
if(!H.slot_is_accessible(slot, src, _user))
return 0
*/
//Lastly, check special rules for the desired slot.
switch(slot)
if(slot_l_ear, slot_r_ear)
@@ -364,10 +364,8 @@ var/list/global/slot_flags_enumeration = list(
if(!canremove)
return 0
/*
if(!M.slot_is_accessible(slot, src, disable_warning? null : M))
return 0
*/
return 1
/obj/item/verb/verb_pickup()
@@ -610,10 +608,10 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
usr.visible_message("[zoomdevicename ? "[usr] looks up from the [src.name]" : "[usr] lowers the [src.name]"].")
return
/obj/item/proc/pwr_drain()
return 0 // Process Kill
/obj/item/proc/resolve_attackby(atom/A, mob/source)
return A.attackby(src,source)