New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds listening post access to sleeper agents #15222
Conversation
Discussion thread from the original PR: https://forum.ss13.co/showthread.php?tid=21546 |
AAAAAAAAAAAA RUNTIMEEEEESSSSSSS |
code/obj/machinery/sleeperscanner.dm
Outdated
return | ||
if (user.mind?.get_antagonist(ROLE_SLEEPER_AGENT)) | ||
user.visible_message("<span class='notice'>The [src] accepts the biometrics of the user and beeps, granting you access.</span>") | ||
for (var/obj/machinery/door/airlock/pyro/reinforced/syndicate/M in by_type[/obj/machinery/door]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type /obj/machinery/door/airlock/pyro/reinforced/syndicate
is used in several prefabs and in Z2; listening post doors will require to be their own subtype if this is to work without opening all doors of the same type in the aforementioned z-levels and prefabs.
I would personally recommend refactoring sleeper hand scanners into a subtype of /obj/machinery/door_control
, and utilising id
to open the listening post doors.
code/obj/machinery/sleeperscanner.dm
Outdated
/obj/machinery/sleeperscanner/attackby(obj/item/W, mob/user as mob) | ||
if(istype(W, /obj/item/device/detective_scanner)) | ||
return | ||
if (user.mind?.get_antagonist(ROLE_SLEEPER_AGENT)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No ishuman(user)
check, unlike attack_hand()
?
Co-authored-by: Mister-Moriarty <88833499+Mister-Moriarty@users.noreply.github.com>
f0a575f
to
8079543
Compare
…oonstation into sleeper_buff_remake
…oonstation into sleeper_buff_remake
…oonstation into sleeper_buff_remake
!merge_upstream |
might want to start over on a fresh branch at this point |
[BALANCE] [FEATURE]
About the PR
This PR is a remake of #14992. It adds handscanners which a sleeper can use to enter listening post to every map.
Why's this needed?
It gives sleepers more options to work with without the full power of a uplink. This makes them more then a late hard mode traitor
Changelog