Xeno defensive grab#12542
Conversation
|
just a fyi sometimes you double grab people as warrior on lunges, not exactly sure how it happens but might be good looking into |
As far as I can tell this is just because the behavior when pulling something and you click what you've pulled on (regardless of intent) upgrades the intent (prior to this pr it'd try to restrain them). Does this for both humans and xenos. BUT there is some jank for warrior and pulling here: living_mob is the wrong var to check to prevent breaking your own grip. |
|
I feel like this shouldn't be required to restrain a marine, or at least restraining a marine should automatically upgrade the grab to a defensive one |
Restraining is already a "grab upgrade" effectively. But with a new grab upgrade stage, that obviously occurs before it. As I told someone else, I would rather see how this plays out instead of making restraining require some new form of interaction (e.g. click drag or something). |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # code/modules/projectiles/projectile.dm
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Test merge deployment history:Test Merge Deployed @ 07/03/2026 04:25:24 +00:00:Server InstanceRevisionTest Merge Updated @ 07/03/2026 05:47:46 +00:00:Server InstanceCM13 Live RevisionOrigin: c46d658 Test Merge Updated @ 07/03/2026 06:31:30 +00:00:Server InstanceRevisionTest Merge Updated @ 07/03/2026 07:18:14 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 00:53:24 +00:00:Server InstanceCM13 Live RevisionOrigin: 37c049f Test Merge Updated @ 07/04/2026 03:13:06 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 03:24:45 +00:00:Server InstanceCM13 Live RevisionOrigin: 82f219f Test Merge Updated @ 07/04/2026 03:55:33 +00:00:Server InstanceCM13 Live RevisionOrigin: bb16ac6 Test Merge Updated @ 07/04/2026 05:26:35 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 05:46:46 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 06:57:35 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 07:14:57 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 09:15:58 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 09:58:55 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 10:59:50 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 11:22:52 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 11:30:54 +00:00:Server InstanceRevisionTest Merge Updated @ 07/04/2026 20:33:37 +00:00:Server InstanceRevisionTest Merge Updated @ 07/05/2026 02:05:47 +00:00:Server InstanceCM13 Live RevisionOrigin: f4cbe98 Test Merge Updated @ 07/05/2026 02:36:47 +00:00:Server InstanceCM13 Live RevisionOrigin: 83b7e7a |
…e grab upgrade cooldown for xenos, and cleanup

About the pull request
This PR gives an upgrade stage to xeno grab which is required before restraining (think of it like human chokehold state is now the restrain stage). Just like a normal aggressive grab, this will slow the puller down, but bullets intended for the grabbed target are redirected to the xeno as a defensive grab (there is no forced tackling like human aggressive grab tho). Bullets stop redirecting after the xeno is at 25% health or less but the grab remains in the upgraded state (I could drop/downgrade the grab but I figure it could just make capturing weirdly easy to interrupt just because you're low health). See first video.
In addition to above:
isxenocalls in/obj/projectile/proc/handle_mob().Explain why it's good for the game
Right now the meta is to kill marines who are being captured via friendly fire, but now xenos can optionally upgrade the grab to defend their target at the cost of pulling slower and obviously taking the damage instead. Acid will still splatter on their pulled target. It should just generally give more options for xenos and make it harder for marines to cheese.
Testing Photographs and Procedure
Screenshots & Videos
https://youtu.be/kGNXgyJ5RD0
https://youtu.be/J1G4Q-OX_-Q
Changelog
🆑 Drathek
balance: Xenos now can upgrade their grabs to a defensive grab which slows their speed but protects the target so long as the xeno has atleast 25% health. The upgraded grab is needed to restrain. (0.4s to upgrade instantly, 5s do_after to restrain)
fix: Grab upgrade icons now actually update
fix: Warriors now stop fighting themselves to be the puller of a mob
code: Standardized implementation between xenos clicking self and clicking their dragged target
/:cl: