mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
[MIRROR] Kitchen Sink PR (#10745)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
42483a1d4a
commit
667e08ee0a
@@ -542,14 +542,12 @@
|
||||
generate_data(ui.user, owner)
|
||||
changed_hook(APPEARANCECHANGER_CHANGED_RACE)
|
||||
return TRUE
|
||||
// CHOMPEnable Start
|
||||
if("species_sound")
|
||||
var/list/possible_species_sound_types = species_sound_map
|
||||
var/choice = tgui_input_list(ui.user, "Which set of sounds would you like to use? (Cough, Sneeze, Scream, Pain, Gasp, Death)", "Species Sounds", possible_species_sound_types)
|
||||
if(choice && can_change(owner, APPEARANCE_RACE))
|
||||
owner.species.species_sounds = choice
|
||||
return TRUE
|
||||
// CHOMPEnable End
|
||||
if("flavor_text")
|
||||
var/select_key = params["target"]
|
||||
if(select_key && can_change(owner, APPEARANCE_RACE))
|
||||
|
||||
Reference in New Issue
Block a user