Ports new Bay SolGov suits as Commonwealth suits

This commit is contained in:
Chompstation Bot
2021-07-15 19:03:09 +00:00
committed by Darlantan
parent 000d3ad6b2
commit 3d2783aec7
107 changed files with 6827 additions and 516 deletions

View File

@@ -96,7 +96,7 @@
//this has to mirror the way update_inv_*_hand() selects the state
/datum/custom_item/proc/get_state(var/obj/item/item, var/slot_str, var/hand_str)
var/t_state
if(item.item_state_slots && item.item_state_slots[slot_str])
if(LAZYACCESS(item.item_state_slots, slot_str))
t_state = item.item_state_slots[slot_str]
else if(item.item_state)
t_state = item.item_state
@@ -111,7 +111,7 @@
var/icon/t_icon
if(item.icon_override)
t_icon = item.icon_override
else if(item.item_icons && (slot_str in item.item_icons))
else if(LAZYACCESS(item.item_icons, slot_str))
t_icon = item.item_icons[slot_str]
else
t_icon = hand_icon