This file is indexed.

/usr/share/games/freedroidrpg/dialogs/Tamara.dialog is in freedroidrpg-data 0.15.1-1.

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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
----------------------------------------------------------------------
 * 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
----------------------------------------------------------------------


If you have questions concerning FreedroidRPG, please send an email to:

freedroid-discussion@lists.sourceforge.net

Remember to change =_ to only = for OptionText and Subtitle that will not need translation.


Beginning of new chat dialog for character="XXXXX"
----------------------------------------------------------------------

<FirstTime LuaCode>
	tux_says(_"Hi, I'm " .. get_player_name() .. ".")
	npc_says(_"Welcome to the Library, I'm Tamara.")
	npc_says(_"Please take a look around and see if there is something here that interests you.")
	npc_says(_"You are welcome to ask me if you have any questions.")
	set_bot_name(_"Tamara -- Librarian")
	show(40, 99)
</LuaCode>

<EveryTime LuaCode>
	if (has_met("Tamara")) then
		npc_says(_"What can I help you with?")
	end

	if ((not has_cookie("won_nethack")) and (not has_cookie("tamara_asked_hacking"))) then
		show(20)
	else
		hide(20)
	end

	if (has_met("Sorenson") and (not has_cookie("talked_about_sister"))) then show(10) end

	if (has_cookie("ewalds_296_sourcebook") and (not has_cookie("have_296_book"))) then show(50) end
</LuaCode>
----------------------------------------------------------------------

Nr=10 Text=_"Hmm, you look very similar to another person I met, by the name of Sorenson."
<LuaCode>
	npc_says(_"Well, it's understandable. We are sisters.")
	npc_says(_"Or actually half sisters. She is also half crazy, so we don't communicate much.")
	npc_says(_"*sigh*")
	npc_says(_"We used to. Even ran this library together.")
	npc_says(_"Then she started reading more and more books and sitting in front of the computer day and night, never sleeping.")
	npc_says(_"In the end she completely lost her marbles, sadly.")
	npc_says(_"Now all she does is sit locked in her house staring into the computer.")
	add_cookie("talked_about_sister")
	hide(10) show(99)
</LuaCode>
----------------------------------------------------------------------

Nr=20 Text=_"I would like to learn how to hack."
<LuaCode>
	add_cookie("tamara_asked_hacking")
	if (has_cookie("talked_about_sister")) then
		npc_says(_"My sister used to play Nethack all the time, about the time she became really good at hacking.")
	else
		npc_says(_"Everyone I know who is good with computers always talks about beating Nethack.")
	end
	npc_says(_"I think there might be a version on the town's computers.")
	npc_says(_"I've never played it.")
	npc_says(_"That might be why I'm no good with computers.")
	hide(20)
</LuaCode>
----------------------------------------------------------------------

Nr=40 Text=_"I see you have a huge source code book collection. Mind if I buy some from you?"
<LuaCode>
	npc_says(_"This is a library, not a book shop.")
	npc_says(_"However, valuable books have a tendency to simply vanish and never get returned by some people...") 
	npc_says(_"Especially strangers just passing by...")
	npc_says(_"Thus I'm forced to take a deposit for each book.")
	hide(40) show(41)
</LuaCode>
----------------------------------------------------------------------

Nr=41 Text=_"So what interesting books do you have available right now?"
<LuaCode>
	npc_says_random(_"Some of these might interest you.", _"I only have a few programming volumes, feel free to look through them.")
	trade_with("Tamara")
 	show(42)
</LuaCode>
----------------------------------------------------------------------

Nr=42 Text=_"Do you have any books about the bot apocalypse?"
<LuaCode>
	npc_says(_"I'm writing one, but it isn't complete, and there are no publishers left. But, I can tell you all about robots and automata in literature. Interested?")
	hide(42) show(43, 44, 45)
	bot_Apoclypse = 2
	if (has_cookie("kevin_sigtalk")) then show(46) bot_Apoclypse = 3 end
