-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/*-------------------------------------------------------------------- | ||
Tu-204-100 | ||
--------------------------------------------------------------------*/ | ||
// Graphics | ||
#include "Tu204_100_graphic.pnml" | ||
|
||
// Switch | ||
#include "Tu204_100_switch.pnml" | ||
|
||
/*-------------------------------------------------------------------- | ||
항공기정보 | ||
--------------------------------------------------------------------*/ | ||
item(FEAT_AIRCRAFT, Tu204_100, 7112){ | ||
property { | ||
name: string(STR_Tu204_100_NAME); | ||
climates_available: ALL_CLIMATES; | ||
introduction_date: date(1993, 1, 1); | ||
aircraft_type: AIRCRAFT_TYPE_LARGE; | ||
sprite_id: SPRITE_ID_NEW_AIRCRAFT; | ||
|
||
//spec | ||
speed: 926km/h; | ||
|
||
//Model | ||
model_life: VEHICLE_NEVER_EXPIRES; | ||
vehicle_life: 30; | ||
retire_early: 0; | ||
reliability_decay: 0; | ||
|
||
//Cargo | ||
passenger_capacity: 200; | ||
mail_capacity: 20; | ||
acceleration: 27; | ||
refittable_cargo_classes: NO_CARGO_CLASS; | ||
non_refittable_cargo_classes: NO_CARGO_CLASS; | ||
cargo_allow_refit: [PASS]; | ||
cargo_disallow_refit: []; | ||
|
||
//Costs | ||
refit_cost: 100; | ||
|
||
//Flags | ||
misc_flags: bitmask(AIRCRAFT_FLAG_2CC); | ||
sound_effect: SOUND_JET; | ||
} | ||
|
||
graphics { | ||
default: sw_Tu204_100; | ||
purchase: sw_Tu204_100_purchase; | ||
loading_speed: 26; | ||
cost_factor: 890; | ||
running_cost_factor: 120; | ||
cargo_subtype_text: sw_Tu204_100_cargo_subtype_text; | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
src/Aircraft/Tupolev/Tu204/Tu204_100/Tu204_100_graphic.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,35 @@ | ||
/*-------------------------------------------------------------------- | ||
Graphics | ||
--------------------------------------------------------------------*/ | ||
|
||
/*-------------------------------------------------------------------- | ||
Purchase Info | ||
--------------------------------------------------------------------*/ | ||
spriteset(set_Tu204_100_purchase, "src\Aircraft\Tupolev\Tu204\Tu204_100\Tu204_100.png"){ | ||
tmpl_B757_200_purchase(0, 0) | ||
} | ||
|
||
/*-------------------------------------------------------------------- | ||
1. Tupolev Tu-206-100 Manufacturer | ||
--------------------------------------------------------------------*/ | ||
|
||
spriteset(set_Tu204_100, "src\Aircraft\Tupolev\Tu204\Tu204_100\Tu204_100.png"){ | ||
tp_B757_200(0, 0) | ||
} | ||
|
||
/*-------------------------------------------------------------------- | ||
2. Tupolev Tu-206-100 Air Koryo | ||
--------------------------------------------------------------------*/ | ||
|
||
spriteset(set_Tu204_100_airkoryo, "src\Aircraft\Tupolev\Tu204\Tu204_100\Airkoryo.png"){ | ||
tp_B757_200(0, 0) | ||
} | ||
|
||
|
||
|
||
/*-------------------------------------------------------------------- | ||
구매정보 | ||
--------------------------------------------------------------------*/ | ||
switch(FEAT_TRAINS, SELF, sw_Tu204_100_purchase, cargo_subtype) { | ||
set_Tu204_100_purchase; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Aircraft/Tupolev/Tu204/Tu204_100/Tu204_100_switch.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,14 @@ | ||
/*-------------------------------------------------------------------- | ||
스위치 | ||
--------------------------------------------------------------------*/ | ||
switch(FEAT_AIRCRAFT, SELF, sw_Tu204_100_cargo_subtype_text, cargo_subtype) { | ||
1: return string(STR_REFIT_LIVERY_Tupolev); // Manufacturer | ||
2: return string(STR_REFIT_LIVERY_Airkoryo); // Korean Air | ||
return string(STR_REFIT_LIVERY_Tupolev); | ||
} | ||
|
||
switch(FEAT_AIRCRAFT, SELF, sw_Tu204_100, cargo_subtype) { | ||
1: set_Tu204_100; // Manufacturer | ||
2: set_Tu204_100_airkoryo; // AIR KORYO | ||
set_Tu204_100; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,5 +113,6 @@ A380_800, //7010 | |
Concorde, //7072 | ||
ATR_72_500, //7008 | ||
DC_9_30, //7009 | ||
Tu204_100, //7112 | ||
|
||
]); |