Merge pull request #14221 from Seris02/tfmenuchanges

creates a tab in the TF menu for changing markings
This commit is contained in:
Casey
2022-12-23 11:23:36 -05:00
committed by GitHub
5 changed files with 189 additions and 2 deletions
@@ -372,14 +372,17 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
var/obj/item/organ/external/O = character.organs_by_name[N]
O.markings.Cut()
var/priority = 0
for(var/M in pref.body_markings)
priority += 1
var/datum/sprite_accessory/marking/mark_datum = body_marking_styles_list[M]
var/mark_color = "[pref.body_markings[M]]"
for(var/BP in mark_datum.body_parts)
var/obj/item/organ/external/O = character.organs_by_name[BP]
if(O)
O.markings[M] = list("color" = mark_color, "datum" = mark_datum)
O.markings[M] = list("color" = mark_color, "datum" = mark_datum, "priority" = priority)
character.markings_len = priority
var/list/last_descriptors = list()
if(islist(pref.body_descriptors))