Suggestion Closed · Implemented

Negative in-line conditions (Suggestion)

#1289 opened by Unknown 5 years ago

Unknownreported this suggestion

Summary

We already have in-line conditions which are amazing for making files much more concise, but at the current time, they do not support 'negative' conditions (eg. - inblock{b=water} false). It would be great to have an option to do this, as it would make in-line conditions much better.

Usage

Similarly to the current usage of in-line conditions, I propose the following format:

- skill{s=NotWater} @self !inblock{b=water} ~onTimer:10

With the ! symbol indicating a negative or 'false' condition.

Value

Would help to streamline skill configs and save a lot of additional typing.

Priority

Medium priority.

Implementation

- skill{s=NotWater} @self !inblock{b=water} ~onTimer:10

With the ! symbol indicating a negative or 'false' condition.

Sign in to join the discussion.