Tags: MerlinofMines/EasyCommands
Tags
Added support for custom number formatting (#253) This commit adds a new global variable for "NUMBER_FORMAT" which the user can now set from their script to change the number format used when outputing numbers. It also changes the default number format used to \#0.\#\#\#\#\#\#\#\#, which ensures that large numbers are not truncated using scientific notation.
Added Support for Build & Damage Properties for all terminal blocks (#… …248) This commit adds some useful properties to all terminal blocks for the build & damage limits, levels & ratios. This change also moves "build, building, built" to a new Build property and adds a Damage property ("damage", "damaged"). Lastly, the Assembler block was slightly updated to use the build property.
Added Shuffle and Random Operation and Reorganized Functional Tests (#… …147) * Added Shuffle and Random Operation and Reorganized Functional Tests This commit adds two new operations, Shuffle (List) and Random (List or Number). Random will return a random item from a list, or a random whole number from 0 to to the specified numeric value. Also added a NewKeyedList utility and fixed many .ToArray() references to save characters. I also re-organized all of the Functional Tests by functional area and moved BlockHandlerTests into this folder. Lastly, split out Ternary and Color Comparison Tests
PreviousNext