v1.4.0
Special thanks to @jgersti for caching selectors, properties and actions, and for several other improvements and character saving changes.
What's Changed
New Features
- Heatvent Block Handler
- Searchlight Block Handler
- Custom Turret Controller Block Handler
- Added properties for CustomData and DetailedInfo for all terminal blocks
- Added support for casting a string to any primitive type using "cast" without supplying a cast type. Useful for casting arbitrary user input when you are expecting a numeric input, for example.
- Added support for "type" operation to return a variables type.
- Added support for target options on turrets and custom turret controllers.
Changed Behavior
- Turret properties have been adjusted. Use "rotation" to control Idle movement, and "target" with boolean support for getting whether the turret has a target or to reset it's target.
- Block Selectors and Groups are now cached per tick to improve performance of multiple selector lookups in the same tick.
- Properties and Actions are now cached after the first access to improve subsequent performance for accessing and modifying.
Bug Fixes
- Double quoted strings are no longer considered as possible variable references
- Fixed bug with incrementing selector properties not working as expected
Full Changelog: v1.3.1...v1.4.0