Moves the can_leave_fibers var to /obj/item/clothing instead of being on /atom (#23005)

* Ezpz

* GDN review

* Belts aren't clothing

* Update code/modules/clothing/clothing.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>

---------

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
DGamerL
2023-10-26 10:41:55 +01:00
committed by GitHub
co-authored by Ryan
parent 7db1d5b63d
commit b31e548c25
3 changed files with 6 additions and 6 deletions
-3
View File
@@ -37,9 +37,6 @@
//Detective Work, used for the duplicate data points kept in the scanners
var/list/original_atom
//Detective Work, used for allowing a given atom to leave its fibers on stuff. Allowed by default
var/can_leave_fibers = TRUE
var/admin_spawned = FALSE //was this spawned by an admin? used for stat tracking stuff.
var/initialized = FALSE
+3
View File
@@ -39,6 +39,9 @@
var/blockTracking
w_class = WEIGHT_CLASS_SMALL
/// Detective Work, used for allowing a given atom to leave its fibers on stuff. Allowed by default
var/can_leave_fibers = TRUE
/obj/item/clothing/update_icon_state()
if(!can_toggle)
return
@@ -29,10 +29,10 @@
//Equipment slots
var/obj/item/clothing/under/w_uniform = null
var/obj/item/shoes = null
var/obj/item/clothing/shoes = null
var/obj/item/belt = null
var/obj/item/gloves = null
var/obj/item/glasses = null
var/obj/item/clothing/gloves = null
var/obj/item/clothing/glasses = null
var/obj/item/l_ear = null
var/obj/item/r_ear = null
var/obj/item/wear_id = null