</LuaCode>
----------------------------------------------------------------------

Nr=43 Text=_"Another time, perhaps."
<LuaCode>
	hide(43, 44, 45, 46)
</LuaCode>
----------------------------------------------------------------------

Nr=44 Text=_"Where does the word 'bot' come from?"
<LuaCode>
	bot_Apoclypse = bot_Apoclypse-1;
	npc_says(_"It is a shortening of the word 'robot', derived from the Czech word for forced labor.")
	npc_says(_"R.U.R. (Rossum's Universal Robots), a play, introduced \'robots\' as artificial people.")
	npc_says(_"In the play the robots revolted, took over the world, and killed all the humans.")
	tux_says(_"Ironic.")
	hide(44)
	if (bot_Apoclypse == 0) then hide(43) end
</LuaCode>
----------------------------------------------------------------------

Nr=45 Text=_"What about the creation of robots for defense?"
<LuaCode>
	bot_Apoclypse = bot_Apoclypse-1;
	npc_says(_"During the Holy Roman Empire, the Jewish people of the Prague ghetto needed protection.")
	npc_says(_"So a holy rabbi shaped a Golem out of clay, and brought it to life through rituals and writing 'emet' (truth) on its head.")
	npc_says(_"The Golem initially protected the Jews, but was brainless and stupid, and so soon became dangerously violent to even the Jews.")
	npc_says(_"It was only by trickery that the rabbi was able to even get close to the Golem.")
	npc_says(_"But as the rabbi changed 'emet' to 'met' (death), the Golem fell on him, and both the creator and creation became lifeless.")
	hide(45)
	if (bot_Apoclypse == 0) then hide(43) end
</LuaCode>
----------------------------------------------------------------------

Nr=46 Text=_"What can you tell me about robotic girlfriends?"
<LuaCode>
	bot_Apoclypse = bot_Apoclypse-1;
	npc_says(_"Well, the Romans wrote down a story about Pygmalion, the sculptor of Cyprus.")
	npc_says(_"Pygmalion carved an ivory woman of far surpassing natural beauty and fell in love.")
	npc_says(_"Venus, the goddess of love, brought the ivory woman to life.")
	npc_says(_"The woman, Galatea, likewise fell in love and married her creator Pygmalion.")
	npc_says(_"So you could say that this is one of the few stories that end well.")
	hide(46)
	if (bot_Apoclypse == 0) then hide(43) end
</LuaCode>
----------------------------------------------------------------------

Nr=50 Text=_"Do you have a copy of Subatomic and Nuclear Science for Dummies, Volume IV?"
<LuaCode>
	npc_says(_"It's interesting you should be looking for that - the library has two copies.")
	tux_says(_"I need one - it's a matter of life and death!")
	npc_says(_"Life and death?")
	tux_says(_"There's a nuclear reactor going super critical under the town - if I have the book, maybe I can stop it.")
	npc_says(_"In that case, you can have it. My mission is to preserve our culture, which won't matter if we're all dead.")
	tux_says(_"Thank you, Tamara.")
	update_quest(_"An Explosive Situation", _"I was able to get a copy of Subatomic and Nuclear Science for Dummies, Volume IV from the librarian, Tamara. I'd better hurry back to Ewald's 296 with it.")
	add_item(_"Nuclear Science for Dummies IV")
	add_cookie("have_296_book")
	hide(50)
	end_dialog()
</LuaCode>
----------------------------------------------------------------------
Nr=99 Text=_"Thank you for the help."
<LuaCode>
	hide(43, 44, 45, 46)
	npc_says_random(_"No problem, and remember to return your books in time.", _"I aim to ensure that the great works of literature will survive this horrible apocalypse.", _"That is what I'm here for. Come back at any time.")
	end_dialog()
</LuaCode>
----------------------------------------------------------------------

End of chat dialog for character="XXXXX"