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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flamethrower Refactor 2024 #22035

Merged

Conversation

SapphicOverload
Copy link
Contributor

Document the changes in your pull request

Refactors flamethrowers to be a subtype of /obj/item/gun, because they're technically guns and should be treated as such. Behind the scenes the code is significantly improved, but the only notable player-facing change is it can fit in belt slots and armor suit storage now and the flames should travel much more smoothly.

Also fixes a few bugs like synths and pacifists being able to use flamethrowers, or deconstructing one resulting in a welding tool that's permanently unusable.

Why is this good for the game?

Vastly better code, fixes bugs, makes the fire travel in a more sane way.

Testing

flamethrower_test.mp4

Changelog

馃啈
tweak: Flamethrowers are now technically guns and can fit on your belt slot
bugfix: Fixed deconstructing flamethrowers causing the resulting welding tool to be permanently unusable
bugfix: Fixed flamethrowers being usable by pacifists and synths
/:cl:

@Yogbot-13 Yogbot-13 added DME Edit This PR affects the yogstation.DME file Fix This fixes an issue. Please link issues in fix PRs Tweak This PR contains changes to the game. labels May 13, 2024
@ToasterBiome ToasterBiome merged commit 52ff696 into yogstation13:master May 24, 2024
14 checks passed
Yogbot-13 added a commit that referenced this pull request May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DME Edit This PR affects the yogstation.DME file Fix This fixes an issue. Please link issues in fix PRs Tweak This PR contains changes to the game.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants