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

refactors attack hand proc header #6720

Merged
merged 7 commits into from
Sep 6, 2024

Conversation

silicons
Copy link
Contributor

@silicons silicons commented Sep 1, 2024

needed for #5677

this is to make that PR slightly easier to review.

Comment on lines +31 to 38
// todo: better desc
// todo: e_args is not specified all the time, yet.
/atom/proc/attack_hand(mob/user, datum/event_args/actor/clickchain/e_args)
// todo: remove
if(isnull(e_args))
e_args = new(user)
// end
if(on_attack_hand(e_args))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

you may have noticed e_args isn't provided in most places

this is because everyone is uh, wrong. like. you're supposed to call attack_hand from clickchain, but people just lazy-out and have it called from literally fucking everywhere

list/params doesn't work for that reason.

so we're continuing the pattern; we'll slowly bring things around.

TheLordME
TheLordME previously approved these changes Sep 2, 2024
@github-actions github-actions bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 2, 2024
silicons pushed a commit that referenced this pull request Sep 4, 2024
silicons pushed a commit that referenced this pull request Sep 4, 2024
@BlueWildrose BlueWildrose merged commit 0c8dd52 into Citadel-Station-13:master Sep 6, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants