Files
Paradise/code/WorkInProgress/computer3/upload/programs.dm
DJSnapshot 8a33620554 Initial commit of Computer 3 from Paradise, along with a bunch of fixes.
Conflicts:
	code/__HELPERS/unsorted.dm
	code/datums/browser.dm
	code/setup.dm
	icons/obj/computer3.dmi
2014-06-23 06:02:36 -04:00

13 lines
458 B
Plaintext

/*
Note that as with existing ai upload, this is not an interactive program.
That means that the work is done in execute() rather than interact()
*/
/datum/file/program/upload/ai
execute(var/datum/file/program/source)
if(!interactable() || istype(usr,/mob/living/silicon))
return 0
if(!computer.net)
usr << "An indecipherable set of code flicks across the screen. Nothing else happens."
return
var/list/results = computer.net.get_machines