This file is indexed.

/usr/share/games/gearhead2/gamedata/asvmacro.txt is in gearhead2-data 0.628-1ubuntu1.

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
% ArenaScript Value Macros
V <GrabSource        GNAtt NAG_ScriptVar ?>
L <GrabCurrentScene  GNAtt NAG_ScriptVar ?>
G <GrabAdventure     GNAtt NAG_ScriptVar ?>
P <GrabPlot          GNAtt NAG_ScriptVar ?>
E <GrabPlot          GNAtt NAG_ElementID ?>
S <GrabStory         GNAtt NAG_ScriptVar ?>
N <GrabStory         GNAtt NAG_ElementID ?>
M <GrabCurrentScene  GNAtt NAG_ElementID ?>
MoodE <GrabController ControllerID  GNAtt NAG_ElementID ?>
ControllerID <GrabPlot GNAtt NAG_Narrative NAS_ControllerID>
RandomTheme <d12>	% returns a random mecha theme
PartyScore <GrabCurrentScene GNAtt NAG_Narrative NAS_PartyPoints>
ScenePartyScore <GrabScene ? GNAtt NAG_Narrative NAS_PartyPoints>
CitizensTeam <GrabTeamName Citizens GS>
EnemiesTeam <GrabTeamName Enemies GS>
EnemyNPCTeam <GrabTeamName EnemyNPC GS>
NumDatePoints <GrabSource GNAtt NAG_Narrative NAS_DatePoints>
na <0>  %% "Not Applicable", passed as PFrags and RanCon optional param
PCHomeTown <GrabPCPilot GNatt NAG_Narrative NAS_HomeTownID>
ERootScene <GrabScene EScene ? GrabRootScene GS>
RootSceneID <GrabCurrentScene GrabRootScene GS>
ParentSceneID <GrabScene ? GrabParent GS>
SCENEFAC <GrabScene ?  GNAtt NAG_Personal NAS_FactionID>
PCHomeTownFAC <GrabScene PCHomeTown  GNAtt NAG_Personal NAS_FactionID>
ROOTSCENEFAC <GrabCurrentScene GrabRootScene  GNAtt NAG_Personal NAS_FactionID>
CURRENTSCENEFAC <GrabCurrentScene  GNAtt NAG_Personal NAS_FactionID>
GUARDTEAM <GrabTeamName GUARDS GS>
NPCVar   <GrabNPC ?       GNAtt NAG_ScriptVar ?>
NPCScene <GrabNPC ? GScene>
ChatNPCScene <GrabChatNPC GScene>
ItemScene <GrabItem ? GScene>
ItemVar  <GrabItem ?      GNAtt NAG_ScriptVar ?>
SceneVar <GrabScene ?       GNAtt NAG_ScriptVar ?>
LOCALFACTION <GrabCurrentScene   GNAtt NAG_Personal NAS_FactionID>
Destination <StatVal 4>
Visibility <StatVal 5>
PCFac <GrabAdventure  GNAtt NAG_Personal NAS_FactionID>
OldFac <GrabAdventure  GNAtt NAG_Personal NAS_OldFaction>
PCDamage <GrabPCPilot GNAtt NAG_Damage NAS_StrucDamage>
NPCFac <GrabNPC ?  GNAtt NAG_Personal NAS_FactionID>
ChatNPCFac <GrabChatNPC  GNAtt NAG_Personal NAS_FactionID>
ChatNPCTeam <GrabChatNPC  GNAtt NAG_Location NAS_Team>
ChatNPCTheme <GrabChatNPC  GNAtt NAG_Personal NAS_MechaTheme>
SelfTeam <GrabSource GNAtt NAG_Location NAS_Team>
PCRep <GrabPCPilot GNAtt NAG_CharDescription - ?>
PCHeroism <GrabPCPilot GNAtt NAG_CharDescription -1>
ChatNPCHeroism <GrabChatNPC GNAtt NAG_CharDescription -1>
NPCHeroism <GrabNPC ? GNAtt NAG_CharDescription -1>
NPCLaw <GrabNPC ? GNAtt NAG_CharDescription -2>
PCLaw <GrabPCPilot GNAtt NAG_CharDescription -2>
PCEasygoingness <GrabPCPilot GNAtt NAG_CharDescription -4>
PCCheerfulness <GrabPCPilot GNAtt NAG_CharDescription -5>
PCRenown <GrabPCPilot GNAtt NAG_CharDescription -6>
NPCRenown <GrabNPC ? GNAtt NAG_CharDescription -6>
ChatNPCRenown <GrabChatNPC GNAtt NAG_CharDescription -6>
PCX <GrabPC GNAtt NAG_Location NAS_X>
PCY <GrabPC GNAtt NAG_Location NAS_Y>
PCHunger <GrabPCPilot GNatt NAG_Condition NAS_Hunger>
PC$ <GrabPCPilot GNAtt NAG_Experience NAS_Credits>
PCUID <GrabPC GNAtt NAG_EpisodeData NAS_UID>
TruePCSkillVal <GrabPCPilot GNAtt NAG_Skill ?>
NPCSkill <GrabNPC ? GNAtt NAG_Skill ?>
PCGENDER <GrabPCPilot GNAtt 3 0>
NPCGENDER <GrabNPC ? GNAtt 3 0>
PCSTATVAL <GrabPCPilot GStat ?>
PCREFLEXES <GrabPCPilot GStat 1>
PCBODY <GrabPCPilot GStat 2>
PCSPEED <GrabPCPilot GStat 3>
PCPERCEPTION <GrabPCPilot GStat 4>
PCCRAFT <GrabPCPilot GStat 5>
PCEGO <GrabPCPilot GStat 6>
PCKNOWLEDGE <GrabPCPilot GStat 7>
PCCHARM <GrabPCPilot GStat 8>
NPCEGO <GrabNPC ? GStat 6>
CHATNPCEGO <GrabChatNPC GStat 6>
NPCCHARM <GrabNPC ? GStat 8>
PCDAGE <GrabPCPilot GNAtt NAG_CharDescription NAS_DAge>
CHATNPCDAGE <GrabChatNPC GNAtt NAG_CharDescription NAS_DAge>
NPCDAGE <GrabNPC ? GNAtt NAG_CharDescription NAS_DAge>
CHATNPCPERCEPTION <GrabChatNPC GStat 4>
ChatNPCRelationship <GrabChatNPC GNAtt NAG_Relationship 0>
NPCRelationship <GrabNPC ? GNAtt NAG_Relationship 0>
FacRelationship <GrabFaction ? GNatt NAG_Relationship 0>
FacFortune <GrabFaction ? GNAtt NAG_Narrative NAS_Fortune>
NPCUID <GrabNPC ? GNAtt NAG_EpisodeData NAS_UID>
NPCX <GrabNPC ? GrabRoot GNAtt NAG_Location NAS_X>
NPCY <GrabNPC ? GrabRoot GNAtt NAG_Location NAS_Y>
LocalX <GrabLocal ? GNAtt NAG_Location NAS_X>
LocalY <GrabLocal ? GNAtt NAG_Location NAS_Y>
EncounterX <GrabEntrance ? GNAtt NAG_Location NAS_X>
EncounterY <GrabEntrance ? GNAtt NAG_Location NAS_Y>
ArenaPay <GrabCurrentScene GNAtt 20 2>
ArenaRenown <GrabAdventure GNAtt NAG_CharDescription -6>
SELFX <GrabSource GNAtt NAG_Location NAS_X>
SELFY <GrabSource GNAtt NAG_Location NAS_Y>
SELFUID <GrabSource GNAtt NAG_EpisodeData NAS_UID>
SELFNID <GrabSource GNAtt NAG_Narrative NAS_NID>
SelfS <GrabSource GS>
SelfFac <GrabSource GNAtt NAG_Personal NAS_FactionID>
RReact <GrabPC GNatt NAG_ReactionScore ?>
NPCRep <GrabNPC ? GNAtt NAG_CharDescription - ?>
NPCLaw <GrabNPC ? GNAtt NAG_CharDescription -2>
ChatNPCLaw <GrabChatNPC GNAtt NAG_CharDescription -2>
ChatNPCRep <GrabChatNPC GNAtt NAG_CharDescription - ?>
ChatNPCRenown <GrabChatNPC GNAtt NAG_CharDescription -6>
ChatNPCID <GrabChatNPC GNAtt NAG_Personal NAS_CID>
DesigNPCID <GrabDesig ? GNAtt NAG_Personal NAS_CID>
PayRate <GrabPlot    GNAtt 20 1>
QuestStatus <GrabAdventure GNatt NAG_PlotStatus ?>
PlotStatus <GrabAdventure GNAtt NAG_PlotStatus ?>
NAG_ElementID <-9>
StatVal <GrabSource GStat ?>
MetaPass <GrabSource GStat STAT_Pass>
STAT_Reflexes   <1>
STAT_Body       <2>
STAT_Speed      <3>
STAT_Perception <4>
STAT_Craft      <5>
STAT_Ego        <6>
STAT_Knowledge  <7>
STAT_Charm      <8>
NAS_MechaGunnery       <1>
NAS_MechaFighting      <2>
NAS_MechaPiloting      <3>
NAS_RangedCombat       <4>
NAS_CloseCombat        <5>
NAS_Dodge              <6>
NAS_Vitality           <7>
NAS_Athletics          <8>
NAS_Concentration      <9>
NAS_Awareness         <10>
NAS_Initiative        <11>
NAS_Survival          <12>
NAS_Repair            <13>
NAS_Medicine          <14>
NAS_ElectronicWarfare <15>
NAS_SpotWeakness      <16>
NAS_Conversation      <17>
NAS_Shopping          <18>
NAS_Stealth           <19>
NAS_Intimidation      <20>
NAS_Science           <21>
NAS_MechaEngineering  <22>
NAS_CodeBreaking      <23>
NAS_Mysticism         <24>
NAS_Performance       <25>
NAS_Toughness         <26>
NAS_Insight           <27>
NAS_Taunt             <28>
NAS_KungFu          <1>
NAS_HapKiDo         <2>
NAS_Anatomist       <3>
NAS_HardAsNails     <4>
NAS_StuntDriving    <5>
NAS_Polymath        <6>
NAS_Bishounen       <7>
NAS_BornToFly       <8>
NAS_SureFooted      <9>
NAS_RoadHog        <10>
NAS_TechVulture    <11>
NAS_Idealist       <12>
NAS_BusinessSense  <13>
NAS_JackOfAll      <14>
NAS_Rage           <15>
NAS_Ninjitsu       <16>
NAS_HullDown       <17>
NAS_GateCrasher    <18>
NAS_Sniper         <19>
NAS_Innovation     <20>
NAS_Camaraderie    <21>
NAS_Entourage      <22>
NAS_Robotics       <23>
NAS_Acrobatics     <24>
NAS_DominateAnimal <25>
NAS_PickPockets    <26>
NAS_Extropian      <27>
CodeBreaking <SkRoll NAS_CodeBreaking STAT_Craft>
Conversation <SkRoll NAS_Conversation STAT_Charm>
Intimidation <SkRoll NAS_Intimidation STAT_Ego>
Awareness <SkRoll NAS_Awareness STAT_Perception>
Survival <SkRoll NAS_Survival STAT_Craft>
Stealth <SkRoll NAS_Stealth STAT_Speed>
Taunt <SkRoll NAS_Taunt STAT_Charm>
Shopping <SkRoll NAS_Shopping STAT_Charm>
FacVar <GrabFaction ? GNAtt NAG_ScriptVar ?>
PCFacXP <GrabFaction PCFac GNAtt NAG_Experience NAS_FacXP>
PCFacLevel <GrabAdventure GNAtt NAG_Experience NAS_FacLevel>
PCRewardLevel <GrabAdventure GNAtt NAG_Experience NAS_RewardLevel>
FacXPNeeded <FXPNeeded PCFacLevel>
DynaRenown <GrabCurrentScene GNAtt 21 4>
DynaStrength <GrabCurrentScene GNAtt 21 5>
WildMap <1>
CityMap <-6>
CaveMap <-2>
ArenaMap <-15>
AsteroidMap <-30>
RoughMap <11>
#VictimsRecovered <GrabCurrentScene GNatt NAG_Narrative NAS_VictimsRecovered>
NPCTEAM <GrabNPC ? GNAtt NAG_LOCATION nAS_Team>
NAG_XXRan <-7>
NAS_EpisodeNumber <6>
NAS_DramaticChoice <8>
CurrentDramaticGoal <GrabStory GNAtt NAG_XXRan NAS_DramaticChoice>
NAS_DebriefingMsg <11>
XXRDebriefingMsg <GrabPlot GNAtt NAG_XXRan NAS_DebriefingMsg>
NAG_Completed_DC <-25>
DEF_4 <4>
DEF_5 <5>
OFF_4 <9>
OFF_5 <10>
XXR_M_Mercenary <1>
XXR_M_Professional <2>
XXR_M_Competitor <7>
XXR_M_GreaterGood <3>
XXR_M_Seeker <4>
XXR_M_Revenge <5>
XXR_M_Change <6>
XXR_M_Nihilism <8>
XXR_A_NeverMet <11>
XXR_A_IsJunior <1>
XXR_A_IsSenior <2>
XXR_A_Antagonistic <12>
XXR_A_Thankful <10>
XXR_A_HasSecret <3>
XXR_A_IsEqual <4>
XXR_A_EnviesPC <5>
XXR_A_Disrespect <14>
XXR_A_Admire <13>
XXR_A_PCHates <6>
XXR_A_HatesPC <7>
XXR_A_MutualHate <8>
XXR_A_Obsession <9>
StoryDL <GrabStory GNAtt NAG_Narrative NAS_DifficultyLevel>
EpisodeNumber <GrabStory GNAtt NAG_XXRan NAS_EpisodeNumber>
STAT_Pass <3>
STAT_Lock <6>
STAT_MetaVisibility <5>
STAT_MapGenerator <1>
STAT_WMonster <2>
NAG_ParaLocation <-6>
NAS_OriginalHome <255>
NAG_Location <-1>
NAG_ScriptVar <0>
NAG_CharDescription <3>
NAS_DAge <1>
NAS_CharType <2>
NAV_TempLancemate <2>
NAS_IsCombatant <3>
NAG_Experience <4>
NAG_Personal <5>
NAS_OldFaction <14>
NAS_NumConversation <8>
NAS_MechaTheme <12>
NAS_OptMax <6>
NAS_OptMin <7>
NAG_ReactionScore <6>
NAG_Relationship <10>
NAS_Credits <2>
NAS_TotalXP <0>
NAS_FacXP <3>
NAS_FacLevel <4>
NAS_RewardLevel <5>
NAS_CID <0>
NAS_FactionID <2>
NAS_X <0>
NAS_Y <1>
NAS_Team <4>
NAV_Friend <1>
NAV_ArchAlly <2>
NAV_Family <3>
NAV_Lover <4>
NAV_ArchEnemy <-1>
NAV_DefPlayerTeam <1>
NAV_DefEnemyTeam <2>
NAV_LancemateTeam <-3>
NAG_EpisodeData <-4>
NAS_SurrenderStatus <14>
NAV_NowSurrendered <1>
NAS_EncVis <16>
NAS_UID <0>
NAS_Target <1>
NAS_Orders <2>
NAG_Action <-2>
NAS_CallTime <4>
NAG_Narrative <7>
NAS_HomeTownID <11>
NAS_ControllerID <29>
NAS_EncounterActive <34>
NAS_Fortune <36>
NAS_LancemateTraining_Spent <39>
NAG_PlotStatus <-22>
NAS_NID <0>
NAS_VictimsRecovered <201>
NAS_ReturnTo <18>
NAS_DifficultyLevel <26>
NAG_Condition <9>
NAS_StaminaDown <0>
NAS_Hunger <2>
NAG_SideReaction <-24>
NAG_Skill <1>
NAG_StatusEffect <14>
NAS_Poison <1>
NAS_Stoned <4>
NAS_Sickness <20>
NAG_FacReward <17>
NAS_DatePoints <14>
NAS_PartyPoints <17>
TERRAIN_THRESHOLD <15>
ArenaState <GrabScene ? GNAtt NAG_ArenaData NAS_ArenaState>
ArenaRecharge <GrabScene ? GNAtt NAG_ArenaData NAS_ArenaRecharge>
SelfArenaState <GrabCurrentScene GNAtt NAG_ArenaData NAS_ArenaState>
SelfArenaThreat <GrabCurrentScene GNAtt NAG_ArenaData NAS_ArenaThreat>
SelfArenaForces <GrabCurrentScene GNAtt NAG_ArenaData NAS_ArenaForces>
SelfChallengerID <GrabCurrentScene GNAtt NAG_ArenaData NAS_ChallengerID>
SelfChallengerHome <GrabCurrentScene GNAtt NAG_ArenaData NAS_ChallengerHome>
ArenaWins <GrabScene ? GNAtt NAG_ArenaData NAS_ArenaWins>
ArenaThreat <GrabScene ? GNAtt NAG_ArenaData NAS_ArenaThreat>
NAG_ArenaData <-18>
NAS_ArenaState <1>
NAV_AS_Vacant <0>
NAV_AS_Ready <1>
NAV_AS_Battle <2>
NAV_AS_Win <3>
NAV_AS_Loss <4>
NAS_ArenaWins <2>
NAS_ArenaThreat <4>
NAS_ArenaForces <5>
NAS_ChallengerID <6>
NAS_ChallengerHome <7>
NAS_ArenaRecharge <8>
NAG_Damage <12>
NAS_StrucDamage <0>
NAG_MeritBadge  <28>
NAS_MB_PopStar           <1>
NAS_MB_ArenaChampion     <2>
NAS_MB_Lancemate2        <3>
NAS_MB_Lancemate3        <4>
NAS_MB_MoralHighGround   <5>
NAS_MB_UncompromisingDef <6>
MAQUI <1>
COMET <2>
SILKN <3>
AEGIS <4>
PDASS <5>
PRIVA <6>
HOELL <7>
CRIHN <8>
L5LAW <9>
FCOMS <10>
RISHI <11>
BOHEM <12>
MUGLE <13>
ROCKE <14>
REDMA <15>
AEGSF <16>