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
+2 -2
View File
@@ -3,7 +3,7 @@
desc = "Used to unlock things."
icon = 'icons/obj/items.dmi'
icon_state = "keys"
w_class = 1
w_class = ITEMSIZE_TINY
var/key_data = ""
/obj/item/key/New(var/newloc,var/data)
@@ -25,4 +25,4 @@
user.drop_from_inventory(src,user)
to_chat(user, "<span class='warning'>\The [src] crumbles in your hands!</span>")
qdel(src)
return ..()
return ..()
+1 -1
View File
@@ -3,7 +3,7 @@
desc = "A crude but useful lock and bolt."
icon = 'icons/obj/storage.dmi'
icon_state = "largebinemag"
w_class = 1
w_class = ITEMSIZE_TINY
var/lock_data
/obj/item/material/lock_construct/New()