This file is indexed.

/usr/share/games/freedroidrpg/dialogs/Koan.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
181
182
183
184
185
186
187
188
----------------------------------------------------------------------
 * 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 (has_cookie("Tania_surface") and
	   (not done_quest(_"Tania's Escape")) and
	   (not has_cookie("Tania-stopped-by-Pendragon"))) then --Tania is following you
		tania_is_here = true
		heal_npc("Tania")
	else
		tania_is_here = false
	end

	if (not has_cookie("met_koan")) then
		add_cookie("met_koan")
		npc_says(_"So you have come. I knew Duncan would not let me live for too long.")
		npc_says(_"Once I am gone this oasis of peace in the world will dry up and die. A shame.")
		npc_says(_"I hoped to turn the whole desert into a sanctuary. And now my dream will never come true.")
		npc_says(_"Do what you must.")
		if has_quest("Doing Duncan a favor") then
			show(2)
		else
			if (not has_met("Duncan")) then
				show(4)
			else
				show(5)
			end
		end
		show(3)
	elseif (has_cookie("koan_spared_via_dialog")) then
		npc_says_random(_"It's a pleasure to meet you again.", _"I am happy to see you've returned.")
		if (tania_is_here) then
			npc_says(_"I see you have brought a friend along with you.")
		end
	elseif has_quest("Doing Duncan a favor") then 
		npc_says(_"I see the troubles of the world in your eyes.")
		show(10, 11)
		hide(20, 21, 99)
	--elseif has_cookie("met_koan_before_duncan") then
	--	npc_says_random(_"Come sitdown my friend.", _"Please take some time and relax here in the cool.")
	--	if (tania_is_here) then
	--		npc_says(_"I see you've brought a friend along with you.")
	--	end
	end
</LuaCode>
----------------------------------------------------------------------

Nr=2 Text=_"With pleasure."
<LuaCode>
	drop_dead()
	update_quest(_"Doing Duncan a favor", _"I took revenge for Duncan by killing Koan.")
	respawn_level(38) --this is the desert above the bunker
	if (tania_is_here) then
		add_cookie("murdered_koan")
		start_chat("Tania")
	end
</LuaCode>
----------------------------------------------------------------------

Nr=3 Text=_"No. I have not come here to kill you."
<LuaCode>
	npc_says(_"Thank you.")
	npc_says(_"Feel free to stay here. There is no danger.")
	npc_says(_"The water is safe to drink and the fruit from the tree is quite delicious. I have a few extra provisions here with me. Please take some.")
	add_item("Strength Pill", 1)
	add_item("Doc-in-a-can", 2)
	add_item("Repair manual", 1)
	add_item("Strength Capsule", 1)
	if has_quest("Doing Duncan a favor") then
		next(12)
	end
	hide(2, 3) show(5, 20, 99)
</LuaCode>
----------------------------------------------------------------------

Nr=4 Text=_"Who are you? Who is Duncan?" --has not met Duncan yet
<LuaCode>
	set_bot_name(_"Koan")
	npc_says(_"I am Koan.")
	npc_says(_"Duncan is one obsessed with destroying things, while I create.")
	npc_says(_"Therefore he desires my destruction.")
	hide(3, 4, 5) show(20, 99)
</LuaCode>
----------------------------------------------------------------------

Nr=5 Text=_"Who are you?"
<LuaCode>
	set_bot_name(_"Koan")
	npc_says(_"I am Koan.")
	npc_says(_"Beyond that I am a creator.")
	npc_says(_"I give life to things, even if they eventually will be destroyed.")
	hide(3, 5) show(20, 99)
</LuaCode>
----------------------------------------------------------------------

Nr=10 Text=_"You shall die."
<LuaCode>
	drop_dead()
	update_quest(_"Doing Duncan a favor", _"I took revenge for Duncan by killing Koan.")
	respawn_level(38) --this is the desert above the bunker
	if (tania_is_here) then
		add_cookie("murdered_koan")
		start_chat("Tania")
	end
</LuaCode>
----------------------------------------------------------------------

Nr=11 Text=_"Duncan sent me to kill you, but I came to make certain you were safe."
<LuaCode>
	npc_says(_"Thanks for checking up on me.")
	hide(10, 11) show(99) next(12)
</LuaCode>
----------------------------------------------------------------------

Nr=12 Text=_"BUG, REPORT ME! Koan node12 -- UPDATE QUEST"
NO_TEXT
<LuaCode>
	add_cookie("koan_spared_via_dialog")
	update_quest(_"Doing Duncan a favor", _"I met and talked to Koan, but didn't kill him.")
	show(13)
</LuaCode>
----------------------------------------------------------------------

Nr=13 Text=_"Why does Duncan want you dead?"
<LuaCode>
 	npc_says(_"Very simple. He likes destruction, and I am creation.")
 	npc_says(_"There is nothing more to it.")
 	hide(13)
</LuaCode>
----------------------------------------------------------------------

Nr=20 Text=_"What is this place? Why is there grass and water under the desert?"
<LuaCode>
	npc_says(_"Ah, yes. That is my fault, I am afraid.")
	npc_says(_"Wherever I go, life follows me.")
	npc_says(_"I thought I could hide from Duncan in this old bunker.")
	npc_says(_"When I woke up the next day, things were as you see them now.")
	hide(20) show(21)
</LuaCode>
----------------------------------------------------------------------

Nr=21 Text=_"This was a bunker?"
<LuaCode>
	npc_says(_"Yes. The place has changed a bit, as you can see.")
	npc_says(_"I like the way it is right now. The water cools everything down and the plants give the air a very fresh smell.")
	npc_says(_"As soon as I leave, everything will die. I have seen that happen before.")
	npc_says(_"Because this place is just like a small bit of paradise, I decided to stay here.")
	npc_says(_"I do not want this wonderful bunker to become devoid of life again.")
	hide(21)
</LuaCode>
----------------------------------------------------------------------

Nr=99 Text=_"I will go now."
<LuaCode>
	npc_says_random(_"This place will always wait for you.", _"This is a sanctuary from the desert above.")
	heal_tux()
	hide(2, 3, 4, 5)
	end_dialog()
</LuaCode>
----------------------------------------------------------------------

End of chat dialog for character="XXXXX"