This file is indexed.

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

<FirstTime LuaCode>
	show(0)
</LuaCode>

<EveryTime LuaCode>
	if (has_met("Tybalt")) then
		show(2)
	end

	if (has_cookie("tux_has_joined_guard")) then
		hide(50, 54, 55, 56)
	end

	show(99)
</LuaCode>
----------------------------------------------------------------------

Nr=0 Text=_"Hi! I'm new here."
<LuaCode>
	npc_says(_"Hello. I'm Tybalt. I'm guarding the town citadel gate. Only authorized personnel are permitted.")
	set_bot_name(_"Tybalt -- Citadel Gate Guard")
	hide(0) show(1, 2)
</LuaCode>
----------------------------------------------------------------------

Nr=1 Text=_"Why is this gate locked most of the time?"
<LuaCode>
	npc_says(_"It's locked so no one can sneak inside while I'm not looking. That's why.")
	hide(1)
</LuaCode>
----------------------------------------------------------------------

Nr=2 Text=_"I want to get into the citadel."
<LuaCode>
	if (has_cookie("tux_has_joined_guard")) then 
		npc_says(_"Of course. Guard members are always authorized to enter the town citadel. The gate is open. Enjoy your stay.")
		change_obstacle_state("OldTownGuardHouseEntrance", "opened")
	else
		npc_says(_"Sorry pal, but I don't think so. Only authorized personnel are permitted and that means members of the Red Guard.")
		npc_says(_"Talk to Spencer if you have any business inside. I cannot let you pass.")
		-- do we propose a bribe?
		if (not has_cookie("tybalt_bribe")) then show(50) end
	end
	hide(2)
</LuaCode>
----------------------------------------------------------------------

Nr=10 Text=_"So why is it you keep the citadel locked? Is there anything secret in there?"
<LuaCode>
	npc_says(_"We need to protect our equipment and documents, because lives depend on it.")
	npc_says(_"Also, we don't have to answer questions.")
	hide(10)
	-- this is meant to introduce that there have been thefts - we can use it for both the rebel faction
	-- and Kevin introduction. Kevin might even be a member of the rebel faction.
</LuaCode>
----------------------------------------------------------------------

Nr=50 Text=_"I have a lot of money for you."
<LuaCode>
	npc_says(_"Fascinating. Can I have a hundred please?")
	hide(50) show(54, 55)
</LuaCode>
----------------------------------------------------------------------

Nr=54 Text=_"Erm... I don't have that much."
<LuaCode>
	npc_says(_"Well, too bad.")
	hide(54, 55)
</LuaCode>
----------------------------------------------------------------------

Nr=55 Text=_"Here you go."
<LuaCode>
	if (del_gold(100)) then
		npc_says(_"Thank you.")
		add_cookie("tybalt_bribe")
		show(56)
	else
		npc_says_random(_"That is not a hundred.", _"Um, count that again.", _"Talk to me when you have a bit more.")
	end
	hide(54, 55)
</LuaCode>
----------------------------------------------------------------------

Nr=56 Text=_"Ok, now please open the door for me."
<LuaCode>
	npc_says(_"What door?")
	tux_says(_"The door to the citadel!")
	npc_says(_"But you are not a member of the Red Guard.")
	npc_says(_"You cannot come in.")
	tux_says(_"I paid you!")
	npc_says(_"Really? I don't remember that.")
	tux_says(_"I want my money back.")
	npc_says(_"What money?")
	hide(56) 
</LuaCode>
----------------------------------------------------------------------

Nr=99 Text=_"See you later."
<LuaCode>
	npc_says(_"Good riddance.")
	end_dialog()
</LuaCode>
----------------------------------------------------------------------

End of chat dialog for character="XXXXX"