final stuff, i think?
This commit is contained in:
@@ -834,15 +834,16 @@
|
||||
update_icon()
|
||||
|
||||
/obj/item/toy/cards/deck/update_icon_state()
|
||||
switch(cards.len)
|
||||
if(original_size*0.5 to INFINITY)
|
||||
switch(LAZYLEN(cards))
|
||||
if(27 to INFINITY)
|
||||
icon_state = "deck_[deckstyle]_full"
|
||||
if(original_size*0.25 to original_size*0.5)
|
||||
if(11 to 27)
|
||||
icon_state = "deck_[deckstyle]_half"
|
||||
if(1 to original_size*0.25)
|
||||
if(1 to 11)
|
||||
icon_state = "deck_[deckstyle]_low"
|
||||
else
|
||||
icon_state = "deck_[deckstyle]_empty"
|
||||
return ..()
|
||||
|
||||
/obj/item/toy/cards/deck/attack_self(mob/user)
|
||||
if(cooldown < world.time - 50)
|
||||
|
||||
Reference in New Issue
Block a user