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

Say something after "You have ." when wielding a non-weapon item (fix #4172) #4179

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

code2828
Copy link

@code2828 code2828 commented Dec 19, 2024

Method describe_to_hit() returns immediately if the item in hand is not a weapon, resulting in printing "You have ." in the monster desc page. These commits attempts to solve that by telling the player they're not wielding a valid weapon. Also wielding a non-weapon item should be undesirable so an exclamation mark is used instead of a period.

Should resolve #4172.

Didn't talk about this in the irc chatroom although the guide told me to do so because my IP is blocked (idk why). Hope it fixes the issue well and does not violate any conventions. (12/25: sry for the merge commit)

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.

"You have" literally nothing
1 participant