CraftBook icon indicating copy to clipboard operation
CraftBook copied to clipboard

Addition of standard comparison VAR ICs

Open LadyCailinBot opened this issue 10 years ago • 1 comments

CRAFTBOOK-2938 - Reported by Josh.Armitage

Currently, the only comparison VAR IC is VAR170 (Is At Least). While useful, additional comparison operations would logically round this out, including Is Less Than, Is [Equal To], Is Not, Is In, and Is Between, potential functions described thus:

Is Less Than: Determines if the numerical value of a variable is less than the value declared on the IC Is: Determines if a numerical or string value of a variable is set to the declared value on the IC Is Not: Determines if a numerical or string value of a variable is set to any value other than the declared value on the IC Is In: Determines if the numerical value of a variable one of various declared values on the IC (For example, match if value is in 1,2,3,5,7) Is Between: Determines if the numerical value of a variable falls between two bounds.

If these are deemed useful enough to include, the negated comparisons Is Not In and Is Not Between could also be useful.

This would work exceptionally well with the recent MOD additions to VAR100.

LadyCailinBot avatar Mar 17 '14 13:03 LadyCailinBot

Comment by me4502

Oh, sorry for not replying, I thought I had responded.

This is planned, currently ICs are on hold until the wiki is brought up to date and UUID changes are finished.

LadyCailinBot avatar Apr 10 '14 11:04 LadyCailinBot