Skip to content

Commit

Permalink
Added some BR325 cargo classes, updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Apr 1, 2024
1 parent ce90201 commit 4b8acc0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 16 deletions.
4 changes: 4 additions & 0 deletions docs/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# v2.7
- Added BR Standard Class 9F
- Added SNCF La Poste TGV (It ran on National rail to St Pancras, I promise)
- Added Mk4 coaches as a separate purchase item (previously only available as part of IC225 "MU")
- Added Mk3 DVT
- Added Class 91 as a standalone (non-IC225) unit
Expand All @@ -15,6 +16,9 @@
- Added push-pull for Class 90 / Mk4 DVT
- Added push-pull for Class 89 / Mk4 DVT
- Fixed some purchase sprites
- Fixed 32px_reversed template
- Minor graphical fixes BR325 and RM_TPO
- Added some cargo classes for BR325


# v2.7 (28/03/24)
Expand Down
33 changes: 17 additions & 16 deletions src/trains/emu/BR325.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ item (FEAT_TRAINS, item_BR325, 420) {
retire_early: 1;
vehicle_life: 50;
reliability_decay: 7;
refittable_cargo_classes: bitmask(CC_MAIL,CC_ARMOURED);
default_cargo_type: MAIL;
refittable_cargo_classes: bitmask(CC_MAIL, CC_EXPRESS, CC_ARMOURED);
cargo_allow_refit: [MAIL];
loading_speed: 30;
cost_factor: 56;
running_cost_factor: 32;
Expand All @@ -68,8 +70,7 @@ item (FEAT_TRAINS, item_BR325, 420) {
ai_special_flag: AI_FLAG_CARGO;
power: 2000 hp;
running_cost_base: RUNNING_COST_ELECTRIC;
dual_headed: 0;
default_cargo_type: MAIL;
dual_headed: 0;
cargo_capacity: 98;
weight: 140 ton;
engine_class: ENGINE_CLASS_ELECTRIC;
Expand All @@ -84,7 +85,7 @@ item (FEAT_TRAINS, item_BR325, 420) {
graphics {
additional_text: return(string(str_purchase_loco_with_liveries,string(str_purchase_type_emu),string(str_route_2),string(str_BR325_usage),string(str_BR325_eos),string(str_BR325_liveries)));
can_attach_wagon: CB_RESULT_ATTACH_ALLOW;
cargo_subtype_text: sw_BR325_cargo_subtype_text;
//cargo_subtype_text: sw_BR325_cargo_subtype_text; // Uncomment if adding more liveries later
articulated_part: switch_articulated_BR325;
default: sw_BR325a;
purchase: spriteset_BR325_Purchase;
Expand All @@ -104,8 +105,9 @@ item (FEAT_TRAINS, item_BR325b, 421) {
retire_early: 1;
vehicle_life: 50;
reliability_decay: 7;
refittable_cargo_classes: CC_MAIL;
cargo_allow_refit: [MAIL];
default_cargo_type: MAIL;
refittable_cargo_classes: bitmask(CC_MAIL, CC_EXPRESS, CC_ARMOURED);
cargo_allow_refit: [MAIL];
loading_speed: 25;
cost_factor: 1;
running_cost_factor: 1;
Expand All @@ -117,8 +119,7 @@ item (FEAT_TRAINS, item_BR325b, 421) {
ai_special_flag: AI_FLAG_CARGO;
power: 0 hp;
running_cost_base: RUNNING_COST_ELECTRIC;
dual_headed: 0;
default_cargo_type: MAIL;
dual_headed: 0;
cargo_capacity: 93;
weight: 0 ton;
engine_class: ENGINE_CLASS_ELECTRIC;
Expand Down Expand Up @@ -148,8 +149,9 @@ item (FEAT_TRAINS, item_BR325c, 422) {
retire_early: 1;
vehicle_life: 50;
reliability_decay: 7;
refittable_cargo_classes: CC_MAIL;
cargo_allow_refit: [MAIL];
default_cargo_type: MAIL;
refittable_cargo_classes: bitmask(CC_MAIL, CC_EXPRESS, CC_ARMOURED);
cargo_allow_refit: [MAIL];
loading_speed: 25;
cost_factor: 1;
running_cost_factor: 1;
Expand All @@ -160,8 +162,7 @@ item (FEAT_TRAINS, item_BR325c, 422) {
ai_special_flag: AI_FLAG_CARGO;
power: 0 hp;
running_cost_base: RUNNING_COST_ELECTRIC;
dual_headed: 0;
default_cargo_type: MAIL;
dual_headed: 0;
cargo_capacity: 98;
weight: 0 ton;
engine_class: ENGINE_CLASS_ELECTRIC;
Expand Down Expand Up @@ -193,8 +194,9 @@ item (FEAT_TRAINS, item_BR325d, 423) {
retire_early: 1;
vehicle_life: 50;
reliability_decay: 7;
refittable_cargo_classes: CC_MAIL;
cargo_allow_refit: [MAIL];
default_cargo_type: MAIL;
refittable_cargo_classes: bitmask(CC_MAIL, CC_EXPRESS, CC_ARMOURED);
cargo_allow_refit: [MAIL];
loading_speed: 25;
cost_factor: 1;
running_cost_factor: 1;
Expand All @@ -205,8 +207,7 @@ item (FEAT_TRAINS, item_BR325d, 423) {
ai_special_flag: AI_FLAG_CARGO;
power: 0 hp;
running_cost_base: RUNNING_COST_ELECTRIC;
dual_headed: 0;
default_cargo_type: MAIL;
dual_headed: 0;
cargo_capacity: 98;
weight: 0 ton;
engine_class: ENGINE_CLASS_ELECTRIC;
Expand Down

0 comments on commit 4b8acc0

Please sign in to comment.