Skip to content

Commit

Permalink
Use the new wall in move tutorial (#2160)
Browse files Browse the repository at this point in the history
* add the new boundary wall to `entities.yaml`
* use the new boundary wall to simplify the scenario code
  * the door visual is achieved by using an invisible walkable boundary entity called "door"
* use instant wait
* directly check the base position in objective conditions 
* use one-line code snippets in the markdown description so that they are rendered on a single line
  • Loading branch information
xsebek authored Sep 30, 2024
1 parent 02b151f commit 0cd9278
Show file tree
Hide file tree
Showing 5 changed files with 169 additions and 342 deletions.
11 changes: 11 additions & 0 deletions data/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,17 @@
############################################################
### Utility ################################################
############################################################
- name: wall
display:
char: '+'
attr: entity
description:
- A wall
properties: [unwalkable, known, boundary]
# following are "legacy" walls that do not connect automatically,
# but require explicitly placing each one - this can be used for
# precise control, but in most cases the simple 'wall' is better
# because the 'boundary' updates it to look nice
- name: upper left corner
display:
attr: entity
Expand Down
Loading

0 comments on commit 0cd9278

Please sign in to comment.