Better Flagpatches (#16433)

* Flagpatches

  - imageadd: "Adds more generic flagpatch shapes. Improves how flagpatch sprites are shaded."

* fixes

* fix
This commit is contained in:
Wowzewow (Wezzy)
2023-06-22 21:24:53 +00:00
committed by GitHub
parent 65351bc320
commit 127101d762
4 changed files with 84 additions and 6 deletions
@@ -514,12 +514,20 @@
path = /obj/item/clothing/accessory/bandanna/colorable
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
/datum/gear/accessory/flagpatch_colorable
display_name = "generic flagpatch"
path = /obj/item/clothing/accessory/flagpatch
/datum/gear/accessory/flagpatch
display_name = "generic flagpatch selection"
path = /obj/item/clothing/accessory/flagpatch/rectangular
flags = GEAR_HAS_NAME_SELECTION | GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
cost = 0
/datum/gear/accessory/flagpatch/New()
..()
var/list/flagpatch = list()
flagpatch["rectangular flagpatch"] = /obj/item/clothing/accessory/flagpatch/rectangular
flagpatch["triangular flagpatch"] = /obj/item/clothing/accessory/flagpatch/triangular
flagpatch["circular flagpatch"] = /obj/item/clothing/accessory/flagpatch/circular
flagpatch["square flagpatch"] = /obj/item/clothing/accessory/flagpatch/square
gear_tweaks += new /datum/gear_tweak/path(flagpatch)
/datum/gear/accessory/flagpatch_national
display_name = "flagpatch selection"
@@ -629,4 +637,4 @@
/datum/gear/accessory/visegradi_sweater
display_name = "visegradi patterned sweater"
path = /obj/item/clothing/accessory/sweater/visegradi
flags = GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION
flags = GEAR_HAS_DESC_SELECTION | GEAR_HAS_COLOR_SELECTION