packages feed

swarm-0.7.0.0: data/scenarios/Testing/504-teleport-self.yaml

version: 1
name: Teleport self in win condition check
description: |
  `teleport self` did not work in the win condition check.
  https://github.com/swarm-game/swarm/issues/504
objectives:
  - condition: |
      try {
        create "tree"; place "tree";
        teleport self (5,0);
        ishere "tree"
      } { pure false }
solution: |
  place "tree"
robots:
  - name: base
    loc: [5, 0]
    dir: east
    devices:
      - treads
      - logger
      - grabber
    inventory:
      - [1, tree]
world:
  palette:
    '.': [grass]
    '+': [stone, wall]
  upperleft: [-1, 1]
  map: |
    ++++++++
    +......+
    ++++++++