mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-25 06:06:34 +01:00
Closed umbrellas are smaller.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
slot_flags = SLOT_BELT
|
||||
force = 5
|
||||
throwforce = 5
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
w_class = ITEMSIZE_SMALL
|
||||
var/open = FALSE
|
||||
|
||||
/obj/item/weapon/melee/umbrella/New()
|
||||
@@ -36,6 +36,7 @@
|
||||
addblends = icon_state + "_a"
|
||||
item_state = icon_state
|
||||
update_icon()
|
||||
w_class = open ? ITEMSIZE_NORMAL : ITEMSIZE_SMALL
|
||||
if(ishuman(src.loc))
|
||||
var/mob/living/carbon/human/H = src.loc
|
||||
H.update_inv_l_hand(0)
|
||||
|
||||
Reference in New Issue
Block a user