Update mlog
syntax to be compatible with Mindustry v7. Closes #3.
Added
- Jump labels syntax
- Operators:
strictEqual
,asin
,acos
, andatan
- Commands:
wait
andlookup
- 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
- Built-in:
- Unrecognized at-names will also be highlighted
Fixed
- Highlighting for:
@power-node-large
,@battery-large
,@solar-panel-large
Changed
- Operators:
atan2
anddst
withangle
andlen
, respectively
Deprecated
- At-names:
@commanded
- Operators:
atan2
anddst
. While not officially deprecated in-game, it is unclear if they will continue to be supported and the game seems to be favoring the newangle
andlen
, respectively.