mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Ports new Bay SolGov suits as Commonwealth suits
This commit is contained in:
committed by
Darlantan
parent
000d3ad6b2
commit
3d2783aec7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user