Skip to content

Commit

Permalink
(RV) update docs and params
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Nov 24, 2023
1 parent 5c0871e commit 10bffbe
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/road_vehicle/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Ahyangyi's Road Vehicles (ARV)
title: ARV - Ahyangyi's Road Vehicles
has_children: True
nav_order: 1
---
2 changes: 1 addition & 1 deletion docs/road_vehicle/rosters/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: Rosters
parent: Ahyangyi's Road Vehicles (ARV)
parent: ARV - Ahyangyi's Road Vehicles
has_children: True
nav_order: 2
---
2 changes: 1 addition & 1 deletion docs/road_vehicle/vehicles/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: default
title: Vehicles
parent: Ahyangyi's Road Vehicles (ARV)
parent: ARV - Ahyangyi's Road Vehicles
has_children: True
nav_order: 1
---
4 changes: 2 additions & 2 deletions road_vehicle/docgen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def gen_docs(string_manager, rosters):
layout: default
title: {roster.name}
parent: Rosters
grand_parent: Ahyangyi's Road Vehicles (ARV)
grand_parent: ARV - Ahyangyi's Road Vehicles
nav_order: {i+1}
---
""",
Expand Down Expand Up @@ -65,7 +65,7 @@ def gen_docs(string_manager, rosters):
layout: default
title: {translation}
parent: Vehicles
grand_parent: Ahyangyi's Road Vehicles (ARV)
grand_parent: ARV - Ahyangyi's Road Vehicles
nav_order: {i+1}
---
Expand Down
15 changes: 11 additions & 4 deletions road_vehicle/lang/english-uk.lng
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ STR_PARAM_ALL :China
STR_PARAM_DOVEMERE :Wuhu
STR_PARAM_NORBURY :Beijing

STR_PARAM_EARLY_IMPORTED_VEHICLES :Early Imported Vehicles
STR_PARAM_EARLY_IMPORTED_VEHICLES_DESC :Whether to include imported vehicles for the early game
STR_PARAM_EARLY_IMPORTED_VEHICLES_DISABLED:Disabled
STR_PARAM_EARLY_IMPORTED_VEHICLES_ENABLED:Enabled
STR_PARAM_EARLY_IMPORTED_VEHICLES :Early Imported Vehicles
STR_PARAM_EARLY_IMPORTED_VEHICLES_DESC :Whether to include imported vehicles for the early game.
STR_PARAM_EARLY_IMPORTED_VEHICLES_DISABLED :Disabled
STR_PARAM_EARLY_IMPORTED_VEHICLES_ENABLED_CHEAP :Enabled - Cheaper
STR_PARAM_EARLY_IMPORTED_VEHICLES_ENABLED :Enabled
STR_PARAM_EARLY_IMPORTED_VEHICLES_ENABLED_COSTLY:Enabled - Costly

STR_PARAM_EARLY_IMPORTED_FANTASY_FREIGHT_TRAMS :Fantasy - Freighter Trams
STR_PARAM_EARLY_IMPORTED_FANTASY_FREIGHT_TRAMS_DESC :Whether to include freighter variations for passenger-only trams/metros/monorails.
STR_PARAM_EARLY_IMPORTED_FANTASY_DISABLED :Disabled
STR_PARAM_EARLY_IMPORTED_FANTASY_ENABLED :Enabled

STR_RV_HAPPYONE_BUS_NAME :Ford F-60 Canadian Military Pattern Combination Bus (gasoline)
STR_RV_RIME_NAME :Songhuajiang Type-57 Bus (gasoline)
Expand Down
12 changes: 11 additions & 1 deletion road_vehicle/lib/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@
),
Parameter(
"EARLY_IMPORTED_VEHICLES",
1,
2,
{
0: "DISABLED",
1: "ENABLED_CHEAP",
2: "ENABLED",
3: "ENABLED_COSTLY",
},
),
Parameter(
"FANTASY_FREIGHT_TRAMS",
0,
{
0: "DISABLED",
1: "ENABLED",
Expand Down

0 comments on commit 10bffbe

Please sign in to comment.