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 16:26:23 +00:00
committed by GitHub
co-authored by Matt Atlas Geeves Werner
parent 1898ad3417
commit e0aa218843
201 changed files with 5962 additions and 896 deletions
+3 -1
View File
@@ -500,9 +500,11 @@
return (target in check_trajectory(target, user))
//called if there was no projectile to shoot
/obj/item/gun/proc/handle_click_empty()
/obj/item/gun/proc/handle_click_empty(mob/user)
balloon_alert_to_viewers("*click*")
playsound(loc, empty_sound, 30, TRUE)
if(user)
SEND_SIGNAL(user, COMSIG_EMPTIED_MAGAZINE, src)
//called after successfully firing
/obj/item/gun/proc/handle_post_fire(mob/user, atom/target, var/pointblank = FALSE, var/reflex = FALSE, var/playemote = TRUE)
+1 -1
View File
@@ -208,7 +208,7 @@
update_icon()
//attempts to unload src. If allow_dump is set to 0, the speedloader unloading method will be disabled
/obj/item/gun/projectile/proc/unload_ammo(mob/user, var/allow_dump = 1, var/drop_mag = FALSE)
/obj/item/gun/projectile/proc/unload_ammo(mob/user, allow_dump = TRUE, drop_mag = FALSE)
if(ammo_magazine)
if(drop_mag)
ammo_magazine.forceMove(user.loc)
@@ -527,7 +527,7 @@
return
..()
/obj/item/gun/projectile/automatic/rifle/l6_saw/unload_ammo(mob/user, var/allow_dump=1)
/obj/item/gun/projectile/automatic/rifle/l6_saw/unload_ammo(mob/user, allow_dump = TRUE, drop_mag = FALSE)
if(!cover_open)
to_chat(user, SPAN_WARNING("You need to open the cover to unload [src]."))
return
@@ -149,7 +149,7 @@
/obj/item/gun/projectile/automatic/rifle/minigun/load_ammo(var/obj/item/A, mob/user)
return
/obj/item/gun/projectile/automatic/rifle/minigun/unload_ammo(mob/user, var/allow_dump=1)
/obj/item/gun/projectile/automatic/rifle/minigun/unload_ammo(mob/user, allow_dump = TRUE, drop_mag = FALSE)
return
/obj/item/gun/projectile/automatic/rifle/minigun/dropped(mob/user)
@@ -217,7 +217,7 @@
return
..()
/obj/item/gun/projectile/contender/unload_ammo(mob/user, var/allow_dump=1)
/obj/item/gun/projectile/contender/unload_ammo(mob/user, allow_dump = TRUE, drop_mag = FALSE)
if(!retracted_bolt)
to_chat(user, SPAN_NOTICE("You can't unload \the [src] without cycling the bolt."))
return
@@ -185,7 +185,7 @@
desc = "A double-barreled shotgun meant to fire signal flash shells."
ammo_type = /obj/item/ammo_casing/shotgun/flash
/obj/item/gun/projectile/shotgun/doublebarrel/unload_ammo(user, allow_dump)
/obj/item/gun/projectile/shotgun/doublebarrel/unload_ammo(mob/user, allow_dump = TRUE, drop_mag = FALSE)
..(user, allow_dump=1)
/obj/item/gun/projectile/shotgun/doublebarrel/saw_off(mob/user, obj/item/tool)
@@ -349,7 +349,7 @@
open = FALSE
update_icon()
/obj/item/gun/projectile/shotgun/wallgun/unload_ammo(user, allow_dump)
/obj/item/gun/projectile/shotgun/wallgun/unload_ammo(mob/user, allow_dump = TRUE, drop_mag = FALSE)
if(open)
..(user, allow_dump=1)
@@ -78,7 +78,7 @@
return
..()
/obj/item/gun/projectile/heavysniper/unload_ammo(mob/user, var/allow_dump=1)
/obj/item/gun/projectile/heavysniper/unload_ammo(mob/user, allow_dump = TRUE, drop_mag = FALSE)
if(!bolt_open)
return
..()
@@ -17,7 +17,7 @@
if(isipc(target))
var/mob/living/carbon/human/H = target
var/obj/item/organ/internal/surge/s = H.internal_organs_by_name["surge"]
var/obj/item/organ/internal/machine/surge/s = H.internal_organs_by_name[BP_SURGE_PROTECTOR]
if(!isnull(s))
if(s.surge_left >= 0.5)
playsound(src.loc, 'sound/magic/LightningShock.ogg', 25, 1)