This file is indexed.

/usr/share/games/gearhead/Series/STCdefault.txt is in gearhead-data 1.100-2.

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
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
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
% *********************************************
% ***   STC  Standard  Item  Descriptions   ***
% *********************************************

	Gun 5
	name <Smoke Launcher>
	desig <SML-5>
	type <SMOKE BLAST 3>
	Range 5
	Scale 2
	Magazine 5
	sub
		Ammo 5
	end

	Gun 4
	name <Machine Cannon>
	desig <MAC-4>
	Range 6
	BV 3
	scale 2
	Magazine 60
	sub
		Ammo 4
	end


	Gun 5
	name <Vulcan Cannon>
	desig <VC-5>
	mass -7
	scale 2
	range 3
	acc -2
	BV 7
	magazine 80
	sub
		ammo 5
	end

	Gun 8
	name <Phalanx Cannon>
	desig <PC-8>
	mass -8
	scale 1
	range 6
	acc -2
	BV 7
	magazine 80
	sub
		ammo 8
		type <SCATTER>
	end

	Gun 3
	name <Light Autocannon>
	desig <LAC-3>
	scale 1
	mass -3
	range 4
	acc -1
	recharge 3
	BV 4
	Magazine 200
	sub
		ammo 3
	end

	Gun 2
	scale 2
	acc -2
	mass -9
	name <Autocannon>
	desig <AC-2>
	range 4
	BV 5
	magazine 120
	sub
		ammo 2
	end

	Gun 6
	name <Heavy Autocannon>
	desig <AC-6>
	scale 2
	mass -9
	Range 5
	ACC -1
	Recharge 1
	BV 3
	Magazine 60
	sub
		Ammo 6
	end

	Gun 10
	name <Very Heavy Autocannon>
	desig <AC-10>
	scale 2
	mass -10
	Range 7
	ACC -1
	Recharge 1
	BV 3
	Magazine 40
	sub
		Ammo 10
	end

Gun 8
Scale 2
name <Railgun>
desig <RG-8>
Range 6
BV 4
Magazine 100
sub
	Ammo 8
	mass -8
end

Gun 16
Scale 2
name <Heavy Railgun>
desig <RG-16>
Range 7
BV 3
Magazine 60
sub
	Ammo 16
	mass -10
end

Gun 12
Scale 2
name <Gauss Rifle>
desig <GR-12>
Range 10
Recharge 1
Magazine 16
sub
	Ammo 12
end

Gun 24
Scale 2
name <Heavy Gauss Rifle>
desig <GR-24>
Range 12
Recharge 1
Magazine 10
sub
	Ammo 24
end

BeamGun 5
Scale 2
name <Combat Laser>
DESIG <LAS-5>
Range 3
Recharge 3
ACC 1

BeamGun 10
Scale 2
name <Laser Cannon>
DESIG <LAS-10>
Range 5
Recharge 3
ACC 1

BeamGun 2
Scale 2
name <Particle Cannon>
desig <PAR-2>
type <OVERLOAD ANTIAIR>
Range 7
ACC 1
Recharge 3

BeamGun 6
Scale 2
name <Heavy Particle Cannon>
desig <PAR-6>
type <OVERLOAD ANTIAIR>
Range 8
ACC 1

BeamGun 13
Scale 2
name <Superheavy Particle Cannon>
desig <PAR-13>
type <OVERLOAD ANTIAIR>
Range 9
Recharge 1

BeamGun 8
name <Phase Cannon>
desig <PHS-8>
type <ArmorPiercing>
scale 2
Range 12

BeamGun 25
name <Heavy Phase Cannon>
desig <PHS-25>
type <ArmorPiercing>
Scale 2
Range 8
Recharge 1

MLauncher 5
name <Incendiary Missiles>
SCALE 2
desig <ICML-12>
Range 8
Magazine 12
type <SWARM>
sub
	rockets 5
	type <BURN>
end


MLauncher 4
name <Haywire Missiles>
desig <HWML-2>
Scale 2
type <HAYWIRE ANTIAIR>
range 10
acc 2
Magazine 2
sub
	Rockets 4
end

MLauncher 4
name <Haywire Missiles>
desig <HWML-4>
Scale 2
type <HAYWIRE ANTIAIR>
range 10
acc 2
Magazine 4
sub
	Rockets 4
end

MLauncher 4
name <Haywire Missiles>
desig <HWML-8>
Scale 2
type <HAYWIRE ANTIAIR>
range 10
acc 2
Magazine 8
sub
	Rockets 4
end

MLauncher 1
name <Light Rockets>
desig <LRL-16>
Scale 2
Range 6
ACC -2
Magazine 16
sub
	Rockets 1
end

MLauncher 1
name <Light Rockets>
desig <LRL-32>
Scale 2
Range 6
ACC -2
Magazine 32
sub
	Rockets 1
end

MLauncher 1
name <Light Rockets>
desig <LRL-48>
Scale 2
Range 6
ACC -2
Magazine 48
sub
	Rockets 1
end

MLauncher 20
name <Light Nuclear Missile>
desig <NUKE-1>
Scale 2
Range 15
Recharge 1
Magazine 1
sub
	Rockets 20
	type <Blast 3 Hyper Haywire>
end

MLauncher 20
name <Light Nuclear Missiles>
desig <NUKE-6>
Scale 2
Range 15
Recharge 1
Magazine 6
sub
	Rockets 20
	type <Blast 3 Hyper Haywire>
end

MLauncher 15
name <Gajira Heavy Missiles>
scale 2
desig <GHML-2>
Range 10
Magazine 2
sub
	Rockets 15
end

MLauncher 15
name <Gajira Heavy Missiles>
scale 2
desig <GHML-3>
Range 10
Magazine 3
sub
	Rockets 15
end

MLauncher 14
name <Heavy Rocket Pod>
desig <HRP-6>
scale 2
acc -1
range 13
magazine 6
sub
	rockets 14
end

MLauncher 14
name <Heavy Rocket Pod>
desig <HRP-12>
scale 2
acc -1
range 13
magazine 12
sub
	rockets 14
end


	gear 4 4 2
	scale 2
	name <Swarm Missiles>
	desig <SWML-20>
	Range 8
	Magazine 20
	sub
		gear 5 4 2
		type <SWARM>
	end

	gear 4 4 2
	scale 2
	name <Swarm Missiles>
	desig <SWML-40>
	Range 8
	Magazine 40
	sub
		gear 5 4 2
		type <SWARM>
	end

	gear 4 4 2
	name <Swarm Missiles>
	scale 2
	desig <SWML-60>
	Range 8
	Magazine 60
	sub
		gear 5 4 2
		type <SWARM>
	end

	gear 4 4 2
	name <Swarm Missiles>
	scale 2
	desig <SWML-120>
	Range 8
	Magazine 120
	sub
		gear 5 4 2
		type <SWARM>
	end


%  ********************
%  ***   TREASURE   ***
%  ********************

	Grenade 15
	name <Flame Gland>
	desig <FLAMEGLAND>
	meat
	Scale 0
	type <Blast 2 BURN>

	gear 10 0 6
	name <Lobster Shield>
	desig <LOBSTERSHIELD>
	scale 0
	stat 1 2
	sub
		gear 4 0 12
		name <Spikes>
		type <BRUTAL MYSTERY STUN>
		scale 0
		Recharge 3
	end

	GenRepairFuel 45
	name <Spare Parts>
	scale 0
	desig <SPAREPARTS-1>
	mass 1

	MechaRepairFuel 250
	name <Mecha Parts>
	scale 0
	desig <SPAREPARTS-2>
	mass 1

	SkillModifier 0
	name <Sentinel FCS>
	desig <SENTINELFCS>
	CyberSlot <ARTILLERY>
	type <CYBER MECHA>
	Stat 1 2
	Stat 2 3

	SkillModifier 0
	name <Self Defense Matrix>
	desig <SELFDEFENSEMATRIX>
	CyberSlot <FIGHTING>
	type <CYBER MECHA>
	Stat 1 4
	Stat 2 1

	Food 30
	name <Red Bear Liver>
	desig <REDBEARLIVER>
	% Status Effect (1), Duration Step12, Regen(3), Skill25 but can't resist anyways
	effect <1  12 3 25>
	FoodXValue 1500
	FoodMorale -5

	Food 20
	name <Dragon Heart>
	desig <DRAGONHEART>
	% Healing (2), restore Step9 damage using skill 20 (First Aid)
	effect <2  9 20 0>
	FoodXValue 2000
	FoodMorale -2


