lookup
Operations
Look up an item/liquid/unit/block type by ID. Total counts of each type can be accessed with: @unitCount / @itemCount / @liquidCount / @blockCount For the inverse operation, sense @id of the object.
Syntax
lookup item result 0Parameters
| Parameter | Type | Default | Values |
|---|---|---|---|
type | ContentType | item | — |
result | value | result | — |
id | value | 0 | — |
Data taken from Mindustry v160.4 by the project generators.
Unofficial fan project, not affiliated with Anuke. Mindustry sprites, fonts and translations © Anuke, used under GPL-3.0; Fira Code under OFL-1.1. Site code is GPL-3.0.