Removes all uses of text() (#75766)

## About The Pull Request

Apperantly it's deprecated. Also people misunderstand how to use it,
which leads to silly looking code and redundant wraps.

It is potentially useful to do a sort of format style string embedding,
but we don't have anything that really warrents it IMO.

## Why It's Good For The Game

Maybe byond will break on version upgrade slightly less now.
Also the code's less cluttered, and boomer posting has been excised.


![image](https://github.com/tgstation/tgstation/assets/58055496/c630e522-962c-4344-80f7-36d5df00a8b5)

![image](https://github.com/tgstation/tgstation/assets/58055496/f4cb3eb5-f07f-4489-8813-f59b19406bda)

![image](https://github.com/tgstation/tgstation/assets/58055496/6df7eb62-dae8-43b5-a511-1130ab4a2870)
This commit is contained in:
LemonInTheDark
2023-06-01 13:13:33 -07:00
committed by GitHub
parent 0a273ce37e
commit cb4a836d41
21 changed files with 61 additions and 61 deletions
+7 -7
View File
@@ -7,19 +7,19 @@
if(!check_rights(R_ADMIN))
return
var/devastation = input("Range of total devastation. -1 to none", text("Input")) as num|null
var/devastation = input("Range of total devastation. -1 to none", "Input") as num|null
if(devastation == null)
return
var/heavy = input("Range of heavy impact. -1 to none", text("Input")) as num|null
var/heavy = input("Range of heavy impact. -1 to none", "Input") as num|null
if(heavy == null)
return
var/light = input("Range of light impact. -1 to none", text("Input")) as num|null
var/light = input("Range of light impact. -1 to none", "Input") as num|null
if(light == null)
return
var/flash = input("Range of flash. -1 to none", text("Input")) as num|null
var/flash = input("Range of flash. -1 to none", "Input") as num|null
if(flash == null)
return
var/flames = input("Range of flames. -1 to none", text("Input")) as num|null
var/flames = input("Range of flames. -1 to none", "Input") as num|null
if(flames == null)
return
@@ -40,10 +40,10 @@
if(!check_rights(R_ADMIN))
return
var/heavy = input("Range of heavy pulse.", text("Input")) as num|null
var/heavy = input("Range of heavy pulse.", "Input") as num|null
if(heavy == null)
return
var/light = input("Range of light pulse.", text("Input")) as num|null
var/light = input("Range of light pulse.", "Input") as num|null
if(light == null)
return