Skip to content
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

[PORT] Fire overlay fix port w/ lighting oddities as well #1245

Merged

Conversation

AlbertNanotracen
Copy link

@AlbertNanotracen AlbertNanotracen commented Feb 20, 2024

About The Pull Request

Ports:

Also a few changes for Monkestation related mechanics.

Why It's Good For The Game

The fire bug is annoying, any and all fixes are welcome.

Changelog

🆑 Melbert
refactor: Fire effects get added to mobs in a different way now. Maybe it will get stuck less. Report any oddities.
/:cl:

ChungusGamer666 and others added 4 commits February 19, 2024 19:18
Fire stacks status effect no longer uses a weakref for the mob light, I
am pretty sure there was no real reason to use a weakref there.
Deleted weird luminescent glow dummy, now it just uses the standard
moblight obj.
Put all /obj/effect/dummy/lighting_obj together in a single file and
added a comment explaining why they exist.

(I severely dislike the /obj/effect/dummy typepath, but I am very much
unsure if just replacing all of them with /obj/effect/abstract would
break shit)

Code organization good
…gstation#81367)

Maybe finally fixes tgstation#77701

A big reason why this kept happening is because fire uses standing
overlays. But fire isn't managed by mobs anymore. Meaning in some
situations, fire can cease to exist but the overlay can still be on the
mob. So it gets stuck.

So like, why use standing overlays anymore? We can just hook
`update_overlays` signal.
Isn't that neat.

:cl: Melbert
refactor: Fire effects get added to mobs in a different way now. Maybe
it will get stuck less. Report any oddities.
/:cl:
Closes tgstation#81396 , Closes tgstation#81391 , Closes tgstation#81403, Closes tgstation#81402

I don't know why but I thought this proc was only called once, when the
mob entered the turf. That was silly.

And going back at it, I'm not entirely sure why I tied
`TRAIT_NO_EXTINGUISH` to the element anyways, rather than the lava like
it originally was.

While going back over this, I cleaned up the proc a bit.

Not necessary
@Gboster-0
Copy link

for future reference, you can do unordered lists in your github comment's body instead of just stating the ports, so from

Ports Lighting object oddities tgstation#76009, Refactors fire overlays once again to make it not get stuck so often tgstation#81367, and Fix Flaky Failure From Fire tgstation#81399.

You can have

by doing this

- tgstation#76009
- tgstation#81367
- tgstation#81399

@wraith-54321 wraith-54321 merged commit 197363b into Monkestation:master Feb 22, 2024
20 checks passed
github-actions bot added a commit that referenced this pull request Feb 22, 2024
@AlbertNanotracen AlbertNanotracen deleted the Fire-Overlay-Fix-Port branch February 23, 2024 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants