modified process scheduler, 510 compatibility, explosions moved to process

this is all very alpha please don't hate me too much if i fucked it up
This commit is contained in:
drsingh
2016-03-12 16:36:00 -08:00
parent d8a2d60915
commit dc4217b498
125 changed files with 767 additions and 820 deletions
@@ -122,7 +122,7 @@ datum/controller/pathogen
proc/patient_zero(var/datum/pathogen_cdc/CDC, var/topic_holder)
if (CDC.patient_zero)
return dd_replacetext(CDC.patient_zero_kname, "%holder%", "\ref[topic_holder]")
return replacetext(CDC.patient_zero_kname, "%holder%", "\ref[topic_holder]")
Topic(href, href_list)
var/key = usr.ckey
@@ -1,18 +1,18 @@
/proc/shakespearify(var/string)
string = dd_replacetext(string, "your ", "[pick("thy", "thine")] ")
string = dd_replacetext(string, " your", " [pick("thy", "thine")]")
string = dd_replacetext(string, " is ", " be ")
string = dd_replacetext(string, "you ", "thou ")
string = dd_replacetext(string, " you", " thou")
string = dd_replacetext(string, "are ", "art ")
string = dd_replacetext(string, " are", " art")
string = dd_replacetext(string, "does ", "doth ")
string = dd_replacetext(string, " does", " doth")
string = dd_replacetext(string, "do ", "doth ")
string = dd_replacetext(string, " do", " doth")
string = dd_replacetext(string, "she ", "the lady ")
string = dd_replacetext(string, " she", " the lady")
string = dd_replacetext(string, "i think", "methinks")
string = replacetext(string, "your ", "[pick("thy", "thine")] ")
string = replacetext(string, " your", " [pick("thy", "thine")]")
string = replacetext(string, " is ", " be ")
string = replacetext(string, "you ", "thou ")
string = replacetext(string, " you", " thou")
string = replacetext(string, "are ", "art ")
string = replacetext(string, " are", " art")
string = replacetext(string, "does ", "doth ")
string = replacetext(string, " does", " doth")
string = replacetext(string, "do ", "doth ")
string = replacetext(string, " do", " doth")
string = replacetext(string, "she ", "the lady ")
string = replacetext(string, " she", " the lady")
string = replacetext(string, "i think", "methinks")
return string
/mob/living/carbon/human/proc/become_ice_statue()
@@ -481,7 +481,7 @@
gui.sendToSubscribers({"{"splice":{"source":[sOut],"target":[tOut],"pred":[predictive_data],"selSource":[src.manip.sel_source],"selTarget":[src.manip.sel_target],"selected":[src.manip.splicesource]}}"}, "setUIState")
proc/sendAnalysisData()
var/out = {"{"analysis":{"curr":"[src.manip.analysis]","predeffect":[db.certainty],"buttons":"[dd_list2text(src.manip.analysis_list,"")]""}
var/out = {"{"analysis":{"curr":"[src.manip.analysis]","predeffect":[db.certainty],"buttons":"[jointext(src.manip.analysis_list,"")]""}
if(src.manip.last_analysis)
out += {","prev":[src.manip.last_analysis]"}
out += "}}"