| 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 = { "Robotic" }, |
| 21 |
BACKSTORY = "$$NAME$$ is a bot used by MegaSys for testing purposes. Because $$NAME$$ is running a very rudimentary |
| 22 |
operating system, Tux cannot takeover and control $$NAME$$." |
| 23 |
WIKI]]-- |
| 24 |
|
| 25 |
local Npc = FDrpg.get_npc() |
| 26 |
local Tux = FDrpg.get_tux() |
| 27 |
|
| 28 |
return { |
| 29 |
FirstTime = function() |
| 30 |
show("node0") |
| 31 |
end, |
| 32 |
|
| 33 |
EveryTime = function() |
| 34 |
show("node99") |
| 35 |
end, |
| 36 |
|
| 37 |
{ |
| 38 |
id = "node0", |
| 39 |
text = _"This is a MegaSys test bot, running a very basic version of their OS. I can do nothing with this bot, because it doesn't know how to do anything.", |
| 40 |
code = function() |
| 41 |
hide("node0") |
| 42 |
end, |
| 43 |
}, |
| 44 |
{ |
| 45 |
id = "node99", |
| 46 |
--; TRANSLATORS: command, user lowercase here |
| 47 |
text = _"logout", |
| 48 |
code = function() |
| 49 |
end_dialog() |
| 50 |
end, |
| 51 |
}, |
| 52 |
} |