Revert "TGUI alerts, lists, inputs"
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
///changing input ammount with a window
|
||||
/obj/machinery/plumbing/bottler/interact(mob/user)
|
||||
. = ..()
|
||||
wanted_amount = clamp(round(tgui_input_num(user,"maximum is 100u","set ammount to fill with"), 1), 1, 100)
|
||||
wanted_amount = clamp(round(input(user,"maximum is 100u","set ammount to fill with") as num|null, 1), 1, 100)
|
||||
reagents.clear_reagents()
|
||||
to_chat(user, "<span class='notice'> The [src] will now fill for [wanted_amount]u.</span>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user