text be gone (#22929)

This commit is contained in:
Vi3trice
2023-10-26 05:39:11 -04:00
committed by GitHub
parent a1206bbd89
commit 85353104f7
35 changed files with 99 additions and 101 deletions
@@ -110,7 +110,7 @@ AI MODULES
..()
var/targName = stripped_input(usr, "Please enter the name of the person to safeguard.", "Safeguard who?", user.name)
targetName = targName
desc = text("A 'safeguard' AI module: 'Safeguard []. Individuals that threaten [] are not crew and must be eliminated.'", targetName, targetName)
desc = "A 'safeguard' AI module: 'Safeguard [targetName]. Individuals that threaten [targetName] are not crew and must be eliminated.'"
/obj/item/aiModule/safeguard/install(obj/machinery/computer/C)
if(!targetName)
@@ -120,7 +120,7 @@ AI MODULES
/obj/item/aiModule/safeguard/addAdditionalLaws(mob/living/silicon/ai/target, mob/sender)
..()
var/law = text("Safeguard []. Individuals that threaten [] are not crew and must be eliminated.'", targetName, targetName)
var/law = "Safeguard [targetName]. Individuals that threaten [targetName] are not crew and must be eliminated.'"
to_chat(target, law)
target.add_supplied_law(4, law)
GLOB.lawchanges.Add("The law specified [targetName]")
@@ -137,7 +137,7 @@ AI MODULES
..()
var/targName = stripped_input(usr, "Please enter the name of the person who is the only crew.", "Who?", user.real_name)
targetName = targName
desc = text("A 'one crew' AI module: 'Only [] is crew.'", targetName)
desc = "A 'one crew' AI module: 'Only [targetName] is crew.'"
/obj/item/aiModule/oneCrewMember/install(obj/machinery/computer/C)
if(!targetName)
+1 -1
View File
@@ -38,7 +38,7 @@
set src in usr
if(t)
src.name = text("Data Disk- '[]'", t)
src.name = "Data Disk- '[t]'"
else
src.name = "Data Disk"
src.add_fingerprint(usr)