Debian Codegraph @

scripts/dialogues/sarin_start.py

raw symbols SCIP
1 import dialogue
2 import adonthell
3
4 # -- pygettext support
5 def _(message): return message
6
7 class sarin_start (dialogue.base):
8 text = [None,\
9 _("What insolence! $name, do you believe the depths of what they have done to our Lady? To accuse her of common theft, as if she was a human! And to lock her away in this tiny, dirty room! I tell you, I cannot bear it."),\
10 _("I understand, Sarin, but we must bear this for now. At least until I have been able to uncover the truth."),\
11 _("The truth? The truth is that our Lady is innocent and that, that Dwarf ruffian, he's a liar."),\
12 _("Perhaps so. Hopefully, we shall see whether he is. What do you know of him?"),\
13 _("Very little, I'm happy to say. I was in the common room downstairs, arranging for dinner, when the Lady came out of the room they were in, as angry as I have ever seen her."),\
14 _("I gather he is always difficult. Do you know anything else? About the other people at the inn, perhaps?"),\
15 _("Nay, not a thing. An uncouth lot, save for the one. An artist, I think. Lady Silverhair had words with her when we arrived, but Janesta and I were too busy to learn her name."),\
16 _("I'll have to speak to her. Perhaps she may know something. Thank you, Sarin. I'm glad you are here to watch over the Lady during this trouble."),\
17 _("I wish I could do more, $name. Good luck to you."),\
18 _("Her name is Frostbloom. Not terribly friendly, but the Lady thinks highly of her talents. She went so far as to buy that figurine on the mantle."),\
19 _("Is that one of hers? She is indeed talented. I may only hope you are as talented in ending this trouble. Good luck to you, $name."),\
20 _("He seems to be telling the truth about the theft. But I cannot believe that our Lady did the deed. There must be a true thief about."),\
21 _("I beg you hurry and find him, then. For every minute you do not, is one minute closer our Lady is to peril."),\
22 _("That barbarian must have done something terrible to put her in such a state.")]
23
24 cond = [\
25 "adonthell.gamedata_get_quest(\"demo\").get_val (\"talked_about_yeti\") == 1\n",\
26 "adonthell.gamedata_get_quest(\"demo\").get_val (\"bjarn_door_open\") >= 3\n"]
27
28 code = [\
29 "adonthell.achievements.update(2, 21)\n"]
30
31 # -- (speaker, code, ((text, operation, condition), ...))
32 dlg = [\
33 (None, -1, ((1, 0, -1), )),\
34 ("Sarin Trailfollower", 0, ((2, 0, -1), )),\
35 (None, -1, ((3, 0, -1), )),\
36 ("Sarin Trailfollower", -1, ((4, 0, -1), (12, 0, 1), )),\
37 (None, -1, ((5, 0, -1), )),\
38 ("Sarin Trailfollower", -1, ((14, 0, -1), )),\
39 (None, -1, ((7, 0, -1), )),\
40 ("Sarin Trailfollower", -1, ((10, 0, 0), (8, 0, -1), )),\
41 (None, -1, ((9, 0, -1), )),\
42 ("Sarin Trailfollower", -1, ()),\
43 (None, -1, ((11, 0, -1), )),\
44 ("Sarin Trailfollower", -1, ()),\
45 (None, -1, ((13, 0, -1), )),\
46 ("Sarin Trailfollower", -1, ()),\
47 ("Sarin Trailfollower", -1, ((6, 0, -1), ))]
48
49
50 def __init__(self, p, n):
51 self.namespace = globals ()
52 self.the_player = p
53 self.the_npc = n