Skip to content

Commit 40164d6

Browse files
committed
Fixed a bunch of Utility warnings
Refinery.TickLifetime and TickVelocity were removed in OpenRA PR 20636 as they were apparently unused for a long, long time.
1 parent f989e98 commit 40164d6

9 files changed

+30
-19
lines changed

mods/ra2/fluent/assetbrowser.ftl

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## assetbrowser.yaml
2+
label-assetbrowser-model-scale = Scale:
3+
label-voxel-selector-roll = Roll
4+
label-voxel-selector-pitch = Pitch
5+
label-voxel-selector-yaw = Yaw

mods/ra2/fluent/hotkeys.ftl

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## hotkeys.yaml
2+
hotkey-description-productiontypebuilding = Building Tab
3+
hotkey-description-productiontypedefense = Defense Tab
4+
hotkey-description-productiontypeinfantry = Infantry Tab
5+
hotkey-description-productiontypevehicle = Vehicle Tab
6+
hotkey-description-productiontypeaircraft = Aircraft Tab
7+
hotkey-description-productiontypenaval = Naval Tab

mods/ra2/fluent/rules.ftl

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ options-starting-units =
1616
.medium = Medium
1717
.heavy = Heavy
1818
19-
options-difficulty =
20-
.normal = Normal
21-
2219
## ai.yaml
2320
actor-player-modularbot-testai-name = Test AI
2421
@@ -881,3 +878,5 @@ meta-baseworld =
881878
.faction-9-description =
882879
Russia
883880
Special Vehicle: Tesla Tank
881+
882+
resource-minerals = Valuable Minerals

mods/ra2/hotkeys.yaml

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
ProductionTypeBuilding: E
2-
Description: Building Tab
2+
Description: hotkey-description-productiontypebuilding
33
Types: Production
4+
Contexts: player
45

56
ProductionTypeDefense: R
6-
Description: Defense Tab
7+
Description: hotkey-description-productiontypedefense
78
Types: Production
9+
Contexts: player
810

911
ProductionTypeInfantry: T
10-
Description: Infantry Tab
12+
Description: hotkey-description-productiontypeinfantry
1113
Types: Production
14+
Contexts: player
1215

1316
ProductionTypeVehicle: Y
14-
Description: Vehicle Tab
17+
Description: hotkey-description-productiontypevehicle
1518
Types: Production
19+
Contexts: player
1620

1721
ProductionTypeAircraft: U
18-
Description: Aircraft Tab
22+
Description: hotkey-description-productiontypeaircraft
1923
Types: Production
24+
Contexts: player
2025

2126
ProductionTypeNaval: I
22-
Description: Naval Tab
27+
Description: hotkey-description-productiontypenaval
2328
Types: Production
29+
Contexts: player

mods/ra2/mod.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ FluentMessages:
205205
common|fluent/chrome.ftl
206206
common|fluent/hotkeys.ftl
207207
common|fluent/rules.ftl
208+
ra2|fluent/assetbrowser.ftl
208209
ra2|fluent/chrome.ftl
210+
ra2|fluent/hotkeys.ftl
209211
ra2|fluent/mod.ftl
210212
ra2|fluent/rules.ftl
211213

mods/ra2/rules/allied-structures.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,6 @@ garefn:
233233
Range: 6c0
234234
Refinery:
235235
ShowTicks: True
236-
TickLifetime: 30
237-
TickVelocity: 1
238236
TickRate: 10
239237
UseStorage: false
240238
CustomSellValue:

mods/ra2/rules/defaults.yaml

-4
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,6 @@
474474
Building:
475475
Footprint: x
476476
Dimensions: 1, 1
477-
Tooltip:
478-
Name: meta-flag-name
479477
Health:
480478
HP: 20
481479
Armor:
@@ -1186,8 +1184,6 @@
11861184

11871185
^TelephonePole:
11881186
Inherits: ^Tree
1189-
Tooltip:
1190-
Name: meta-telephonepole-name
11911187
Health:
11921188
HP: 20
11931189
Armor:

mods/ra2/rules/soviet-structures.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,6 @@ narefn:
248248
Range: 6c0
249249
Refinery:
250250
ShowTicks: True
251-
TickLifetime: 30
252-
TickVelocity: 1
253251
TickRate: 10
254252
UseStorage: false
255253
CustomSellValue:

mods/ra2/rules/world.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
Ore:
1616
Sequences: tib01, tib02, tib03, tib04, tib05, tib06, tib07, tib08, tib09, tib10, tib11, tib12, tib13, tib14, tib15, tib16, tib17, tib18, tib19, tib20
1717
Palette: resource
18-
Name: Valuable Minerals
18+
Name: resource-minerals
1919
Gems:
2020
Sequences: gem01, gem02, gem03, gem04, gem05, gem06, gem07, gem08, gem09, gem10, gem11, gem12
2121
Palette: resource
22-
Name: Valuable Minerals
22+
Name: resource-minerals
2323
TerrainLighting:
2424
DebugVisualizations:
2525
Locomotor@FOOT:

0 commit comments

Comments
 (0)