mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-21 23:52:12 +00:00
The downloader and the file manager no longer come default on any device. A client enrollment app comes now with every console The user has to select weather the device is a private or company device and select a software preset if its a work console Work devices are locked down to a specific set of programs Private devices get the downloader and the file manager to install programs as usual. Threw out the backup of the old-old camera monitor. Made software presets a generic thing that are not dependant on the form factor of a device. Ported holowarrants from bay Ported wall mounted consoles from bay Ported various computer fixes from bay Vending machines spawn now with the holowarrant "client" Mapping changes: CE and HoS dont get a modular computer with command preset (they did not have that before bay merge, so why should they now) Added a modular computer with command preset to the head of staff briefing room Replaced the camera monitoring console in the Engine Control room with a modular computer Replaced the cam monitor in the CE´s office with a wall mounted console Switched places of the bar sink and console Replaced the consoles with obj/item consoles Mapped in the ERT and Merc Console (Merc Shuttle, ERT Area) Fixed the "border" at the heisters base Also waiting for CCIA on a design for the warrants. But that can be changed with a follow up pull
75 lines
3.2 KiB
Plaintext
75 lines
3.2 KiB
Plaintext
// This device is wrapper for actual power cell. I have decided to not use power cells directly as even low-end cells available on station
|
|
// have tremendeous capacity in comparsion. Higher tier cells would provide your device with nearly infinite battery life, which is something i want to avoid.
|
|
/obj/item/weapon/computer_hardware/battery_module
|
|
name = "standard battery"
|
|
desc = "A standard power cell, commonly seen in high-end portable microcomputers or low-end laptops. It's rating is 750."
|
|
icon_state = "battery_normal"
|
|
critical = 1
|
|
malfunction_probability = 1
|
|
origin_tech = list(TECH_POWER = 1, TECH_ENGINEERING = 1)
|
|
var/battery_rating = 750
|
|
var/obj/item/weapon/cell/battery = null
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/advanced
|
|
name = "advanced battery"
|
|
desc = "An advanced power cell, often used in most laptops. It is too large to be fitted into smaller devices. It's rating is 1100."
|
|
icon_state = "battery_advanced"
|
|
origin_tech = list(TECH_POWER = 2, TECH_ENGINEERING = 2)
|
|
hardware_size = 3
|
|
battery_rating = 1100
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/super
|
|
name = "super battery"
|
|
desc = "A very advanced power cell, often used in high-end devices, or as uninterruptable power supply for important consoles or servers. It's rating is 1500."
|
|
icon_state = "battery_super"
|
|
origin_tech = list(TECH_POWER = 3, TECH_ENGINEERING = 3)
|
|
hardware_size = 3
|
|
battery_rating = 1500
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/ultra
|
|
name = "ultra battery"
|
|
desc = "A very advanced large power cell. It's often used as uninterruptable power supply for critical consoles or servers. It's rating is 2000."
|
|
icon_state = "battery_ultra"
|
|
origin_tech = list(TECH_POWER = 5, TECH_ENGINEERING = 4)
|
|
hardware_size = 3
|
|
battery_rating = 2000
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/micro
|
|
name = "micro battery"
|
|
desc = "A small power cell, commonly seen in most portable microcomputers. It's rating is 500."
|
|
icon_state = "battery_micro"
|
|
origin_tech = list(TECH_POWER = 2, TECH_ENGINEERING = 2)
|
|
battery_rating = 500
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/nano
|
|
name = "nano battery"
|
|
desc = "A tiny power cell, commonly seen in low-end portable microcomputers. It's rating is 300."
|
|
icon_state = "battery_nano"
|
|
origin_tech = list(TECH_POWER = 1, TECH_ENGINEERING = 1)
|
|
battery_rating = 300
|
|
|
|
// This is not intended to be obtainable in-game. Intended for adminbus and debugging purposes.
|
|
/obj/item/weapon/computer_hardware/battery_module/lambda
|
|
name = "lambda coil"
|
|
desc = "A very complex device that creates it's own bluespace dimension. This dimension may be used to store massive amounts of energy."
|
|
icon_state = "battery_lambda"
|
|
hardware_size = 1
|
|
battery_rating = 1000000
|
|
/obj/item/weapon/computer_hardware/battery_module/lambda/New()
|
|
..()
|
|
battery = new/obj/item/weapon/cell/infinite(src)
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/diagnostics(var/mob/user)
|
|
..()
|
|
user << "Internal battery charge: [battery.charge]/[battery.maxcharge] CU"
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/New()
|
|
battery = new/obj/item/weapon/cell(src)
|
|
battery.maxcharge = battery_rating
|
|
battery.charge = 0
|
|
..()
|
|
|
|
/obj/item/weapon/computer_hardware/battery_module/proc/charge_to_full()
|
|
if(battery)
|
|
battery.charge = battery.maxcharge
|