Adds more generic clothing paintkit.

This commit is contained in:
atermonera
2022-11-26 17:40:54 -08:00
parent 8332c551a1
commit dee4d2146b
+14 -3
View File
@@ -60,8 +60,8 @@
..()
/// Ponchos specifically, but other accessories may eventually need this.
/// Consequence of snowflake-y teshari code.
/obj/item/kit/accessory
/// Consequence of snowflake-y teshari code.
/obj/item/kit/accessory
name = "accessory modification kit"
desc = "A kit for modifying accessories."
@@ -78,6 +78,17 @@
to_chat(user, "You set about modifying the poncho into [new_name].")
return ..()
/// General clothing items, that need to set item_state..
/obj/item/kit/clothing
name = "clothing modification kit"
desc = "A kit for modifying clothing."
/obj/item/kit/clothing/customize(var/obj/item/clothing/I, var/mob/user)
if(istype(I) && can_customize(I))
I.sprite_sheets[SPECIES_TESHARI] = new_icon_override_file /// Will look the same on teshari and other species.
I.item_state = new_icon
return ..()
// Root hardsuit kit defines.
// Icons for modified hardsuits need to be in the proper .dmis because suit cyclers may cock them up.
/obj/item/kit/suit
@@ -339,4 +350,4 @@
name = "\"Gaoler\" Gygax customisation kit"
new_name = "Durand \"Gaoler\""
new_desc = "A bulky silver Gygax exosuit. The extra armour appears to be painted on, but it's very shiny."
new_icon = "recitence"
new_icon = "recitence"