mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Fix brainless Cyborg (#25100)
* Fix brainless Cyborg * Give me my GBP!!! * contra review & default value
This commit is contained in:
@@ -855,15 +855,17 @@
|
||||
organ = "kidneys"
|
||||
|
||||
var/new_state = tgui_input_list(user, "What state do you wish the organ to be in?", "[organ_name]", list("Normal", "Cybernetic"))
|
||||
if(!new_state) return
|
||||
|
||||
if(!new_state)
|
||||
return
|
||||
switch(new_state)
|
||||
if("Normal")
|
||||
active_character.organ_data[organ] = null
|
||||
if("Cybernetic")
|
||||
active_character.organ_data[organ] = "cybernetic"
|
||||
if("cyborg_brain_type")
|
||||
var/brain_type = tgui_input_list(user, "What type of brain would you like to have as a cyborg?", "Cyborg Brain Type", GLOB.borg_brain_choices)
|
||||
var/brain_type = tgui_input_list(user, "What type of brain would you like to have as a cyborg?", "Cyborg Brain Type", GLOB.borg_brain_choices, active_character.cyborg_brain_type)
|
||||
if(!(brain_type in GLOB.borg_brain_choices))
|
||||
return
|
||||
active_character.cyborg_brain_type = brain_type
|
||||
if("clientfps")
|
||||
var/version_message
|
||||
|
||||
Reference in New Issue
Block a user