More gear tweak pain (#18607)

* sdfa

* sfda

* just to be safe, add some html strips guards to text inputs
This commit is contained in:
Fluffy
2024-03-10 11:35:27 +00:00
committed by GitHub
parent b4258e09fc
commit cbc35442c9
8 changed files with 98 additions and 29 deletions
@@ -175,7 +175,7 @@ var/datum/gear_tweak/shoe_layer/gear_tweak_shoe_layer = new()
return "Over"
/datum/gear_tweak/shoe_layer/get_metadata(var/user, var/metadata)
return input(user, "Choose whether you want the shoe to go over or under the uniform.", "Shoe Layer", metadata) as anything in list("Over", "Under")
return tgui_input_list(user, "Choose whether you want the shoe to go over or under the uniform.", "Shoe Layer", list("Over", "Under"), metadata)
/datum/gear_tweak/shoe_layer/tweak_item(var/obj/item/clothing/shoes/S, var/metadata)
if(!istype(S))