This commit is contained in:
Guti
2024-09-09 02:36:53 +02:00
parent 7ddba46758
commit 409aaba802
2375 changed files with 61869 additions and 61871 deletions
@@ -49,12 +49,12 @@ var/global/datum/ntnet/ntnet_global = new()
build_emails_list()
add_log("NTNet logging system activated.")
/datum/ntnet/proc/add_log_with_ids_check(var/log_string, var/obj/item/weapon/computer_hardware/network_card/source = null)
/datum/ntnet/proc/add_log_with_ids_check(var/log_string, var/obj/item/computer_hardware/network_card/source = null)
if(intrusion_detection_enabled)
add_log(log_string, source)
// Simplified logging: Adds a log. log_string is mandatory parameter, source is optional.
/datum/ntnet/proc/add_log(var/log_string, var/obj/item/weapon/computer_hardware/network_card/source = null)
/datum/ntnet/proc/add_log(var/log_string, var/obj/item/computer_hardware/network_card/source = null)
var/log_text = "[stationtime2text()] - "
if(source)
log_text += "[source.get_network_tag()] - "
@@ -8,7 +8,7 @@
icon_state = "ntnet"
anchored = TRUE
density = TRUE
circuit = /obj/item/weapon/circuitboard/ntnet_relay
circuit = /obj/item/circuitboard/ntnet_relay
var/datum/ntnet/NTNet = null // This is mostly for backwards reference and to allow varedit modifications from ingame.
var/enabled = 1 // Set to 0 if the relay was turned off
var/dos_failure = 0 // Set to 1 if the relay failed due to (D)DoS attack