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

Implement support for variable controlled buildheight #1265

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

Pablete1234
Copy link
Member

Allows for the use of a variable to read/write the world's max build height:

Example:

<variables>
  <maxbuildheight id="whatever"/>
</variable>
<actions>
    <action id="increase-buildheight" scope="match" expose="true">
        <set var="whatever" value="min(55,whatever+1"/>
    </action>
</actions>

Calling the action increase-buildheight will add 1 to the current height, to a max of 55

@Pablete1234 Pablete1234 added the feature New feature or request label Oct 28, 2023
@Pablete1234 Pablete1234 added the ready PR is ready to merge label Oct 29, 2023
@Electroid Electroid merged commit 938431e into dev Oct 30, 2023
2 checks passed
@Electroid Electroid deleted the variable-buildheight branch October 30, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request ready PR is ready to merge
Development

Successfully merging this pull request may close these issues.

3 participants