Fixed instant crash in last commit by adding valid testdata.yml, and fixed testdata.yml parsing.

This commit is contained in:
Patrick Marsee 2019-10-14 12:02:13 -04:00
parent 9cda61a895
commit aba0014e27
4 changed files with 39 additions and 14 deletions

19
testing/testdata.yml Normal file
View 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