makes w_class use defines (#9848)

This commit is contained in:
Wowzewow (Wezzy)
2020-09-07 04:37:56 +08:00
committed by GitHub
parent d90e7f199b
commit 307c214541
304 changed files with 807 additions and 765 deletions
@@ -6,7 +6,7 @@
name = "implant"
icon = 'icons/obj/device.dmi'
icon_state = "implant"
w_class = 1
w_class = ITEMSIZE_TINY
var/implanted = null
var/mob/imp_in = null
var/obj/item/organ/external/part = null
@@ -8,7 +8,7 @@
item_state = "implantcase"
throw_speed = 1
throw_range = 5
w_class = 1.0
w_class = ITEMSIZE_TINY
var/obj/item/implant/imp = null
/obj/item/implantcase/proc/update()
@@ -9,7 +9,7 @@
item_state = "syringe_0"
throw_speed = 1
throw_range = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
matter = list(DEFAULT_WALL_MATERIAL = 320, MATERIAL_GLASS = 800)
var/obj/item/implant/imp = null
@@ -232,4 +232,4 @@
user.drop_from_inventory(I, src)
update()
return
..()
..()
@@ -8,7 +8,7 @@
item_state = "electronic"
throw_speed = 1
throw_range = 5
w_class = 2.0
w_class = ITEMSIZE_SMALL
var/obj/item/implantcase/case = null
var/broadcasting = null
var/listening = TRUE