| 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 = { "Silent" }, |
| 21 |
BACKSTORY = "$$NAME$$ is part of the Special Area across bridge on level 42. He locked himself on the portal room after his brother went missing (probably dead). It is suspected that he hates bots for killing his brother, but at the same time, it's also suspected that he is working with the 999 across the portal. The real reason is unknown, however, as he won't speak (yet), even to the dev team. Probably due a vow of silence, either because his brother death, or because he's working with the 999 which is a bot (this wasn't on original patch) " |
| 22 |
WIKI]]-- |
| 23 |
|
| 24 |
local Npc = FDrpg.get_npc() |
| 25 |
local Tux = FDrpg.get_tux() |
| 26 |
|
| 27 |
return { |
| 28 |
FirstTime = function() |
| 29 |
show("node0") |
| 30 |
end, |
| 31 |
|
| 32 |
EveryTime = function() |
| 33 |
show("node99") |
| 34 |
end, |
| 35 |
|
| 36 |
{ |
| 37 |
id = "node0", |
| 38 |
text = "Hello there.", |
| 39 |
code = function() |
| 40 |
Npc:says(_"...") |
| 41 |
hide("node0") |
| 42 |
end, |
| 43 |
}, |
| 44 |
{ |
| 45 |
id = "node99", |
| 46 |
text = "Bye.", |
| 47 |
code = function() |
| 48 |
Npc:says(_"...") |
| 49 |
end_dialog() |
| 50 |
end, |
| 51 |
}, |
| 52 |
} |