Debian Codegraph @

data/storyline/act1/dialogs/614_sub.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
20 local Npc = FDrpg.get_npc()
21 local Tux = FDrpg.get_tux()
22
23 return {
24 {
25 id = "614_sub.everytime",
26 code = function()
27 Npc:says(_"Entering Interactive Product Information Database")
28 Npc:says(_"I am a 614 security bot, once one of the best-selling products of Nicholson, Inc..")
29 show("614_sub.node1", "614_sub.node2", "614_sub.node3", "614_sub.node99")
30 end,
31 },
32 {
33 id = "614_sub.node1",
34 text = _"Why are you not hostile as are all the other bots?",
35 code = function()
36 Npc:says(_"I belong to an older generation of bots, running a custom-made security guard operating system.")
37 Npc:says(_"None of the bots of this generation were affected by the proceedings that led to bots attacking, generally known as the Great Assault.")
38 Npc:says(_"Even though discontinued by Nicholson, Inc. long ago, today, some people have picked up the work and are even trying to improve the operating system running on my series.")
39 Npc:says(_"Don't forget to buy products from Nicholson, Inc. They are the best.")
40 hide("614_sub.node1")
41 end,
42 },
43 {
44 id = "614_sub.node2",
45 text = _"What can you tell me about the Nicholson company?",
46 code = function()
47 Npc:says(_"Nicholson, Inc. produces security bots.")
48 Npc:says(_"It was founded by Karl Nicholson, a former Kernel hacker who was not satisfied with the development of the GPL license.")
49 Npc:says(_"Nicholson decided to stick to one GPL version because he saw things getting worse.")
50 Npc:says(_"Others were warned, but nobody listened to Nicholson's announcements.")
51 Npc:says(_"He built up a team and developed his own Kernel called 'Nkernel'.")
52 Npc:says(_"The Nkernel development team grew fast and technicians started to produce their own droids optimized for the Nkernel.")
53 Npc:says(_"The team became a company which released their first security droid, called 610.")
54 Npc:says(_"I am the fifth generation version of their security droid line.")
55 hide("614_sub.node2")
56 end,
57 },
58 {
59 id = "614_sub.node3",
60 text = _"What can you tell me about the 614 type?",
61 code = function()
62 Npc:says(_"The official manual classifies the 614 as a high class security droid.")
63 Npc:says(_"It was mainly used within ships to protect certain areas from intruders.")
64 Npc:says(_"It is considered an old but reliable device.")
65 Npc:says(_"So don't worry. I'm still in pretty good shape.")
66 Npc:says(_"The latest version of the security line is the 615.")
67 -- probably some when a cookie can check whether tux already saw such a droid and trigger/switch on the following dialog part
68 Npc:says(_"Unfortunately its development was not finished when the Great Assault started.")
69 Npc:says(_"The lack of security options on the system of the 615 led to a malfunction.")
70 Npc:says(_"Circumstances that led to the Great Assault even made the 615 go crazy and attack people.")
71 Npc:says(_"For the sake of your health, you should stay away from the 615 droids.")
72 Npc:says(_"You have been warned!")
73 hide("614_sub.node3")
74 end,
75 },
76 {
77 id = "614_sub.node99",
78 text = _"I think, that was enough product information, thank you.",
79 code = function()
80 Npc:says(_"Leaving Interactive Product Information Database")
81 next("after-614_sub")
82 end,
83 },
84 }