gameshell/testing/test1.yml

81 lines
3 KiB
YAML
Raw Normal View History

%YAML 1.2
---
openingText: Floor 1 map loaded successfully. Normally, this would describe the environment.
playerStart: [5, 26]
2019-05-30 15:44:29 -04:00
enterScript: printf "This script ran when you entered the level."
layout: |
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w0
w w0
w w w w w w w w w w w0
w w w w w w w0
w w w w w w w w w w w0
w w w w w w w w w0
w w w w w w0
w w w w w w w w w w w w0
w w w w w w w w w w w w w0
w w w w w w w w w w w w w w w w w w0
w w w w w w w w w w w0
w w w w w w w w w0
w w w w w w w0
w w w w w w w w w w w w w w w w w w0
w w w w w w w w w w0
w w w w w w0
w w w w w w0
w w w w w w w w w w0
w w w w w w w w w w0
w w w w w w w w w w w w0
w w w w w w0
w w w w0
w w w w w w0
w w w w w w w w w w0
w w w w w w w0
w w w w w0
w w w w w w0
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w0
loadAlways:
- !MapExit
id: 1
location: [5, 10]
destination: testing/test2.yml
name: upstairs
- !MapExit
id: 2
location: [21, 23]
destination: testing/test4.yml
name: downstairs
- !NPC
name: guy
description: a guy
location: [4, 20]
behaviors:
none: none # might this work to prevent this character from doing anything?
customValues:
dialogs: testing/testDialog.yml
loadOnce:
- !NPC
name: follower
description: a follower
location: [6, 26]
behaviors:
go: [-1, follow]
arrive: [-1, follow]
customValues:
follow:
distance: 2
isFollowing: True
target: You
2021-11-14 22:25:30 -05:00
- !Prefab
name: ball
location: [4, 12]
- !Prefab
name: ball
location: [7, 12]
- !Prefab
name: box
location: [4, 10]
- !Prefab
name: box
location: [7, 10]
details:
useLocation: [6, 10]