Custom DreamDaemon Parameters

Closes #949
This commit is contained in:
Jordan Brown
2020-11-06 13:02:09 -05:00
parent bf390840c5
commit ad75600890
23 changed files with 3376 additions and 14 deletions
+4
View File
@@ -20,6 +20,10 @@
var/datum/tgs_version/dmapi_version = new /datum/tgs_version(TGS_DMAPI_VERSION)
if(!active_version.Equals(dmapi_version))
text2file("DMAPI version [TGS_DMAPI_VERSION] does not match active API version [active_version.raw_parameter]", "test_fail_reason.txt")
var/list/world_params = params2list(world.params)
if(!("test" in world_params) || world_params["test"] != "bababooey")
text2file("Expected parameter test=bababooey but did not receive", "test_fail_reason.txt")
world.log << "sleep2"
sleep(150)