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

Refactor and improve control hints #41

Merged
merged 6 commits into from
May 25, 2021
Merged

Refactor and improve control hints #41

merged 6 commits into from
May 25, 2021

Conversation

toebeann
Copy link
Owner

Changes in this pull request

  • Moved methods relating to displaying control hints out of SnapBuilder and into their own discreet class ControlHint
  • Streamlined the default control hints and options text
  • Display method for control hints has been updated for BZ, since vanilla hints no longer use the ErrorMessage.AddError method as they did before 1.0 release (and still do in SN).

Note: I have not had a chance to test placeable objects in BZ since the game doesn't seem to come with any, but does seem to support them. As such placeable objects control hints currently utilise ErrorMessage.AddMessage instead. Will need to either find a mod that adds placeable items, or find a vanilla placeable item for testing to further update the control hints for BZ, but this can come later in a future patch.

@toebeann toebeann added the enhancement New feature or request label May 25, 2021
@toebeann toebeann self-assigned this May 25, 2021
@toebeann toebeann merged commit 29503cc into dev May 25, 2021
@toebeann toebeann deleted the refactor-hints branch May 25, 2021 05:07
@toebeann toebeann mentioned this pull request May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant