Skip to content

Conversation

@Absolutionism
Copy link
Contributor

Problem

EntityData utilized the parse marks to determine the plurality and baby state of a pattern. This could be confusing when looking at the patterns and seeing 1, 2, 4 and 8 rather than specific terminology.

Solution

  • Removes all usages of parse marks in the entities section in the default.lang in favor of parse tags. Including the age pattern
    • 1 has been replaced with plural
    • 2 has been replaced with unknown_plural
    • 4 has been replaced with baby
    • 8 has been replaced with adult
    • The age pattern default with no specified age state now uses unknown_age
    • Updates the comments at the beginning of the entities section for describing the usages of these tags
  • Updates EntityData#init to remove the usage/check for parse marks in favor of parse tags

Testing Completed

quickTest

Supporting Information

N/A


Completes: none
Related: none

@Absolutionism Absolutionism requested a review from a team as a code owner June 26, 2025 05:07
@Absolutionism Absolutionism requested review from cheeezburga and erenkarakal and removed request for a team June 26, 2025 05:07
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Jun 26, 2025
Copy link
Member

@APickledWalrus APickledWalrus left a comment

Choose a reason for hiding this comment

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

looks good, couple ideas i had while looking through (perhaps not in scope)

@skriptlang-automation skriptlang-automation bot added feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. and removed needs reviews A PR that needs additional reviews labels Jun 26, 2025
@Absolutionism Absolutionism added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Jun 27, 2025
Absolutionism and others added 3 commits June 29, 2025 22:22
…taParseTags

# Conflicts:
#	src/main/resources/lang/default.lang
…taParseTags

# Conflicts:
#	src/main/java/ch/njol/skript/entity/EntityData.java
#	src/main/resources/lang/default.lang
@sovdeeth sovdeeth merged commit 6d3f461 into SkriptLang:dev/feature Jun 30, 2025
5 checks passed
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. labels Jun 30, 2025
@Absolutionism Absolutionism moved this to Done in 2.12 Releases Jul 2, 2025
Burbulinis pushed a commit to Burbulinis/Skript that referenced this pull request Jul 9, 2025
* Initial Commit

* Additional Cleanup

* Update default.lang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

completed The issue has been fully resolved and the change will be in the next Skript update. enhancement Feature request, an issue about something that could be improved, or a PR improving something.

Projects

Status: Done - Released

Development

Successfully merging this pull request may close these issues.

4 participants