Debian Codegraph @

data/storyline/act1/dialogs/Saul.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 FirstTime = function()
25 Tux:says(_"Hello! I'm new here.")
26 Npc:says(_"Hey! How did you get here?! This should not be possible on a normal gameplay.")
27 Tux:says(_"Erm, I, uhm, cheated. Or maybe I've found a bug. Or both.")
28 Npc:says(_"Anyway, I am Saul, leader of the Resistance faction! We fight against corruption and the oppression of the Red Guard!")
29 Tux:says(_"Cool! Can I join?")
30 Npc:says(_"Not yet, you see, we're still not ready for the show.")
31 Npc:says(_"But you can help us with the preparatives, if you want.")
32 end,
33
34 EveryTime = function()
35 Npc:says(_"Contact information can be found at [b]https://www.freedroid.org/Contact[/b]")
36 end_dialog()
37 end,
38
39 -- No one really knows why we keep adding a node99 to all dialog files.
40 {
41 id = "node99",
42 text = _"Exit",
43 code = function()
44 -- play_sound("effects/Menu_Item_Selected_Sound_1.ogg")
45 end_dialog()
46 end,
47 },
48 }