mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +01:00
* Support for expansion-class modPC hardware (#52644) * Support for expansion-class modPC hardware * end of the line * As requested Did anyone know that the tablet vendor was attaching the wrong ModPC printer? I bet no one knew that. * update * Support for expansion-class modPC hardware, a modPC hardware item required for the atmos scanning app, and reworking ID card slots in a related fashion Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
70 lines
3.4 KiB
Plaintext
70 lines
3.4 KiB
Plaintext
|
|
// This is literally the worst possible cheap tablet
|
|
/obj/item/modular_computer/tablet/preset/cheap
|
|
desc = "A low-end tablet often seen among low ranked station personnel."
|
|
|
|
/obj/item/modular_computer/tablet/preset/cheap/Initialize()
|
|
. = ..()
|
|
install_component(new /obj/item/computer_hardware/processor_unit/small)
|
|
install_component(new /obj/item/computer_hardware/battery(src, /obj/item/stock_parts/cell/computer/micro))
|
|
install_component(new /obj/item/computer_hardware/hard_drive/small)
|
|
install_component(new /obj/item/computer_hardware/network_card)
|
|
|
|
// Alternative version, an average one, for higher ranked positions mostly
|
|
/obj/item/modular_computer/tablet/preset/advanced/Initialize()
|
|
. = ..()
|
|
install_component(new /obj/item/computer_hardware/processor_unit/small)
|
|
install_component(new /obj/item/computer_hardware/battery(src, /obj/item/stock_parts/cell/computer))
|
|
install_component(new /obj/item/computer_hardware/hard_drive/small)
|
|
install_component(new /obj/item/computer_hardware/network_card)
|
|
install_component(new /obj/item/computer_hardware/card_slot)
|
|
install_component(new /obj/item/computer_hardware/printer/mini)
|
|
|
|
/obj/item/modular_computer/tablet/preset/cargo/Initialize()
|
|
. = ..()
|
|
var/obj/item/computer_hardware/hard_drive/small/hard_drive = new
|
|
install_component(new /obj/item/computer_hardware/processor_unit/small)
|
|
install_component(new /obj/item/computer_hardware/battery(src, /obj/item/stock_parts/cell/computer))
|
|
install_component(hard_drive)
|
|
install_component(new /obj/item/computer_hardware/card_slot)
|
|
install_component(new /obj/item/computer_hardware/network_card)
|
|
install_component(new /obj/item/computer_hardware/printer/mini)
|
|
hard_drive.store_file(new /datum/computer_file/program/bounty)
|
|
hard_drive.store_file(new /datum/computer_file/program/shipping)
|
|
|
|
/obj/item/modular_computer/tablet/preset/advanced/atmos/Initialize() //This will be defunct and will be replaced when NtOS PDAs are done
|
|
. = ..()
|
|
install_component(new /obj/item/computer_hardware/sensorpackage)
|
|
|
|
/obj/item/modular_computer/tablet/preset/advanced/command/Initialize()
|
|
. = ..()
|
|
install_component(new /obj/item/computer_hardware/sensorpackage)
|
|
install_component(new /obj/item/computer_hardware/card_slot/secondary)
|
|
|
|
/// Given by the syndicate as part of the contract uplink bundle - loads in the Contractor Uplink.
|
|
/obj/item/modular_computer/tablet/syndicate_contract_uplink/preset/uplink/Initialize()
|
|
. = ..()
|
|
var/obj/item/computer_hardware/hard_drive/small/syndicate/hard_drive = new
|
|
var/datum/computer_file/program/contract_uplink/uplink = new
|
|
|
|
active_program = uplink
|
|
uplink.program_state = PROGRAM_STATE_ACTIVE
|
|
uplink.computer = src
|
|
|
|
hard_drive.store_file(uplink)
|
|
|
|
install_component(new /obj/item/computer_hardware/processor_unit/small)
|
|
install_component(new /obj/item/computer_hardware/battery(src, /obj/item/stock_parts/cell/computer))
|
|
install_component(hard_drive)
|
|
install_component(new /obj/item/computer_hardware/network_card)
|
|
install_component(new /obj/item/computer_hardware/card_slot)
|
|
install_component(new /obj/item/computer_hardware/printer/mini)
|
|
|
|
/// Given to Nuke Ops members.
|
|
/obj/item/modular_computer/tablet/nukeops/Initialize()
|
|
. = ..()
|
|
install_component(new /obj/item/computer_hardware/processor_unit/small)
|
|
install_component(new /obj/item/computer_hardware/battery(src, /obj/item/stock_parts/cell/computer))
|
|
install_component(new /obj/item/computer_hardware/hard_drive/small/nukeops)
|
|
install_component(new /obj/item/computer_hardware/network_card)
|