01 <?xml version="1.0" encoding="ISO-8859-1"?>
02
03 <conversations>
04 <conversation scriptid="conv_man">
05 <branch id="who" title="Greetings" available="true">
06 <sentence by="player" file="./sounds/0082.mp3">Greetings. My name is Frank. Who are you?</sentence>
07 <sentence by="man" file="./sounds/b0004.mp3">My name is John.</sentence>
08 <sentence by="player" file="./sounds/0083.mp3">It's a pleasure to meet you, John.</sentence>
09 <sentence by="man" file="./sounds/b0005.mp3">Thank you.</sentence>
10 </branch>
11 <branch id="quit" title="Good Bye!" available="true">
12 <sentence by="player" file="./sounds/0093.mp3">Good bye. I'll take my leave.</sentence>
13 </branch>
14 </conversation>
15 <conversation scriptid="conv_witch">
16 <branch id="magic" title="A magic spell" available="true">
17 <sentence by="player" file="./sounds//0121.mp3">I've heard you are a witch. Could you teach me some magic spells?</sentence>
18 <sentence by="witch" file="./sounds/q0012.mp3" code="conv_witch.getBranch("news").setAvailable(true)">Maybe later.</sentence>
19 </branch>
20 <branch id="news" title="Do you have some news?" available="false">
21 <sentence by="player" file="./sounds/0126.mp3">Do you have some information for me? Anything new?</sentence>
22 <sentence by="witch" file="./sounds/q0017.mp3">No, actually not.</sentence>
23 </branch
24 <branch id="quit" title="See you." available="true">
25 <sentence by="player" file="./sounds/0137.mp3">I'll see you later.</sentence>
26 </branch>
27 </conversation>
28 </conversations>
|