Debian Codegraph @

scripts/dialogues/janesta_start.py

raw symbols SCIP
1 import dialogue
2 import adonthell
3
4 # -- pygettext support
5 def _(message): return message
6
7 class janesta_start (dialogue.base):
8 text = [None,\
9 _("Oh, $name, we've been so worried for the Mistress. Can't you do something to set her free?"),\
10 _("I will try, Janesta. But you must be brave. This is a difficult time for Lady Silverhair, and she needs us all to help her through."),\
11 _("I will try. Thank you, $name."),\
12 _("Perhaps. Do you know anything about this dwarf, Fingolson?"),\
13 _("Nothing, I'm afraid. This is my first time here, and I was brought straight to the Mistress' room to make it ready. This room is so awful, I cannot see how they expect a High Born to stand it."),\
14 _("I see. Thank you, Janesta. I'm glad you are here to care for our Lady."),\
15 _("Oh, $name. I pray that this will turn out right.")]
16
17 code = [\
18 "adonthell.achievements.update(2, 11)\n"]
19
20 # -- (speaker, code, ((text, operation, condition), ...))
21 dlg = [\
22 (None, -1, ((1, 0, -1), )),\
23 ("Janesta Skywind", 0, ((2, 0, -1), (4, 0, -1), )),\
24 (None, -1, ((3, 0, -1), )),\
25 ("Janesta Skywind", -1, ()),\
26 (None, -1, ((5, 0, -1), )),\
27 ("Janesta Skywind", -1, ((6, 0, -1), )),\
28 (None, -1, ((7, 0, -1), )),\
29 ("Default", -1, ())]
30
31
32 def __init__(self, p, n):
33 self.namespace = globals ()
34 self.the_player = p
35 self.the_npc = n