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
+3 -3
View File
@@ -192,7 +192,7 @@
desc = "It is plastic and shiny."
icon = 'icons/obj/pieces.dmi'
icon_state = "checker_black"
w_class = 1
w_class = ITEMSIZE_TINY
var/piece_color ="black"
/obj/item/checker/Initialize()
@@ -208,7 +208,7 @@
desc = "This box holds a nifty portion of checkers."
icon_state = "checkers"
max_storage_space = 24
w_class = 1
w_class = ITEMSIZE_TINY
can_hold = list(/obj/item/checker)
/obj/item/storage/box/checkers/fill()
@@ -278,7 +278,7 @@
desc = "This box holds all the pieces needed for the black side of the chess board."
icon_state = "chess_b"
max_storage_space = 24
w_class = 2
w_class = ITEMSIZE_SMALL
can_hold = list(/obj/item/checker)
/obj/item/storage/box/chess/fill()
+3 -3
View File
@@ -4,7 +4,7 @@
var/back_icon = "card_back"
/obj/item/deck
w_class = 2
w_class = ITEMSIZE_SMALL
icon = 'icons/obj/playing_cards.dmi'
var/list/cards = list()
@@ -189,7 +189,7 @@
icon_state = "card_pack"
drop_sound = 'sound/items/drop/paper.ogg'
pickup_sound = 'sound/items/pickup/paper.ogg'
w_class = 1
w_class = ITEMSIZE_TINY
var/list/cards = list()
@@ -211,7 +211,7 @@
icon_state = null
drop_sound = 'sound/items/drop/paper.ogg'
pickup_sound = 'sound/items/pickup/paper.ogg'
w_class = 1
w_class = ITEMSIZE_TINY
var/concealed = 0
var/list/cards = list()