Files
Bubberstation/code/modules/mob
Jacquerel 2af8049845 Syndicate MODSuit Intellicard can actually download AIs (#78326)
## About The Pull Request

Fixes #78058
This did a couple of weird things and I am not totally sure it ever
worked, but now it does.
Firstly, I moved the creation of the AI Eye to before we attach the
client, as it would make a stack trace if it did not exist on client
login.
Secondly, I changed a call to `pre_attack` to a call to the actual proc
we wanted, `capture_ai`.
Thirdly, I removed a reundant line which set the key of the AI core a
second time from the candidate, which we had already done when
initialising the AI. Because we had already done it, we were instead
setting the key to null (because the observer's key had already been
nulled and moved to the AI) and kicking the player by removing their key
from all mobs.
Finally, I passed `src` as a list into `log_silicon` when logging
transferring the AI into the card, because it stack traces when not sent
a list.

I also did a fair amount of housekeeping to improve the experience of
using this device.

## Changelog

🆑
fix: The nuclear operative MODsuit intellicard now actually downloads an
AI rather than simply kicking candidates from the game.
/🆑
2023-09-15 15:10:55 +00:00
..