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

Separate attack action and interact action #552

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

BenCheung0422
Copy link
Member

Resolves #435
Many of the methods combine attack and interact when handling interactions and damage dealing, causing the combination complexity. This adds key bindings of "interact" and "inventory" to replace the original "menu" and some implementations from "attack". Originally: "attack" - C|SPACE|ENTER, "menu" - X|E' currently: "attack" - C|SPACE, "interact" - X|ENTER, inventory - E. "Inventory" now only opens player inventory menus or closes some in-game menus; "attack" now only handles direct damage and tile destroy with bare hand or any item on tiles or entities; "interact" is now for interacting with furniture, placing tile and furniture, item interactions, etc.

@BenCheung0422 BenCheung0422 marked this pull request as ready for review August 4, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improving the activation of interaction and damaging of tiles
1 participant