%  ***************
%  ***  PROPS  ***
%  ***************

Prop 2
name <Victim>
desig <VICTIM-1>
roguechar <_>
SDL_SPRITE <prop_default.png>
Frame 6
% The PC must make a medical skill roll to revive the victim.
% If the roll succeeds, increase the VICTIMSRECOVERED total.
% If the roll fails badly, the victim might die... In any case,
% attempting resuccitation costs MENTAL.
Use <ifYesNo 1 2 3 Goto Clue16>
Clue16 <V= 1 SkRoll 16 MENTAL ifG V1 11 else GoCheckDie Print 5 SelfRunAway OneVictimRecovered ifG #VictimsRecovered 1 Print 7>
GoCheckDie <ifG 5 V1 else GoNoGood Print 4 SelfRunAway>
GoNoGood <Print 6>
Msg1 <This victim needs immediate medical aid. Do you attempt resuscitation?>
Msg2 <Attempt resuscitation.>
Msg3 <Don't bother.>
Msg4 <The victim dies while being treated.>
Msg5 <The victim regains consciousness and is removed from the scene.>
Msg6 <You attempt to treat the victim's wounds.>
Msg7 <\VAL #VictimsRecovered victims have been rescued.>

Prop 2
name <Mushrooms>
desig <FUNGUS-1>
roguechar <,>

Prop 10
name <Shrine>
desig <SHRINE-1>
SDL_SPRITE <prop_default.png>
Frame 7
roguechar <+>
use <Print 1>
clue34 <ifG ComTime V1 else GoBeenBefore V= 1 NextDay Reputation 7 -d4 MENTAL ifG SkRoll 34 10 else GoNoDice ifG d100 PCRep 7 else GoNoDice Print 2 XPV 150>
GoNoDice <Print 3>
GoBeenBefore <Print 4>
Msg1 <It's a small shrine.>
Msg2 <You meditate at the shrine. You feel enlightened.>
Msg3 <You meditate at the shrine.>
Msg4 <You've already meditated at this shrine today.>

Prop 80
name <Monolith>
desig <MONOLITH>
roguechar <~>
SDL_SPRITE <prop_default.png>
Frame 8

Prop 3
name <Physics Workbench>
% This apparatus will have a different experiment every 24 hours.
% The PC will be able to train his mecha skills by using it.
% V1 = Recharge Time
% V2 = Message Matcher
% V3 = Skill Change Time
% V4 = Skill to train
desig <APPARATUS-1>
update <ifG ComTime V3 V= 3 ComTime V+ 3 86400 V= 4 d5>
roguechar <=>
clue29 <V= 2 10 V+ 2 V4 ifYesNo V2 5 6 ifG ComTime V1 else GoBeenBefore Print 7 V= 1 NextDay Reputation 7 d4 MENTAL ifG SkRoll 29 10 else GoNoDice ifG PCRep 7 -d100 else GoNoDice Goto GoSuccess>
GoSuccess <V= 2 20 V+ 2 V4 Print V2 SkillXP V4 100>
GoNoDice <Print 2>
GoBeenBefore <Print 3>
Msg2 <The experiment fails.>
Msg3 <You've already tried this experiment today.>
Msg5 <Perform an experiment.>
Msg6 <Don't touch anything.>
Msg7 <You attempt an experiment...>
Msg11 <The apparatus has been set up to investigate energy beam focusing technology.>
Msg12 <The apparatus has been set up to investigate ballistic weapon trajectory calculation.>
Msg13 <The apparatus has been set up to investigate extreme short range optimal mecha fire arcs.>
Msg14 <The apparatus has been set up to investigate mecha limb flexibility and impact strength.>
Msg15 <The apparatus has been set up to investigate mecha control factors.>
Msg21 <The experiment is a success. You make some new discoveries about Mecha Gunnery.>
Msg22 <The experiment is a success. You make some new discoveries about Mecha Artillery.>
Msg23 <The experiment is a success. You make some new discoveries about Mecha Weapons.>
Msg24 <The experiment is a success. You make some new discoveries about Mecha Fighting.>
Msg25 <The experiment is a success. You make some new discoveries about Mecha Piloting.>

