Closes Anuken/Mindustry-Suggestions/issues/4608

This commit is contained in:
Anuken
2023-08-11 12:16:40 -04:00
parent 398a6f6a42
commit fb4787ba52
8 changed files with 34 additions and 7 deletions

View File

@@ -2237,7 +2237,7 @@ lst.operation = Perform an operation on 1-2 variables.
lst.end = Jump to the top of the instruction stack.
lst.wait = Wait a certain number of seconds.
lst.stop = Halt execution of this processor.
lst.lookup = Look up an item/liquid/unit/block type by ID.\nTotal counts of each type can be accessed with:\n[accent]@unitCount[] / [accent]@itemCount[] / [accent]@liquidCount[] / [accent]@blockCount[]
lst.lookup = Look up an item/liquid/unit/block type by ID.\nTotal counts of each type can be accessed with:\n[accent]@unitCount[] / [accent]@itemCount[] / [accent]@liquidCount[] / [accent]@blockCount[]\nFor the inverse operation, sense [accent]@id[] of the object.
lst.jump = Conditionally jump to another statement.
lst.unitbind = Bind to the next unit of a type, and store it in [accent]@unit[].
lst.unitcontrol = Control the currently bound unit.
@@ -2275,6 +2275,7 @@ laccess.dead = Whether a unit/building is dead or no longer valid.
laccess.controlled = Returns:\n[accent]@ctrlProcessor[] if unit controller is processor\n[accent]@ctrlPlayer[] if unit/building controller is player\n[accent]@ctrlCommand[] if unit controller is a player command\nOtherwise, 0.
laccess.progress = Action progress, 0 to 1.\nReturns production, turret reload or construction progress.
laccess.speed = Top speed of a unit, in tiles/sec.
laccess.id = ID of a unit/block/item/liquid.\nThis is the inverse of the lookup operation.
lcategory.unknown = Unknown
lcategory.unknown.description = Uncategorized instructions.