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

Improvements for the "Talk to Self" feature #216

Merged
merged 5 commits into from
Dec 28, 2024

Conversation

tntscreed
Copy link
Contributor

  • Put "Talk to Self" to the end of the land interface command list. Most people probably want Fast Travel more than talking to themselves.
  • Added a new icon for the Talk to Self command. It is the same as the Talk command's, but with a blue tint. The newer games use bluish icons for it, so I think it makes sense. The point is that it's at least different now.
  • Fixed translatability for the command's name.
  • Added conditions for the command showing up. Previously, you could use Talk to Self anytime you had access to the land interface.

Using Talk to Self on deck is now blocked. If the player entered the deck using the battle interface's EnterShip command, and then tried to use it, it crashed the game. It will require more testing to figure out why that happens.

Most people will likely want to use Quick Travel a lot more than, say, Talk to Self, so it makes more sense.
The new icon is the original "Talk" icon but with a blue tint.
Changed the plain English string to a translatable one.
The following will stop the command from showing up:
- Character is in fight mode
- A boarding is in progress
- Player alarm is active (character is in a fight)
- The player is not currently controlling the character
- The character is on Deck

If the Character enters the deck with the "BI_EnterShip" interface command and then tries to talk to themself, the game crashes. That last condition is a temporary fix for this.

I honestly have no idea why the crash occurs. I'm open to suggestions.
@Hammie Hammie merged commit 6a4bb6d into PiratesAhoy:main Dec 28, 2024
@Hammie
Copy link
Collaborator

Hammie commented Dec 28, 2024

Thanks!

Sorry it took my this long to review it.

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.

2 participants