Comments out clothing coverage.

Comments out the slot_is_accessible flag.
This commit is contained in:
Mark9013100
2015-10-30 13:45:43 -04:00
parent b50b5508ab
commit 61f9608324
3 changed files with 12 additions and 10 deletions
+8 -6
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,8 +364,10 @@ 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()
@@ -608,10 +610,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)