Enabled communication with Subspace transmitters and squashed bugs (#8723)

First, cycle speed of all NTSL2+ programs has been increased by a factor of, on average 10. Cycles are much faster than I gave them credit for in my original pull.

Secondly, a bug in which programs could bug out and appear on multiple computers should have been squashed.

Thirdly and most importantly, NTSL2+ can now talk to Integrated Electronics via the Subspace Transmitter Part.
when net.subscribe("channel"){print(message)} and net.message("channel", "contents") can be used for this.
This commit is contained in:
William Lemon
2020-04-25 23:43:24 +10:00
committed by GitHub
parent 5c08a085ec
commit aceffc62ed
5 changed files with 90 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
/datum/computer_file/program/ntsl2_interpreter/process_tick()
if(istype(running))
running.cycle(5000)
running.cycle(30000)
..()
/datum/computer_file/program/ntsl2_interpreter/kill_program()
@@ -50,8 +50,8 @@
if(copytext(topc, 1, 2) == "?")
topc = copytext(topc, 2) + "?" + input("", "Enter Data")
running.topic(topc)
running.cycle(300)
. = TRUE
running.cycle(5000)
. = 1
if(href_list["PRG_refresh"])
. = TRUE