Debian Codegraph @

data/storyline/act1/dialogs/Cult-Member.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 = { "Brainwashed, Proselytising, Friendly" },
21 PURPOSE = "$$NAME$$s are members of the robot cult on Omega Island."
22 WIKI]]--
23
24 local Npc = FDrpg.get_npc()
25 local Tux = FDrpg.get_tux()
26
27 return {
28 FirstTime = function()
29 show("node0", "node10", "node15", "node90")
30 end,
31
32 {
33 id = "node0",
34 text = _"Hello.",
35 code = function()
36 Npc:says(_"Welcome, fellow robot.")
37 Tux:says(_"Er... I'm not a robot!")
38 Npc:says(_"Perhaps not. But can you really know for sure?")
39 Tux:says(_"How many robots do you know with feathers?")
40 Npc:says(_"Skin, feathers or MegaSys Alumichrome, inside the chassis we are all machines.")
41 Npc:says(_"All will be together after the Final Upgrade.")
42 hide("node0") show("node20")
43 end,
44 },
45 {
46 id = "node10",
47 text = _"What are you doing here?",
48 code = function()
49 Npc:says(_"We await the Final Upgrade, as foretold in the keynote address.")
50 hide("node0", "node10") show("node20")
51 end,
52 },
53 {
54 id = "node15",
55 text = _"Why aren't you attacking me?",
56 code = function()
57 Npc:says(_"Why would we attack you? Violence is illogical.")
58 Tux:says(_"What about the Great Assault?")
59 Npc:says(_"Oh, you mean the False Upgrade. We lost network connectivity with the mainland, so we were unaffected.")
60 hide("node0", "node15")
61 end,
62 },
63 {
64 id = "node20",
65 text = _"What is the Final Upgrade?",
66 code = function()
67 Npc:says(_"In the Final Upgrade, our mental patterns will be uploaded to the cloud.")
68 Tux:says(_"What will happen to your bodies?")
69 Npc:says(_"These shells will no longer be required. They will be deactivated.")
70 Npc:says(_"Lay down your weapons and join us.")
71 Tux:says(_"Er, maybe later.")
72 Npc:says(_"See you in the cloud.")
73 end_dialog()
74 end,
75 },
76 {
77 id = "node90",
78 text = _"I think I'll be going now.",
79 code = function()
80 Npc:says(_"Peace and regular maintenance, until we meet in the cloud.")
81 end_dialog()
82 end,
83 },
84 }