-
Notifications
You must be signed in to change notification settings - Fork 2
/
DTS.pnml
199 lines (184 loc) · 8.67 KB
/
DTS.pnml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/*------------------------------------------------------------------------------
* DTS
* https://github.com/DTS-NewGRF/DTS
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
NewGRF 기본 정보
------------------------------------------------------------------------------*/
grf {
grfid : "DTTS";
name : string(STR_GRF_NAME_WITH_VER);
desc : string(STR_GRF_DESC);
url : string(STR_GRF_URL);
version : 20241115;
min_compatible_version : 20240618;
// Parameters 매개변수
#include "src/parameter.pnml"
}
// 화물테이블
cargotable {
// TTD
PASS, COAL, MAIL, OIL_, LVST, GOOD, GRAI, WOOD, IORE, STEL, VALU, PAPR, WHEA, FOOD, GOLD, RUBR,
FRUT, MAIZ, CORE, WATR, DIAM, SUGR, BATT, BUBL, COLA, CTCD, FZDR, PLST, SWET, TOFF, TOYS,
// FIRS (under 4.0.0)
AORE, RCYC, SGBT, FICR, MNSP, METL,
// FIRS (from 4.0.0)
ACID, BEER, STAL, ALUM, NH3_, BEAN, BDMT, CBLK, STCB, CASS, CSTI, CMNT, RFPR, CHLO, CLAY, SOAP,
CTAR, JAVA, COKE, COPR, EOIL, POWR, ENSP, BOOM, FMSP, FECR, FERT, FISH, GLAS, KAOL, LIME, MNO2,
MILK, NITR, NUTS, O2__, COAT, PEAT, PETR, PHOS, IRON, PIPE, PLAS, POTA, PORE, QLME, SALT, SAND,
SCMT, SLAG, SASH, LYE_, STST, STSE, STSH, STWR, GRVL, SULP, WDPR, TYRE, VBOD, VENG, VPTS, VEHI,
WOOL, ZINC
}
// Railtypetable
railtypetable {
RAIL, ELRL,
KR_3RD_RAIL: ["3RDR"],
KR_3LIM_RAIL: ["3LIM"],
LAGT,
GMNO,
}
// Load templates
#include "src/template_list.pnml"
// Load trains
#include "src/train_list.pnml"
#include "src_Chinese/train_list.pnml"
#include "src_European/train_list.pnml"
#include "src_Japanese/train_list.pnml"
#include "src_Virtual/train_list.pnml"
#include "src_World/train_list.pnml"
// Load Objects
#include "src/Objects_list.pnml"
// Load Waypoint
#include "src/Waypoint/platforms.pnml"
//disabe_train
if (Chinese) {
disable_item(FEAT_TRAINS, 2031); //CTS_SPassenger_Car
disable_item(FEAT_TRAINS, 2032); //CGeneratar_Car
disable_item(FEAT_TRAINS, 2033); //CLuggage_Car
disable_item(FEAT_TRAINS, 2034); //CRH1_8Car
disable_item(FEAT_TRAINS, 2035); //CRH1E_16Car
disable_item(FEAT_TRAINS, 2036); //CRH1A_A_8Car
disable_item(FEAT_TRAINS, 2037); //CRH2_8Car
disable_item(FEAT_TRAINS, 2144); //CRH2_16Car
disable_item(FEAT_TRAINS, 2038); //CRH2C_8Car
disable_item(FEAT_TRAINS, 2039); //CRH3_8Car
disable_item(FEAT_TRAINS, 2040); //CRH380A_8Car
disable_item(FEAT_TRAINS, 2145); //CRH380A_16Car
disable_item(FEAT_TRAINS, 2041); //CRH380B_8Car
disable_item(FEAT_TRAINS, 2146); //CRH380B_16Car
disable_item(FEAT_TRAINS, 2042); //CRH380C_16Car
disable_item(FEAT_TRAINS, 2043); //CRH380D_8Car
disable_item(FEAT_TRAINS, 2147); //CRH380D_16Car
disable_item(FEAT_TRAINS, 2045); //CR400AF_8Car
disable_item(FEAT_TRAINS, 2148); //CR400AF_16Car
disable_item(FEAT_TRAINS, 2149); //CR400AF_17Car
disable_item(FEAT_TRAINS, 2046); //CR400AF_Z_8Car
disable_item(FEAT_TRAINS, 2150); //CR400AF_Z_17Car
disable_item(FEAT_TRAINS, 2047); //CR400BF_8Car
disable_item(FEAT_TRAINS, 2151); //CR400BF_16Car
disable_item(FEAT_TRAINS, 2152); //CR400BF_17Car
disable_item(FEAT_TRAINS, 2048); //CR400BF_C_8Car
disable_item(FEAT_TRAINS, 2049); //CR400BF_Z_8Car
disable_item(FEAT_TRAINS, 2153); //CR400BF_Z_17Car
disable_item(FEAT_TRAINS, 2050); //HXD3C
disable_item(FEAT_TRAINS, 2051); //NJ2
}
if (Hong_Kong) {
disable_item(FEAT_TRAINS, 2052); //AD_Tranz_CAF_A_8Car
disable_item(FEAT_TRAINS, 2053); //MTR_AC_Cammall_8Car
disable_item(FEAT_TRAINS, 2054); //MTR_DC_Cammall_8Car
disable_item(FEAT_TRAINS, 2055); //MTR_CNR_Changchun_8Car
disable_item(FEAT_TRAINS, 2056); //MTR_CRRC_8Car
disable_item(FEAT_TRAINS, 2057); //Hyundai_Rotem_Mitsubishi_8Car
disable_item(FEAT_TRAINS, 2058); //Hyundai_Rotem_R_8Car
disable_item(FEAT_TRAINS, 2059); //IKK_SP_1900_8Car
}
if (European) {
disable_item(FEAT_TRAINS, 2061); //ETS_SPassenger_Car
disable_item(FEAT_TRAINS, 2063); //AGV_11Car
disable_item(FEAT_TRAINS, 2064); //BB15000
disable_item(FEAT_TRAINS, 2065); //Eurostar_E300_20Car
disable_item(FEAT_TRAINS, 2066); //Eurostar_E320_16Car
disable_item(FEAT_TRAINS, 2067); //ICE1_14Car
disable_item(FEAT_TRAINS, 2068); //ICE2_8Car
disable_item(FEAT_TRAINS, 2069); //ICE3_8Car
disable_item(FEAT_TRAINS, 2070); //ICE3V_8Car
disable_item(FEAT_TRAINS, 2071); //ICE4_7Car
disable_item(FEAT_TRAINS, 2123); //ICE4_12Car
disable_item(FEAT_TRAINS, 2072); //Renfe_S_100_10Car
disable_item(FEAT_TRAINS, 2073); //Renfe_S_102_14Car
disable_item(FEAT_TRAINS, 2074); //Renfe_S_103_8Car
disable_item(FEAT_TRAINS, 2075); //Renfe_S_130_13Car
disable_item(FEAT_TRAINS, 2076); //TGV_Duplex_10Car
disable_item(FEAT_TRAINS, 2077); //TGV_Pos_10Car
disable_item(FEAT_TRAINS, 2402); //TGV_Pos_Thalys_10Car
disable_item(FEAT_TRAINS, 2078); //TGV_Sud_Est_10Car
disable_item(FEAT_TRAINS, 2079); //TGV_Reseau_Duplex_10Car
disable_item(FEAT_TRAINS, 2080); //TGV_A_12Car
disable_item(FEAT_TRAINS, 2154); //TGV_R_10Car
disable_item(FEAT_TRAINS, 2081); //TGV_La_Poste_10Car
disable_item(FEAT_TRAINS, 2082); //TGV_M_10Car
}
if (Japanese) {
disable_item(FEAT_TRAINS, 2084); //Keisei_AE_series_8Car
disable_item(FEAT_TRAINS, 2085); //Shinkansen_0_12Car
disable_item(FEAT_TRAINS, 2126); //Shinkansen_0_16Car
disable_item(FEAT_TRAINS, 2062); //Shinkansen_500_16Car
disable_item(FEAT_TRAINS, 2086); //Shinkansen_500_8Car
disable_item(FEAT_TRAINS, 2087); //Shinkansen_700_16Car
disable_item(FEAT_TRAINS, 2143); //Shinkansen_700_8Car
disable_item(FEAT_TRAINS, 2088); //Shinkansen_800_6Car
disable_item(FEAT_TRAINS, 2089); //Shinkansen_N700_8Car
disable_item(FEAT_TRAINS, 2155); //Shinkansen_N700_16Car
disable_item(FEAT_TRAINS, 2090); //Shinkansen_N700_S_6Car
disable_item(FEAT_TRAINS, 2156); //Shinkansen_N700_S_16Car
disable_item(FEAT_TRAINS, 2091); //Shinkansen_E2_10Car
disable_item(FEAT_TRAINS, 2092); //Shinkansen_E5_H5_10Car
disable_item(FEAT_TRAINS, 2093); //Shinkansen_E6_7Car
disable_item(FEAT_TRAINS, 2094); //Shinkansen_E7_W7_12Car
disable_item(FEAT_TRAINS, 2095); //Shinkansen_E8_7Car
disable_item(FEAT_TRAINS, 2097); //Nishitetsu_1000_4Car
disable_item(FEAT_TRAINS, 2098); //Nishitetsu_2000_6Car
disable_item(FEAT_TRAINS, 2099); //Nishitetsu_3000_2Car
disable_item(FEAT_TRAINS, 2083); //Nishitetsu_3000_3Car
disable_item(FEAT_TRAINS, 2105); //Nishitetsu_3000_5Car
disable_item(FEAT_TRAINS, 2100); //Nishitetsu_5000_3Car
disable_item(FEAT_TRAINS, 2107); //Nishitetsu_5000_4Car
disable_item(FEAT_TRAINS, 2101); //Nishitetsu_6000_3Car
disable_item(FEAT_TRAINS, 2119); //Nishitetsu_6000_4Car
disable_item(FEAT_TRAINS, 2181); //Nishitetsu_6050_3Car
disable_item(FEAT_TRAINS, 2182); //Nishitetsu_6050_4Car
disable_item(FEAT_TRAINS, 2102); //Nishitetsu_7000_2Car
disable_item(FEAT_TRAINS, 2103); //Nishitetsu_8000_6Car
disable_item(FEAT_TRAINS, 2104); //Nishitetsu_9000_2Car
disable_item(FEAT_TRAINS, 2113); //Nishitetsu_9000_3Car
disable_item(FEAT_TRAINS, 2263); //Hankyu_1000_8Car
disable_item(FEAT_TRAINS, 2264); //Hankyu_1300_8Car
disable_item(FEAT_TRAINS, 2169); //Hankyu_6000_2Car
disable_item(FEAT_TRAINS, 2170); //Hankyu_6000_3Car
disable_item(FEAT_TRAINS, 2171); //Hankyu_6000_4Car
disable_item(FEAT_TRAINS, 2172); //Hankyu_6000_10Car
disable_item(FEAT_TRAINS, 2179); //Hankyu_6300_4Car
disable_item(FEAT_TRAINS, 2180); //Hankyu_6300_8Car
disable_item(FEAT_TRAINS, 2212); //Hankyu_8000_2Car
disable_item(FEAT_TRAINS, 2213); //Hankyu_8000_8Car
disable_item(FEAT_TRAINS, 2215); //Hankyu_8300_2Car
disable_item(FEAT_TRAINS, 2216); //Hankyu_8300_8Car
disable_item(FEAT_TRAINS, 2246); //Hankyu_9000_8Car
disable_item(FEAT_TRAINS, 2247); //Hankyu_9300_8Car
}
if (World) {
disable_item(FEAT_TRAINS, 2114); //FLAT_2F
disable_item(FEAT_TRAINS, 2116); //NHSRCL_E5_10Car
disable_item(FEAT_TRAINS, 2117); //NSW_TrainLink_D_4Car
disable_item(FEAT_TRAINS, 2142); //NSW_TrainLink_D_6Car
disable_item(FEAT_TRAINS, 2118); //THSR_700T_12Car
disable_item(FEAT_TRAINS, 2120); //Al_Boraq_10Car
disable_item(FEAT_TRAINS, 2121); //Talgo_350_SRO_14Car
disable_item(FEAT_TRAINS, 2122); //Avelia_Liberty_11Car
}
if (Maintenance) {
disable_item(FEAT_TRAINS, 2044); //CRH380AJ_8Car
disable_item(FEAT_TRAINS, 2096); //Shinkansen_923_7Car
disable_item(FEAT_TRAINS, 2178); //MSB_Speeder
}