Skip to content

v1.3.0

Choose a tag to compare

@MerlinofMines MerlinofMines released this 04 Feb 04:22
· 52 commits to master since this release

Special thanks to @jgersti for contributions including Variable Vectors support, several character savings and improvements, and several other improvements

What's Changed

New Features

  • Added sign operator, for getting the sign of a given number or vector
  • Variable Vectors. Vectors can now be created from vectors using the syntax a:b:c where a,b,c can be the names of variables (must be numeric).
  • Added "attached" property to Wheel Suspension for getting and setting whether the wheel is attached.
  • Added Dynamic Item Types support, so that non-vanilla items can be fetched from cargo and produced in assemblers.
  • Added support for dynamic function execution. You can now use a variable name as the name of a function and invoke it using call myFunctionName
  • Added natural and artificial gravity properties to cockpits and parachutes
  • Added altitude property for Cockpits and Remote Controls
  • Added support for rounding to a specific number of digits
  • Added Railgun, Cannon and AutoCannon keywords for guns
  • Added item and blueprint keywords for the new Railgun, Cannon and Autocannon Ammo types

Changed Behavior

  • Added missing default boolean property to Displays
  • Added Forget command to stop listening to a given channel (opposite of Listen command)
  • The Power operation (^) now is applied before *, /, %
  • The "Velocity" property of cockpits, remote controls and parachutes now returns a vector instead of just the magnitude
  • The Round operation can now come before or after the given operand. You can also use Round as a BiOperand to round a given number or vector to the specified number of digits.

Bug Fixes

  • Fixed incorrect default boolean properties for Turrets and Warheads
  • Fixed issue where combining lists used references instead of values for other in memory variables
  • Fixed bad messaging with invalid property lookup
  • Fixed incorrect height value in parachutes
  • Fixed broadcast listeners remaining active after the script is re-parsed

Other Changes

  • Added Collections to the Navbar
  • Simplified code for getting block directions
  • Reworked Tokenization
  • Miscellaneous character savings
  • Improved operational tier support
  • Added missing docs around the newline character
  • Added missing docs around collection subtraction

Full Changelog: v1.2.0...v1.3.0