mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 21:57:53 +01:00
[MIRROR] Added Skin Reagent Trait (#12322)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
co-authored by
SatinIsle
parent
6c60725aa5
commit
9f8cf616d5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user