Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
desc = "A stationary computer. This one comes preloaded with bureaucratic programs."

/obj/machinery/modular_computer/console/preset/command/hop/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/job_management())
hard_drive.store_file(new/datum/computer_file/program/crew_manifest())
Expand All @@ -134,6 +135,7 @@
desc = "A stationary computer. This one comes preloaded with security programs."

/obj/machinery/modular_computer/console/preset/command/hos/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/secureye())

Expand All @@ -143,6 +145,7 @@
desc = "A stationary computer. This one comes preloaded with engineering programs."

/obj/machinery/modular_computer/console/preset/command/ce/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/power_monitor())
hard_drive.store_file(new/datum/computer_file/program/alarm_monitor())
Expand All @@ -156,6 +159,7 @@
_has_ai = TRUE

/obj/machinery/modular_computer/console/preset/command/rd/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/ntnetmonitor())
hard_drive.store_file(new/datum/computer_file/program/aidiag())
Expand All @@ -168,6 +172,7 @@

/*
/obj/machinery/modular_computer/console/preset/command/cmo/install_programs()
. = ..()
var/obj/item/computer_hardware/hard_drive/hard_drive = cpu.all_components[MC_HDD]
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
var/base_active_power_usage = 100 // Power usage when the computer is open (screen is active) and can be interacted with. Remember hardware can use power too.
var/base_idle_power_usage = 10 // Power usage when the computer is idle and screen is off (currently only applies to laptops)

var/list/expansion_bays /// Lazy List of extra hardware slots that can be used modularly.
var/max_bays = 0 /// Number of total expansion bays this computer has available.

var/obj/item/modular_computer/processor/cpu = null // CPU that handles most logic while this type only handles power and other specific things.

/obj/machinery/modular_computer/Initialize()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
density = TRUE
base_idle_power_usage = 100
base_active_power_usage = 500
max_hardware_size = 4
max_hardware_size = WEIGHT_CLASS_BULKY
max_bays = 5
steel_sheet_cost = 10
light_strength = 2
max_integrity = 300
Expand Down Expand Up @@ -79,4 +80,4 @@
var/obj/structure/window/W = locate() in T
if(istype(T, /turf/closed/wall) || W)
pixel_x = offet_matrix[1]
pixel_y = offet_matrix[2]
pixel_y = offet_matrix[2]