Prop 5
name <Anatomy Model>
% This apparatus will have a different experiment every 24 hours.
% The PC will be able to train his medical skills by using it.
% V1 = Recharge Time
% V2 = Message Matcher
% V3 = Skill Change Time
% V4 = Skill to train
desig <APPARATUS-2>
roguechar <=>
update <ifG ComTime V3 V= 3 ComTime V+ 3 86400 if= d2 1 else GoMed V= 4 20>
GoMed <V= 4 16>
clue29 <V= 2 10 V+ 2 V4 ifYesNo V2 5 6 ifG ComTime V1 else GoBeenBefore Print 7 V= 1 NextDay Reputation 7 d4 MENTAL ifG SkRoll 29 10 else GoNoDice ifG PCRep 7 -d100 else GoNoDice Goto GoSuccess>
GoSuccess <V= 2 30 V+ 2 V4 Print V2 SkillXP V4 100>
GoNoDice <Print 2>
GoBeenBefore <Print 3>
Msg2 <The experiment fails.>
Msg3 <You've already tried this experiment today.>
Msg5 <Perform an experiment.>
Msg6 <Don't touch anything.>
Msg7 <You attempt an experiment...>
Msg26 <The apparatus has been set up to investigate emergency medical techniques.>
Msg30 <The apparatus has been set up to investigate new surgical techniques.>
Msg46 <The experiment is a success. You make some new discoveries about First Aid.>
Msg50 <The experiment is a success. You make some new discoveries about Medicine.>

Prop 5
name <COMPUTER>
Desig <COMPUTER-1>
roguechar <!>
SDL_SPRITE <prop_default.png>
Frame 0

Prop 12
% This one should be a server tower...
name <COMPUTER>
Desig <COMPUTER-2>
roguechar <!>
SDL_SPRITE <prop_default.png>
Frame 3

Prop 15
name <Machine>
Desig <MACHINE-1>
roguechar <&>

Prop 20
name <Machine>
Desig <MACHINE-2>
roguechar <&>

Prop 8
name <Filing Cabinet>
Desig <FILINGCABINET>
roguechar <">
SDL_SPRITE <prop_default.png>
Frame 4

Prop 15
name <Bio-Tank>
desig <BIOTANK>
roguechar <~>
SDL_SPRITE <prop_default.png>
Frame 10

Prop 12
name <Bookshelf>
Desig <BOOKSHELF-1>
roguechar <">
SDL_SPRITE <prop_default.png>
Frame 9

Prop 10
name <Ultima Fighter>
Desig <VIDEOGAME1>
rogueChar <&>
use <ifG ComTime V1 else GoAlreadyPlayed ifYesNo 1 2 3 ifG PC$ 100 else GoNoPlay Cash+ -100 V= 1 NextDay Goto GoStartGame>
GoStartGame <PCMoraleDMG -d10 ifG SkRoll 4 25 else GoLose SkillXP 4 d100 Print 6 PCMoraleDMG -d10>
GoLose <SkillXP 4 d6 Print 7>
GoNoPlay <Print 4>
GoAlreadyPlayed <Print 5>
Msg1 <ULTIMA FIGHTER!!! $100 per play.>
Msg2 <Play the game>
Msg3 <Don't bother>
Msg4 <You can't afford to play the game...>
Msg5 <You've already played Ultima Fighter once today.>
Msg6 <This is a great game! You defeated Lord Gariott, the final boss!>
Msg7 <This is a great game!>

Prop 5
name <Vending Machine>
Desig <VENDING-1>
rogueChar <&>
use <ifYesNo 1 2 3 ifG PC$ 49 Cash+ -50 GiveSTC .desc Print 4>
.desc <FOOD-1>
Msg1 <This vending machine sells boxed lunches for $50. Want to buy one?>
Msg2 <Yes I do.>
Msg3 <No, I don't.>
Msg4 <You buy a boxed lunch.>
SDL_SPRITE <prop_default.png>
Frame 2

Prop 25
name <Kiosk>
Desig <Kiosk>
rogueChar <$>
SDL_SPRITE <default_items.png>
Frame 6


