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
@@ -479,7 +479,7 @@ var/datum/gear_tweak/hair_block/gear_tweak_hair_block = new()
return "Default"
/datum/gear_tweak/hair_block/get_metadata(var/user, var/metadata)
return input(user, "Choose whether you want your headgear to block hair, or use the headgear's default.", "Hair Blocking", metadata) as anything in list("Yes", "No", "Default")
return tgui_input_list(user, "Choose whether you want your headgear to block hair, or use the headgear's default.", "Hair Blocking", list("Yes", "No", "Default"), metadata)
/datum/gear_tweak/hair_block/tweak_item(var/obj/item/clothing/head/H, var/metadata)
if(!istype(H))