~ubuntu-branches/debian/sid/adonthell-data/sid

« back to all changes in this revision

Viewing changes to scripts/dialogues/tristan_start.py

  • Committer: Bazaar Package Importer
  • Author(s): Gordon Fraser
  • Date: 2003-10-22 17:48:49 UTC
  • Revision ID: james.westby@ubuntu.com-20031022174849-m3mhj4t98md8zrjf
Tags: upstream-0.3.3
ImportĀ upstreamĀ versionĀ 0.3.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import dialogue
 
2
import adonthell
 
3
 
 
4
# -- pygettext support
 
5
def _(message): return message
 
6
 
 
7
class tristan_start (dialogue.base):
 
8
        text = [None,\
 
9
                _("Yes?"),\
 
10
                _("Hello, sir. My name is $name, and I am investigating the theft of Master Fingolson's gems."),\
 
11
                _("Well met then, $name! I am Tristan Illig, a merchant by trade, and currently stuck here at the Redwyne Inn until this business is cleared up. So may I ask you to continue your investigation?"),\
 
12
                _("Well, $name, I would like to be of help, but I am afraid that I know nothing that will aid you. Your time would be better spent talking to those who are involved, I would imagine."),\
 
13
                _("All the same I would like to ask you a thing or two ..."),\
 
14
                _("Listen, $name, I already told you! I know nothing, saw nothing, heard nothing. I would be quite pleased if you conducted your investigation efficiently so I can finally leave this place."),\
 
15
                _("Right then, sorry to bother you, Master Illig."),\
 
16
                _("Oh, now I understand! You are working for Silverhair! You are not really investigating anything then, are you? You are just trying to get her freed at any cost!"),\
 
17
                _("Could it be that you have something to hide, what with all this blustering?"),\
 
18
                _("You have the nerve to accuse me, Half-Elf?! I don't have to take this. Go! Go before I lose my temper!"),\
 
19
                _("The small man before you wears a cold expression. Judging by his garments he is sort of a merchant, and a rather successful one by the looks of it."),\
 
20
                _("Greetings sir, I am $name. I wonder whether you know anything about that theft."),\
 
21
                _("That is what I am doing, Master Illig. I have a few questions for you."),\
 
22
                _("And who says you are not amongst those?"),\
 
23
                _("What? You cannot seriously consider that! Use your eyes, man! Do I look like a thief to you?"),\
 
24
                _("There is a caravan with Saffron waiting for me, worth ten times the money that Dwarf claims to have lost. And if I cannot reach it in time ... I'll be ruined! Ruined!"),\
 
25
                _("Nobody will buy any Saffron if those cutpurses from Elminscourt arrive with their cheap Achiote or Safflor before I have completed my business in Cirdanth."),\
 
26
                _("Who says you aren't broke already?"),\
 
27
                _("Do you perhaps think my mistress is in need of stealing? Yet she is accused!"),\
 
28
                _("Now leave me alone, please. I assure you that I know nothing about the theft, let alone have any part in it. Or do you think I would endanger my whole business for a few worthless pebbles?"),\
 
29
                _("I warn you, Half-Elf, I am losing my patience with you and this whole affair. I am losing money by the hour, while you bumble around, bothering everyone with questions!"),\
 
30
                _("My name is Tristan Illig and I'm a merchant by trade, no thieftaker. All I know is that they are making a big fuss about a few worthless gems stolen from that Dwarf, Fingolson."),\
 
31
                _("Who is \"they\"?"),\
 
32
                _("Above all Fingolson himself. He seems to consider the theft a personal affront. And not to forget that excuse for a guard; Jelom by name I believe. He is responsible for locking us all in here."),\
 
33
                _("All right, all right! I'll leave you alone. But I shall be watching you!"),\
 
34
                _("Tristan looks irritated as you approach him again."),\
 
35
                _("And it's not as if they would still be looking for the thief. As it turned out, it's been that Elf, Lady Silverhair. But so far they failed in retrieving the gems from her."),\
 
36
                _("As my mistress did certainly not steal them, they'll have a hard time in doing so I guess.")]
 
37
 
 
38
        cond = [\
 
39
                "adonthell.gamedata_get_quest(\"demo\").get_val (\"know_argument\") == 1\n",\
 
40
                "self.the_npc.get_val (\"talked_to\") == 1\n"]
 
41
 
 
42
        code = [\
 
43
                "self.the_npc.set_val (\"talked_to\" , 1)\n"]
 
44
 
 
45
        # -- (speaker, code, ((text, operation, condition), ...))
 
46
        dlg = [\
 
47
                (None, -1, ((26, 0, 1), (11, 1, -1), )),\
 
48
                ("Default", -1, ((2, 0, 0), (12, 1, -1), )),\
 
49
                (None, -1, ((3, 0, -1), )),\
 
50
                ("Default", -1, ((13, 0, -1), (7, 0, -1), )),\
 
51
                ("Default", -1, ((5, 0, -1), (14, 0, -1), )),\
 
52
                (None, -1, ((6, 0, -1), )),\
 
53
                ("Default", -1, ((16, 0, -1), )),\
 
54
                (None, -1, ()),\
 
55
                ("Default", -1, ((21, 0, -1), )),\
 
56
                (None, -1, ((10, 0, -1), )),\
 
57
                ("Default", -1, ((25, 0, -1), )),\
 
58
                ("Narrator", 0, ((1, 0, -1), )),\
 
59
                (None, -1, ((22, 0, -1), )),\
 
60
                (None, -1, ((4, 0, -1), )),\
 
61
                (None, -1, ((15, 0, -1), )),\
 
62
                ("Default", -1, ((16, 0, -1), )),\
 
63
                ("Default", -1, ((17, 0, -1), )),\
 
64
                ("Default", -1, ((20, 0, -1), )),\
 
65
                (None, -1, ((10, 0, -1), )),\
 
66
                (None, -1, ((8, 0, -1), )),\
 
67
                ("Default", -1, ((19, 0, -1), (7, 0, -1), (18, 0, -1), )),\
 
68
                ("Default", -1, ((25, 0, -1), (9, 0, -1), )),\
 
69
                ("Default", -1, ((7, 0, -1), (23, 0, -1), )),\
 
70
                (None, -1, ((24, 0, -1), )),\
 
71
                ("Default", -1, ((27, 0, -1), )),\
 
72
                (None, -1, ()),\
 
73
                ("Narrator", -1, ((6, 0, -1), )),\
 
74
                ("Default", -1, ((28, 0, -1), )),\
 
75
                (None, -1, ((8, 0, -1), ))]
 
76
 
 
77
 
 
78
        def __init__(self, p, n):
 
79
                self.namespace = globals ()
 
80
                self.the_player = p
 
81
                self.the_npc = n