Optimized and refactored list2text, text2list, and replacetext.

Also fixed some grammar in the station blueprint code.
This commit is contained in:
YotaXP
2014-01-07 22:15:25 -05:00
parent b2108a98ac
commit f98a57b750
17 changed files with 135 additions and 139 deletions
@@ -576,7 +576,7 @@ obj/structure/ex_act(severity)
if(text in direction_table)
return direction_table[text]
var/list/split_text = stringsplit(text, "-")
var/list/split_text = text2list(text, "-")
// If the first token is D, the icon_state represents
// a purely decorative tube, and doesn't actually