makes w_class use defines (#9848)

This commit is contained in:
Wowzewow (Wezzy)
2020-09-06 17:37:56 -03:00
committed by GitHub
parent d90e7f199b
commit 307c214541
304 changed files with 807 additions and 765 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/obj/item/forensics
icon = 'icons/obj/forensics.dmi'
w_class = 1
w_class = ITEMSIZE_TINY
//This is the output of the stringpercent(print) proc, and means about 80% of
//the print must be there for it to be complete. (Prints are 32 digits)
@@ -38,4 +38,4 @@ atom/proc/add_fibers(mob/living/carbon/human/M)
if(M.gloves && (M.gloves.body_parts_covered & ~suit_coverage))
fibertext = "Material from a pair of [M.gloves.name]."
if(prob(20*item_multiplier) && !(fibertext in suit_fibers))
suit_fibers += "Material from a pair of [M.gloves.name]."
suit_fibers += "Material from a pair of [M.gloves.name]."
@@ -6,7 +6,7 @@
icon = 'icons/obj/storage.dmi'
icon_state = "evidenceobj"
item_state = ""
w_class = 2
w_class = ITEMSIZE_SMALL
var/obj/item/stored_item = null
/obj/item/evidencebag/MouseDrop(var/obj/item/I as obj)
+2 -2
View File
@@ -16,7 +16,7 @@
/obj/item/reagent_containers/glass/rag
name = "rag"
desc = "For cleaning up messes, you suppose."
w_class = 1
w_class = ITEMSIZE_TINY
icon = 'icons/obj/janitor.dmi'
icon_state = "rag"
amount_per_transfer_from_this = 5
@@ -275,7 +275,7 @@
/obj/item/reagent_containers/glass/rag/advanced
name = "microfiber cloth"
desc = "A synthetic fiber cloth; the split fibers and the size of the individual filaments make it more effective for cleaning purposes."
w_class = 1
w_class = ITEMSIZE_TINY
icon = 'icons/obj/janitor.dmi'
icon_state = "advrag"
amount_per_transfer_from_this = 10
@@ -1,7 +1,7 @@
/obj/item/sample
name = "forensic sample"
icon = 'icons/obj/forensics.dmi'
w_class = 1
w_class = ITEMSIZE_TINY
var/list/evidence = list()
/obj/item/sample/New(var/newloc, var/atom/supplied)
@@ -125,7 +125,7 @@
name = "fiber collection kit"
desc = "A magnifying glass and tweezers. Used to lift suit fibers."
icon_state = "m_glass"
w_class = 2
w_class = ITEMSIZE_SMALL
var/evidence_type = "fiber"
var/evidence_path = /obj/item/sample/fibers
@@ -4,7 +4,7 @@
icon = 'icons/obj/forensics.dmi'
icon_state = "markerbox"
icon_type = "marker"
w_class = 1
w_class = ITEMSIZE_TINY
storage_slots = 7
can_hold = list(/obj/item/csi_marker)
starts_with = list(
@@ -24,7 +24,7 @@
icon_state = "card1"
drop_sound = 'sound/items/drop/card.ogg'
pickup_sound = 'sound/items/pickup/card.ogg'
w_class = 1
w_class = ITEMSIZE_TINY
randpixel = 1
layer = ABOVE_MOB_LAYER //so you can mark bodies
var/number = 1
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "A small handheld black light."
icon_state = "uv_off"
slot_flags = SLOT_BELT
w_class = 2
w_class = ITEMSIZE_SMALL
item_state = "electronic"
matter = list(DEFAULT_WALL_MATERIAL = 150)
origin_tech = list(TECH_MAGNET = 1, TECH_ENGINEERING = 1)