mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Improvements to NTNet and file mechanics
- Small adjustments to NTNet behaviour. - Adds "undeletable" and "unmovable" flags for computer files. Intended to use for ROM-style programs that are necessary for PC to work. - Programs now know NTNet status and can act differently depending on this.
This commit is contained in:
@@ -16,6 +16,7 @@ var/global/datum/ntnet/ntnet_global = new()
|
||||
ntnet_global = src // There can be only one.
|
||||
for(var/obj/machinery/ntnet_relay/R in machines)
|
||||
relays.Add(R)
|
||||
R.NTNet = src
|
||||
|
||||
/datum/ntnet/proc/check_function(var/specific_action = 0)
|
||||
if(!relays || !relays.len) // No relays found. NTNet is down
|
||||
|
||||
Reference in New Issue
Block a user