Removes CPU, Sensors and Identify ModPC parts. (#66924)

Removes CPU, Sensors and Identify parts from modulra computers.
This is in effort to simplify how tablets and tablet apps are, while removing barriers to download specific apps. Limiting apps needed for your job, through hardware, is a terrible idea, and just limits departmental stuff to being there roundstart/latejoin, punishing people who job change through the in-game HoP system, devaluing the job as a whole.
This commit is contained in:
John Willard
2022-05-13 14:50:35 -04:00
committed by GitHub
parent b17bfad5b5
commit c61d6dc3cb
27 changed files with 70 additions and 296 deletions
@@ -8,13 +8,6 @@
tgui_id = "NtosGasAnalyzer"
program_icon = "thermometer-half"
/datum/computer_file/program/atmosscan/run_program(mob/living/user)
. = ..()
if (!.)
return
if(!computer?.get_modular_computer_part(MC_SENSORS)) //Giving a clue to users why the program is spitting out zeros.
to_chat(user, span_warning("\The [computer] flashes an error: \"hardware\\sensorpackage\\startup.bin -- file not found\"."))
/datum/computer_file/program/atmosscan/ui_static_data(mob/user)
return return_atmos_handbooks()
@@ -22,12 +15,7 @@
var/list/data = get_header_data()
var/turf/turf = get_turf(computer)
var/datum/gas_mixture/air = turf?.return_air()
var/obj/item/computer_hardware/sensorpackage/air_sensor = computer?.get_modular_computer_part(MC_SENSORS)
if(!air_sensor)
data["gasmixes"] = list(gas_mixture_parser(null, "No Sensors Detected!"))
return data
data["gasmixes"] = list(gas_mixture_parser(air, "Sensor Reading")) //Null air wont cause errors, don't worry.
return data