Mlog
1 program
Added 2026-02-16T00:00:00Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Mindustry Logic
Provenance: commit 5b59bfd2f5 · authored 2026-02-16T18:29:01+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Turret Control
Provenance: commit 5b59bfd2f5 · authored 2026-02-16T18:29:01+01:00 · agent claude-code · model sonnet · WebSearch disabled
# Turret control program
# Finds and shoots at enemies
# Bind units to control
ubind @mono
# Get turret
sensor x @this @x
sensor y @this @y
# Find closest enemy
uradar enemy any any distance @unit 1 target
# Get enemy position
sensor ex target @x
sensor ey target @y
# Aim and shoot
ucontrol targetp ex ey 1
ucontrol shoot ex ey 1
# Loop
jump 0 always