mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
Converts over the missing TGUI input lists (#23859)
* Converts over the missing TGUI input lists * last fixes * num revert
This commit is contained in:
@@ -125,8 +125,8 @@
|
||||
poll_icon = image(icon = 'icons/mob/robots.dmi', icon_state = "syndi-engi-preview")
|
||||
|
||||
/obj/item/antag_spawner/nuke_ops/borg_tele/before_candidate_search(mob/user)
|
||||
var/switch_roles_choice = input("Would you like to continue playing as an operative or take over as the cyborg? If you play as the cyborg, another player will control your old self.", "Play As") as null|anything in list("Nuclear Operative", "Syndicate Cyborg")
|
||||
if(!switch_roles_choice || !(check_usability(user)))
|
||||
var/switch_roles_choice = tgui_input_list(user, "Would you like to continue playing as an operative or take over as the cyborg? If you play as the cyborg, another player will control your old self.", "Play As", list("Nuclear Operative", "Syndicate Cyborg", "Don't activate this Cyborg Teleporter"))
|
||||
if(!switch_roles_choice || !(check_usability(user)) || switch_roles_choice == "Don't activate this Cyborg Teleporter")
|
||||
return FALSE
|
||||
|
||||
if(switch_roles_choice == "Syndicate Cyborg")
|
||||
|
||||
@@ -288,7 +288,7 @@
|
||||
for(var/mob/living/carbon/human/H as anything in targets)
|
||||
targets_by_name[H.real_name] = H
|
||||
|
||||
var/target_name = input(user, "Person to Locate", "Blood Stench") in targets_by_name
|
||||
var/target_name = tgui_input_list(user, "Person to Locate", "Blood Stench", targets_by_name)
|
||||
if(!target_name)
|
||||
return
|
||||
var/mob/living/carbon/human/target = targets_by_name[target_name]
|
||||
|
||||
Reference in New Issue
Block a user