mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Text() away (#19850)
Refactored all the builtin text procs to use string interpolation instead. Added a linting for the above. This is based on, and should only be merged after, #19847
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
INITIALIZE_IMMEDIATE(/obj/effect/landmark)
|
||||
/obj/effect/landmark/Initialize(mapload)
|
||||
. = ..()
|
||||
tag = text("landmark*[]", name)
|
||||
tag = "landmark*[name]"
|
||||
GLOB.landmarks_list += src
|
||||
|
||||
/obj/effect/landmark/Destroy()
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/obj/effect/manifest/proc/manifest()
|
||||
var/dat = "<B>Crew Manifest</B>:<BR>"
|
||||
for(var/mob/living/carbon/human/M in GLOB.mob_list)
|
||||
dat += text(" <B>[]</B> - []<BR>", M.name, M.get_assignment())
|
||||
dat += " <B>[M.name]</B> - [M.get_assignment()]<BR>"
|
||||
var/obj/item/paper/P = new /obj/item/paper( src.loc )
|
||||
P.info = dat
|
||||
P.name = "paper- 'Crew Manifest'"
|
||||
|
||||
Reference in New Issue
Block a user