@@ -244,7 +244,7 @@ to an empty string deletes it from the state.
244
244
245
245
# Opcodes of Server-to-Plugin Commands
246
246
247
- These are the opcodes valid for commands sent by the server to a plug-in� s control function.
247
+ These are the opcodes valid for commands sent by the server to a plug-in' s control function.
248
248
Only one opcode will be present per control function invocation.
249
249
250
250
@@ -333,7 +333,7 @@ Parameters:
333
333
# Opcodes of Plugin-to-Server Commands
334
334
335
335
These are the opcodes valid for commands returned by a plug-in to a server. Multiple such
336
- commands can be combined into a multi-command by separating them with a pipe (�|� ) character.
336
+ commands can be combined into a multi-command by separating them with a pipe ('|' ) character.
337
337
338
338
### Move(direction=int: int )
339
339
@@ -342,7 +342,7 @@ signed integers. The permitted range values are "-1", "0" or "1".
342
342
343
343
Parameters:
344
344
345
- * ` direction ` desired displacement for the move, e.g. � 1:1� or � 0:-1�
345
+ * ` direction ` desired displacement for the move, e.g. ' 1:1' or ' 0:-1'
346
346
347
347
Example:
348
348
@@ -362,7 +362,7 @@ position, expressed relative to the current position.
362
362
363
363
Parameters:
364
364
365
- * ` direction ` desired displacement for the spawned mini-bot, e.g. � -1:1�
365
+ * ` direction ` desired displacement for the spawned mini-bot, e.g. ' -1:1'
366
366
* ` name ` arbitrary string, except the following characters are
367
367
not permitted: '|', ',', '=', '('
368
368
* ` energy ` energy budget to transfer to the spawned mini-bot (minimum: 100 EU)
@@ -473,6 +473,22 @@ Energy Cost/Permissions:
473
473
474
474
475
475
476
+ ### MarkCell(position=int: int ,color=string)
477
+
478
+ Displays a cell as marked. You can use this as a debugging tool.
479
+
480
+ Parameters:
481
+
482
+ * ` position ` desired displacement relative to the current bot, e.g. '-2:4' (defaults to '0:0')
483
+ * ` color ` color to use for marking the cell (defaults to '#8888ff'), e.g. '#ff8800'
484
+
485
+ Energy Cost/Permissions:
486
+
487
+ * for master bot: permitted, no energy consumed
488
+ * for mini-bot: permitted, no energy consumed
489
+
490
+
491
+
476
492
### Log(text=string)
477
493
478
494
Shortcut for setting the state property ` debug ` , which by convention contains an optional
0 commit comments