Skip to content

Commit f989e98

Browse files
committed
Ran automatic extraction of rule strings
OpenRA PR 21204? Run utility command --extract-yaml-strings.
1 parent ea1135a commit f989e98

22 files changed

+1298
-435
lines changed

mods/ra2/fluent/rules.ftl

Lines changed: 863 additions & 0 deletions
Large diffs are not rendered by default.

mods/ra2/rules/ai.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Player:
22
ModularBot@testai:
3-
Name: Test AI
3+
Name: actor-player-modularbot-testai-name
44
Type: test
55
GrantConditionOnBotOwner@test:
66
Condition: enable-test-ai

mods/ra2/rules/aircraft.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ shad:
33
Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
44
Inherits@MC: ^MindControllable
55
Tooltip:
6-
Name: Night Hawk
6+
Name: actor-shad.name
77
Selectable:
88
Bounds: 1689, 2896, 0, -965
99
Health:
@@ -21,7 +21,7 @@ shad:
2121
Queue: Vehicle
2222
BuildPaletteOrder: 90
2323
Prerequisites: ~gaweap
24-
Description: Infantry Transport Helicopter\nUndetectable by radar.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
24+
Description: actor-shad.description
2525
Valued:
2626
Cost: 1000
2727
UpdatesPlayerStatistics:
@@ -68,7 +68,7 @@ shad:
6868
shadhusk:
6969
Inherits: ^HelicopterHusk
7070
Tooltip:
71-
Name: Night Hawk
71+
Name: actor-shadhusk-name
7272
Aircraft:
7373
TurnSpeed: 40
7474
Speed: 140
@@ -90,7 +90,7 @@ zep:
9090
UpdatesPlayerStatistics:
9191
AddToArmyValue: true
9292
Tooltip:
93-
Name: Kirov Airship
93+
Name: actor-zep-name
9494
Buildable:
9595
Queue: Vehicle
9696
BuildPaletteOrder: 90
@@ -144,7 +144,7 @@ zep:
144144
zephusk:
145145
Inherits: ^HelicopterHusk
146146
Tooltip:
147-
Name: Kirov Airship
147+
Name: actor-zephusk-name
148148
Aircraft:
149149
TurnSpeed: 20
150150
Speed: 25
@@ -166,12 +166,12 @@ orca:
166166
UpdatesPlayerStatistics:
167167
AddToArmyValue: true
168168
Tooltip:
169-
Name: Harrier
169+
Name: actor-orca.name
170170
Buildable:
171171
Queue: Aircraft
172172
BuildPaletteOrder: 10
173173
Prerequisites: ~aircraft.harrier
174-
Description: Fast assault fighter\n Strong vs Buildings, Vehicles\n Weak vs Infantry, Aircraft
174+
Description: actor-orca.description
175175
Aircraft:
176176
TurnSpeed: 12
177177
Speed: 210
@@ -215,7 +215,7 @@ orca:
215215
orcahusk:
216216
Inherits: ^PlaneHusk
217217
Tooltip:
218-
Name: Harrier
218+
Name: actor-orcahusk-name
219219
Aircraft:
220220
TurnSpeed: 20
221221
Speed: 210
@@ -225,7 +225,7 @@ orcahusk:
225225
beag:
226226
Inherits: orca
227227
Tooltip:
228-
Name: Black Eagle
228+
Name: actor-beag-name
229229
Buildable:
230230
BuildPaletteOrder: 20
231231
Prerequisites: ~aircraft.korea
@@ -246,7 +246,7 @@ beag:
246246
beaghusk:
247247
Inherits: ^PlaneHusk
248248
Tooltip:
249-
Name: Black Eagle
249+
Name: actor-beaghusk-name
250250
Aircraft:
251251
TurnSpeed: 20
252252
Speed: 210
@@ -262,7 +262,7 @@ pdplane:
262262
Bounds: 2413, 3861
263263
RejectsOrders:
264264
Tooltip:
265-
Name: Cargo Plane
265+
Name: actor-pdplane-name
266266
Aircraft:
267267
Repulsable: false
268268
CruiseAltitude: 5600
@@ -286,7 +286,7 @@ pdplane:
286286
pdplanehusk:
287287
Inherits: ^PlaneHusk
288288
Tooltip:
289-
Name: Cargo Plane
289+
Name: actor-pdplanehusk-name
290290
Aircraft:
291291
TurnSpeed: 20
292292
Speed: 100
@@ -302,7 +302,7 @@ hornet:
302302
GainsExperience:
303303
ExperienceModifier: 500
304304
Tooltip:
305-
Name: Hornet
305+
Name: actor-hornet-name
306306
Interactable:
307307
Bounds: 362, 579
308308
Health:
@@ -349,7 +349,7 @@ hornet:
349349
hornethusk:
350350
Inherits: ^PlaneHusk
351351
Tooltip:
352-
Name: Hornet
352+
Name: actor-hornethusk-name
353353
Aircraft:
354354
TurnSpeed: 20
355355
Speed: 180
@@ -368,7 +368,7 @@ asw:
368368
GainsExperience:
369369
ExperienceModifier: 500
370370
Tooltip:
371-
Name: Osprey
371+
Name: actor-asw-name
372372
Health:
373373
HP: 135
374374
Armor:
@@ -420,9 +420,9 @@ asw:
420420
aswhusk:
421421
Inherits: ^PlaneHusk
422422
Tooltip:
423-
Name: Osprey
423+
Name: actor-aswhusk.name
424424
Tooltip@NoRow:
425-
Name: Osprey
425+
Name: actor-aswhusk.norow--name
426426
Aircraft:
427427
TurnSpeed: 20
428428
Speed: 180

mods/ra2/rules/allied-infantry.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ engineer:
55
Queue: Infantry
66
Prerequisites: ~barracks
77
BuildPaletteOrder: 30
8-
Description: Captures enemy structures.\n Unarmed
8+
Description: actor-engineer.description
99
Valued:
1010
Cost: 500
1111
UpdatesPlayerStatistics:
@@ -15,7 +15,7 @@ engineer:
1515
PlayerExperience: 25
1616
Voice: Move
1717
Tooltip:
18-
Name: Engineer
18+
Name: actor-engineer.name
1919
Selectable:
2020
Bounds: 482, 1448, 0, -530
2121
Health:
@@ -47,7 +47,7 @@ dog:
4747
Queue: Infantry
4848
Prerequisites: ~barracks
4949
BuildPaletteOrder: 40
50-
Description: Anti-infantry unit.\nCan detect cloaked units and spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
50+
Description: actor-dog.description
5151
Valued:
5252
Cost: 200
5353
UpdatesPlayerStatistics:
@@ -57,7 +57,7 @@ dog:
5757
PlayerExperience: 10
5858
Voice: Move
5959
Tooltip:
60-
Name: Attack Dog
60+
Name: actor-dog.name
6161
Selectable:
6262
Bounds: 724, 1158, 0, -241
6363
Health:
@@ -130,7 +130,7 @@ e1:
130130
Queue: Infantry
131131
Prerequisites: ~gapile
132132
BuildPaletteOrder: 10
133-
Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
133+
Description: actor-e1.description
134134
Valued:
135135
Cost: 200
136136
UpdatesPlayerStatistics:
@@ -140,7 +140,7 @@ e1:
140140
PlayerExperience: 10
141141
Voice: Move
142142
Tooltip:
143-
Name: G.I.
143+
Name: actor-e1.name
144144
Selectable:
145145
Bounds: 482, 1448, 0, -530
146146
Health:
@@ -232,12 +232,12 @@ snipe:
232232
PlayerExperience: 30
233233
Voice: Move
234234
Tooltip:
235-
Name: Sniper
235+
Name: actor-snipe.name
236236
Buildable:
237237
Queue: Infantry
238238
BuildPaletteOrder: 80
239239
Prerequisites: radar, ~infantry.england
240-
Description: Special anti-infantry unit.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft
240+
Description: actor-snipe.description
241241
Selectable:
242242
Bounds: 482, 1448, 0, -530
243243
Health:
@@ -271,7 +271,7 @@ spy:
271271
BuildAtProductionType: Infantry
272272
BuildPaletteOrder: 130
273273
Prerequisites: gatech, ~gapile
274-
Description: Infiltrates enemy structures for intel or\nsabotage. Exact effect depends on the\nbuilding infiltrated.\n Unarmed\nSpecial Ability: Disguises
274+
Description: actor-spy.description
275275
Valued:
276276
Cost: 1000
277277
UpdatesPlayerStatistics:
@@ -281,8 +281,8 @@ spy:
281281
PlayerExperience: 25
282282
Voice: Move
283283
DisguiseTooltip:
284-
Name: Spy
285-
GenericName: Soldier
284+
Name: actor-spy.disguisetooltip-name
285+
GenericName: actor-spy.disguisetooltip-generic-name
286286
Selectable:
287287
Bounds: 579, 1351, -24, -386
288288
Health:
@@ -326,7 +326,7 @@ ghost:
326326
BuildAtProductionType: Infantry
327327
BuildPaletteOrder: 100
328328
Prerequisites: ~disabled
329-
Description: Elite commando infantry, armed with\na sub machine gun and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\nSpecial Ability: Destroy Building with C4
329+
Description: actor-ghost.description
330330
Valued:
331331
Cost: 1000
332332
UpdatesPlayerStatistics:
@@ -336,7 +336,7 @@ ghost:
336336
PlayerExperience: 50
337337
Voice: Move
338338
Tooltip:
339-
Name: Navy SEAL
339+
Name: actor-ghost.name
340340
Selectable:
341341
Bounds: 482, 1448, 0, -530
342342
Health:
@@ -378,9 +378,9 @@ ccomand:
378378
Buildable:
379379
BuildPaletteOrder: 170
380380
Prerequisites: ~gapile, ~allies.tech.infiltrated
381-
Description: Elite commando infantry, armed with\na sub machine gun and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\nSpecial Ability: Destroy Building with C4
381+
Description: actor-ccomand.description
382382
Tooltip:
383-
Name: Chrono Commando
383+
Name: actor-ccomand.name
384384
Valued:
385385
Cost: 2000
386386
UpdatesPlayerStatistics:
@@ -424,7 +424,7 @@ ptroop:
424424
Buildable:
425425
BuildPaletteOrder: 180
426426
Prerequisites: ~gapile, ~soviets.tech.infiltrated
427-
Description: Psychic infantry. Can mind control enemy units.\n Strong vs Infantry, Vehicles, Buildings\n Weak vs Dogs, Terror Drones, Aircraft\nSpecial Ability: Destroy Building with C4
427+
Description: actor-ptroop.description
428428
Valued:
429429
Cost: 1000
430430
UpdatesPlayerStatistics:
@@ -433,7 +433,7 @@ ptroop:
433433
Payload: 500
434434
PlayerExperience: 50
435435
Tooltip:
436-
Name: Psi Commando
436+
Name: actor-ptroop.name
437437
-PortableChrono:
438438
Armament@primary:
439439
Weapon: MindControl
@@ -475,7 +475,7 @@ tany:
475475
BuildPaletteOrder: 140
476476
Prerequisites: gatech, ~gapile
477477
BuildLimit: 1
478-
Description: Elite commando infantry, armed with \ndual pistols and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\nSpecial Ability: Destroy Building with C4\n\nMaximum 1 can be trained.
478+
Description: actor-tany.description
479479
Valued:
480480
Cost: 1000
481481
UpdatesPlayerStatistics:
@@ -485,7 +485,7 @@ tany:
485485
PlayerExperience: 50
486486
Voice: Move
487487
Tooltip:
488-
Name: Tanya
488+
Name: actor-tany.name
489489
Selectable:
490490
Bounds: 482, 1448, 0, -530
491491
Health:
@@ -532,13 +532,13 @@ jumpjet:
532532
BuildAtProductionType: Infantry
533533
BuildPaletteOrder: 60
534534
Prerequisites: ~gapile, radar
535-
Description: Airborne soldier.\n Strong vs Infantry, Aircraft\n Weak vs Vehicles
535+
Description: actor-jumpjet.description
536536
Valued:
537537
Cost: 600
538538
UpdatesPlayerStatistics:
539539
AddToArmyValue: true
540540
Tooltip:
541-
Name: Rocketeer
541+
Name: actor-jumpjet.name
542542
Selectable:
543543
Bounds: 482, 1448, 0, -530
544544
Health:
@@ -615,7 +615,7 @@ jumpjet.husk:
615615
-RenderVoxels:
616616
-WithVoxelBody:
617617
Tooltip:
618-
Name: Rocketeer
618+
Name: actor-jumpjet-husk-name
619619
Aircraft:
620620
TurnSpeed: 40
621621
Speed: 140
@@ -632,13 +632,13 @@ cleg:
632632
Selectable:
633633
Bounds: 482, 1448, 0, -530
634634
Tooltip:
635-
Name: Chrono Legionnaire
635+
Name: actor-cleg.name
636636
Buildable:
637637
Queue: Infantry
638638
BuildAtProductionType: Infantry
639639
BuildPaletteOrder: 150
640640
Prerequisites: ~gapile, gatech
641-
Description: High-tech soldier.\n Strong vs Infantry, Vehicles\n Weak vs Aircraft
641+
Description: actor-cleg.description
642642
ProducibleWithLevel:
643643
Prerequisites: barracks.infiltrated
644644
Valued:

0 commit comments

Comments
 (0)