Skip to content

Commit

Permalink
added stage condition documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf2323 committed Nov 5, 2023
1 parent 4785b80 commit cb012ec
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/Documentation/Scripting/Building-Blocks/Conditions-List.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ This condition checks the players moon cycle (1 is full moon, 8 is Waxing Gibbou
## Number compare: `numbercompare`

This condition compares two numbers.
The valid operations are: `<`, `<=`, `=`, `>=`, `>`.
The valid operations are: `<`, `<=`, `=`, `!=`, `>=`, `>`.

!!! example
```YAML
Expand Down Expand Up @@ -435,6 +435,17 @@ Sneak condition is only true when the player is sneaking. This would probably be
```YAML
sneak
```

## Check Stage: `stage`
This condition compares the players current stage with the given stage by its index numbers.
For more take a look at the [stage objective](./Objectives-List.md#stages-stage).
The valid operations are: `<`, `<=`, `=`, `!=`, `>=`, `>`.

```YAML title="Example"
conditions:
isDeliverCookies: "stage bakeCookies = deliverCookies"
isDeliverCookiesOrAbove: "stage bakeCookies > cookCookies"
```

## Tag: `tag`

Expand Down

0 comments on commit cb012ec

Please sign in to comment.