mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 07:32:02 +00:00
- Modular computers now support multitasking. - New hardware type added. Basic CPUs may be obtained when purchasing a laptop or tablet, Photonic CPUs can be printed at research at imprinter. This hardware piece determines how many programs can be on background. - Programs can now have an icon that is rendered in main UI's header (along with the power icons, etc.) when the program is on background. As an example, these icons have been added to NTNRC client (Dark icon when no messages have been received, blinking when new message is waiting), Alarm monitor (Blinking red when an alarm is active, green otherwise) and downloader program (Animated arrow when downloading, stationary when finished.) - Adds missing crew monitor icon to tablets. Fixes #11937
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
// CPU that allows the computer to run programs.
|
|
// Better CPUs are obtainable via research and can run more programs on background.
|
|
|
|
/obj/item/weapon/computer_hardware/processor_unit
|
|
name = "standard processor"
|
|
desc = "A standard CPU used in most computers. It can run up to three programs simultaneously."
|
|
icon_state = "cpu_normal"
|
|
hardware_size = 2
|
|
power_usage = 50
|
|
critical = 1
|
|
|
|
var/max_idle_programs = 2 // 2 idle, + 1 active = 3 as said in description.
|
|
|
|
/obj/item/weapon/computer_hardware/processor_unit/small
|
|
name = "standard microprocessor"
|
|
desc = "A standard miniaturised CPU used in portable devices. It can run up to two programs simultaneously."
|
|
icon_state = "cpu_small"
|
|
hardware_size = 1
|
|
power_usage = 25
|
|
max_idle_programs = 1
|
|
|
|
/obj/item/weapon/computer_hardware/processor_unit/photonic
|
|
name = "photonic processor"
|
|
desc = "An advanced experimental CPU that uses photonic core instead of regular circuitry. It can run up to five programs simultaneously, but uses a lot of power."
|
|
icon_state = "cpu_normal_photonic"
|
|
hardware_size = 2
|
|
power_usage = 250
|
|
max_idle_programs = 4
|
|
|
|
/obj/item/weapon/computer_hardware/processor_unit/photonic/small
|
|
name = "photonic microprocessor"
|
|
desc = "An advanced miniaturised CPU for use in portable devices. It uses photonic core instead of regular circuitry. It can run up to three programs simultaneously."
|
|
icon_state = "cpu_small_photonic"
|
|
hardware_size = 1
|
|
power_usage = 75
|
|
max_idle_programs = 2 |