Skip to content

Conversation

@hacker-on-steroids
Copy link
Contributor

What this does

lets the keycard swipers make departments public-access
only applies to airlocks for now, but adding windoors, blast shutter buttons, and computers(shuttles, RND, etc) to the list would be trivial
was also thinking about not using the keycard for this at all and letting the department head toggle the access on his own department without a second ID to swipe
what do (You) think? [discussion]

see also: #16760 and #33937

Why it's good

How it was tested

image

Changelog

🆑

  • rscadd: keycard authenticators in command offices can now make entire departments public

@D3athrow-Issues D3athrow-Issues added the Discussion Discuss. label Dec 16, 2025
@SECBATON-GRIFFON
Copy link
Contributor

this is similar to an idea i already have, plus it uses a system i coded, so i like

@hacker-on-steroids
Copy link
Contributor Author

hacker-on-steroids commented Dec 16, 2025

if anyone has/wants to create a gorillion extra sprites, i think public airlocks turning yellow might look alright
image
i've been fighting with overlays for 20 minutes in paint and i'm still not happy, perhaps @DeityLink could impart some wisdom on how to make it not look like shit

@DeityLink
Copy link
Collaborator

DeityLink commented Dec 16, 2025

I spent a thousand years producing the moody light icons for all doors using Gimp. But the red/green door lights are unfortunately baked into their respective sprites. Tears, sweat and blood is your only path forward. I'll see if I can help somewhat when I get home.

Regardless, the proper way to go about it, rather than adding a yellow lights variant, is to add a proper white light overlay that we can then color however we want.

@DeityLink
Copy link
Collaborator

DeityLink commented Dec 16, 2025

Alright so for this experiment I'll be using Atmospherics airlocks, and Gimp (2.10.38)

image

Also bear with me, you'll have to learn french before you can use this guide. Anyway luckily for us I already "extracted" the lights from doors a while ago so we have this red locked airlock light we can start from

image

Now unfortunately I didn't find a way to directly copy an entire color channel to paste as white, but we can work around that. simply duplicate the channel.

image

this creates a separate channel we can use in our next step, we'll add said new channel as a mask

image image

now sadly again I ran into problems when trying to color the rest of the image white, fortunately we can just add a new white layer, add its alpha channel as a mask, then copy-paste the mask from one to the other.

image

which gives us the white light overlay we are after. We'll need the transparent version as a regular overlay, and the "black background" version for moody lights (also don't forget to turn off the original layer like I did, if you did it correctly the transparent lights image should appear all white in DM)

image

we can test our new moody light by naming it "door_closed-moody", which will cause any closed atmos airlock to display these moody lights.

image

And that's all we need to do before we can go in-game to test our handiwork. The moody light works as expected

image

Next we just take a random item, set its appearance to that of the atmos airlocks, remove its moody overlay, and then set its icon_state to "door_lights" which is how I called the transparent image above

image

Adjusting their layer so they show up above the doors, we can see it looks quite nice already

image

So lets just set the color of the item with the "door_lights" icon to "yellow"

image

I hope that's what you're looking for, here's how it looks in a few other colors

image

We can probably get an even better looking result if the white moody light gets colored as well. In the best of worlds, someone would take it upon themselves to convert every single airlock to use white lights as such.

But it sure as hell won't be me. Anyway I hope you enjoyed this short tutorial.

@Eneocho
Copy link
Collaborator

Eneocho commented Dec 16, 2025

Should also apply to table doors, they're weirdly snowflaked where you can't even emag them.

@Eneocho
Copy link
Collaborator

Eneocho commented Dec 16, 2025

Are the "Grant Emergency [dept] access" buttons department-specific? I.e: The medbay keycard scanner only has the "Grant Emergency Medbay access" button. (Naturally, both the HoP and Captain's button would have all the options).

@Eneocho
Copy link
Collaborator

Eneocho commented Dec 16, 2025

Honestly letting the dept heads toggle access with only their access would probably be reasonable. Since it'd require an actual head (or head-level access, anyway).

@jwhitak
Copy link
Collaborator

jwhitak commented Dec 16, 2025

The first thing the clown does after taking the all access spare:

Yeah the two swipe restriction is reasonable. Low pop usually has access given out freely already. This can help in blob, cult, etc emergency situations.

@Stryling
Copy link

Should definitely be a two card swipe, too much meme potential with only the department's head access needed. Would've also liked the route of giving heads an item that lets them control their department doors remotely

@ErrorsWindows
Copy link
Contributor

ErrorsWindows commented Dec 19, 2025

Grant Emergency Security Access 🧐

@hacker-on-steroids
Copy link
Contributor Author

what do people think about this also affecting blast door buttons, computers, windoors, lockers?
plan to have another PR making empty departments public roundstart, and letting just one ID swipe in the head office ungreytide its department

@Eneocho
Copy link
Collaborator

Eneocho commented Dec 21, 2025

what do people think about this also affecting blast door buttons, computers, windoors, lockers? plan to have another PR making empty departments public roundstart, and letting just one ID swipe in the head office ungreytide its department

Seems reasonable, yeah.

@west3436
Copy link
Collaborator

west3436 commented Jan 3, 2026

@hacker-on-steroids what's the status on this one?

@hacker-on-steroids
Copy link
Contributor Author

waiting for sprites to materialise themselves
while this is functional by itself i think it would be sorta retarded without the yellow lights

@DeityLink
Copy link
Collaborator

I made you a tutorial, just doeet

@west3436
Copy link
Collaborator

@hacker-on-steroids if you're not gonna make these sprites please close this as they won't materialize out of thin air

@braplord
Copy link
Contributor

braplord commented Jan 14, 2026

@west3436 i can make them materialize if need be, i like this feature

@west3436
Copy link
Collaborator

@west3436 i can make them materialize if need be, i like this feature

Nice; just check out the guide @DeityLink posted above then thanks

@hacker-on-steroids
Copy link
Contributor Author

@braplord please tell me you've started so i can continue sitting on my ass doing nothing, otherwise i will be forced to do it

@braplord
Copy link
Contributor

@braplord please tell me you've started so i can continue sitting on my ass doing nothing, otherwise i will be forced to do it

i got busy with my own pr and then i got lazy, ill get around to it this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Discussion Discuss.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants