Skip to content

Commit

Permalink
Started coding LNER N7 (GER L77), improved some steam train name formats
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Jul 14, 2024
1 parent 085e98d commit 79279c2
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 8 deletions.
21 changes: 13 additions & 8 deletions lang/english.lng
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ str_FurnessK2_usage :Mixed Traffic
str_FurnessK2_eos :1892
str_FurnessK2_liveries :Furness Railway Red

STR_NAME_LNWRWebb :LNWR 0-6-2 Webb "Coal Tank"
STR_NAME_LNWRWebb :LNWR 0-6-2 "Webb Coal Tank"
str_LNWRWebb_usage :Low speed freight
str_LNWRWebb_eos :1988
str_LNWRWebb_liveries :LNWR Black, BR Black
Expand All @@ -274,37 +274,37 @@ str_GreatBear_usage :Express Passenger
str_GreatBear_eos :1908
str_GreatBear_liveries :GWR Green

STR_NAME_GWRCastle :GWR 4-6-0 "Castle" Class
STR_NAME_GWRCastle :GWR 4-6-0 "Castle"
str_GWRCastle_usage :Express Passenger
str_GWRCastle_eos :1923
str_GWRCastle_liveries :GWR Green

STR_NAME_GWRHall :GWR 4-6-0 "Hall" Class
STR_NAME_GWRHall :GWR 4-6-0 "Hall"
str_GWRHall_usage :Express Passenger
str_GWRHall_eos :1946
str_GWRHall_liveries :GWR Green, Hogwarts Express

STR_NAME_GNRA1 :GNR Gresley 4-6-2 A1
STR_NAME_GNRA1 :GNR Gresley 4-6-2 "A1"
str_GNRA1_usage :Express Passenger
str_GNRA1_eos :1928-1935
str_GNRA1_liveries :GNR Green, LNER Green

STR_NAME_LNERA3 :LNER Gresley 4-6-2 A3
STR_NAME_LNERA3 :LNER Gresley 4-6-2 "A3"
str_LNERA3_usage :Express Passenger
str_LNERA3_eos :1959-1966
str_LNERA3_liveries :LNER Green, BR Wartime Black, BR Apple Green, BR Brunswick Green

STR_NAME_LNERP2 :LNER Gresley 2-8-2 P2
STR_NAME_LNERP2 :LNER Gresley 2-8-2 "P2"
str_LNERP2_usage :Express Passenger
str_LNERP2_eos :1934-1936ß
str_LNERP2_liveries :LNER Green

STR_NAME_LMSJubilee :LMS 4-6-0 Jubilee
STR_NAME_LMSJubilee :LMS 4-6-0 "Jubilee"
str_LMSJubilee_usage :Express Passenger
str_LMSJubilee_eos :1934-1936
str_LMSJubilee_liveries :LNER Green

STR_NAME_LMSBlack5 :LMS 4-6-0 Black5
STR_NAME_LMSBlack5 :LMS 4-6-0 "Black5"
str_LMSBlack5_usage :Mixed Traffic
str_LMSBlack5_eos :1934-1951
str_LMSBlack5_liveries :LNER Green
Expand All @@ -319,6 +319,11 @@ str_SRZClass_usage :Heavy shunting, short haul freight
str_SRZClass_eos :1929
str_SRZClass_liveries :SR Black, BR Transitional Black, BR Cycling Lion

STR_NAME_GERL77 :LNER 0-6-2T "N7" (GER "L77") Tank
str_GERL77_usage :Heavy shunting, short haul freight
str_GERL77_eos :1915-1928
str_GERL77_liveries :GER Blue, GER Black, LNER Apple Green, LNER Black, BR Black

STR_NAME_Standard9F :BR Standard Class 9F
str_Standard9F_usage :Freight/Mixed Traffic
str_Standard9F_eos :1935
Expand Down
48 changes: 48 additions & 0 deletions src/trains/steam/LNERN7.pnml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
item (FEAT_TRAINS, item_SRZClass, 567) {
property {
name: string(STR_NAME_SRZClass);
climates_available: ALL_CLIMATES;
introduction_date: date(1915,1,1);
model_life: 15;
retire_early: 1;
vehicle_life: 50;
reliability_decay: 7;
refittable_cargo_classes: 0;
cargo_allow_refit: [GOOD, FOOD];
loading_speed: 3;
cost_factor: 6;
running_cost_factor: 6;
sprite_id: SPRITE_ID_NEW_TRAIN;
speed: 60 mph;
misc_flags: TRAIN_FLAG_NO_BREAKDOWN_SMOKE;
refit_cost: 0;
track_type: RAIL;
ai_special_flag: AI_FLAG_CARGO;
power: 700 hp;
running_cost_base: RUNNING_COST_STEAM;
dual_headed: 0;
default_cargo_type: GOOD;
cargo_capacity: 1;
weight: 63 ton;
engine_class: ENGINE_CLASS_STEAM;
tractive_effort_coefficient: 0.35;
air_drag_coefficient: 0.1;
length: 6;
effect_spawn_model_and_powered: EFFECT_SPAWN_MODEL_STEAM;
extra_weight_per_wagon: 0;
bitmask_vehicle_info: 0;
}
graphics {
additional_text: return(string(str_purchase_loco_with_liveries,string(str_purchase_type_steam),string(str_route_1),string(str_SRZClass_usage),string(str_SRZClass_eos),string(str_SRZClass_liveries)));
can_attach_wagon: CB_RESULT_ATTACH_ALLOW;
cargo_capacity: return 0;
cargo_subtype_text: sw_SRZClass_cargo_subtype_text;
default: sw_SRZClass;
purchase: spriteset_SRZClass_Purchase;
colour_mapping: return PALETTE_CC_FIRST;
create_effect: steam_create_visual_effect;
sound_effect: sw_steam_sound;
cost_factor: return(GetAdjustedCost(16));
running_cost_factor: return(GetAdjustedCost(14));
}
}

0 comments on commit 79279c2

Please sign in to comment.