Fixed instant crash in last commit by adding valid testdata.yml, and fixed testdata.yml parsing.
This commit is contained in:
parent
9cda61a895
commit
aba0014e27
4 changed files with 39 additions and 14 deletions
19
testing/testdata.yml
Normal file
19
testing/testdata.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
title: Sample Text
|
||||
openingText: "{}\nsample text"
|
||||
startLevel: testing/test1.yml
|
||||
singletons:
|
||||
- !NPC
|
||||
name: follower
|
||||
description: a follower
|
||||
location: [0, 0]
|
||||
behaviors:
|
||||
go: [-1, follow]
|
||||
arrive: [-1, follow]
|
||||
customValues:
|
||||
follow:
|
||||
distance: 2
|
||||
isFollowing: True
|
||||
target: You
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue