Added loci, and made dialog processing internal to the engine.
This commit is contained in:
parent
5010042430
commit
9cda61a895
11 changed files with 1860 additions and 1269 deletions
|
@ -47,7 +47,19 @@ loadAlways:
|
|||
name: guy
|
||||
description: a guy
|
||||
location: [4, 20]
|
||||
behavior: wander
|
||||
behaviors:
|
||||
none: none # might this work to prevent this character from doing anything?
|
||||
customValues:
|
||||
dialogs: testing/testDialog.yml
|
||||
|
||||
- !NPC
|
||||
name: follower
|
||||
description: a follower
|
||||
location: [6, 26]
|
||||
behaviors:
|
||||
go: [-1, follow]
|
||||
arrive: [-1, follow]
|
||||
customValues:
|
||||
follow:
|
||||
distance: 2
|
||||
isFollowing: True
|
||||
target: You # yes, YOU!
|
||||
|
|
|
@ -15,7 +15,7 @@ replies:
|
|||
opener: I would, but there's still a bunch of foreshadowing and stuff we
|
||||
have to get through first.
|
||||
action: back
|
||||
script: set tellmore += 1
|
||||
script: set global tellmore += 1
|
||||
- case: else
|
||||
opener: You really want to know more, don't you?
|
||||
action: back
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue