Skip to content

Upgrades Custom Messages to Hooks and ShipInit#5101

Merged
serprex merged 121 commits intoHarbourMasters:developfrom
leggettc18:feat/hooks/custom-message
Jan 15, 2026
Merged

Upgrades Custom Messages to Hooks and ShipInit#5101
serprex merged 121 commits intoHarbourMasters:developfrom
leggettc18:feat/hooks/custom-message

Conversation

@leggettc18
Copy link
Contributor

@leggettc18 leggettc18 commented Feb 28, 2025

This PR is my effort to convert our old Custom Message systems to use the OnTextLoad hook that I backported from 2Ship, and ShipInit to replace our previous methods for displaying Custom Messages. Some articles, colors, and icons got lost in translation that I know of, so it's not 100% done yet. However these are all visual, so playtesters are safe to go ahead and try this build out to see if they can find any bugs like text popping up in the wrong places or hooks not getting registered properly.

Build Artifacts

@leggettc18 leggettc18 force-pushed the feat/hooks/custom-message branch from 25e3154 to 9118744 Compare March 12, 2025 00:42
@leggettc18 leggettc18 force-pushed the feat/hooks/custom-message branch from cf12650 to 4093eda Compare March 25, 2025 02:12
@leggettc18 leggettc18 marked this pull request as ready for review March 25, 2025 02:15
@leggettc18 leggettc18 removed the do not merge Not ready or not valid changes label Jan 14, 2026
@leggettc18
Copy link
Contributor Author

I removed Do Not Merge now that this is up to date with latest dev and I did a playthrough of it and couldn't find anything broken. Hinted shop items are a little weird since they show up as something like "They say a child shopkeeper sells Buy Hylian Shield", but that's the only blemish I've found and I don't really know of much of a way around it, other than maybe renaming them to something like "Hylian Shield (Buy)" or something like that so it still grammatically works and is still clear it's referring to the shop item.

@leggettc18 leggettc18 requested a review from serprex January 14, 2026 00:51
@serprex
Copy link
Contributor

serprex commented Jan 14, 2026

@PurpleHato may have thoughts here

re shop hints, why can't string interpolation remove "Buy " prefix?

@leggettc18
Copy link
Contributor Author

Hmm, would need to check the other languages to see if it would be that simple, but it's certainly worth a look.

@leggettc18
Copy link
Contributor Author

Hints for shop items should be better now. Need to go back over current dev branch to make sure I'm not missing some hint types/changes that may or may not have occurred since when I first made this.

@serprex serprex requested a review from Pepper0ni January 14, 2026 23:40
Copy link
Contributor

@Pepper0ni Pepper0ni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only 1 oversight to patch then I'm fine with this.

@serprex serprex merged commit 7b3efb1 into HarbourMasters:develop Jan 15, 2026
5 of 6 checks passed
@leggettc18 leggettc18 deleted the feat/hooks/custom-message branch January 15, 2026 21:23
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.

5 participants