Fix bugs in Game and add some tests

This commit is contained in:
Austen McDonald
2016-08-01 06:57:20 +00:00
parent dd9775bfd7
commit a2fb425632
3 changed files with 148 additions and 13 deletions
+37
View File
@@ -0,0 +1,37 @@
characters:
-
id: 1
name: "Char without a Scene"
displayName: "A"
-
id: 2
name: "Char with a Scene"
displayName: "B"
character_viewpoints:
-
owner_id: 2
title: "The Village"
description: "This is the village."
template: "lotgd/tests/village"
data: "a:0:{}"
attachments: "a:0:{}"
actions: "a:0:{}"
scenes:
-
id: 1
title: "The Village"
description: "This is the village."
template: "lotgd/tests/village"
parent:
-
id: 2
title: "The Forest"
description: "This is a very dangerous and dark forest"
template: "lotgd/tests/forest"
parent: 1
-
id: 3
title: "The Weaponry"
description: "This is the place where you can buy awesome weapons"
template: "lotgd/tests/weaponry"
parent: 1