mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
remove old inputs (#17008)
This commit is contained in:
@@ -152,7 +152,7 @@
|
||||
to_chat(M, span_notice("You don't feel cool enough to name this gun, chump."))
|
||||
return 0
|
||||
|
||||
var/input = sanitizeSafe(input("What do you want to name the gun?", ,""), MAX_NAME_LEN)
|
||||
var/input = sanitizeSafe(tgui_input_text(M,"What do you want to name the gun?","Rename Gun" ,"",MAX_NAME_LEN))
|
||||
|
||||
if(src && input && !M.stat && in_range(M,src))
|
||||
name = input
|
||||
@@ -173,7 +173,7 @@
|
||||
options["Lawson Arms LTX1020 (Stainless)"] = "stainstunrevolver"
|
||||
options["Lawson Arms LTX1020 (Ace)"] = "snubstunrevolver"
|
||||
options["Lawson Arms LTX1020 (Gold)"] = "goldstunrevolver"
|
||||
var/choice = input(M,"Choose your sprite!","Resprite Gun") in options
|
||||
var/choice = tgui_input_list(M,"Choose your sprite!","Resprite Gun", options)
|
||||
if(src && choice && !M.stat && in_range(M,src))
|
||||
icon_state = options[choice]
|
||||
unique_reskin = options[choice]
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
to_chat(M, span_notice("You don't feel cool enough to name this gun, chump."))
|
||||
return 0
|
||||
|
||||
var/input = sanitizeSafe(input(M, "What do you want to name the gun?", ,""), MAX_NAME_LEN)
|
||||
var/input = sanitizeSafe(tgui_input_text(M, "What do you want to name the gun?","Rename Gun" ,"",MAX_NAME_LEN))
|
||||
|
||||
if(src && input && !M.stat && in_range(M,src))
|
||||
name = input
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
to_chat(M, span_notice("You don't feel cool enough to name this gun, chump."))
|
||||
return 0
|
||||
|
||||
var/input = sanitizeSafe(input(M, "What do you want to name the gun?", ,""), MAX_NAME_LEN)
|
||||
var/input = sanitizeSafe(tgui_input_text(M, "What do you want to name the gun?","Rename Revolver" ,"",MAX_NAME_LEN))
|
||||
|
||||
if(src && input && !M.stat && in_range(M,src))
|
||||
name = input
|
||||
@@ -95,7 +95,7 @@
|
||||
to_chat(M, span_notice("You don't feel cool enough to name this gun, chump."))
|
||||
return 0
|
||||
|
||||
var/input = sanitizeSafe(input(M, "What do you want to name the gun?", ,""), MAX_NAME_LEN)
|
||||
var/input = sanitizeSafe(tgui_input_text(M, "What do you want to name the gun?","Rename Revolver" ,"", MAX_NAME_LEN), MAX_NAME_LEN)
|
||||
|
||||
if(src && input && !M.stat && in_range(M,src))
|
||||
name = input
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
set category = "Object"
|
||||
set desc = "Rename your gun."
|
||||
|
||||
var/input = sanitizeSafe(input(usr, "What do you want to name the gun?", ,""), MAX_NAME_LEN)
|
||||
var/input = sanitizeSafe(tgui_input_text(usr, "What do you want to name the gun?","Rename Shotgun" ,"",MAX_NAME_LEN))
|
||||
|
||||
var/mob/M = usr
|
||||
if(src && input && !M.stat && in_range(M,src))
|
||||
|
||||
Reference in New Issue
Block a user