Debian Codegraph @

data/storyline/act1/dialogs/Geist.lua

raw
1 ---------------------------------------------------------------------
2 -- This file is part of Freedroid
3 --
4 -- Freedroid is free software; you can redistribute it and/or modify
5 -- it under the terms of the GNU General Public License as published by
6 -- the Free Software Foundation; either version 2 of the License, or
7 -- (at your option) any later version.
8 --
9 -- Freedroid is distributed in the hope that it will be useful,
10 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
11 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 -- GNU General Public License for more details.
13 --
14 -- You should have received a copy of the GNU General Public License
15 -- along with Freedroid; see the file COPYING. If not, write to the
16 -- Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17 -- MA 02111-1307 USA
18 ----------------------------------------------------------------------
19 --[[WIKI
20 PERSONALITY = { "Militaristic", "Focused", "Vengeful" },
21 MARKERS = { NPCID1 = "Engel" },
22 BACKSTORY = "$$NAME$$ and $$NPCID1$$ have become bot hunters after the loss their mother to a bot attack. He does not speak English.
23 His family name is Fleischer (in English - \"butcher\").",
24 RELATIONSHIP = {
25 {
26 actor = "$$NPCID1$$",
27 text = "$$NPCID1$$ and $$NAME$$ are brothers."
28 },
29 }
30 WIKI]]--
31
32 local Npc = FDrpg.get_npc()
33 local Tux = FDrpg.get_tux()
34
35 return {
36 FirstTime = function()
37 show("node0")
38 end,
39
40 EveryTime = function()
41 show("node99")
42 end,
43
44 {
45 id = "node0",
46 text = _"Hello. Any idea where I can get some help here?",
47 code = function()
48 --; TRANSLATORS: Vanish!
49 Npc:says(_"Verschwinde!")
50 hide("node0") show("node1", "node2")
51 end,
52 },
53 {
54 id = "node1",
55 text = _"Erm... What do you mean?",
56 code = function()
57 --; TRANSLATORS: I am the ghost that always negates (?).
58 Npc:says(_"Ich bin der Geist, der stets verneint.")
59 --; TRANSLATORS: For a reason; because everything that is created,
60 Npc:says(_"Und das mit Recht; denn alles, was entsteht,")
61 --; TRANSLATORS: is worth, to be ruined.
62 Npc:says(_"ist wert, dass es zugrunde geht.")
63 hide("node1") show("node3")
64 end,
65 },
66 {
67 id = "node2",
68 text = _"I really do not understand you.",
69 code = function()
70 --; TRANSLATORS: The one who does not know them, the Elements,
71 Npc:says(_"Wer sie nicht kennte, die Elemente,")
72 --; TRANSLATORS: their power and their feature/characteristic,
73 Npc:says(_"ihre Kraft und Eigenschaft,")
74 --; TRANSLATORS: would not be a master of the ghosts/spirits.
75 Npc:says(_"waere kein Meister ueber die Geister.")
76 hide("node2") show("node3")
77 end,
78 },
79 {
80 id = "node3",
81 text = _"I wish I knew what you are talking about.",
82 code = function()
83 --; TRANSLATORS: Vanish!
84 Npc:says(_"Verschwinde!")
85 hide("node3")
86 end_dialog()
87 end,
88 },
89 {
90 id = "node99",
91 text = _"I need to go now.",
92 code = function()
93 Npc:says(_". . .")
94 end_dialog()
95 end,
96 },
97 }