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

[TG Mirror] Basic Space Dragon [MDB IGNORE] #66

Closed
wants to merge 1 commit into from

Conversation

ffmirrorbot[bot]
Copy link

@ffmirrorbot ffmirrorbot bot commented Oct 15, 2023

Mirrored on Skyrat: ${this.url}
Original PR: (original url)

About The Pull Request

Converts Space Dragon from simple to basic mob.
Its behaviour should largely be the same, but as always it's not impossible something slipped through the cracks.
I made two intentional changes though.

Change the first:
I made its wall tearing behaviour into a component, this also for two reasons.
The first reason is that it's much more reasonable than the wall smashing other mobs get and we probably should go through and use this instead on several of them.
The second reason is so that I could make it visually cooler.

dreamseeker_gOdVoWhhyZ
Instead of one action bar after which a wall disappears, it's now three action bars with 1/3rd of the duration which progressively show the wall being damaged. If you're stood on the other side you can frantically try and weld it shut again while it is still being attacked, which I think is fun.

Change the second:
I refactored the existing "door prying" component used only by Faithless mobs and also put it on the Regal Rat (who should have been using it already).
I then also gave it to space dragons if for some reason they would rather pry open a door rather than smash the wall next to the door. This doesn't seem like a notable balance change, given that they can destroy RWalls.

Side benefit is that as usual, all of the bespoke actions are now mob_cooldowns so you can give them to other mobs.

Other code changes:
Went through and made our three separate implementations of "breathing a line of fire" to actually share a typepath and implementation.
Added a check for "eating a mob extinguishes it" in the space dragon unit test, because I suspect it was broken (called extinguish instead of extinguish_mob).
I made mob actions require consciousness and not being incapacitated by default because I got tired of pasting this onto every ability, I actually checked which abilities this should affect this time I swear.

Changelog

🆑 Jacquerel
refactor: Space Dragons are now basic mobs, please report any unexpected behaviour.
balance: You can now see that a space dragon is destroying a wall with a visual indicator of the wall being damaged.
balance: Space Dragons can pry open airlocks.
/:cl:

* Basic Space Dragon (#78979)

* Basic Space Dragon

---------

Co-authored-by: Jacquerel <[email protected]>
@Iajret Iajret closed this Oct 17, 2023
@Iajret Iajret deleted the upstream-mirror-24340 branch October 17, 2023 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants