diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 6a5dd3b8d5..451c3c73dc 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -526,9 +526,10 @@ GLOBAL_LIST_EMPTY(preferences_datums) // list out the current markings you have if(length(features[marking_type])) dat += "" - for(var/list/marking_list in features[marking_type]) + var/list/markings = features[marking_type] + for(var/list/marking_list in markings) var/actual_name = GLOB.bodypart_names[num2text(marking_list[1])] // get the actual name from the bitflag representing the part the marking is applied to - dat += "" + dat += "" dat += "
[marking_list[2]] - [actual_name] ˄ ˅ X
[marking_list[2]] - [actual_name] ˄ ˅ X
" for(var/mutant_part in GLOB.all_mutant_parts) @@ -2413,6 +2414,29 @@ GLOBAL_LIST_EMPTY(preferences_datums) var/selected_body_sprite = input(user, "Choose your desired body sprite", "Character Preference") as null|anything in pref_species.allowed_limb_ids if(selected_body_sprite) chosen_limb_id = selected_body_sprite //this gets sanitized before loading + + if("marking_down") + // move the specified marking down + var/index = href_list["marking_index"] + var/marking_type = href_list["marking_type"] + if(index && marking_type && features[marking_type]) + // placeholder + var/a + + if("marking_up") + // move the specified marking up + var/index = href_list["marking_index"] + var/marking_type = href_list["marking_type"] + if(index && marking_type && features[marking_type]) + // placeholder + var/a + + if("marking_remove") + // remove the specified marking + var/marking_list = href_list["marking_list"] + var/marking_type = href_list["marking_type"] + if(marking_list && marking_type && features[marking_type]) + features[marking_type] -= marking_list else switch(href_list["preference"]) //CITADEL PREFERENCES EDIT - I can't figure out how to modularize these, so they have to go here. :c -Pooj