Adds a unit test to check for any missing initial icon states (#8332)

This commit is contained in:
mikomyazaki
2020-02-23 05:43:12 +00:00
committed by GitHub
parent bc7286647e
commit 21f348ec57
106 changed files with 214 additions and 304 deletions

View File

@@ -5,7 +5,7 @@
/obj/item/device/electronic_assembly/clothing
name = "electronic clothing"
icon_state = "circuitry" // Needs to match the clothing's base icon_state.
var/clothing_icon_state = "circuitry" // Needs to match the clothing's base icon_state.
desc = "It's a case, for building machines attached to clothing."
w_class = ITEMSIZE_SMALL
max_components = IC_COMPONENTS_BASE
@@ -23,7 +23,7 @@
/obj/item/device/electronic_assembly/clothing/update_icon()
..()
clothing.icon_state = icon_state
clothing.icon_state = clothing_icon_state
// We don't need to update the mob sprite since it won't (and shouldn't) actually get changed.
// This is 'small' relative to the size of regular clothing assemblies.
@@ -189,4 +189,4 @@
/obj/item/clothing/suit/circuitry/Initialize()
setup_integrated_circuit(/obj/item/device/electronic_assembly/clothing/large)
return ..()
return ..()