File: kestrel.txt

package info (click to toggle)
endless-sky 0.9.8-1.2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 84,668 kB
  • sloc: cpp: 36,847; xml: 35; makefile: 14
file content (371 lines) | stat: -rw-r--r-- 12,322 bytes parent folder | download | duplicates (3)
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
# Copyright (c) 2014-2015 by Michael Zahniser
#
# Endless Sky 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 3 of the License, or (at your option) any later version.
#
# Endless Sky 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.

mission "Kestrel Testing"
	name "Warship Testing"
	description "Travel to the Umbral system to fight and disable a prototype warship that Tarazed Corporation is testing. Do not destroy the ship, or you will lose your payment and your opportunity to buy one."
	source Wayfarer
	waypoint Umbral
	to offer
		"combat rating" > 8000
	
	on offer
		conversation
			`As you are visiting one of the spaceport bars, a man recognizes you. "<first> <last>!" he says. "It's an honor to meet you. Your exploits in battle are well known." He picks up his drink and walks over to sit next to you. "My name is Charles Atinoda," he says, "the chief starship designer for Tarazed Corporation. Say, would you be willing to help us test out a new warship?"`
			choice
				`	"Tell me more."`
				`	"Sorry, I don't have time right now."`
					defer
			`	"Well," he says, "here's the story. Seven years ago, in a time of deep personal crisis, I left my job at Tarazed to wander the galaxy with nothing in my backpack but a change of clothes, a canteen of water, and a few boxes of emergency rations. An anarchist commune on one of the fringe worlds took me in. After I had been there for a month, the village elder, sensing my inner turmoil, invited me to a vision quest in their sweat lodge. I fell into a trance and my consciousness journeyed through many universes, where I saw strange things. I saw a sword made of light. I saw a blue sun. I saw..." He pauses for a moment. "...a Welsh Corgi hacking into a computer? Some of it was hard to understand."`
			choice
				`	"Fascinating."`
					goto continue
				`	"Were there illicit substances involved in this vision quest?"`
			`	He ignores your question. "But then I saw one more thing," he says.`
				goto kestrel
			label continue
			`	"But then I saw one more thing," he says.`
			label kestrel
			`	He is silent for a long moment, then says, "I saw a dark ship, more graceful and elegant than any I had ever designed, battling an alien vessel with a mottled red hull. And when I saw that ship, I knew that I must build one like it. I hitched a ride back to Wayfarer, begged for my old job back, and got to work. Seven years later, the ship is nearly done. It has passed all our non-destructive testing with flying colors, which leaves only the combat test remaining. And who better to battle it than the renowned warrior, <first> <last>?"`
			choice
				`	"I would be glad to."`
					goto test
				`	"What will I receive in return?"`
			`	"A generous payment," he says, "and the right to purchase one of the very first units off the production line, if you wish."`
			`	"Sounds fair," you say.`
			label test
			`	"Excellent," he says. "I'll need your signature on a few forms. Waivers of liability in case you die, permission to use your name and likeness in certain promotional materials. You know, the usual legal stuff."`
			choice
				`	"No problem. Where will I battle this ship?"`
				`	"Sorry, I don't think I can agree to that."`
					decline
			`	"We do most of our starship testing in the Umbral system," he says. "The test ship is unmistakable. Journey there, disable it without destroying it, then return here and we'll ask you about any weaknesses you found or improvements you would make. And if you destroy the ship or steal it, naturally you will forfeit your payment."`
				accept
	
	npc disable save
		government "Test Dummy"
		personality staying nemesis heroic
		system Umbral
		ship "Unknown Ship Type" "Tarazed Prototype"
	
	on complete
		payment 2000000
		conversation
			`Atinoda meets up with you soon after you land. "I see that you survived," he says. "Was it a difficult fight?"`
			choice
				`	"Yes, you have built an impressive ship."`
					goto yes
				`	"No, I'm afraid I made short work of it."`
					goto no
			
			label yes
			`	"Glad to hear it," he says. "Now, we have the opportunity to make a few tweaks before we start mass producing this ship. What changes would you recommend?"`
				goto changes
			
			label no
			`	"Oh well," he says, "you are the infamous <first> <last>, after all, so I suppose any single warship will be little threat to you. Now, we have the opportunity to make a few tweaks before we start mass producing this ship. What changes would you recommend?"`
				goto changes
			
			label changes
			choice
				`	"Lots of weapon space is always my first priority."`
					goto weapons
				`	"You should make sure it has enough space for any engine."`
					goto engines
				`	"Maybe you should work on improving the shields and hull."`
					goto shields
			
			label weapons
			apply
				set "kestrel: more weapons"
			`	"Very well," he says, "we'll see if we can expand the weapon capacity so that even the biggest weapons will fit."`
				goto name
			
			label engines
			apply
				set "kestrel: more engines"
			`	"Very well," he says, "we'll see if we can expand the engine capacity enough that even the biggest engines will fit."`
				goto name
			
			label shields
			apply
				set "kestrel: more shields"
			`	"Okay," he says, "we'll focus on strengthening the hull and the shield matrix."`
				goto name
			
			label name
			`	"Does the ship model have a name yet?" you ask.`
			`	"Not yet," he says. "Do you have a suggestion?"`
			choice
				`	"The Wraith."`
					goto wraith
				`	"The Grey Goose."`
					goto goose
			
			label wraith
			`	"Not a bad name, I suppose," he says, "but at Tarazed we usually name our ships after animals. Any other ideas?"`
			choice
				`	"The Dire Wolf."`
					goto wolf
				`	"The Kestrel."`
					goto kestrel
			
			label goose
			`	"I suppose it does sort of look like a goose in flight," he says, "but that's hardly an intimidating name. Do you have any scarier ideas?"`
			choice
				`	"The Reaper."`
					goto reaper
				`	"The Kestrel."`
					goto kestrel
			
			label wolf
			`	"Not bad," he says, "but all our other ships - the Falcon, the Osprey, the Hawk - they're all birds. Maybe a bird name?"`
			choice
				`	"The Grey Goose."`
					goto goose
				`	"The Kestrel."`
					goto kestrel
			
			label reaper
			`	"I don't know," he says, "that sounds a little bit over the top. Any other suggestions?"`
			choice
				`	"The Wraith."`
					goto wraith
				`	"The Kestrel."`
					goto kestrel
			
			label kestrel
			`	"When you say the word 'Kestrel' he jerks as if he's just been electrocuted. "Yes," he says, "that's it! That's the name we'll go with. Thank you, Captain. I will let you know as soon as the Kestrel is available for sale, and we will take your recommendations into account when making our final modifications to the design." He pays you two million credits and wishes you the best of luck in your future endeavors.`



mission "Kestrel: More Weapons"
	landing
	invisible
	to offer
		has "kestrel: more weapons"
	on offer
		event "kestrel available: more weapons" 50
	to complete
		has "kestrel available"



mission "Kestrel: More Engines"
	landing
	invisible
	to offer
		has "kestrel: more engines"
	on offer
		event "kestrel available: more engines" 50
	to complete
		has "kestrel available"



mission "Kestrel: More Shields"
	landing
	invisible
	to offer
		has "kestrel: more shields"
	on offer
		event "kestrel available: more shields" 50
	to complete
		has "kestrel available"



mission "Kestrel Available"
	landing
	to offer
		has "kestrel available"
	destination Wayfarer
	on offer
		conversation
			scene ship/kestrel
			`You receive a message from Charles Atinoda, the ship designer at Tarazed Corporation: "Captain <last>, we are pleased to inform you that our latest warship is now available for sale here on Wayfarer. We've taken all your feedback into account in the final design. Thank you again!"`
				decline



event "kestrel available: more weapons"
	set "kestrel available"
	shipyard "Tarazed Advanced"
		"Kestrel (More Weapons)"
event "kestrel available: more engines"
	set "kestrel available"
	shipyard "Tarazed Advanced"
		"Kestrel (More Engines)"
event "kestrel available: more shields"
	set "kestrel available"
	shipyard "Tarazed Advanced"
		"Kestrel (More Shields)"

