Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #382: Seoul Line 4 5th livery #473

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
-----
* 추가: 3x00호대 디젤 기관차 [#198]
* 추가: 4x00호대 디젤 기관차 [#198]
* 추가: 수도권 4호선 5차 도입분 도색 [#382]
* 변경: KTX-이음 그래픽 및 템플릿 변경
* 변경: KTX-이음의 기관차 출력을 8800kW에서 6080kW로 변경
* 변경: 4x00호대 디젤 기관차의 이름을 4400호대로 변경
Expand Down
1 change: 1 addition & 0 deletions lang/english.lng
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ STR_REFIT_METRO_LINE_4_2021_NAME : (Korail, introduced
STR_REFIT_METRO_SMETRO_4K_VVVF_1ST_2ND_NAME : (SMetro 4k 1st·2nd VVVF)
STR_REFIT_METRO_SMETRO_4K_VVVF_3RD_NAME : (SMetro 4k 3rd VVVF in 2020)
STR_REFIT_METRO_SMETRO_4K_VVVF_4TH_NAME : (SMetro 4k 4th VVVF in 2023)
STR_REFIT_METRO_SMETRO_4K_VVVF_5TH_NAME : (SMetro 4k 5th VVVF in 2024)

# Refit (Seoul Metro Line 5-8, Seoul Metro Line9)
STR_REFIT_METRO_SMETRO_SR0X_NAME : (SMetro SR0x VVVF)
Expand Down
1 change: 1 addition & 0 deletions lang/japanese.lng
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ STR_REFIT_METRO_LINE_4_2021_NAME :(Korail 4号線 2021
STR_REFIT_METRO_SMETRO_4K_VVVF_1ST_2ND_NAME :(SMetro 4k 1·2世代 VVVF)
STR_REFIT_METRO_SMETRO_4K_VVVF_3RD_NAME :(SMetro 4k 3世代 VVVF 2020年導入分)
STR_REFIT_METRO_SMETRO_4K_VVVF_4TH_NAME :(SMetro 4k 4世代 VVVF 2023年導入分)
STR_REFIT_METRO_SMETRO_4K_VVVF_5TH_NAME :(SMetro 4k 5世代 VVVF 2024年導入分)

# Refit (Seoul Metro Line 5-8、Seoul Metro Line9)
STR_REFIT_METRO_SMETRO_SR0X_NAME :(ソウル交通公社 SR0x VVVF)
Expand Down
1 change: 1 addition & 0 deletions lang/korean.lng
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ STR_REFIT_METRO_LINE_4_2021_NAME : (Korail 4호선 202
STR_REFIT_METRO_SMETRO_4K_VVVF_1ST_2ND_NAME : (SMetro 4k 1·2세대 VVVF)
STR_REFIT_METRO_SMETRO_4K_VVVF_3RD_NAME : (SMetro 4k 3세대 VVVF 2020년 도입분)
STR_REFIT_METRO_SMETRO_4K_VVVF_4TH_NAME : (SMetro 4k 4세대 VVVF 2023년 도입분)
STR_REFIT_METRO_SMETRO_4K_VVVF_5TH_NAME : (SMetro 4k 5세대 VVVF 2024년 도입분)

# Refit (Seoul Metro Line 5-8, Seoul Metro Line9)
STR_REFIT_METRO_SMETRO_SR0X_NAME : (서울교통공사 SR0x VVVF)
Expand Down
Binary file added src/metro/seoul_metro_4/SMETRO_4K_VVVF_5TH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions src/metro/seoul_metro_4/seoul_metro_4_graphic.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,23 @@ spriteset(set_SMETRO_4K_VVVF_4TH_purchase, "./src/metro/seoul_metro_4/SMETRO_4K_
tmpl_purchase_common_dualhead(0, 0)
}

// SMETRO_4K_VVVF_5TH
spriteset(set_SMETRO_4K_VVVF_5TH_engineH, "./src/metro/seoul_metro_4/SMETRO_4K_VVVF_5TH.png") {
tmpl_standard(80, 0)
}
spriteset(set_SMETRO_4K_VVVF_5TH_wagon_panto, "./src/metro/seoul_metro_4/SMETRO_4K_VVVF_5TH.png") {
tmpl_standard(80, 30)
}
spriteset(set_SMETRO_4K_VVVF_5TH_wagon, "./src/metro/seoul_metro_4/SMETRO_4K_VVVF_5TH.png") {
tmpl_standard(80, 60)
}
spriteset(set_SMETRO_4K_VVVF_5TH_engineT, "./src/metro/seoul_metro_4/SMETRO_4K_VVVF_5TH.png") {
tmpl_standard(80, 90)
}
spriteset(set_SMETRO_4K_VVVF_5TH_purchase, "./src/metro/seoul_metro_4/SMETRO_4K_VVVF_5TH.png") {
tmpl_purchase_common_dualhead(0, 0)
}

// Alias of purchase image
switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_purchase, cargo_subtype) {
set_341K_VVVF_2ND_2_purchase;
Expand Down
5 changes: 5 additions & 0 deletions src/metro/seoul_metro_4/seoul_metro_4_switch.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_cargo_subtype_text, cargo_subtype) {
7: return string(STR_REFIT_METRO_SMETRO_4K_VVVF_3RD_NAME);
8: return string(STR_REFIT_METRO_LINE_4_2021_NAME);
9: return string(STR_REFIT_METRO_SMETRO_4K_VVVF_4TH_NAME);
10: return string(STR_REFIT_METRO_SMETRO_4K_VVVF_5TH_NAME);
return string(STR_REFIT_METRO_341K_VVVF_2ND_2_NAME);
}

Expand All @@ -31,6 +32,7 @@ switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_engineH, cargo_subtype) {
7: set_SMETRO_4K_VVVF_3RD_engineH;
8: set_LINE_4_2021_engineH;
9: set_SMETRO_4K_VVVF_4TH_engineH;
10: set_SMETRO_4K_VVVF_5TH_engineH;
set_341K_VVVF_2ND_2_engineH;
}
switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_engineT, cargo_subtype) {
Expand All @@ -44,6 +46,7 @@ switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_engineT, cargo_subtype) {
7: set_SMETRO_4K_VVVF_3RD_engineT;
8: set_LINE_4_2021_engineT;
9: set_SMETRO_4K_VVVF_4TH_engineT;
10: set_SMETRO_4K_VVVF_5TH_engineT;
set_341K_VVVF_2ND_2_engineT;
}

Expand Down Expand Up @@ -71,6 +74,7 @@ switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_wagon_panto_cargo_subtype, cargo_subt
7: set_SMETRO_4K_VVVF_3RD_wagon_panto;
8: sw_LINE_4_2021_wagon_panto;
9: set_SMETRO_4K_VVVF_4TH_wagon_panto;
10: set_SMETRO_4K_VVVF_5TH_wagon_panto;
set_341K_VVVF_2ND_2_wagon_panto;
}
switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_wagon_cargo_subtype, cargo_subtype) {
Expand All @@ -84,6 +88,7 @@ switch(FEAT_TRAINS, SELF, sw_SEOUL_METRO_4_wagon_cargo_subtype, cargo_subtype) {
7: set_SMETRO_4K_VVVF_3RD_wagon;
8: set_LINE_4_2021_wagon;
9: set_SMETRO_4K_VVVF_4TH_wagon;
10: set_SMETRO_4K_VVVF_5TH_wagon;
set_341K_VVVF_2ND_2_wagon;
}

Expand Down