Read from MessageBlocks/Builds (#10981)

* Added ability to read content of messages and sensing the length of the content.

Also some bundle changes for read/write

* this commit will make mindustry unable to compile trust

* oop missed a space
This commit is contained in:
1ue999
2025-07-03 19:25:22 +02:00
committed by GitHub
parent 835c8b4a6c
commit 0852a61caa
3 changed files with 14 additions and 3 deletions

View File

@@ -2455,8 +2455,8 @@ unit.evoke.description = Builds structures to defend the Bastion core. Repairs s
unit.incite.description = Builds structures to defend the Citadel core. Repairs structures with a beam. Capable of carrying 2x2 structures.
unit.emanate.description = Builds structures to defend the Acropolis core. Repairs structures with beams. Capable of carrying 2x2 structures.
lst.read = Read a number from a linked memory cell.
lst.write = Write a number to a linked memory cell.
lst.read = Read a number from a linked memory cell.\nCan also read from variables in other processors.
lst.write = Write a number to a linked memory cell.\nCan also write to variables in other processors.
lst.print = Add text to the print buffer.\nDoes not display anything until [accent]Print Flush[] is used.
lst.printchar = Add a UTF-16 character or content icon to the print buffer.\nDoes not display anything until [accent]Print Flush[] is used.
lst.format = Replace next placeholder in text buffer with a value.\nDoes not do anything if placeholder pattern is invalid.\nPlaceholder pattern: "{[accent]number 0-9[]}"\nExample:\n[accent]print "test {0}"\nformat "example"
@@ -2566,7 +2566,7 @@ laccess.size = Size of a unit/building or the length of a string.
laccess.id = ID of a unit/block/item/liquid.\nThis is the inverse of the lookup operation.
laccess.displaywidth = Width of a display block in pixels.
laccess.displayheight = Height of a display block in pixels.
laccess.bufferusage = Number of unprocessed commands in the graphics buffer of a display.
laccess.bufferusage = Number of unprocessed commands in the graphics buffer of a display.\nLength of the content of a message.
laccess.operations = Number of operations performed on the block.\nFor displays, returns the number of drawflush operations.
lcategory.unknown = Unknown