-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Big Fat Emission PR #18124
Big Fat Emission PR #18124
Conversation
Im going to testmerge this and keep an eye on the maptick usage, as I fear this could add a lot to it. |
This reverts commit ebaa99c.
readded process in status_display, idk why I removed it, it broke some functionality
Talked with the contributor who added emissive appearances to the codebase. As of now they wont block them unless they spawn as closed, but with future PR merges this code will work.
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.
I saw a lot of set_light(X, 0.1)
. Might it be an idea to make a define for the 0.1
? Like LOW_LIGHT_POWER
or whatever.
Also, be sure to go over each case of update_icon
where you do it twice in a row. You can and should combine the flags together.
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
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.
Few last small things
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
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.
Nice job on the PR. It's really neat looking
Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
What Does This PR Do
This PR adds emission effects to a plethora of objects in the game.
SPECIAL NOTE: I had to add light sources to all these devices while their emissive effects are displaying so that byond didnt cull them from the clients screen when the atoms are in complete darkness. The light is so weak it doesnt illuminate anything, and only serves this purpose. THESE LIGHT SOURCES DO DISPLAY THE TURF AND 4 SURROUNDING TURFS TO THE RIGHT CLICK MENU, so there are balance concerns with the PR as is. I will attempt to find a solution to this in the following days
graph
This is the result of the testmerge. I had concerns about performance, but after viewing this graph I judge its impact is minimal. (not enough for me to significantly rework or close the PR at least) I'd direct inquiry about it at AA, but god knows he has enough on his plate already.
Why It's Good For The Game
Alot of stuff's icons had lights and bobbles that look like they should be illuminated but got shaded into darkness with everything else (even light sources like bulbs and tubes to some degree). You should be able to see everything like this in a room in complete darkness, due to how our lighting works they would get completely darkened or disappeared completely. Now you can see them, and it looks great! Green is during TM, pink round before.
Images of changes
Gifs and videos probably aren't the best way to experience the benefits of this PR, I encourage reviewers to download the branch and playtest it. Kind of an ask, but I think its warranted.
BEFORE:
dreamseeker_JueVRUQgE4.mp4
AFTER
dreamseeker_kPBkWmpn7R.mp4
BEFORE:

AFTER:

BEFORE:

AFTER:

BEFORE:

AFTER:

BEFORE:

AFTER:

BEFORE:

AFTER:

Changelog
🆑
imageadd: Added emissive effects to lights, airlocks, and a large amount of other station devices.
/:cl: