Computer Stuff (#3932)

This started out as just some stuff for cargo.
Then it grew.

Fixed tablets and laptops not working due to some changes in #3826 that caused some old ballast to haunt us.
Changed the beeping sound of the modular computers to respect the ambience sound preference.
Added a application that can be used to pay and verify that a cargo order has been received
Added a delivery pad to cargo and spawns one in the CTs and QMs lockers.

Further tweaks to tablets and device enrollment in general are incoming, but I dont want to bloat this pr any further.
(I dont like how the company/private device system is implemented right now; It should rather be based upon the hard disk than the device itself)

closes #3931
This commit is contained in:
Werner
2017-12-09 00:39:28 +02:00
committed by Erki
parent 5e33bd0e2c
commit 5b7d63af57
17 changed files with 507 additions and 25 deletions
@@ -35,7 +35,7 @@
check_update_ui_need()
if (working && enabled && world.time > ambience_last_played + 30 SECONDS && prob(3))
playsound(loc, "computerbeep", 30, 1, 10)
playsound(loc, "computerbeep", 30, 1, 10, is_ambience = TRUE)
ambience_last_played = world.time
/obj/item/modular_computer/proc/get_preset_programs(var/app_preset_name)
@@ -77,6 +77,13 @@
_app_preset_name = "supply"
enrolled = 1
/obj/item/modular_computer/console/preset/supply/install_default_hardware()
..()
nano_printer = new/obj/item/weapon/computer_hardware/nano_printer(src)
nano_printer.max_paper = 25
nano_printer.stored_paper = 20
card_slot = new/obj/item/weapon/computer_hardware/card_slot(src)
// ERT
/obj/item/modular_computer/console/preset/ert/install_default_hardware()
..()
@@ -14,4 +14,10 @@
nano_printer = new/obj/item/weapon/computer_hardware/nano_printer(src)
card_slot = new/obj/item/weapon/computer_hardware/card_slot(src)
battery_module = new/obj/item/weapon/computer_hardware/battery_module(src)
battery_module.charge_to_full()
battery_module.charge_to_full()
// Cargo Delivery
/obj/item/modular_computer/tablet/preset/custom_loadout/advanced/cargo_delivery/
_app_preset_name = "cargo_delivery"
enrolled = 1