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

[1.20.1] Makes Living Evolution configurable #2000

Open
wants to merge 1 commit into
base: 1.20.1
Choose a base branch
from

Conversation

mystchonky
Copy link

@mystchonky mystchonky commented Oct 24, 2023

LivingStats tag now contain a boolean evolved that stores whether the Item has evolved or not. Living evolution ritual now simply calls the setEvolved method in LivingStats which updates the tag to true. By default, this also updates the maxPoints to 300, but this can be overridden for custom behaviour.
For example, One could remove the points update during evolution for custom item but still retain the information that item has evolved or not.
ILivingContainer also now contains a method to control whether evolution is allowed or not.

@mystchonky mystchonky changed the title Makes the points gauned by Living Evolution configurable Makes the points gained by Living Evolution configurable Oct 28, 2023
@VT-14 VT-14 added the 1.20 label Jan 22, 2024
@mystchonky mystchonky closed this Jan 25, 2024
@mystchonky mystchonky reopened this Jan 25, 2024
@mystchonky mystchonky changed the title Makes the points gained by Living Evolution configurable [1.20.1] Makes Living Evolution configurable Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants