[MIRROR] Converts suspenders to GAGS. (#6414)

* Converts suspenders to GAGS. (#59537)

Suspenders were already basically given a greyscale sprite by me in the past, this converts them to GAGS allowing custom recolors of them through existing code already in place.

* Converts suspenders to GAGS.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-06-20 22:54:53 +01:00
committed by GitHub
co-authored by ArcaneMusic
parent 3f70b53742
commit caeb25149d
7 changed files with 51 additions and 2 deletions
@@ -298,6 +298,16 @@
icon_file = 'icons/obj/items/cleric_mace.dmi'
json_config = 'code/datums/greyscale/json_configs/items/cleric_mace_worn_gold.json'
/datum/greyscale_config/suspenders
name = "Suspenders"
icon_file = 'icons/obj/clothing/belts.dmi'
json_config = 'code/datums/greyscale/json_configs/suspenders.json'
/datum/greyscale_config/suspenders/worn
name = "Worn Suspenders"
icon_file = 'icons/mob/clothing/suit.dmi'
json_config = 'code/datums/greyscale/json_configs/suspenders_worn.json'
/datum/greyscale_config/giftdeliverybox
name = "Gift Box"
icon_file = 'icons/obj/storage.dmi'
@@ -0,0 +1,18 @@
{
"suspenders": [
{
"type": "icon_state",
"icon_state": "suspenders",
"blend_mode": "overlay",
"color_ids": [ 1 ]
}
],
"suspenders_t": [
{
"type": "icon_state",
"icon_state": "suspenders_t",
"blend_mode": "overlay",
"color_ids": [ 1 ]
}
]
}
@@ -0,0 +1,18 @@
{
"suspenders": [
{
"type": "icon_state",
"icon_state": "suspenders",
"blend_mode": "overlay",
"color_ids": [ 1 ]
}
],
"suspenders_t": [
{
"type": "icon_state",
"icon_state": "suspenders_t",
"blend_mode": "overlay",
"color_ids": [ 1 ]
}
]
}
+3
View File
@@ -127,6 +127,9 @@
blood_overlay_type = "armor" //it's the less thing that I can put here
togglename = "straps"
species_exception = list(/datum/species/golem)
greyscale_config = /datum/greyscale_config/suspenders
greyscale_config_worn = /datum/greyscale_config/suspenders/worn
greyscale_colors = "#ff0000"
//Security
/obj/item/clothing/suit/security/officer
+2 -2
View File
@@ -639,13 +639,13 @@
name = "blue suspenders"
desc = "The symbol of hard labor and dirty jobs."
icon = 'icons/obj/clothing/belts.dmi'
icon_state = "suspenders_blue"
greyscale_colors = "#0000ff"
/obj/item/clothing/suit/toggle/suspenders/gray
name = "gray suspenders"
desc = "The symbol of hard labor and dirty jobs."
icon = 'icons/obj/clothing/belts.dmi'
icon_state = "suspenders_gray"
greyscale_colors = "#888888"
/obj/item/clothing/suit/hooded/mysticrobe
name = "mystic's robe"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 KiB

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB