Last editorconfig fixup (#17782)

* one

* two

* three

* fsdsdf
This commit is contained in:
Fluffy
2023-11-20 19:22:42 +01:00
committed by GitHub
parent 635c3d4398
commit c25c8b6a37
346 changed files with 408 additions and 367 deletions
@@ -128,4 +128,4 @@ With addition of various antag programs, IDS(Intrusion Detection System) will be
If enabled, this system automatically detects any abnormality and triggers a warning that's visible on the NTNet status screen, as well as generating a security log.
IDS can be disabled by simple on/off switch in the configuration.
*/
*/
@@ -30,4 +30,4 @@
icon = 'icons/obj/pda_slate.dmi'
/obj/item/modular_computer/handheld/pda/smart
icon = 'icons/obj/pda_smart.dmi'
icon = 'icons/obj/pda_smart.dmi'
@@ -26,4 +26,4 @@
. = ..()
hard_drive.store_file(new /datum/computer_file/program/pai_directives(src))
hard_drive.store_file(new /datum/computer_file/program/pai_radio(src))
hard_drive.store_file(new /datum/computer_file/program/pai_flashlight(src))
hard_drive.store_file(new /datum/computer_file/program/pai_flashlight(src))
@@ -50,4 +50,4 @@ var/global/file_uid = 0
if(input_password == password)
return TRUE
else
return FALSE
return FALSE
@@ -16,4 +16,4 @@
size = max(1, round(length(stored_data) / block_size))
/datum/computer_file/data/logfile
filetype = "LOG"
filetype = "LOG"
@@ -40,4 +40,4 @@
// /datum/computer_file/data/news_article/space/vol_five
// filename = "SPACE Magazine vol. 5"
// server_file_path = 'news_articles/space_magazine_5.html'
// archived = 0
// archived = 0
@@ -25,4 +25,4 @@
/datum/computer_file/program/pai_access_lock/program_hidden()
if(!computer.personal_ai)
return TRUE
return FALSE
return FALSE
@@ -11,4 +11,4 @@
return temp
/datum/computer_file/script/proc/calculate_size()
size = max(1, round(length(code) / block_size))
size = max(1, round(length(code) / block_size))
@@ -39,4 +39,4 @@
if(stored_card)
stored_card.forceMove(get_turf(parent_computer))
parent_computer = null
return ..()
return ..()
@@ -80,4 +80,4 @@
battery.charge = battery.maxcharge
/obj/item/computer_hardware/battery_module/get_cell()
return battery
return battery
@@ -96,4 +96,4 @@
// Damages the component. Contains necessary checks. Negative damage "heals" the component.
/obj/item/computer_hardware/proc/take_damage(var/amount)
damage += round(amount) // We want nice rounded numbers here.
damage = between(0, damage, max_damage) // Clamp the value.
damage = between(0, damage, max_damage) // Clamp the value.
@@ -46,4 +46,4 @@
if(parent_computer?.nano_printer == src)
parent_computer.nano_printer = null
parent_computer = null
return ..()
return ..()
@@ -109,4 +109,4 @@ var/global/ntnet_card_uid = 1
if(parent_computer?.network_card == src)
parent_computer.network_card = null
parent_computer = null
return ..()
return ..()
@@ -29,4 +29,4 @@
/obj/item/computer_hardware/hard_drive/portable/New()
..()
stored_files = list()
recalculate_size()
recalculate_size()
@@ -48,4 +48,4 @@
continue
// Check whether the program should be available for station/antag download, if yes, add it to lists.
if(prog.available_on_ntnet)
new /obj/item/computer_hardware/hard_drive/portable/backup(src, prog.filename)
new /obj/item/computer_hardware/hard_drive/portable/backup(src, prog.filename)
@@ -46,4 +46,4 @@
hardware_size = 1
power_usage = 75
max_idle_programs = 3
origin_tech = list(TECH_DATA = 4, TECH_ENGINEERING = 3)
origin_tech = list(TECH_DATA = 4, TECH_ENGINEERING = 3)