Add record programs, keeps old consoles to avoid converting main maps. (#7225)

Add record printing (fixes #6042)
This commit is contained in:
Karolis
2019-12-23 09:46:15 +02:00
committed by Erki
parent c586d6a98c
commit 4e56f6e66e
21 changed files with 734 additions and 161 deletions
@@ -7,6 +7,8 @@
icon = 'icons/obj/modular_laptop.dmi'
icon_state = "laptop-open"
icon_state_broken = "laptop-broken"
randpixel = 6
center_of_mass = list("x"=14, "y"=10)
base_idle_power_usage = 25
base_active_power_usage = 200
max_hardware_size = 2
@@ -22,16 +22,19 @@
// Engineering
/obj/item/modular_computer/console/preset/engineering/
name = "engineering console"
_app_preset_name = "engineering"
enrolled = 1
// Medical
/obj/item/modular_computer/console/preset/medical/
name = "medical console"
_app_preset_name = "medical"
enrolled = 1
// Research
/obj/item/modular_computer/console/preset/research/
name = "research console"
_app_preset_name = "research"
enrolled = 1
@@ -41,6 +44,7 @@
// Command
/obj/item/modular_computer/console/preset/command/
name = "command console"
_app_preset_name = "command"
enrolled = 1
@@ -52,6 +56,7 @@
card_slot = new/obj/item/computer_hardware/card_slot(src)
/obj/item/modular_computer/console/preset/captain/
name = "captain's console"
_app_preset_name = "captain"
enrolled = 1
@@ -64,16 +69,29 @@
// Security
/obj/item/modular_computer/console/preset/security/
name = "security console"
_app_preset_name = "security"
enrolled = 1
/obj/item/modular_computer/console/preset/security/investigations
name = "investigations console"
_app_preset_name = "security_inv"
enrolled = 1
/obj/item/modular_computer/console/preset/security/hos
name = "head of security's console"
_app_preset_name = "security_head"
enrolled = 1
// Civilian
/obj/item/modular_computer/console/preset/civilian/
name = "civilian console"
_app_preset_name = "civilian"
enrolled = 1
// Supply
/obj/item/modular_computer/console/preset/supply/
name = "supply console"
_app_preset_name = "supply"
enrolled = 1
@@ -0,0 +1,107 @@
/obj/item/modular_computer/laptop/preset
anchored = 0
screen_on = 0
icon_state = "laptop-closed"
/obj/item/modular_computer/laptop/preset/install_default_hardware()
..()
processor_unit = new/obj/item/computer_hardware/processor_unit(src)
hard_drive = new/obj/item/computer_hardware/hard_drive(src)
network_card = new/obj/item/computer_hardware/network_card(src)
battery_module = new/obj/item/computer_hardware/battery_module(src)
battery_module.charge_to_full()
nano_printer = new/obj/item/computer_hardware/nano_printer(src)
nano_printer.max_paper = 10
nano_printer.stored_paper = 5
/obj/item/modular_computer/laptop/preset/install_default_programs()
..()
// Engineering
/obj/item/modular_computer/laptop/preset/engineering/
name = "engineering laptop"
desc = "A portable computer belonging to the engineering department. It appears to have been used as a door stop at one point or another."
_app_preset_name = "engineering"
enrolled = 1
/obj/item/modular_computer/laptop/preset/engineering/ce/
name = "chief engineer's laptop"
desc = "A portable computer belonging to the chief engineer."
_app_preset_name = "engineering_head"
// Medical
/obj/item/modular_computer/laptop/preset/medical/
name = "medical laptop"
desc = "A portable computer belonging to the medical department."
_app_preset_name = "medical"
enrolled = 1
/obj/item/modular_computer/laptop/preset/medical/cmo/
name = "chief medical officer's laptop"
desc = "A portable computer belonging to the chief medical officer."
_app_preset_name = "medical_head"
// Research
/obj/item/modular_computer/laptop/preset/research/
name = "research laptop"
desc = "A portable computer belonging to the research department."
_app_preset_name = "research"
enrolled = 1
/obj/item/modular_computer/laptop/preset/research/install_default_hardware()
..()
ai_slot = new/obj/item/computer_hardware/ai_slot(src)
/obj/item/modular_computer/laptop/preset/research/rd/
name = "research director's laptop"
desc = "A portable computer belonging to the research director. The edges are stained and partially melted."
_app_preset_name = "research_head"
// Command
/obj/item/modular_computer/laptop/preset/command/
name = "command laptop"
_app_preset_name = "command"
enrolled = 1
/obj/item/modular_computer/laptop/preset/command/hop/
name = "head of personnel's laptop"
desc = "A portable computer beloning to the head of personnel. The fan is filled with dog hair."
_app_preset_name = "command_hop"
/obj/item/modular_computer/laptop/preset/command/captain/
name = "captain's laptop"
desc = "A portable computer belonging to the captain."
_app_preset_name = "captain"
// Security
/obj/item/modular_computer/laptop/preset/security/
name = "security laptop"
desc = "A portable computer belonging to the security department."
_app_preset_name = "security"
enrolled = 1
/obj/item/modular_computer/laptop/preset/security/hos/
name = "head of security's laptop"
desc = "A portable computer belonging to the head of security. It smells faintly of gunpowder."
_app_preset_name = "security_head"
// Civilian
/obj/item/modular_computer/laptop/preset/civilian/
_app_preset_name = "civilian"
enrolled = 1
// Supply
/obj/item/modular_computer/laptop/preset/supply/
name = "supply laptop"
desc = "A portable computer belonging to cargo."
_app_preset_name = "supply"
enrolled = 1
// Representative
/obj/item/modular_computer/laptop/preset/representative/
name = "representative's laptop"
desc = "A portable computer belonging to the representative's office."
_app_preset_name = "representative"
enrolled = 1