File standardisation (#13131)

* Adds the check components

* Adds in trailing newlines

* Converts all CRLF to LF

* Post merge EOF

* Post merge line endings

* Final commit
This commit is contained in:
AffectedArc07
2020-03-17 22:08:51 +00:00
committed by GitHub
parent ec19ea3d2d
commit 04ba5c1cc9
1451 changed files with 183694 additions and 183593 deletions
@@ -18,4 +18,4 @@
/obj/item/modular_computer/laptop/preset/civillian/install_programs()
var/obj/item/computer_hardware/hard_drive/hard_drive = all_components[MC_HDD]
hard_drive.store_file(new/datum/computer_file/program/chatclient())
hard_drive.store_file(new/datum/computer_file/program/nttransfer())
hard_drive.store_file(new/datum/computer_file/program/nttransfer())
@@ -71,4 +71,4 @@
if(MC_SDD)
machinery_computer.verbs -= /obj/machinery/modular_computer/proc/eject_disk
if(MC_AI)
machinery_computer.verbs -= /obj/machinery/modular_computer/proc/eject_card
machinery_computer.verbs -= /obj/machinery/modular_computer/proc/eject_card
@@ -9,4 +9,4 @@
max_hardware_size = 1
w_class = WEIGHT_CLASS_SMALL
steel_sheet_cost = 1
slot_flags = SLOT_ID | SLOT_BELT
slot_flags = SLOT_ID | SLOT_BELT
@@ -73,4 +73,4 @@
/obj/machinery/modular_computer/console/preset/civilian/install_programs()
var/obj/item/computer_hardware/hard_drive/hard_drive = cpu.all_components[MC_HDD]
hard_drive.store_file(new/datum/computer_file/program/chatclient())
hard_drive.store_file(new/datum/computer_file/program/nttransfer())
hard_drive.store_file(new/datum/computer_file/program/nttransfer())
@@ -50,4 +50,4 @@
if(cpu)
cpu.screen_on = 1
update_icon()
update_icon()
@@ -47,4 +47,4 @@ var/global/file_uid = 0
input_password = sanitize(input(user, "Please enter a password to access file '[filename]':"))
if(input_password == password)
return TRUE
return FALSE
return FALSE
@@ -100,4 +100,4 @@
data["relays"] += list(list("id" = R.uid))
data["focus"] = target ? target.uid : null
return data
return data
@@ -71,4 +71,4 @@
data["armed"] = armed
return data
return data
@@ -481,4 +481,4 @@
data["regions"] = regions
return data
return data
@@ -382,4 +382,4 @@
to_chat(usr, "<span class='danger'>Nano-Mob Hunter GO! game server is offline for extended maintenance. Contact your Central Command administrators for more info if desired.</span>")
SSnanoui.update_uis(src)
return 1
return 1
@@ -68,4 +68,4 @@
"lost_sources" = lost_sources.len ? sanitize(english_list(lost_sources, nothing_text = "", and_text = ", ")) : ""))
data["categories"] = categories
return data
return data
@@ -45,4 +45,4 @@
data["powerdemand"] = powernet.load
data["apcs"] = apc_repository.apc_data(powernet)
return data
return data
@@ -225,4 +225,4 @@
if(!F || F.undeletable)
return 1
if(F.can_access_file(usr))
F.password = ""
F.password = ""
@@ -175,4 +175,4 @@
/datum/computer_file/program/ntnetdownload/kill_program(forced)
abort_file_download()
return ..(forced)
return ..(forced)
@@ -192,4 +192,4 @@ var/global/nttransfer_uid = 0
)))
data["servers"] = all_servers
return data
return data
@@ -134,4 +134,4 @@
/datum/computer_file/program/aidiag/kill_program(forced)
restoring = FALSE
return ..(forced)
return ..(forced)
@@ -87,4 +87,4 @@
data["ntnetlogs"] += list(list("entry" = i))
data["ntnetmaxlogs"] = ntnet_global.setting_maxlogcount
return data
return data
@@ -41,4 +41,4 @@
w_class = WEIGHT_CLASS_TINY
power_usage = 75
max_idle_programs = 2
origin_tech = "programming=4;engineering=3"
origin_tech = "programming=4;engineering=3"
@@ -77,4 +77,4 @@
if(istype(I, /obj/item/screwdriver))
to_chat(user, "<span class='notice'>You press down on the manual eject button with \the [I].</span>")
try_eject(0, user, 1)
return
return
@@ -106,4 +106,4 @@
desc = "A tiny power cell, commonly seen in low-end portable microcomputers."
icon_state = "cell_micro"
w_class = WEIGHT_CLASS_TINY
maxcharge = 300
maxcharge = 300
@@ -170,4 +170,4 @@
origin_tech = "programming=1;engineering=1"
max_capacity = 32
icon_state = "ssd_micro"
w_class = WEIGHT_CLASS_TINY
w_class = WEIGHT_CLASS_TINY
@@ -67,4 +67,4 @@
icon_state = "printer_mini"
w_class = WEIGHT_CLASS_TINY
stored_paper = 5
max_paper = 15
max_paper = 15