Skip to main content

MlogDocs

2026-05-27

1. **==** 2. **Not** 3. **<** 4. **<=** 5. **>** 6. **>=** 7. **===** 8. **Always**

Jump

  1. ==
  2. Not
  3. <
  4. <=
  5. >
  6. >=
  7. ===
  8. Always

Mlog Invention

Yrueii.github.io/MlogDocs/MlogInvention

Built in variables

Global

Environment

Sensors

Blocks

Items

Liquids

Units

Text form instruction

Normal processor

color r b g a

col n

stroke n

line x y x2 y2

rect x y width height

lineRect x y width height

poly x y sides radius rotation

linePoly x y  sides radius rotation

triangle x y x2 y2 x3 y3

image x y @copper size rotation

shoot block1 x y shoot

shootp block1 unit shoot

config block1 to

color block1 to

any health

enemy	shield

ally	armor

player	maxHealth

attacker

flying

boss

ground

sub

mul

div

idiv

mod

pow

equal

notEqual

land

lessThan

lessThanEq

greaterThan

greaterThanEq

strictEqual

shl

shr

or

and

xor

not

max

min

angle

angleDiff

len

noise

abs

log

log10

floor

ceil

sqrt

rand

sin

cos

tan

asin

acos

atan

unit

item

liquid

notEqual

lessThan

lessThanEq

greaterThan

greaterThanEq

strictEqual

always

ucontrol idle

stop

move x y

approach x y radius

pathfind x y

autoPathfind

boost enable

target x y shoot

targetp unit shoot

itemDrop to amount

itemTake from amount

payDrop

payTake takeUnits

payEnter

mine x y

flag value

build x y block rotation config

getBlock x y type building floor

within x y radius result

unbind

enemy distance

   ally		   health

   player	   shield

   attacker	   armor

   flying	   maxHealth

   boss

   ground

core

    storage

    generator

    turret

    factory

    repair

    battery

    reactor

World Processor

ore

block

building

ore

    block

true burning

freezing

unmoving

wet

melting

sapped

electrified

spore-slowed

tarred

overdrive

overclock

boss

shocked

blasted

waveTimer

waves

wave

waveSpacing

waveSending

attackMode

enemyCoreBuildRadius

dropZoneRadius

unitCap

mapArea 0 x y 100 100

lighting

ambientLight

solarMultiplier

buildSpeed

unitHealth

unitBuildSpeed

unitCost

unitDamage

blockHealth

blockDamage

rtsMinWeight

rtsMinSquad

announce

toast

mission

zoom level

stop

warn

cross

blockFall

placeBlock

placeBlockSpark

breakBlock

spawn

trail

breakProp

smokeCloud

vapor

hit

hitSquare

shootSmall

shootBig

smokeSmall

smokeBig

smokeColor

smokeSquare

smokeSquareBig

spark

sparkBig

sparkShoot

sparkShootBig

drill

drillBig

lightBlock

explosion

smokePuff

sparkExplosion

crossExplosion

wave

bubble

player

core

unit

unitCount

playerCount

coreCount

unitCount

Lookup IDs

Blocks

Liquids

Units

Items

Built in variables

Global

Environment

Sensors

Blocks

Items

Liquids

Units

Text form instruction

Normal processor

color r b g a

col n

stroke n

line x y x2 y2

rect x y width height

lineRect x y width height

poly x y sides radius rotation

linePoly x y  sides radius rotation

triangle x y x2 y2 x3 y3

image x y @copper size rotation

shoot block1 x y shoot

shootp block1 unit shoot

config block1 to

color block1 to

any health

enemy	shield

ally	armor

player	maxHealth

attacker

flying

boss

ground

sub

mul

div

idiv

mod

pow

equal

notEqual

land

lessThan

lessThanEq

greaterThan

greaterThanEq

strictEqual

shl

shr

or

and

xor

not

max

min

angle

angleDiff

len

noise

abs

log

log10

floor

ceil

sqrt

rand

sin

cos

tan

asin

acos

atan

unit

item

liquid

notEqual

lessThan

lessThanEq

greaterThan

greaterThanEq

strictEqual

always

ucontrol idle

stop

move x y

approach x y radius

pathfind x y

autoPathfind

