Base systems pretty much done.

Still need to convert the id computer program.
This commit is contained in:
Shadowlight213
2016-08-05 22:51:53 -07:00
parent 5d9bc548a2
commit 0c9554cd35
45 changed files with 1431 additions and 1786 deletions
@@ -88,7 +88,7 @@
/obj/item/weapon/computer_hardware/hard_drive/proc/install_default_programs()
store_file(new/datum/computer_file/program/computerconfig(src)) // Computer configuration utility, allows hardware control and displays more info than status bar
store_file(new/datum/computer_file/program/ntnetdownload(src)) // NTNet Downloader Utility, allows users to download more software from NTNet repository
// store_file(new/datum/computer_file/program/filemanager(src)) // File manager, allows text editor functions and basic file manipulation.
store_file(new/datum/computer_file/program/filemanager(src)) // File manager, allows text editor functions and basic file manipulation.
// Use this proc to remove file from the drive. Returns 1 on success and 0 on failure. Contains necessary sanity checks.
@@ -22,6 +22,7 @@
return 1
// Nanopaste. Repair all damage if present for a single unit.
var/obj/item/stack/S = W
/*
if(istype(S, /obj/item/stack/sheet/glass))
if(!damage)
user << "\The [src] doesn't seem to require repairs."
@@ -30,6 +31,7 @@
user << "You apply a bit of \the [W] to \the [src]. It immediately repairs all damage."
damage = 0
return 1
*/
// Cable coil. Works as repair method, but will probably require multiple applications and more cable.
if(istype(S, /obj/item/stack/cable_coil))
if(!damage)
@@ -76,16 +76,15 @@ var/global/ntnet_card_uid = 1
return 0
if(holder2)
return 2
/*
var/turf/T = get_turf(holder2)
if((T && istype(T)) && T.z in using_map.station_levels)
if((T && istype(T)) && T.z == ZLEVEL_STATION)
// Computer is on station. Low/High signal depending on what type of network card you have
if(long_range)
return 2
else
return 1
*/
if(long_range) // Computer is not on station, but it has upgraded network card. Low signal.
return 1