There's a bounty for this right? i spent nearly two full days at this
This commit is contained in:
@@ -116,7 +116,7 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
differences[i] = value
|
||||
if(length(worths) && !length(differences))
|
||||
return FALSE
|
||||
var/choice = input("Are you sure you want to destroy [loaded_item] to [!length(worths) ? "reveal [TN.display_name]" : "boost [TN.display_name] by [json_encode(differences)] point\s"]?") in list("Proceed", "Cancel")
|
||||
var/choice = tgui_input_list(user, "Are you sure you want to destroy [loaded_item] to [!length(worths) ? "reveal [TN.display_name]" : "boost [TN.display_name] by [json_encode(differences)] point\s"]?", "", list("Proceed", "Cancel"))
|
||||
if(choice == "Cancel")
|
||||
return FALSE
|
||||
if(QDELETED(loaded_item) || QDELETED(linked_console) || !user.Adjacent(linked_console) || QDELETED(src))
|
||||
@@ -134,7 +134,7 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
user_mode_string = " for [json_encode(point_value)] points"
|
||||
else if(loaded_item.custom_materials?.len)
|
||||
user_mode_string = " for material reclamation"
|
||||
var/choice = input("Are you sure you want to destroy [loaded_item][user_mode_string]?") in list("Proceed", "Cancel")
|
||||
var/choice = tgui_input_list(user, "Are you sure you want to destroy [loaded_item][user_mode_string]?", "", list("Proceed", "Cancel"))
|
||||
if(choice == "Cancel")
|
||||
return FALSE
|
||||
if(QDELETED(loaded_item) || QDELETED(linked_console) || !user.Adjacent(linked_console) || QDELETED(src))
|
||||
|
||||
@@ -153,7 +153,7 @@ Charged extracts:
|
||||
if(!istype(H))
|
||||
to_chat(user, "<span class='warning'>You must be a humanoid to use this!</span>")
|
||||
return
|
||||
var/racechoice = input(H, "Choose your slime subspecies.", "Slime Selection") as null|anything in subtypesof(/datum/species/jelly)
|
||||
var/racechoice = tgui_input_list(H, "Choose your slime subspecies.", "Slime Selection", subtypesof(/datum/species/jelly))
|
||||
if(!racechoice)
|
||||
to_chat(user, "<span class='notice'>You decide not to become a slime for now.</span>")
|
||||
return
|
||||
|
||||
@@ -28,7 +28,7 @@ Self-sustaining extracts:
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
/obj/item/autoslime/attack_self(mob/user)
|
||||
var/reagentselect = input(user, "Choose the reagent the extract will produce.", "Self-sustaining Reaction") as null|anything in extract.activate_reagents
|
||||
var/reagentselect = tgui_input_list(user, "Choose the reagent the extract will produce.", "Self-sustaining Reaction", extract.activate_reagents)
|
||||
var/amount = 5
|
||||
var/secondary
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ Stabilized extracts:
|
||||
generate_mobtype()
|
||||
|
||||
/obj/item/slimecross/stabilized/gold/attack_self(mob/user)
|
||||
var/choice = input(user, "Which do you want to reset?", "Familiar Adjustment") as null|anything in list("Familiar Location", "Familiar Species", "Familiar Sentience", "Familiar Name")
|
||||
var/choice = tgui_input_list(user, "Which do you want to reset?", "Familiar Adjustment", list("Familiar Location", "Familiar Species", "Familiar Sentience", "Familiar Name"))
|
||||
if(!user.canUseTopic(src, BE_CLOSE))
|
||||
return
|
||||
if(isliving(user))
|
||||
|
||||
Reference in New Issue
Block a user