Food 30
name <Boxed Lunch>
desig <FOOD-1>

Food 20
name <Hot Dog>
desig <FOOD-2>

Food 25
name <Meat>
desig <FOOD-3>
FoodMorale -1

Food 20
name <Sashimi>
desig <FOOD-4>
FoodMorale 1

Prop 3
name <Video Terminal>
desig <TV>
roguechar <&>
use <ifYesNo 1 2 3 MoreMemo News>
Msg1 <This is a video info terminal. Would you like to check the news to see what's happening in the world?>
Msg2 <Yes I would.>
Msg3 <No, not really.>
SDL_SPRITE <prop_default.png>
Frame 1

Cloud
name <Smoke>
desig <SMOKE-1>
roguechar <*>
stat 1 5
stat 2 2
stat 7 50

Cloud
name <Steam>
desig <SMOKE-2>
roguechar <*>
stat 1 5
stat 2 2
stat 7 -1

Cloud
name <Toxic Gas>
desig <GAS-1>
roguechar <*>
stat 1 5
stat 2 1
effect <0 6 0 15 POISON ARMORIGNORE NOMETAL CANRESIST>
fx_desc <# chokes for # damage!>

Flame
name <Fire>
desig <FIRE-1>
roguechar <#>
stat 1 3
stat 2 3
effect <0 3 0 13 BRUTAL CANRESIST>
fx_desc <# is burnt by the fire for # damage!>

MetaTerrain 0 5
name <Box>
desig <CHEST-1>
roguechar <=>
stat 6 5
frame 15
AltFrame 2 15
AltFrame 1 16
USE <if# 0 StatVal STAT_Lock else GoCloseDoor  if= StatVal STAT_Lock -1 else GoDoorLocked Print 1  SetStat STAT_Lock 0  Transform 1>
GoDoorLocked <Print 6>
GoCloseDoor <Print 2 SetStat STAT_Lock -1  Transform 2>
roguechar <=>
roguechar1 <->
roguechar2 <=>
SDL_Sprite <meta_terrain.png>
CLUE32 <ifG StatVal STAT_Lock 0 else GoNotLocked Mental ifG CodeBreaking StatVal STAT_Lock else GoNoUnlock Print 3 XPV 50 SetStat STAT_Lock 0 Transform 1>
GoNoUnlock <Print 4>
GoNotLocked <Print 5>
REVEAL <Print 7>
Msg1 <You open the box.>
Msg2 <You close the box.>
Msg3 <You unlock the box.>
Msg4 <You do not manage to unlock the box.>
Msg5 <The box does not appear to be locked.>
Msg6 <The box is locked.>
Msg7 <You find a hidden box!>

MetaTerrain 0 10
name <Locker>
desig <CHEST-2>
roguechar <=>
stat 6 5
frame 15
AltFrame 2 15
AltFrame 1 16
USE <if# 0 StatVal STAT_Lock else GoCloseDoor  if= StatVal STAT_Lock -1 else GoDoorLocked Print 1  SetStat STAT_Lock 0  Transform 1>
GoDoorLocked <Print 6>
GoCloseDoor <Print 2 SetStat STAT_Lock -1  Transform 2>
roguechar <=>
roguechar1 <->
roguechar2 <=>
SDL_Sprite <meta_terrain.png>
CLUE32 <ifG StatVal STAT_Lock 0 else GoNotLocked Mental ifG CodeBreaking StatVal STAT_Lock else GoNoUnlock Print 3 XPV 50 SetStat STAT_Lock 0 Transform 1>
GoNoUnlock <Print 4>
GoNotLocked <Print 5>
REVEAL <Print 7>
Msg1 <You open the locker.>
Msg2 <You close the locker.>
Msg3 <You unlock the locker.>
Msg4 <You do not manage to unlock the locker.>
Msg5 <The locker does not appear to be locked.>
Msg6 <The locker is locked.>
Msg7 <You find a hidden locker!>

ARCH Drone
desig <DRONE-1>
SDL_SPRITE <aer_drone.png>
statline 10 10 10 10 10 5 2 2
roguechar <d>
metal
mod Body
	armor 2
	sub
		BeamGun 5
		name <Combat Laser>
		ArcJet 8
	end
end