diff --git a/docs/SpriteIDs.xlsx b/docs/SpriteIDs.xlsx index 9d1f20cd..06898c87 100644 Binary files a/docs/SpriteIDs.xlsx and b/docs/SpriteIDs.xlsx differ diff --git a/lang/english.lng b/lang/english.lng index 019b9676..daecde39 100644 --- a/lang/english.lng +++ b/lang/english.lng @@ -73,13 +73,18 @@ str_var_Unnamed :Unnamed # Variant group headers STR_LU_Subsurface_Header :London Underground sub-surface STR_LU_Deeplevel_Header :London Underground deep level -STR_Pacer_Header :British Rail "Pacers" -STR_Sprinter_Header :British Rail "Sprinters" +STR_Pacer_Header :British Rail "Pacer" +STR_Sprinter_Header :British Rail "Sprinter" +STR_Turbo_Header :British Rail "Turbo" STR_Turbostar_Header :British Rail "Turbostar"/"Clubman" STR_Voyager_Header :Brirish Rail "Voyager"/"Meridian" -STR_Aventra_Header :British Rail "Aventras" -STR_Electrostar_Header :British Rail "Electrostars" +STR_Aventra_Header :British Rail "Aventra" +STR_Electrostar_Header :British Rail "Electrostar" STR_IEP_Header :British Rail "Intercity Express Program" +STR_Departmental_Header :National Rail Maintenance Vehicles +STR_Civity_Header :British Rail "Civity" +STR_Debug_Header :BRTrains DEBUG units (see description) +STR_Debug_AdditionalText :Units for BRTrains debugging - Not intended for gameplay{}Disable these using the BRTrains "Developer Mode" parameter # Parameters STR_PARAM_MAX_SPEED :Max Speed diff --git a/src/sortpurchase.pnml b/src/sortpurchase.pnml index 3b63f94a..33b401b4 100644 --- a/src/sortpurchase.pnml +++ b/src/sortpurchase.pnml @@ -62,50 +62,53 @@ sort(FEAT_TRAINS, [ item_BR121, item_BR139, header_Pacer, - item_BR140, - item_BR141, - item_BR142, - item_BR143, + item_BR140, + item_BR141, + item_BR142, + item_BR143, header_Sprinter, - item_BR150, - item_BR150_1, - item_BR150_2, - item_BR151, - item_BR153, - item_BR155, - item_BR156, - item_BR158, - item_BR158_3, - item_BR159, - item_BR165_0_2, - item_BR165_0_3, - item_BR165_1_2, - item_BR165_1_3, - item_BR166, + item_BR150, + item_BR150_1, + item_BR150_2, + item_BR151, + item_BR153, + item_BR155, + item_BR156, + item_BR158, + item_BR158_3, + item_BR159, + header_Turbo, + item_BR165_0_2, + item_BR165_0_3, + item_BR165_1_2, + item_BR165_1_3, + item_BR166, header_Turbostar, - item_BR168, - item_BR168_3, - item_BR168_4, - item_BR170, - item_BR170_3, - item_BR171, - item_BR171_4, + item_BR168, + item_BR168_3, + item_BR168_4, + item_BR170, + item_BR170_3, + item_BR171, + item_BR171_4, item_BR1750, item_BR1751, item_BR180, item_BR185, - item_br_195_0, - item_br_195_1, - item_br_196_0, - item_br_196_1, - item_br_197_0, - item_br_197_1, - item_BR220, - item_BR221, - item_BR221_4, - item_BR222, - item_BR222_5, - item_BR222_1, + header_Civity, + item_br_195_0, + item_br_195_1, + item_br_196_0, + item_br_196_1, + item_br_197_0, + item_br_197_1, + header_Voyager, + item_BR220, + item_BR221, + item_BR221_4, + item_BR222, + item_BR222_5, + item_BR222_1, item_BR230_2CAR, item_BR230_3CAR, item_br_231, @@ -212,20 +215,22 @@ sort(FEAT_TRAINS, [ item_br_756_4, item_br_769, item_br_769_9, - item_BR800_5car, - item_BR800_9car, - item_BR801_5car, - item_BR801_9car, - item_BR802_5car, - item_BR802_9car, - item_BR803_5car, - item_BR805_5car, - item_BR807_7car, - item_BR810_5car, + header_IEP, + item_BR800_5car, + item_BR800_9car, + item_BR801_5car, + item_BR801_9car, + item_BR802_5car, + item_BR802_9car, + item_BR803_5car, + item_BR805_5car, + item_BR807_7car, + item_BR810_5car, item_MPV_Single, - item_MPV_DualTrack, - item_MPV_DualFreight, - header_LU_Subsurface, + header_Departmental, + item_MPV_DualTrack, + item_MPV_DualFreight, + header_LU_Subsurface, item_LUAStock, item_LUCStock, item_LUDStock, @@ -306,14 +311,15 @@ header_BRMk4, item_BR438_3, item_BR438_4, item_EyeCandy, - item_UtilityTrain4px, - item_UtilityTrain8px, - item_UtilityTrain12px, - item_UtilityTrain16px, - item_UtilityTrain20px, - item_UtilityTrain24px, - item_UtilityTrain28px, - item_UtilityTrain32px, - item_UtilityTrain28pxOLD, - item_UtilityTrain32pxOLD + header_Debug, + item_UtilityTrain4px, + item_UtilityTrain8px, + item_UtilityTrain12px, + item_UtilityTrain16px, + item_UtilityTrain20px, + item_UtilityTrain24px, + item_UtilityTrain28px, + item_UtilityTrain32px, + item_UtilityTrain28pxOLD, + item_UtilityTrain32pxOLD ]); \ No newline at end of file diff --git a/src/trains/bimode_mu/800_5car_0-2.pnml b/src/trains/bimode_mu/800_5car_0-2.pnml index 3df8b32f..e07ae221 100644 --- a/src/trains/bimode_mu/800_5car_0-2.pnml +++ b/src/trains/bimode_mu/800_5car_0-2.pnml @@ -114,6 +114,7 @@ switch(FEAT_TRAINS, SELF, switch_BR800_5car_power, current_railtype) { // Class 800/0/2 (5car) item(FEAT_TRAINS, item_BR800_5car, 459) { property { + variant_group: header_IEP; name: string(STR_BR800_5CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2017, 10, 06); diff --git a/src/trains/bimode_mu/800_9car_0-1.pnml b/src/trains/bimode_mu/800_9car_0-1.pnml index dc635806..17296bb4 100644 --- a/src/trains/bimode_mu/800_9car_0-1.pnml +++ b/src/trains/bimode_mu/800_9car_0-1.pnml @@ -114,6 +114,7 @@ switch(FEAT_TRAINS, SELF, switch_BR800_9car_power, current_railtype) { // Class 800/1/3 (9car) item(FEAT_TRAINS, item_BR800_9car, 460) { property { + variant_group: header_IEP; name: string(STR_BR800_9CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2017, 10, 06); diff --git a/src/trains/bimode_mu/802_5car_-0-2-3.pnml b/src/trains/bimode_mu/802_5car_-0-2-3.pnml index a6326024..408f8a3a 100644 --- a/src/trains/bimode_mu/802_5car_-0-2-3.pnml +++ b/src/trains/bimode_mu/802_5car_-0-2-3.pnml @@ -116,6 +116,7 @@ switch(FEAT_TRAINS, SELF, switch_BR802_5car_power, current_railtype) { // Class 802/0/2/3 (5car) item(FEAT_TRAINS, item_BR802_5car, 461) { property { + variant_group: header_IEP; name: string(STR_BR802_5CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2018, 08, 18); diff --git a/src/trains/bimode_mu/802_9car_1.pnml b/src/trains/bimode_mu/802_9car_1.pnml index 9bc49b8c..7b2161bc 100644 --- a/src/trains/bimode_mu/802_9car_1.pnml +++ b/src/trains/bimode_mu/802_9car_1.pnml @@ -80,6 +80,7 @@ switch(FEAT_TRAINS, SELF, switch_BR802_9car_power, current_railtype) { // Class 802/1 (9car) item(FEAT_TRAINS, item_BR802_9car, 462) { property { + variant_group: header_IEP; name: string(STR_BR802_9CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2018, 08, 18); diff --git a/src/trains/bimode_mu/805_5car.pnml b/src/trains/bimode_mu/805_5car.pnml index 6be2c3a6..72c83e98 100644 --- a/src/trains/bimode_mu/805_5car.pnml +++ b/src/trains/bimode_mu/805_5car.pnml @@ -82,6 +82,7 @@ switch(FEAT_TRAINS, SELF, switch_BR805_5car_power, current_railtype) { item(FEAT_TRAINS, item_BR805_5car, 581) { property { + variant_group: header_IEP; name: string(STR_BR805_5CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2024, 04, 1); diff --git a/src/trains/bimode_mu/810_5car.pnml b/src/trains/bimode_mu/810_5car.pnml index b6a6fc76..df6a43dc 100644 --- a/src/trains/bimode_mu/810_5car.pnml +++ b/src/trains/bimode_mu/810_5car.pnml @@ -70,6 +70,7 @@ switch(FEAT_TRAINS, SELF, switch_BR810_5car_power, current_railtype) { item(FEAT_TRAINS, item_BR810_5car, 579) { property { + variant_group: header_IEP; name: string(STR_BR810_5CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2024, 08, 18); diff --git a/src/trains/departmental/BRMPV_DualFreight.pnml b/src/trains/departmental/BRMPV_DualFreight.pnml index a0c05bf1..96e73e2c 100644 --- a/src/trains/departmental/BRMPV_DualFreight.pnml +++ b/src/trains/departmental/BRMPV_DualFreight.pnml @@ -1,5 +1,6 @@ item (FEAT_TRAINS, item_MPV_DualFreight, 136) { property { + variant_group: header_Departmental; name: string(STR_NAME_MPV_DualFreight); climates_available: ALL_CLIMATES; introduction_date: date(1999,4,21); diff --git a/src/trains/departmental/BRMPV_DualTrack.pnml b/src/trains/departmental/BRMPV_DualTrack.pnml index 551b756a..1f98b7fb 100644 --- a/src/trains/departmental/BRMPV_DualTrack.pnml +++ b/src/trains/departmental/BRMPV_DualTrack.pnml @@ -1,5 +1,6 @@ item (FEAT_TRAINS, item_MPV_DualTrack, 234) { property { + variant_group: header_Departmental; name: string(STR_NAME_MPV_DualTrack); climates_available: ALL_CLIMATES; introduction_date: date(1999,4,21); diff --git a/src/trains/departmental/BRMPV_Single.pnml b/src/trains/departmental/BRMPV_Single.pnml index b199257e..af21c2d6 100644 --- a/src/trains/departmental/BRMPV_Single.pnml +++ b/src/trains/departmental/BRMPV_Single.pnml @@ -1,5 +1,6 @@ item (FEAT_TRAINS, item_MPV_Single, 235) { property { + variant_group: header_Departmental; name: string(STR_NAME_MPV_Single); climates_available: ALL_CLIMATES; introduction_date: date(1999,4,21); diff --git a/src/trains/diesel_mu/195-0.pnml b/src/trains/diesel_mu/195-0.pnml index 04c5f2a0..18e7dbf1 100644 --- a/src/trains/diesel_mu/195-0.pnml +++ b/src/trains/diesel_mu/195-0.pnml @@ -30,6 +30,7 @@ switch(FEAT_TRAINS, SELF, switch_br_195_0_can_attach_wagon, vehicle_type_id) { // Class 195/0 (2car) item(FEAT_TRAINS, item_br_195_0, 430) { property { + variant_group: header_Civity; name: string(STR_BR_195_2CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2019, 07, 01); diff --git a/src/trains/diesel_mu/195-1.pnml b/src/trains/diesel_mu/195-1.pnml index 3c1e0f3f..feaee5fd 100644 --- a/src/trains/diesel_mu/195-1.pnml +++ b/src/trains/diesel_mu/195-1.pnml @@ -39,6 +39,7 @@ switch(FEAT_TRAINS, SELF, switch_br_195_1_can_attach_wagon, vehicle_type_id) { // Class 195/1 (3car) item(FEAT_TRAINS, item_br_195_1, 431) { property { + variant_group: header_Civity; name: string(STR_BR_195_3CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2019, 07, 01); diff --git a/src/trains/diesel_mu/196-0.pnml b/src/trains/diesel_mu/196-0.pnml index cd4661b8..95c5ef90 100644 --- a/src/trains/diesel_mu/196-0.pnml +++ b/src/trains/diesel_mu/196-0.pnml @@ -30,6 +30,7 @@ switch(FEAT_TRAINS, SELF, switch_br_196_0_can_attach_wagon, vehicle_type_id) { // Class 196/0 (2car) item(FEAT_TRAINS, item_br_196_0, 432) { property { + variant_group: header_Civity; name: string(STR_BR_196_2CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2021, 07, 01); diff --git a/src/trains/diesel_mu/196-1.pnml b/src/trains/diesel_mu/196-1.pnml index 36cd3d27..9e13a2c5 100644 --- a/src/trains/diesel_mu/196-1.pnml +++ b/src/trains/diesel_mu/196-1.pnml @@ -39,6 +39,7 @@ switch(FEAT_TRAINS, SELF, switch_br_196_1_can_attach_wagon, vehicle_type_id) { // Class 196/1 (4car) item(FEAT_TRAINS, item_br_196_1, 433) { property { + variant_group: header_Civity; name: string(STR_BR_196_4CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2021, 07, 01); diff --git a/src/trains/diesel_mu/197-0.pnml b/src/trains/diesel_mu/197-0.pnml index 820d8978..e01e6117 100644 --- a/src/trains/diesel_mu/197-0.pnml +++ b/src/trains/diesel_mu/197-0.pnml @@ -30,6 +30,7 @@ switch(FEAT_TRAINS, SELF, switch_br_197_0_can_attach_wagon, vehicle_type_id) { // Class 197/0 (2car) item(FEAT_TRAINS, item_br_197_0, 434) { property { + variant_group: header_Civity; name: string(STR_BR_197_2CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2019, 07, 01); diff --git a/src/trains/diesel_mu/197-1.pnml b/src/trains/diesel_mu/197-1.pnml index 481bb9e0..ef8c5b5d 100644 --- a/src/trains/diesel_mu/197-1.pnml +++ b/src/trains/diesel_mu/197-1.pnml @@ -39,6 +39,7 @@ switch(FEAT_TRAINS, SELF, switch_br_197_1_can_attach_wagon, vehicle_type_id) { // Class 197/1 (3car) item(FEAT_TRAINS, item_br_197_1, 435) { property { + variant_group: header_Civity; name: string(STR_BR_197_3CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2019, 07, 01); diff --git a/src/trains/diesel_mu/BR165.pnml b/src/trains/diesel_mu/BR165.pnml index b4f8f052..91fcaf59 100644 --- a/src/trains/diesel_mu/BR165.pnml +++ b/src/trains/diesel_mu/BR165.pnml @@ -153,6 +153,7 @@ switch(FEAT_TRAINS,SELF,sw_BR165_1_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR165_0_2, 398) { property { + variant_group: header_Turbo; name: string(STR_NAME_BR165_0_2); climates_available: ALL_CLIMATES; introduction_date: date(1990,4,21); @@ -203,6 +204,7 @@ item (FEAT_TRAINS, item_BR165_0_2, 398) { item (FEAT_TRAINS, item_BR165_0_3, 399) { property { + variant_group: header_Turbo; name: string(STR_NAME_BR165_0_3); climates_available: ALL_CLIMATES; introduction_date: date(1990,4,21); @@ -341,6 +343,7 @@ item (FEAT_TRAINS, item_165_0c, 401) { item (FEAT_TRAINS, item_BR165_1_2, 402) { property { + variant_group: header_Turbo; name: string(STR_NAME_BR165_1_2); climates_available: ALL_CLIMATES; introduction_date: date(1990,4,21); @@ -389,6 +392,7 @@ item (FEAT_TRAINS, item_BR165_1_2, 402) { item (FEAT_TRAINS, item_BR165_1_3, 403) { property { + variant_group: header_Turbo; name: string(STR_NAME_BR165_1_3); climates_available: ALL_CLIMATES; introduction_date: date(1990,4,21); diff --git a/src/trains/diesel_mu/BR166.pnml b/src/trains/diesel_mu/BR166.pnml index 2e618238..c6119935 100644 --- a/src/trains/diesel_mu/BR166.pnml +++ b/src/trains/diesel_mu/BR166.pnml @@ -115,6 +115,7 @@ switch(FEAT_TRAINS,SELF,sw_BR166_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR166, 406) { property { + variant_group: header_Turbo; name: string(STR_NAME_BR166); climates_available: ALL_CLIMATES; introduction_date: date(1992,4,21); diff --git a/src/trains/diesel_mu/BR168_2car.pnml b/src/trains/diesel_mu/BR168_2car.pnml index 396c65d1..a9a9317c 100644 --- a/src/trains/diesel_mu/BR168_2car.pnml +++ b/src/trains/diesel_mu/BR168_2car.pnml @@ -60,6 +60,7 @@ switch(FEAT_TRAINS,SELF,sw_BR168_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR168, 535) { property { + variant_group: header_Turbostar; name: string(STR_NAME_BR168); climates_available: ALL_CLIMATES; introduction_date: date(1998,4,21); diff --git a/src/trains/diesel_mu/BR168_3car.pnml b/src/trains/diesel_mu/BR168_3car.pnml index 760857d3..c0ffa3bb 100644 --- a/src/trains/diesel_mu/BR168_3car.pnml +++ b/src/trains/diesel_mu/BR168_3car.pnml @@ -39,6 +39,7 @@ switch(FEAT_TRAINS,SELF,sw_BR168_3_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR168_3, 538) { property { + variant_group: header_Turbostar; name: string(STR_NAME_BR168_3); climates_available: ALL_CLIMATES; introduction_date: date(1998,4,21); diff --git a/src/trains/diesel_mu/BR168_4car.pnml b/src/trains/diesel_mu/BR168_4car.pnml index 88ea1ef7..abe51e6a 100644 --- a/src/trains/diesel_mu/BR168_4car.pnml +++ b/src/trains/diesel_mu/BR168_4car.pnml @@ -18,6 +18,7 @@ switch(FEAT_TRAINS,SELF,sw_BR168_4_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR168_4, 539) { property { + variant_group: header_Turbostar; name: string(STR_NAME_BR168_4); climates_available: ALL_CLIMATES; introduction_date: date(1998,4,21); diff --git a/src/trains/diesel_mu/BR170_2car.pnml b/src/trains/diesel_mu/BR170_2car.pnml index 2591340b..491f764f 100644 --- a/src/trains/diesel_mu/BR170_2car.pnml +++ b/src/trains/diesel_mu/BR170_2car.pnml @@ -113,6 +113,7 @@ switch(FEAT_TRAINS,SELF,sw_BR170_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR170, 62) { property { + variant_group: header_Turbostar; name: string(STR_NAME_BR170); climates_available: ALL_CLIMATES; introduction_date: date(1998,4,21); diff --git a/src/trains/diesel_mu/BR170_3car.pnml b/src/trains/diesel_mu/BR170_3car.pnml index 40834f80..8ea5275e 100644 --- a/src/trains/diesel_mu/BR170_3car.pnml +++ b/src/trains/diesel_mu/BR170_3car.pnml @@ -73,6 +73,7 @@ switch(FEAT_TRAINS,SELF,sw_BR170_3_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR170_3, 64) { property { + variant_group: header_Turbostar; name: string(STR_NAME_BR170_3); climates_available: ALL_CLIMATES; introduction_date: date(1998,4,21); diff --git a/src/trains/diesel_mu/BR171_2car.pnml b/src/trains/diesel_mu/BR171_2car.pnml index 87c07990..4c0a92e3 100644 --- a/src/trains/diesel_mu/BR171_2car.pnml +++ b/src/trains/diesel_mu/BR171_2car.pnml @@ -30,6 +30,7 @@ switch(FEAT_TRAINS,SELF,sw_BR171_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR171, 478) { property { + variant_group: header_Turbostar; name: string(STR_NAME_BR171); climates_available: ALL_CLIMATES; introduction_date: date(1998,4,21); diff --git a/src/trains/diesel_mu/BR171_4car.pnml b/src/trains/diesel_mu/BR171_4car.pnml index cc2b7777..de39b04c 100644 --- a/src/trains/diesel_mu/BR171_4car.pnml +++ b/src/trains/diesel_mu/BR171_4car.pnml @@ -23,6 +23,7 @@ switch(FEAT_TRAINS,SELF,sw_BR171_4_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR171_4, 480) { property { + variant_group: header_Turbostar; name: string(STR_NAME_BR171_4); climates_available: ALL_CLIMATES; introduction_date: date(1998,4,21); diff --git a/src/trains/diesel_mu/BR220.pnml b/src/trains/diesel_mu/BR220.pnml index a9f36c89..d52b8580 100644 --- a/src/trains/diesel_mu/BR220.pnml +++ b/src/trains/diesel_mu/BR220.pnml @@ -55,6 +55,7 @@ switch(FEAT_TRAINS,SELF,sw_BR220_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR220, 185) { property { + variant_group: header_Voyager; name: string(STR_NAME_BR220); climates_available: ALL_CLIMATES; introduction_date: date(2000,4,21); diff --git a/src/trains/diesel_mu/BR221.pnml b/src/trains/diesel_mu/BR221.pnml index dfe28ab9..2c63d699 100644 --- a/src/trains/diesel_mu/BR221.pnml +++ b/src/trains/diesel_mu/BR221.pnml @@ -93,6 +93,7 @@ switch(FEAT_TRAINS,SELF,sw_BR221_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR221, 188) { property { + variant_group: header_Voyager; name: string(STR_NAME_BR221); climates_available: ALL_CLIMATES; introduction_date: date(2001,4,21); diff --git a/src/trains/diesel_mu/BR221_4.pnml b/src/trains/diesel_mu/BR221_4.pnml index 738e6ad5..25e3d387 100644 --- a/src/trains/diesel_mu/BR221_4.pnml +++ b/src/trains/diesel_mu/BR221_4.pnml @@ -67,6 +67,7 @@ switch(FEAT_TRAINS,SELF,sw_BR221_4_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR221_4, 192) { property { + variant_group: header_Voyager; name: string(STR_NAME_BR221_4); climates_available: ALL_CLIMATES; introduction_date: date(2001,4,21); diff --git a/src/trains/diesel_mu/BR222.pnml b/src/trains/diesel_mu/BR222.pnml index 0da198d1..90947b43 100644 --- a/src/trains/diesel_mu/BR222.pnml +++ b/src/trains/diesel_mu/BR222.pnml @@ -103,6 +103,7 @@ switch(FEAT_TRAINS,SELF,sw_BR222_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR222, 171) { property { + variant_group: header_Voyager; name: string(STR_NAME_BR222); climates_available: ALL_CLIMATES; introduction_date: date(2004,4,21); diff --git a/src/trains/diesel_mu/BR222_1.pnml b/src/trains/diesel_mu/BR222_1.pnml index 55c30c76..8ce3c718 100644 --- a/src/trains/diesel_mu/BR222_1.pnml +++ b/src/trains/diesel_mu/BR222_1.pnml @@ -95,6 +95,7 @@ switch(FEAT_TRAINS,SELF,sw_BR222_1_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR222_1, 181) { property { + variant_group: header_Voyager; name: string(STR_NAME_BR222_1); climates_available: ALL_CLIMATES; introduction_date: date(2005,4,21); diff --git a/src/trains/diesel_mu/BR222_5.pnml b/src/trains/diesel_mu/BR222_5.pnml index fe9a49dc..e2fb886d 100644 --- a/src/trains/diesel_mu/BR222_5.pnml +++ b/src/trains/diesel_mu/BR222_5.pnml @@ -98,6 +98,7 @@ switch(FEAT_TRAINS,SELF,sw_BR222_5_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_BR222_5, 176) { property { + variant_group: header_Voyager; name: string(STR_NAME_BR222_5); climates_available: ALL_CLIMATES; introduction_date: date(2004,4,21); diff --git a/src/trains/electric_mu/801_5car_1.pnml b/src/trains/electric_mu/801_5car_1.pnml index 25546f41..a68ffb41 100644 --- a/src/trains/electric_mu/801_5car_1.pnml +++ b/src/trains/electric_mu/801_5car_1.pnml @@ -36,6 +36,7 @@ switch(FEAT_TRAINS, SELF, switch_BR801_5car_can_attach_wagon, vehicle_type_id) { // Class 801/1 (5car) item(FEAT_TRAINS, item_BR801_5car, 451) { property { + variant_group: header_IEP; name: string(STR_BR801_5CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2019, 09, 16); diff --git a/src/trains/electric_mu/801_9car_2.pnml b/src/trains/electric_mu/801_9car_2.pnml index 39179257..62313764 100644 --- a/src/trains/electric_mu/801_9car_2.pnml +++ b/src/trains/electric_mu/801_9car_2.pnml @@ -37,6 +37,7 @@ switch(FEAT_TRAINS, SELF, switch_BR801_9car_can_attach_wagon, vehicle_type_id) { // Class 801/2 (9car) item(FEAT_TRAINS, item_BR801_9car, 452) { property { + variant_group: header_IEP; name: string(STR_BR801_9CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2019, 09, 16); diff --git a/src/trains/electric_mu/803_5car_1.pnml b/src/trains/electric_mu/803_5car_1.pnml index 4f1de6e5..1f3456b5 100644 --- a/src/trains/electric_mu/803_5car_1.pnml +++ b/src/trains/electric_mu/803_5car_1.pnml @@ -34,6 +34,7 @@ switch(FEAT_TRAINS, SELF, switch_BR803_5car_can_attach_wagon, vehicle_type_id) { item(FEAT_TRAINS, item_BR803_5car, 547) { property { + variant_group: header_IEP; name: string(STR_BR803_5CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2019, 09, 16); diff --git a/src/trains/electric_mu/807_7car.pnml b/src/trains/electric_mu/807_7car.pnml index 33173644..72f7cf4d 100644 --- a/src/trains/electric_mu/807_7car.pnml +++ b/src/trains/electric_mu/807_7car.pnml @@ -70,6 +70,7 @@ switch(FEAT_TRAINS, SELF, switch_BR807_7car_can_attach_wagon, vehicle_type_id) { item(FEAT_TRAINS, item_BR807_7car, 580) { property { + variant_group: header_IEP; name: string(STR_BR807_7CAR); climates_available: ALL_CLIMATES; // available in all climates introduction_date: date(2018, 08, 18); diff --git a/src/trains/utility_development_and_debug/TemplateTrains.pnml b/src/trains/utility_development_and_debug/TemplateTrains.pnml index 758912c7..101f9fb2 100644 --- a/src/trains/utility_development_and_debug/TemplateTrains.pnml +++ b/src/trains/utility_development_and_debug/TemplateTrains.pnml @@ -74,6 +74,7 @@ switch(FEAT_TRAINS,SELF,sw_UtilityTrains_cargo_subtype_text,cargo_subtype){ item (FEAT_TRAINS, item_UtilityTrain12px, 601) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility12px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -113,6 +114,7 @@ item (FEAT_TRAINS, item_UtilityTrain12px, 601) { item (FEAT_TRAINS, item_UtilityTrain4px, 609) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility4px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -152,6 +154,7 @@ item (FEAT_TRAINS, item_UtilityTrain4px, 609) { item (FEAT_TRAINS, item_UtilityTrain8px, 610) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility8px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -191,6 +194,7 @@ item (FEAT_TRAINS, item_UtilityTrain8px, 610) { item (FEAT_TRAINS, item_UtilityTrain16px, 602) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility16px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -231,6 +235,7 @@ item (FEAT_TRAINS, item_UtilityTrain16px, 602) { item (FEAT_TRAINS, item_UtilityTrain20px, 603) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility20px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -270,6 +275,7 @@ item (FEAT_TRAINS, item_UtilityTrain20px, 603) { item (FEAT_TRAINS, item_UtilityTrain24px, 604) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility24px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -309,6 +315,7 @@ item (FEAT_TRAINS, item_UtilityTrain24px, 604) { item (FEAT_TRAINS, item_UtilityTrain28px, 605) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility28px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -348,6 +355,7 @@ item (FEAT_TRAINS, item_UtilityTrain28px, 605) { item (FEAT_TRAINS, item_UtilityTrain32px, 606) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility32px); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -387,6 +395,7 @@ item (FEAT_TRAINS, item_UtilityTrain32px, 606) { item (FEAT_TRAINS, item_UtilityTrain28pxOLD, 607) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility28pxOLD); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); @@ -426,6 +435,7 @@ item (FEAT_TRAINS, item_UtilityTrain28pxOLD, 607) { item (FEAT_TRAINS, item_UtilityTrain32pxOLD, 608) { property { + variant_group: header_Debug; name: string(STR_NAME_Utility32pxOLD); climates_available: ALL_CLIMATES; introduction_date: date(1700,1,1); diff --git a/src/trains/variantheaders/Civity_Header.pnml b/src/trains/variantheaders/Civity_Header.pnml new file mode 100644 index 00000000..214f2837 --- /dev/null +++ b/src/trains/variantheaders/Civity_Header.pnml @@ -0,0 +1,11 @@ +item (FEAT_TRAINS, header_Civity, 10017) { + property { + name: string(STR_Civity_Header); + climates_available: NO_CLIMATE; + sprite_id: SPRITE_ID_NEW_TRAIN; + power: 1; + } + graphics { + purchase: spriteset_BR196_Purchase; + } +} \ No newline at end of file diff --git a/src/trains/variantheaders/Debug_Header.pnml b/src/trains/variantheaders/Debug_Header.pnml new file mode 100644 index 00000000..b0bc31c4 --- /dev/null +++ b/src/trains/variantheaders/Debug_Header.pnml @@ -0,0 +1,12 @@ +item (FEAT_TRAINS, header_Debug, 9999) { + property { + name: string(STR_Debug_Header); + climates_available: NO_CLIMATE; + sprite_id: SPRITE_ID_NEW_TRAIN; + power: 1; + } + graphics + { + additional_text: return(string(STR_Debug_AdditionalText)); + } +} \ No newline at end of file diff --git a/src/trains/variantheaders/Departmental_Header.pnml b/src/trains/variantheaders/Departmental_Header.pnml new file mode 100644 index 00000000..fe94b420 --- /dev/null +++ b/src/trains/variantheaders/Departmental_Header.pnml @@ -0,0 +1,11 @@ +item (FEAT_TRAINS, header_Departmental, 10015) { + property { + name: string(STR_Departmental_Header); + climates_available: NO_CLIMATE; + sprite_id: SPRITE_ID_NEW_TRAIN; + power: 1; + } + graphics { + purchase: spriteset_MPV_Single_Purchase; + } +} \ No newline at end of file diff --git a/src/trains/variantheaders/Turbo_Header.pnml b/src/trains/variantheaders/Turbo_Header.pnml new file mode 100644 index 00000000..29c9cddd --- /dev/null +++ b/src/trains/variantheaders/Turbo_Header.pnml @@ -0,0 +1,11 @@ +item (FEAT_TRAINS, header_Turbo, 10016) { + property { + name: string(STR_Turbo_Header); + climates_available: NO_CLIMATE; + sprite_id: SPRITE_ID_NEW_TRAIN; + power: 1; + } + graphics { + purchase: spriteset_BR165_Purchase; + } +} \ No newline at end of file