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

Added signals to attack_ai(), attack_robot(), and interact() #11306

Merged
merged 21 commits into from
Oct 11, 2024

Conversation

mystery3525
Copy link
Contributor

@mystery3525 mystery3525 commented Aug 6, 2024

About The Pull Request

Added Signal Handling for /atom/proc/attack_ai(), /atom/proc/attack_robot, and /atom/proc/interact(). Prerequisite atomization for my ModPC refactor. I also made /obj/item/attack_ai() and /obj/machinery/attack_ai() call its parent so that my future refactor will work, but we may want to do a refactor where we add SHOULD_CALL_PARENT(TRUE) to all the component-related attack_*() procs.

Requires: #11310

Why It's Good For The Game

Having signals be an option increases our abilities to do more interesting things. Also is a prerequisite to my ModPC Componentization Refactor.

Testing Photographs and Procedure

Screenshots&Videos

It compiles
image

attacking as AI still works
image

Camera bug still works
image

Guitar still works
image

Changelog

🆑
code: Added signal handlers for attack_ai(), attack_robot(), and interact()
/:cl:

@mystery3525 mystery3525 changed the title Added signals to attack_ai(), GetAccess(), and GetID() Added signals to attack_ai(), attack_robot(), GetAccess(), and GetID() Aug 6, 2024
code/_onclick/cyborg.dm Outdated Show resolved Hide resolved
@mystery3525 mystery3525 marked this pull request as draft August 7, 2024 00:31
@mystery3525 mystery3525 changed the title Added signals to attack_ai(), attack_robot(), GetAccess(), and GetID() Added signals to attack_ai(), attack_robot(), and interact() Aug 10, 2024
Copy link

github-actions bot commented Sep 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

1 similar comment
Copy link

github-actions bot commented Sep 8, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@mystery3525 mystery3525 marked this pull request as ready for review September 25, 2024 18:16
@PowerfulBacon PowerfulBacon added this pull request to the merge queue Oct 11, 2024
Merged via the queue into BeeStation:master with commit efa7132 Oct 11, 2024
21 checks passed
@Rukofamicom
Copy link
Contributor

Is this the PR that broke machines?

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.

3 participants