[MIRROR] Added Skin Reagent Trait (#12322)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-01-25 00:11:53 +01:00
committed by GitHub
co-authored by SatinIsle
parent 6c60725aa5
commit 9f8cf616d5
7 changed files with 43 additions and 1 deletions
@@ -63,6 +63,11 @@
if (3) //TRAIT_PREF_TYPE_STRING
var/new_string = instance.apply_sanitization_to_string(preference, tgui_input_text(user, "What should the new value be?", instance.has_preferences[preference][2], trait_prefs[preference], MAX_NAME_LEN))
trait_prefs[preference] = new_string
if (4) //TRAIT_PREF_TYPE_LIST
if(LAZYLEN(instance.multiple_choice))
var/new_choice = tgui_input_list(user, "Choose an option for this trait preference:", "Trait Preference", instance.multiple_choice, trait_prefs[preference])
if(new_choice)
trait_prefs[preference] = new_choice
// Definition of the stuff for Ears
/datum/category_item/player_setup_item/general/traits