Skip to content

Releases: Antyos/vscode-mlog

v0.1.0

21 Aug 01:41
342ac75
Compare
Choose a tag to compare

Update mlog syntax to be compatible with Mindustry v7. Closes #3.

Added

  • Jump labels syntax
  • Operators: strictEqual, asin, acos, and atan
  • Commands: wait and lookup
  • At-names:
    • Built-in: @tick
    • Counts: @blockCount, @unitCount, @itemCount, @liquidCount
    • Controlled: @ctrlProcessor, @ctrlPlayer, @ctrlFormation
    • Sensable: @progress, @timescale, @size, @dead, @range, @boosting, @controller
    • Other: @payload-propulsion-tower, @payload-source, @payload-void
  • Unrecognized at-names will also be highlighted

Fixed

  • Highlighting for: @power-node-large, @battery-large, @solar-panel-large

Changed

  • Operators: atan2 and dst with angle and len, respectively

Deprecated

  • At-names: @commanded
  • Operators: atan2 and dst. While not officially deprecated in-game, it is unclear if they will continue to be supported and the game seems to be favoring the new angle and len, respectively.

v0.0.2

25 Dec 22:47
Compare
Choose a tag to compare

Added

  • Global constants: @maph and @mapw
  • No operation: noop

Fixed

  • Highlighting global constants for blocks now (correctly) use dash-case instead of camelCase. I.e. @copper-wall-large instead of @copperWallLarge
  • Fixed distinction between logical AND operator and bitwise AND. Logical AND (land) is now highlighted
    In game mlog
    Logical AND and land
    Bitwise AND b-and and

Release notes also available in Changelog.

v0.0.1

23 Dec 23:24
Compare
Choose a tag to compare

Initial release!

Adds highlighting for Mindustry Logic (mlog) files.