swarm-0.7.0.0: data/scenarios/Testing/1634-message-colors.yaml
version: 1
name: Robot message log coloring
description: |
Demo color selection for robot log messages
robots:
- name: base
devices:
- logger
- hearing aid
- name: saybot
system: true
display:
invisible: false
attr: blue
program: |
loc <- whereami;
match loc \_. \y.
let idx = -y in
wait $ idx + 1;
say $ "Hello saybot" ++ format idx;
world:
palette:
'.': [grass]
'B': [grass, null, base]
's': [grass, null, saybot]
upperleft: [0, 0]
map: |
B.s
..s
..s
..s
..s
..s
..s
..s
..s
..s
..s
..s
..s
..s