MerlinofMines / EasyCommands

Github Repository for Ingame Scripts built by MerlinofMines. Uses MDK to Deploy to SpaceEngineerse
GNU General Public License v3.0
8 stars 3 forks source link

Fixed Variable Increment Bug #217

Closed MerlinofMines closed 2 years ago

MerlinofMines commented 2 years ago

This commit fixes a bug where variables couldn't be incremented by a selector property value due to bad processing rules.

This commit better clarifies the distinction between increaseing and incrementing, and better clarifies which item is intended to be "incremented" (either a variable or a selector property).

Also removes "add" and "subtract" keywords which weren't actually useful in that context.

Finally, adds missing tests around incrementing variables by selector properties and vice versa. IncrementVariableTests have been split out to their own test file.