mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-11 16:07:36 +01:00
e0aa218843
https://www.youtube.com/watch?v=9mPvZ96pHJI A pull request commissioned by the Synthetic Lore Team to comprehensively rework synthetics (read: IPCs) and how they work in Aurora. The objective is to make IPCs as unique as possible from humans, upgrading the robotic feel and atmosphere, while also preserving a good sense of balance in-game. Key features: - A comprehensive expansion of synthetic organs, all of which now fulfill a purpose: hydraulics, cooling units, power systems, actuators, diagnostics units. - Customizable organs with benefits and drawbacks, such as with cooling units and power systems. - Unique ways to repair the organs and more involved steps. - Unique damage mechanics - every organ has wiring and electronics which affect its functioning, and they are defended by plating which provides natural armour. - Improved and immersive diagnostics. - Unique features, benefits, and drawbacks for every IPC frame. - A rework of the positronic brain, which can be either destroyed or shut down, alongside effects caused by low integrity. - A rework of how EMPs affect IPC organs. - Non-binary damage states for each organ. To-do: - [x] Finish the unique features for each frame. - [x] Look into if mechanical synthskin is possible. - [x] Power system. - [x] Posibrain mechanics. - [ ] Passive cooling expansion. - [x] EMP mechanics. - [x] Repair mechanics. - [x] Mob weight mechanics. - [ ] Gurney for heavy mobs. - [x] New augments. - [ ] IPC tag scanning and flashing. --------- Signed-off-by: Werner <1331699+Arrow768@users.noreply.github.com> Co-authored-by: Matt Atlas <liermattia@gmail.com> Co-authored-by: Geeves <22774890+Geevies@users.noreply.github.com> Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
/obj/item/computer_hardware/access_cable_dongle
|
|
name = "access cable dongle"
|
|
desc = "A dongle from which a positronic-compatible cable can be extended."
|
|
critical = FALSE
|
|
icon_state = "aislot"
|
|
hardware_size = 3
|
|
|
|
/// The access cable currently inserted into this slot.
|
|
var/obj/item/access_cable/access_cable
|
|
|
|
/obj/item/computer_hardware/access_cable_dongle/Initialize()
|
|
. = ..()
|
|
access_cable = new(src, src, parent_computer)
|
|
|
|
/obj/item/computer_hardware/access_cable_dongle/Destroy()
|
|
if(access_cable)
|
|
access_cable.retract()
|
|
QDEL_NULL(access_cable)
|
|
return ..()
|
|
|
|
/obj/item/computer_hardware/access_cable_dongle/proc/take_cable(mob/user)
|
|
if(!ishuman(user))
|
|
return
|
|
|
|
var/mob/living/carbon/human/H = user
|
|
|
|
if(use_check_and_message(H))
|
|
return
|
|
|
|
if(!access_cable)
|
|
to_chat(H, SPAN_WARNING("This table does not have an access cable anymore!"))
|
|
return
|
|
|
|
if(H.get_active_hand())
|
|
to_chat(H, SPAN_WARNING("You need a free hand to retrieve \the [access_cable]!"))
|
|
return
|
|
|
|
if(access_cable.loc != src)
|
|
to_chat(H, SPAN_WARNING("The access cable is already elsewhere!"))
|
|
return
|
|
|
|
H.visible_message(SPAN_NOTICE("[H] retrieves \the [access_cable] from \the [src]."), SPAN_NOTICE("You retrieve \the [access_cable] from \the [src]."))
|
|
access_cable.create_cable(H)
|
|
H.put_in_active_hand(access_cable)
|