Fixes some bitrunning related issues [no gbp] (#83184)

## About The Pull Request
Properly allows bitrunning antagonists to come station side

A few issues were resolved:
- Event title was too lengthy, it's been renamed
- IDs were not being named properly for cyber police. Cybertac would
appear as "unknown"
- Runtime at examining cyber police ID because it had an erroneous
account
- Teleporting station side would delete your organs and leave you a
broken husk of a mob
## Why It's Good For The Game
Fixes #83181
## Changelog
🆑
fix: Bitrunning antagonists no longer gib on teleport
fix: Cyber tac now have a visible name / ID
fix: Renamed the bitrunning malfunction event to just "Malfunction: x"
/🆑

---------

Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
This commit is contained in:
Jeremiah
2024-05-14 18:01:04 -07:00
committed by GitHub
parent 70173053a5
commit fce52097ee
5 changed files with 34 additions and 11 deletions
+1 -1
View File
@@ -76,7 +76,7 @@
checked_target = mutation_target,
ignore_category = POLL_IGNORE_GLITCH,
alert_pic = mutation_target,
role_name_text = "Bitrunning Malfunction: [role_name]",
role_name_text = "Malfunction: [role_name]",
)
spawn_glitch(chosen_role, mutation_target, chosen_one)
return mutation_target
+5 -1
View File
@@ -63,9 +63,10 @@
return initial(selected.key)
/// Removes all blacklisted items from a mob and returns them to base state
/obj/machinery/quantum_server/proc/reset_equipment(mob/living/carbon/human/person)
for(var/item in person.get_contents())
for(var/obj/item in person.get_equipped_items(include_pockets = TRUE, include_accessories = TRUE))
qdel(item)
var/datum/antagonist/bitrunning_glitch/antag_datum = locate() in person.mind?.antag_datums
@@ -74,6 +75,9 @@
person.equipOutfit(antag_datum.preview_outfit)
antag_datum.fix_agent_id()
/// Severs any connected users
/obj/machinery/quantum_server/proc/sever_connections()
if(isnull(generated_domain) || !length(avatar_connection_refs))