This file is indexed.

/usr/share/games/freedroidrpg/dialogs/WillGapes.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
----------------------------------------------------------------------
 * 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

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

<EveryTime LuaCode>
	if (not has_met("WillGapes")) then
		npc_says(_"Don't come any closer! Or I'll turn you into scrap metal!") 
		npc_says(_"Wait... You're not a robot. Who are you? What are you doing here?")
		show(1, 2, 3)
	elseif (has_quest(_"Gapes Gluttony")) and (not done_quest(_"Gapes Gluttony")) then
		if (has_item_backpack("Lunch in a Picnic Basket") > 0) then
			del_item_backpack("Lunch in a Picnic Basket")
			show(9)
		else
			npc_says(_"Have you brought me some food?")
			tux_says(_"No, not yet.")
			npc_says(_"Hurry... I'm starting to feel weak.")
		end
	elseif (has_cookie("generous_gapes")) and (get_tux_hp() < 20) then
		npc_says(_"Hey, are you all right? It looks like the robots are winning.")
		npc_says(_"I found this in the First Aid kit. Maybe it will help.")
		add_item("Antibiotic")
		del_cookie("generous_gapes")
	else
		npc_says(_"I see you're still alive. Maybe the robots won't win after all.")
	end
	show(99)
</LuaCode>
---------------------------------------------------------------------

Nr=1 Text=_"A friend..."
<LuaCode>
	tux_says(_"My name is ".. get_player_name() .._", and I'm here to stop the robots!")
	npc_says(_"Stop them!? You can't. It's too late. The robots have killed everyone.")
	hide(1, 2, 3) show(4, 5, 6)
</LuaCode>
----------------------------------------------------------------------

Nr=2 Text=_"I am Luke Skywalker, a Jedi Knight, and I'm here to save you!"
<LuaCode>
	npc_says(_"Huh? Am I dreaming?")
	tux_says(_"Sorry, I've always wanted to say that.")
	npc_says(_"Who are you really?")
	next(1)
</LuaCode>
----------------------------------------------------------------------

Nr=3 Text=_"Your worst nightmare! I'm here to punish you for your crimes against humanity."
<LuaCode>
	npc_says(_"Wait, Stop! I'm worth billions of circuits... I'll give you anything. Just don't kill me!")
	npc_says(_"Who are you really?")
	next(1)
</LuaCode>
----------------------------------------------------------------------

Nr=4 Text=_"There are still some alive in the town." 
<LuaCode>
	npc_says(_"Ha, they won't last long. The robots will destroy them all. It's hopeless!")
	hide(4)
</LuaCode>
----------------------------------------------------------------------

Nr=5 Text=_"But you're still alive?"
<LuaCode>
	npc_says(_"Barely, all I've had to eat for the past few months were energy bars from the snack machine.")
	npc_says(_"Now all that's left are military rations, and I would rather starve than eat those!")
	hide(5) show(7)
</LuaCode>
----------------------------------------------------------------------

Nr=6 Text=_"Who are you?"
<LuaCode>
	npc_says(_"My name is Will Gapes. I'm the chief software architect for MegaSys. I helped start the company.")
	npc_says(_"Without my help this company would still be learning BASIC!")
	set_bot_name(_"Will Gapes -- MegaSys CSA")
	hide(6) show(8)
</LuaCode>
----------------------------------------------------------------------

Nr=7 Text=_"Maybe I could find you some food?"
<LuaCode>
	npc_says(_"If you bring me a well-cooked meal, I will tell you about Hell's Fortress.")
	npc_says(_"Trust me, you won't survive long in there without my help.")
	add_quest(_"Gapes Gluttony", _"I found a man who is starving. He is willing to tell me about Hell's Fortress if I will bring him some food. I should speak to Michelangelo about this.")
	hide(7)
</LuaCode>
----------------------------------------------------------------------

Nr=8 Text=_"So these murderous robots are your creation?"
<LuaCode>
	npc_says(_"NO! It was the company's fault!")
	npc_says(_"I told them the upgrade wasn't ready. It hadn't been fully tested.")
	npc_says(_"They wouldn't listen to me. They called me a fool! ME!?")
	npc_says(_"Now they are all dead. Serves them right too!")
	hide(8)
</LuaCode>
----------------------------------------------------------------------

Nr=9 Text=_"I've brought you some food."
<LuaCode>
	npc_says(_"It's about time! I'm starving.")
	npc_says(_"Oh, this is delicious!")
	npc_says(_"om nom nom")
	tux_says(_"Um...You're welcome?") 
	npc_says(_"...")
	tux_says(_"Now, how about some information?")
	npc_says(_"OK, so what do you want to know?")
	end_quest(_"Gapes Gluttony", _"I brought the full picnic basket to Gapes, and he tore into it like a wild animal. It was a disgusting sight, but thankfully it ended quickly.")
	del_item_backpack("Lunch in a Picnic Basket")
	add_item("Empty Picnic Basket")
	add_cookie("generous_gapes")
	hide(9) show(11, 12)
</LuaCode>
----------------------------------------------------------------------

Nr=11 Text=_"Tell me about this upgrade. Is that why all the robots are killing people?"
<LuaCode>
	npc_says(_"I'm afraid so... It wasn't finished yet.")
	npc_says(_"The upgrade was supposed to revolutionize the world, but instead, it seems to have destroyed it.")
	hide(11)
</LuaCode>
----------------------------------------------------------------------

Nr=12 Text=_"How can I shut down the factory?"
<LuaCode>
	npc_says(_"You must deactivate the energy supply.")
	npc_says(_"But the robots have sealed the doors shut.")
	hide(12) show(13)
</LuaCode>
----------------------------------------------------------------------

Nr=13 Text=_"Is there another way to get in?"
<LuaCode>
	npc_says(_"You might be able to get guest access.")
	npc_says(_"It was created to give clearance to the tourists when the factory was first built.")
	npc_says(_"Because the program hasn't been used in years, maybe the robots haven't disabled it.")
	npc_says(_"But you will have to find some other way into the headquarters. Guests were never given clearance.")
	npc_says(_"However, owners are.")
	npc_says(_"I guess that is all this otherwise worthless piece of paper is useful for anymore.")
	tux_says(_"Paper?")
	npc_says(_"Sheet of cellulose.")
	npc_says(_"Here, take it.")
	add_item("MS Stock Certificate", 1)
	hide(13) 
</LuaCode>
----------------------------------------------------------------------	

Nr=99 Text=_"I'll be going then."
<LuaCode>
	npc_says(_"Be careful!")
	end_dialog()
</LuaCode>
----------------------------------------------------------------------

End of chat dialog for character="XXXXX"