boost enable

target x y shoot

targetp unit shoot

itemDrop to amount

itemTake from amount

payDrop

payTake takeUnits

payEnter

mine x y

flag value

build x y block rotation config

getBlock x y type building floor

within x y radius result

unbind

enemy distance

   ally		   health

   player	   shield

   attacker	   armor

   flying	   maxHealth

   boss

   ground

core

    storage

    generator

    turret

    factory

    repair

    battery

    reactor

World Processor

ore

block

building

ore

    block

true burning

freezing

unmoving

wet

melting

sapped

electrified

spore-slowed

tarred

overdrive

overclock

boss

shocked

blasted

waveTimer

waves

wave

waveSpacing

waveSending

attackMode

enemyCoreBuildRadius

dropZoneRadius

unitCap

mapArea 0 x y 100 100

lighting

ambientLight

solarMultiplier

buildSpeed

unitHealth

unitBuildSpeed

unitCost

unitDamage

blockHealth

blockDamage

rtsMinWeight

rtsMinSquad

announce

toast

mission

zoom level

stop

warn

cross

blockFall

placeBlock

placeBlockSpark

breakBlock

spawn

trail

breakProp

smokeCloud

vapor

hit

hitSquare

shootSmall

shootBig

smokeSmall

smokeBig

smokeColor

smokeSquare

smokeSquareBig

spark

sparkBig

sparkShoot

sparkShootBig

drill

drillBig

lightBlock

explosion

smokePuff

sparkExplosion

crossExplosion

wave

bubble

player

core

unit

unitCount

playerCount

coreCount

unitCount

Normal processor

color r b g a

col n

stroke n

line x y x2 y2

rect x y width height

lineRect x y width height

poly x y sides radius rotation

linePoly x y  sides radius rotation

triangle x y x2 y2 x3 y3

image x y @copper size rotation

shoot block1 x y shoot

shootp block1 unit shoot

config block1 to

color block1 to

any health

enemy	shield

ally	armor

player	maxHealth

attacker

flying

boss

ground

sub

mul

div

idiv

mod

pow

equal

notEqual

land

lessThan

lessThanEq

greaterThan

greaterThanEq

strictEqual

shl

shr

or

and

xor

not

max

min

angle

angleDiff

len

noise

abs

log

log10

floor

ceil

sqrt

rand

sin

cos

tan

asin

acos

atan

unit

item

liquid

notEqual

lessThan

lessThanEq

greaterThan

greaterThanEq

strictEqual

always

ucontrol idle

stop

move x y

approach x y radius

pathfind x y

autoPathfind

boost enable

target x y shoot

targetp unit shoot

itemDrop to amount

itemTake from amount

payDrop

payTake takeUnits

payEnter

mine x y

flag value

build x y block rotation config

getBlock x y type building floor

within x y radius result

unbind

enemy distance

   ally		   health

   player	   shield

   attacker	   armor

   flying	   maxHealth

   boss

   ground

core

    storage

    generator

    turret

    factory

    repair

    battery

    reactor

World Processor

ore

block

building

ore

    block

true burning

freezing

unmoving

wet

melting

sapped

electrified

spore-slowed

tarred

overdrive

overclock

boss

shocked

blasted

waveTimer

waves

wave

waveSpacing

waveSending

attackMode

enemyCoreBuildRadius

dropZoneRadius

unitCap

mapArea 0 x y 100 100

lighting

ambientLight

solarMultiplier

buildSpeed

unitHealth

unitBuildSpeed

unitCost

unitDamage

blockHealth

blockDamage

rtsMinWeight

rtsMinSquad

announce

toast

mission

zoom level

stop

warn

cross

blockFall

placeBlock

placeBlockSpark

breakBlock

spawn

trail

breakProp

smokeCloud

vapor

hit

hitSquare

shootSmall

shootBig

smokeSmall

smokeBig

smokeColor

smokeSquare

smokeSquareBig

spark

sparkBig

sparkShoot

sparkShootBig

drill

drillBig

lightBlock

explosion

smokePuff

sparkExplosion

crossExplosion

wave

bubble

player

core

unit

unitCount

playerCount

coreCount

unitCount

Lookup IDs

Blocks

Liquids

Units

Items