... | @@ -6,3 +6,10 @@ Uses the bar progress to make a condition. |
... | @@ -6,3 +6,10 @@ Uses the bar progress to make a condition. |
|
| ------ | ------ | ------ | ------ |
|
|
| ------ | ------ | ------ | ------ |
|
|
| `value` | `v` | The value to compare with the bar's coefficient. Takes a decimal like 0.5 which would be equivalent to 50%. | Number |
|
|
| `value` | `v` | The value to compare with the bar's coefficient. Takes a decimal like 0.5 which would be equivalent to 50%. | Number |
|
|
| `operator` | `o, oper` | The operation to compare the `value` parameter to the bar's coefficient. | String (`greater, g, less, l, equal, e`) |
|
|
| `operator` | `o, oper` | The operation to compare the `value` parameter to the bar's coefficient. | String (`greater, g, less, l, equal, e`) |
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```
|
|
|
|
conditions:
|
|
|
|
- 'bar-progress{v=1;oper=less;m=true}'
|
|
|
|
- 'bar-progress{v=0;oper=greater;m=true}'
|
|
|
|
``` |
|
|
|
\ No newline at end of file |