-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Siege Lore Feature - Record of Siege data and outcome on the banner item #909
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…xclusive and maximum is inclusive
LlmDl
requested changes
Apr 23, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a first-pass read through of things. Some changes need to be made. Once this is completed I'll re-review.
src/main/java/com/gmail/goosius/siegewar/settings/ConfigNodes.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/utils/SiegeWarSiegeCompletionUtil.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/utils/SiegeWarLoreUtil.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/utils/SiegeWarLoreUtil.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/utils/SiegeWarLoreUtil.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/listeners/SiegeWarLoreListener.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/listeners/SiegeWarLoreListener.java
Outdated
Show resolved
Hide resolved
LlmDl
requested changes
Apr 27, 2024
src/main/java/com/gmail/goosius/siegewar/listeners/SiegeWarLoreListener.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/listeners/SiegeWarLoreListener.java
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/utils/SiegeWarLoreUtil.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/utils/SiegeWarLoreUtil.java
Outdated
Show resolved
Hide resolved
src/main/java/com/gmail/goosius/siegewar/utils/SiegeWarLoreUtil.java
Outdated
Show resolved
Hide resolved
LlmDl
requested changes
Apr 27, 2024
src/main/java/com/gmail/goosius/siegewar/listeners/SiegeWarLoreListener.java
Show resolved
Hide resolved
LlmDl
approved these changes
May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Banners after sieges will now display a permanent record of the siege in their lore and name.
Right clicking the placed lore banner will give a chat message with data, this allows players to display banners (e.g in a museum) and allow other players to come through and view the details without needing to hold the physical item.
Right clicking air with the banner item will display the same message.
The banner can be crafted into a Siege Shield with the lore and name intact - The lore and name are also kept intact when placing and breaking it.
The lore banners can not be used to start a new siege, they must craft a new banner.
This should allow players to trade banners from well-known sieges or create museums.
New Nodes/Commands/ConfigOptions:
siege_lore.enabled
Adds a lot of translation keys for Siege Lore to make the text as configurable as possible.
Relevant Issue ticket:
#854
I have tested this pretty thoroughly on 1.20.4 and not been able to cause any issues, it correctly blocks/allows sieges, breaking, placing, crafting the banner worked in all circumstances. Intentionally messing up Siege data by removing it before ending it with admin commands is handled.
By making this pull request, I represent that I have the right to waive copyright and related rights to my contribution, and agree that all copyright and related rights in my contributions are waived, and I acknowledge that the TownyAdvanced organization has the copyright to use and modify my contribution under the SiegeWar License for perpetuity.