/usr/share/freedroidrpg/dialogs/Jasmine.lua is in freedroidrpg-data 0.16.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | ---------------------------------------------------------------------
-- This file is part of Freedroid
--
-- Freedroid is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- Freedroid is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Freedroid; see the file COPYING. If not, write to the
-- Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-- MA 02111-1307 USA
----------------------------------------------------------------------
--[[WIKI
PERSONALITY = { "Robotic", "Reserved" },
MARKERS = { NPCID1 = "Kevin" },
RELATIONSHIP = {
{
actor = "$$NPCID1$$",
text = "$$NAME$$ is $$NPCID1$$\'s robotic girlfriend and creation."
}
}
WIKI]]--
local Npc = FDrpg.get_npc()
local Tux = FDrpg.get_tux()
return {
FirstTime = function()
Jasmine_count = 0
show("node0")
end,
EveryTime = function()
show("node99")
end,
{
id = "node0",
text = _"Hi! I'm new here.",
code = function()
Npc:says(_"Yes. Hello. What do you want?")
hide("node0") show("node1", "node8")
end,
},
{
id = "node1",
text = _"Who are you?",
code = function()
Npc:says(_"People call me Jasmine...")
Npc:says(_"That is not my real name, but it will do for now.")
Npc:set_name("Jasmine")
hide("node1") show("node2", "node3", "node4", "node5")
end,
},
{
id = "node2",
text = _"What are you doing in Kevin's place?",
code = function()
Npc:says(_"I live with him, stupid.")
Npc:says(_"I like him. He... He is very much like me.")
Npc:set_name("Jasmine - Girlfriend of a true Hacker")
hide("node2")
end,
},
{
id = "node3",
text = _"How are you?",
code = function()
Npc:says(_"Annoyed. Now leave me alone.")
hide("node3")
end,
},
{
id = "node4",
text = _"Why does such a nice lady act so harshly? Can't we all just get along?",
code = function()
Npc:says(_"No.")
hide("node4")
end,
},
{
id = "node5",
text = _"What are you up to?",
code = function()
Npc:says(_"Nothing. Quit asking questions.")
Npc:says(_"Don't bore me.")
hide("node5")
end,
},
{
id = "node8",
text = _"You are the most beautiful human I have ever seen.",
code = function()
Npc:says(_"And you are at least a quarter wrong.")
Tux:says(_"You're so cute, baby seals and polar bears sent each other pictures of you.")
Npc:says(_"Now, please get out of my sight.")
hide("node8") show("node9")
end,
},
{
id = "node9",
text = _"Will you marry me?",
code = function()
Npc:says(_"Forget it.")
Tux:says(_"Roses are red,")
Tux:says(_"Violets are blue,")
Tux:says(_"All of my base,")
Tux:says(_"Are belong to you.")
Npc:says(_"...")
hide("node9")
end,
},
{
id = "node99",
text = _"See you later.",
code = function()
if (Jasmine_count < 2) then
Jasmine_count = Jasmine_count + 1
Npc:says(_"Yeah. Whatever.")
end_dialog()
else
Npc:says(_"Yeah. Wha -- SIGSEGV.")
Npc:says(_"Segmentation fault.")
Tux:says(_"Huh?")
Npc:says(_"Traceback printed to stdout.")
Npc:says(_"Kernel panic in module: Jasmine")
Npc:says(_"Buffer overrun in anger.c:1532")
Npc:says(_"Core dumped. System halted.")
Jasmine_count = 0
Npc:drop_dead()
Jasmine_sigsegv = true
end
end,
},
}
|