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

All harvesters load up reagents on afterattack #16360

Merged
merged 6 commits into from
Jul 31, 2024

Conversation

fleewave
Copy link
Contributor

@fleewave fleewave commented Jul 17, 2024

About The Pull Request

All Vali weapons will now autoload after hitting a target, as the claymore currently does.

Why It's Good For The Game

#12687 added autoloading, but only to the claymore. I don't see a reason why we can't have this on the rest of the harvester weapons as well, considering it doesn't add much of an advantage over spamming your unique-action key.

Changelog

🆑
qol: All harvester weapons now autoload chems after attacking.
/:cl:

@tgstation-server tgstation-server added the Quality of Life Minor changes that make the game nicer to play label Jul 17, 2024
@fleewave fleewave changed the title All harvester load up reagents on afterattack All harvesters load up reagents on afterattack Jul 17, 2024
@Xander3359
Copy link
Contributor

Remove the argument instead, don't just do TRUE to every single instance.

@fleewave
Copy link
Contributor Author

Remove the argument instead, don't just do TRUE to every single instance.

sure, good plan

@@ -30,18 +30,16 @@
var/datum/action/harvester/reagent_select/reagent_select_action
///The maximum amount that one chemical can be loaded
var/max_loadable_reagent_amount = 30
var/loadup_on_attack = FALSE
var/loadup_on_attack = TRUE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just delete this entirely and bake it in to default behaviour

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, don't know why i didn't do this in the first place

@Looking4bros
Copy link

considering it doesn't add much of an advantage over spamming your unique-action key.

As if auto loading could stop me from spamming unique-action, unless it were to send ~10 "Kelotane" messages when it's loaded i will continue to do so.

Copy link
Contributor

@Xander3359 Xander3359 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code lgtm.

I was considering this when adding it to Claymore but didn't really feel the need to add it to the other weapons. But I think this is probably fine

@Clay500z
Copy link
Contributor

unless it were to send ~10 "Kelotane" messages when it's loaded i will continue to do so.

So true bestie

@Looking4bros
Copy link

👀

@Looking4bros
Copy link

👁️ 👄 👁️

@TiviPlus TiviPlus merged commit 3ff1576 into tgstation:master Jul 31, 2024
36 checks passed
github-actions bot added a commit that referenced this pull request Jul 31, 2024
@fleewave fleewave deleted the vali-qol branch July 31, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quality of Life Minor changes that make the game nicer to play
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants