-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjplandscape.nml
207 lines (163 loc) · 7.56 KB
/
jplandscape.nml
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
200
201
202
203
204
205
206
grf {
grfid: "JK\70\02";
name: string(STR_GRF_NAME);
desc: string(STR_GRF_DESCRIPTION);
version: 31;
min_compatible_version: 30;
}
template template_slopeawarecrops (x,y,filename) {
[x+16, y+8, 64, 37, -31, -6, ANIM, filename]
[x+96, y+8, 64, 37, -31, -6, ANIM, filename]
[x+176, y+8, 64, 29, -31, -6, ANIM, filename]
[x+256, y+8, 64, 29, -31, -6, ANIM, filename]
[x+336, y+8, 64, 37, -31, -6, ANIM, filename]
[x+416, y+8, 64, 37, -31, -6, ANIM, filename]
[x+496, y+8, 64, 29, -31, -6, ANIM, filename]
[x+576, y+8, 64, 29, -31, -6, ANIM, filename]
[x+656, y+8, 64, 45, -31, -14, ANIM, filename]
[x+736, y+8, 64, 45, -31, -14, ANIM, filename]
[x+816, y+8, 64, 37, -31, -14, ANIM, filename]
[x+896, y+8, 64, 37, -31, -14, ANIM, filename]
[x+976, y+8, 64, 45, -31, -14, ANIM, filename]
[x+1056, y+8, 64, 45, -31, -14, ANIM, filename]
[x+1136, y+8, 64, 37, -31, -14, ANIM, filename]
[x+1216, y+8, 64, 53, -31, -21, ANIM, filename]
[x+1296, y+8, 64, 21, -31, -6, ANIM, filename]
[x+1376, y+8, 64, 37, -31, -14, ANIM, filename]
[x+1456, y+8, 64, 37, -31, -14, ANIM, filename]
}
template template_flat_high(x,y,filename) {
[x+14, y+2, 64, 94, -31, -63, filename]
[x+89, y+2, 64, 94, -31, -63, filename]
[x+164, y+2, 64, 94, -31, -63, filename]
[x+239, y+2, 64, 94, -31, -63, filename]
}
template ground_trees(x, y) { [x, y, 40, 64, -20, -56]}
template template_trees(x,y) {
ground_trees( 0+x, 0+y)
ground_trees( 48+x, 0+y)
ground_trees( 96+x, 0+y)
ground_trees(144+x, 0+y)
ground_trees(192+x, 0+y)
ground_trees(240+x, 0+y)
ground_trees(288+x, 0+y)
}
template template_road_tunnels(y) {
[ 113, y, 64, 39, -31, -8]
[ 193, y, 64, 39, -31, -38]
[ 653, y, 64, 23, -31, 0]
[ 733, y, 64, 23, -31, -30]
[ 337, y, 64, 23, -31, 0]
[ 417, y, 64, 23, -31, -30]
[ 877, y, 64, 39, -31, -8]
[ 957, y, 64, 39, -31, -38]
}
// replace farm fields
//1
replace farm_fields_1(4126, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,0,"gfx/slopecrops1.png")
}
//2
replace farm_fields_2(4145, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,0,"gfx/slopecrops2.png")
}
//3
replace farm_fields_3(4164, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,0,"gfx/slopecrops3.png")
}
//4
replace farm_fields_4(4183, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,0,"gfx/slopecrops4.png")
}
//5
replace farm_fields_5(4202, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,0,"gfx/slopecrops1.png")
}
//6
replace farm_fields_6(4221, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,70,"gfx/slopecrops1.png")
}
//7
replace farm_fields_7(4240, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,70,"gfx/slopecrops2.png")
}
//8
replace farm_fields_8(4259, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,70,"gfx/slopecrops3.png")
}
//9
replace farm_fields_9(4278, "gfx/rails_overlays.png") {
template_slopeawarecrops(0,70,"gfx/slopecrops4.png")
}
//fences
replace spr4090(4090, "gfx/field_fences.png") { [ 514, 10, 33, 20, -30, 12] }
replace spr4091(4091, "gfx/field_fences.png") { [ 562, 10, 33, 20, 0, 11] }
replace spr4092(4092, "gfx/field_fences.png") { [ 610, 10, 33, 28, -30, 4] }
replace spr4093(4093, "gfx/field_fences.png") { [ 658, 10, 33, 28, 0, 3] }
replace spr4094(4094, "gfx/field_fences.png") { [ 706, 10, 33, 12, -30, 20] }
replace spr4095(4095, "gfx/field_fences.png") { [ 754, 10, 33, 12, 0, 19] }
replace spr4096(4096, "gfx/field_fences.png") { [ 2, 74, 33, 20, -30, 11] }
replace spr4097(4097, "gfx/field_fences.png") { [ 50, 74, 33, 20, 0, 11] }
replace spr4098(4098, "gfx/field_fences.png") { [ 98, 74, 33, 28, -30, 4] }
replace spr4099(4099, "gfx/field_fences.png") { [ 146, 74, 33, 28, 0, 3] }
replace spr4100(4100, "gfx/field_fences.png") { [ 194, 74, 33, 12, -30, 19] }
replace spr4101(4101, "gfx/field_fences.png") { [ 242, 74, 33, 12, 0, 19] }
replace spr4102(4102, "gfx/field_fences.png") { [ 290, 74, 32, 20, -31, 11] }
replace spr4103(4103, "gfx/field_fences.png") { [ 338, 74, 32, 20, 1, 11] }
replace spr4104(4104, "gfx/field_fences.png") { [ 386, 74, 33, 28, -31, 3] }
replace spr4105(4105, "gfx/field_fences.png") { [ 434, 74, 33, 28, 1, 3] }
replace spr4106(4106, "gfx/field_fences.png") { [ 482, 74, 33, 10, -31, 20] }
replace spr4107(4107, "gfx/field_fences.png") { [ 530, 74, 33, 10, 1, 20] }
replace spr4108(4108, "gfx/field_fences.png") { [ 578, 74, 33, 20, -30, 12] }
replace spr4109(4109, "gfx/field_fences.png") { [ 626, 74, 33, 20, 0, 11] }
replace spr4110(4110, "gfx/field_fences.png") { [ 674, 74, 33, 28, -30, 3] }
replace spr4111(4111, "gfx/field_fences.png") { [ 722, 74, 33, 28, 0, 2] }
replace spr4112(4112, "gfx/field_fences.png") { [ 2, 122, 33, 12, -30, 19] }
replace spr4113(4113, "gfx/field_fences.png") { [ 50, 122, 33, 12, 0, 19] }
replace spr4114(4114, "gfx/field_fences.png") { [ 98, 122, 33, 20, -30, 12] }
replace spr4115(4115, "gfx/field_fences.png") { [ 146, 122, 33, 20, 0, 11] }
replace spr4116(4116, "gfx/field_fences.png") { [ 194, 122, 33, 28, -30, 3] }
replace spr4117(4117, "gfx/field_fences.png") { [ 242, 122, 33, 28, 0, 3] }
replace spr4118(4118, "gfx/field_fences.png") { [ 290, 122, 33, 12, -30, 19] }
replace spr4119(4119, "gfx/field_fences.png") { [ 338, 122, 33, 12, 0, 19] }
replace spr4120(4120, "gfx/field_fences.png") { [ 386, 122, 33, 20, -30, 12] }
replace spr4121(4121, "gfx/field_fences.png") { [ 434, 122, 33, 20, 0, 11] }
replace spr4122(4122, "gfx/field_fences.png") { [ 482, 122, 33, 28, -30, 4] }
replace spr4123(4123, "gfx/field_fences.png") { [ 530, 122, 33, 28, 0, 3] }
replace spr4124(4124, "gfx/field_fences.png") { [ 578, 122, 33, 12, -30, 20] }
replace spr4125(4125, "gfx/field_fences.png") { [ 626, 122, 33, 12, 0, 19] }
//tree
replace (1604, "gfx/trees.png") {
template_trees(0,140)
}
//street lights
replace spr1406(1406, "gfx/streetlights.png") { [ 244, 10, 4, 14, 0, -13] }
replace spr1407(1407, "gfx/streetlights.png") { [ 249, 10, 4, 14, -4, -12] }
//street tree
if (climate == CLIMATE_TROPICAL) {
replace tree_sakura(4626, "gfx/streettree.png") { [ 50, 0, 45, 80, -20, -76] }
} else {
replace tree_green(4626, "gfx/streettree.png") { [ 100, 0, 45, 80, -20, -76] }
}
//road tunnels
// standard road tunnels 2389 - 2396
replace road_tunnel(2389, "gfx/roadtunnel.png") { template_road_tunnels(27) }
if (climate == CLIMATE_TROPICAL) {
// desert road tunnels
replace road_tunnel_desert( 2421, "gfx/roadtunnel.png") { template_road_tunnels(27) }
}
if (climate == CLIMATE_ARCTIC) {
// snowy road tunnels
replace road_tunnel_snow( 2421, "gfx/roadtunnel.png") { template_road_tunnels(249) }
}
// arctic road tunnel 238 - 245
//replace spr238( 238, "gfx/roadtunnel.png") { template_road_tunnels(101) }
// desert road tunnels 2421 - 2428
//replace spr2421(2421, "gfx/roadtunnel.png") { template_road_tunnels(249) } //todo swap gfx
// tropic road tunnels 226
//replace spr226( 226, "gfx/roadtunnel.png") { template_road_tunnels(175) }
// desert road tunnels 509 - 516
//replace spr509( 509, "gfx/roadtunnel.png") { template_road_tunnels(322) }
//2429-2436 tunnel gui
//replace spr2429(2429, "sprites/png/gui/road_tunnels_gui.png") { [ 0, 0, 20, 20, 0, 0] } // road tunnel
//replace spr2433(2433, "sprites/png/gui/road_tunnels_gui.png") { [ 30, 0, 32, 32, 0, 0] }