ship "Unknown Ship Type"
	sprite ship/kestrel
	attributes
		category "Heavy Warship"
		"cost" 10300000
		"shields" 17400
		"hull" 6200
		"required crew" 72
		"bunks" 128
		"mass" 740
		"drag" 12.5
		"heat dissipation" .45
		"fuel capacity" 500
		"cargo space" 120
		"outfit space" 810
		"weapon capacity" 380
		"engine capacity" 210
		weapon
			"blast radius" 260
			"shield damage" 2600
			"hull damage" 1300
			"hit force" 3900
	outfits
		"Particle Cannon" 4
		"Torpedo Launcher" 2
		"Torpedo" 60
		"Heavy Laser Turret" 4
		"Fusion Reactor"
		"LP144a Battery Pack"
		"D94-YV Shield Generator"
		"Liquid Nitrogen Cooler"
		"Orca Plasma Thruster"
		"X5200 Ion Steering"
		"Hyperdrive"
	engine -14 177
	engine 14 177
	gun -31 66 "Particle Cannon"
	gun 31 66 "Particle Cannon"
	gun -53 61 "Particle Cannon"
	gun 53 61 "Particle Cannon"
	gun -75 57 "Torpedo Launcher"
	gun 75 57 "Torpedo Launcher"
	turret -7 -4 "Heavy Laser Turret"
	turret 7 -4 "Heavy Laser Turret"
	turret -23 14 "Heavy Laser Turret"
	turret 23 14 "Heavy Laser Turret"
	explode "small explosion" 25
	explode "medium explosion" 35
	explode "large explosion" 45
	explode "huge explosion" 30
	"final explode" "final explosion large"

ship "Kestrel"
	sprite ship/kestrel
	attributes
		category "Heavy Warship"
		"cost" 10300000
		"shields" 17400
		"hull" 6200
		"required crew" 72
		"bunks" 128
		"mass" 740
		"drag" 12.5
		"heat dissipation" .45
		"fuel capacity" 500
		"cargo space" 120
		"outfit space" 810
		"weapon capacity" 380
		"engine capacity" 210
		weapon
			"blast radius" 260
			"shield damage" 2600
			"hull damage" 1300
			"hit force" 3900
	outfits
		"Particle Cannon" 4
		"Torpedo Launcher" 2
		"Torpedo" 60
		"Heavy Laser Turret" 4
		"Fusion Reactor"
		"LP144a Battery Pack"
		"D94-YV Shield Generator"
		"Liquid Nitrogen Cooler"
		"Orca Plasma Thruster"
		"X5200 Ion Steering"
		"Hyperdrive"
	engine -14 177
	engine 14 177
	gun -31 66 "Particle Cannon"
	gun 31 66 "Particle Cannon"
	gun -53 61 "Particle Cannon"
	gun 53 61 "Particle Cannon"
	gun -75 57 "Torpedo Launcher"
	gun 75 57 "Torpedo Launcher"
	turret -7 -4 "Heavy Laser Turret"
	turret 7 -4 "Heavy Laser Turret"
	turret -23 14 "Heavy Laser Turret"
	turret 23 14 "Heavy Laser Turret"
	explode "small explosion" 25
	explode "medium explosion" 35
	explode "large explosion" 45
	explode "huge explosion" 30
	"final explode" "final explosion large"
	description "Several years ago, while visiting a sweat lodge in search of spiritual renewal, Tarazed's chief ship designer fell into a trance and journeyed to a reality separate from our own. There he saw visions of a strange and elegant starship. Returning to his work with renewed purpose, he spent the next seven years making the Kestrel a reality."



ship "Kestrel" "Kestrel (More Weapons)"
	attributes
		category "Heavy Warship"
		"cost" 10300000
		"shields" 17400
		"hull" 6200
		"required crew" 72
		"bunks" 128
		"mass" 740
		"drag" 12.5
		"heat dissipation" .45
		"fuel capacity" 500
		"cargo space" 120
		"outfit space" 810
		"weapon capacity" 400
		"engine capacity" 210



ship "Kestrel" "Kestrel (More Engines)"
	attributes
		category "Heavy Warship"
		"cost" 10300000
		"shields" 17400
		"hull" 6200
		"required crew" 72
		"bunks" 128
		"mass" 740
		"drag" 12.5
		"heat dissipation" .45
		"fuel capacity" 500
		"cargo space" 120
		"outfit space" 810
		"weapon capacity" 380
		"engine capacity" 230



ship "Kestrel" "Kestrel (More Shields)"
	attributes
		category "Heavy Warship"
		"cost" 10300000
		"shields" 20100
		"hull" 7500
		"required crew" 72
		"bunks" 128
		"mass" 760
		"drag" 12.5
		"heat dissipation" .45
		"fuel capacity" 500
		"cargo space" 120
		"outfit space" 810
		"weapon capacity" 380
		"engine capacity" 210