-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LNER Coronation set completely added. Fixed introduction date on Big …
…Bertha
- Loading branch information
Showing
15 changed files
with
364 additions
and
34 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
src/trains/rolling_stock/LNER/LNER_Coronation_set_2OT.pnml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
switch(FEAT_TRAINS, SELF, sw_Coronation_2OT_articulated, extra_callback_info1) { | ||
0..1: return item_LNER_Coronation_set_2OT; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_2OT_CorBlue, position_in_articulated_veh ) { | ||
0: spriteset_LNER_CorSet_OT_CorBlue; | ||
1: spriteset_LNER_CorSet_OTRev_CorBlue; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_2OT_BnC, position_in_articulated_veh ) { | ||
0: spriteset_LNER_CorSet_OT_BnC; | ||
1: spriteset_LNER_CorSet_OTRev_BnC; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_2OT_Capacity, position_in_articulated_veh ) { | ||
0..1: 30; // OT | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_2OT_liveries, cargo_subtype) { | ||
0: sw_Coronation_2OT_CorBlue; | ||
1: sw_Coronation_2OT_BnC; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_2OT_cargo_subtype_text, cargo_subtype) { | ||
0: return string(STR_LIVERY, string(str_abbr_LNER), string(str_col_GarterBlue)); | ||
1: return string(STR_LIVERY, string(str_abbr_BR), string(str_col_BloodCustard)); | ||
} | ||
|
||
item(FEAT_TRAINS, item_LNER_Coronation_set_2OT, 717) { | ||
property { | ||
variant_group: item_LNER_Cornation_Set; | ||
name: string(STR_NAME_LNER_CorSet_OT_OT); | ||
climates_available: ALL_CLIMATES; | ||
introduction_date: date(1937, 7, 5); | ||
model_life: 30; | ||
cargo_allow_refit: [PASS]; | ||
loading_speed: 10; | ||
cost_factor: 1; | ||
running_cost_factor: 1; | ||
power: 0; | ||
sprite_id: SPRITE_ID_NEW_TRAIN; | ||
speed: 110 mph; | ||
refit_cost: 0; | ||
running_cost_base: RUNNING_COST_STEAM; | ||
default_cargo_type: PASS; | ||
cargo_capacity: 1; | ||
weight: 76 ton; | ||
length: 8; | ||
bitmask_vehicle_info: 0; | ||
} | ||
graphics { | ||
additional_text: return(string(str_purchase_coach, string(STR_LNER_CorSet_liveries))); | ||
articulated_part: sw_Coronation_2OT_articulated; | ||
|
||
can_attach_wagon: CB_RESULT_ATTACH_DISALLOW; | ||
cargo_capacity: sw_Coronation_2OT_Capacity; | ||
cargo_subtype_text: sw_Coronation_2OT_cargo_subtype_text; | ||
colour_mapping: return PALETTE_CC_FIRST; | ||
cost_factor: return(GetAdjustedCost(25)); | ||
|
||
default: sw_Coronation_2OT_liveries; | ||
purchase: spriteset_LNER_CorSet_2OT_Purchase; | ||
running_cost_factor: return(GetAdjustedCost(25)); | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
src/trains/rolling_stock/LNER/LNER_Coronation_set_BTKT.pnml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
switch(FEAT_TRAINS, SELF, sw_Coronation_BTKT_articulated, extra_callback_info1) { | ||
0..1: return item_LNER_Coronation_set_BTKT; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_BTKT_CorBlue, position_in_articulated_veh ) { | ||
0: spriteset_LNER_CorSet_BT_CorBlue; | ||
1: spriteset_LNER_CorSet_KTRev_CorBlue; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_BTKT_BnC, position_in_articulated_veh ) { | ||
0: spriteset_LNER_CorSet_BT_BnC; | ||
1: spriteset_LNER_CorSet_KTRev_BnC; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_BTKT_Capacity, position_in_articulated_veh ) { | ||
0: 36; // BT | ||
1: 6; // KT | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_BTKT_liveries, cargo_subtype) { | ||
0: sw_Coronation_BTKT_CorBlue; | ||
1: sw_Coronation_BTKT_BnC; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_BTKT_cargo_subtype_text, cargo_subtype) { | ||
0: return string(STR_LIVERY, string(str_abbr_LNER), string(str_col_GarterBlue)); | ||
1: return string(STR_LIVERY, string(str_abbr_BR), string(str_col_BloodCustard)); | ||
} | ||
|
||
item(FEAT_TRAINS, item_LNER_Coronation_set_BTKT, 712) { | ||
property { | ||
variant_group: item_LNER_Cornation_Set; | ||
name: string(STR_NAME_LNER_CorSet_BT_KT); | ||
climates_available: ALL_CLIMATES; | ||
introduction_date: date(1937, 7, 5); | ||
model_life: 30; | ||
cargo_allow_refit: [PASS]; | ||
loading_speed: 10; | ||
cost_factor: 1; | ||
running_cost_factor: 1; | ||
power: 0; | ||
sprite_id: SPRITE_ID_NEW_TRAIN; | ||
speed: 110 mph; | ||
refit_cost: 0; | ||
running_cost_base: RUNNING_COST_STEAM; | ||
default_cargo_type: PASS; | ||
cargo_capacity: 1; | ||
weight: 76 ton; | ||
length: 8; | ||
bitmask_vehicle_info: 0; | ||
} | ||
graphics { | ||
additional_text: return(string(str_purchase_coach, string(STR_LNER_CorSet_liveries))); | ||
articulated_part: sw_Coronation_BTKT_articulated; | ||
|
||
can_attach_wagon: CB_RESULT_ATTACH_DISALLOW; | ||
cargo_capacity: sw_Coronation_BTKT_Capacity; | ||
cargo_subtype_text: sw_Coronation_BTKT_cargo_subtype_text; | ||
colour_mapping: return PALETTE_CC_FIRST; | ||
cost_factor: return(GetAdjustedCost(25)); | ||
|
||
default: sw_Coronation_BTKT_liveries; | ||
purchase: spriteset_LNER_CorSet_BTKT_Purchase; | ||
running_cost_factor: return(GetAdjustedCost(25)); | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
src/trains/rolling_stock/LNER/LNER_Coronation_set_OBV.pnml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
switch(FEAT_TRAINS, SELF, sw_LNER_Coronation_set_OBV_liveries, cargo_subtype) { | ||
0: spriteset_LNER_CorSet_OBV_CorBlue; | ||
1: spriteset_LNER_CorSet_OBV_BnC; | ||
} | ||
|
||
switch(FEAT_TRAINS, SELF, sw_Coronation_Set_OBV_cargo_subtype_text, cargo_subtype) { | ||
0: return string(STR_LIVERY, string(str_abbr_LNER), string(str_col_GarterBlue)); | ||
1: return string(STR_LIVERY, string(str_abbr_BR), string(str_col_BloodCustard)); | ||
return CB_RESULT_NO_TEXT; | ||
} | ||
|
||
item(FEAT_TRAINS, item_LNER_Coronation_set_OBV, 716) { | ||
property { | ||
variant_group: item_LNER_Cornation_Set; | ||
name: string(STR_NAME_LNER_CorSet_OBV); | ||
climates_available: ALL_CLIMATES; | ||
introduction_date: date(1937, 7, 5); | ||
model_life: 30; | ||
cargo_allow_refit: [PASS]; | ||
loading_speed: 10; | ||
cost_factor: 1; | ||
running_cost_factor: 1; | ||
power: 0; | ||
sprite_id: SPRITE_ID_NEW_TRAIN; | ||
speed: 110 mph; | ||
refit_cost: 0; | ||
running_cost_base: RUNNING_COST_STEAM; | ||
default_cargo_type: PASS; | ||
cargo_capacity: 1; | ||
weight: 38 ton; | ||
length: 8; | ||
bitmask_vehicle_info: 0; | ||
} | ||
graphics { | ||
additional_text: return(string(str_purchase_coach, string(STR_LNER_CorSet_liveries))); | ||
|
||
can_attach_wagon: CB_RESULT_ATTACH_DISALLOW; | ||
cargo_capacity: return(16 * param_pax); // add a capacity switch for livery later | ||
cargo_subtype_text: sw_Coronation_Set_OBV_cargo_subtype_text; | ||
colour_mapping: return PALETTE_CC_FIRST; | ||
cost_factor: return(GetAdjustedCost(25)); | ||
|
||
default: sw_LNER_Coronation_set_OBV_liveries; | ||
purchase: spriteset_LNER_CorSet_OBV_Purchase; | ||
running_cost_factor: return(GetAdjustedCost(25)); | ||
} | ||
} |
Oops, something went wrong.