markText
markText(any cells, [string text], [number color], [number duration]) → boolean success
Writes text on one or more cells of the field, in the given color, for the given number of turns. This text is only visible to the entity's farmer.
Writes a text on one or several cells of the field, in the color given as a parameter, for the number of turns given as a parameter. This text is only visible to the entity's farmer.
Parameters
- cells: The cell, or array of several cells, to write on, or a map associating a text with each cell (text is then ignored)
- text: The text to write (10 characters maximum)
- color: Color of the text
- duration: Duration of the text
Return
- success: Returns true if everything went well