Page 1 of 1

Arithmetic combinator 2.0

Posted: Sat Jan 06, 2024 12:49 am
by Illiander42
Given some new information (that the mapgen functions library will be available to players in blueprint parameters, rather than just in the modding api), I would very much like to be able to write something like this in the arithmetic combinator:

Code: Select all

([rich-text-tag:each] * min([rich-text-tag:each:red-wire], [rich-text-tag:A:green-wire]) + 7) * ([rich-text-tag:Iron-Plate] >> 4)
That particular example is a meaningless calculation, but I think gets the idea across. The rich-text-tags would obviously be the actual icons.

No-border, red-border, green-border for wire color would be my initial thoughts for border colour.