Shell May Cry: A comprehensive rework of synthetics. (#20721)

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>
This commit is contained in:
Matt Atlas
2025-12-21 17:26:23 +01:00
committed by GitHub
parent 1898ad3417
commit e0aa218843
201 changed files with 5962 additions and 896 deletions
@@ -0,0 +1,44 @@
/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)
@@ -1,4 +1,4 @@
/obj/item/computer_hardware/
/obj/item/computer_hardware
name = "Hardware"
desc = "Unknown Hardware."
icon = 'icons/obj/modular_components.dmi'
@@ -0,0 +1,29 @@
/obj/item/computer_hardware/universal_port
name = "universal port"
desc = "A small, universal slot wherein an access cable can be slotted in."
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/universal_port/Destroy()
if(access_cable)
access_cable.retract()
access_cable = null
return ..()
/obj/item/computer_hardware/universal_port/remove_cable(obj/item/access_cable/cable)
..()
access_cable = null
/obj/item/computer_hardware/universal_port/insert_cable(obj/item/access_cable/cable, mob/user)
. = ..()
access_cable = cable
cable.create_cable(parent_computer)
/obj/item/computer_hardware/universal_port/cable_interact(obj/item/access_cable/cable, mob/user)
. = ..()
if(parent_computer)
parent_computer.attack_self(user)