forked from Realistic-Farming/FS25_SoilFertilizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfillTypes.xml
More file actions
255 lines (223 loc) · 18.1 KB
/
Copy pathfillTypes.xml
File metadata and controls
255 lines (223 loc) · 18.1 KB
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<map>
<fillTypes>
<!-- ── LIQUID NITROGEN SOURCES ───────────────────────── -->
<!-- HUD icons are patched via Lua in loadedMission() using modDirectory. -->
<!-- $modDir is NOT resolved for <image hud> in this loading context. -->
<!-- <textures> paths ARE resolved relative to the mod base directory; -->
<!-- use bare relative paths (e.g. "textures/fillPlanes/foo.dds") there. -->
<fillType name="UAN32" title="$l10n_sf_uan32_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.32" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.45"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/uan32/liquidTank_uan32.xml" />
</fillType>
<fillType name="UAN28" title="$l10n_sf_uan28_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.28" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.40"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/uan28/liquidTank_uan28.xml" />
</fillType>
<fillType name="ANHYDROUS" title="$l10n_sf_anhydrous_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.61" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="1.85"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/anhydrous/liquidTank_anhydrous.xml" />
</fillType>
<fillType name="STARTER" title="$l10n_sf_starter_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.10" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.90"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/starter/liquidTank_starter.xml" />
</fillType>
<!-- ── SOLID GRANULAR SOURCES ─────────────────────────── -->
<fillType name="UREA" title="$l10n_sf_urea_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.77" maxPhysicalSurfaceAngle="15"/>
<economy pricePerLiter="0.55"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/urea_diffuse.dds" normal="textures/fillPlanes/urea_normal.dds" height="textures/fillPlanes/urea_height.dds" displacement="textures/fillPlanes/urea_displacement.dds" distance="$data/fillPlanes/distance/fertilizerDistance_diffuse.dds"/>
<sprayType sprayTypeStr="FERTILIZER"/>
<pallet filename="objects/bigBag/urea/bigBag_urea.xml" />
</fillType>
<fillType name="AN" title="$l10n_sf_an_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.92" maxPhysicalSurfaceAngle="15"/>
<economy pricePerLiter="0.50"/>
<image hud="$moddir$textures/hud/fillTypes/hud_fill_AN.dds"/>
<textures diffuse="$data/fillPlanes/fertilizer_diffuse.dds" unitSize="0.4" blendContrast="0.2" noiseScale="0.5" porosityAtZeroRoughness="0.9" porosityAtFullRoughness="1"
normal="$data/fillPlanes/fertilizer_normal.dds"
height="$data/fillPlanes/fertilizer_height.dds"
displacement="$data/fillPlanes/fertilizer_displacement.dds" displacementMaxHeight="0.2" firmness="0.3" viscosity="0.5"
distance="$data/fillPlanes/distance/fertilizerDistance_diffuse.dds"/>
<sprayType sprayTypeStr="FERTILIZER"/>
<pallet filename="objects/bigBag/an/bigBag_an.xml" />
</fillType>
<fillType name="AMS" title="$l10n_sf_ams_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.87" maxPhysicalSurfaceAngle="15"/>
<economy pricePerLiter="0.45"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/AMS_diffuse.dds" unitSize="0.4" blendContrast="0.2" noiseScale="0.5" porosityAtZeroRoughness="0.9" porosityAtFullRoughness="1"
normal="textures/fillPlanes/AMS_normal.dds"
height="textures/fillPlanes/AMS_height.dds"
displacement="textures/fillPlanes/AMS_displacement.dds" displacementMaxHeight="0.2" firmness="0.3" viscosity="0.5"
distance="$data/fillPlanes/distance/fertilizerDistance_diffuse.dds"/>
<sprayType sprayTypeStr="FERTILIZER"/>
<pallet filename="objects/bigBag/ams/bigBag_ams.xml" />
</fillType>
<fillType name="MAP" title="$l10n_sf_map_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.90" maxPhysicalSurfaceAngle="15"/>
<economy pricePerLiter="0.85"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/MAP_diffuse.dds" normal="textures/fillPlanes/MAP_normal.dds" height="textures/fillPlanes/MAP_height.dds" displacement="textures/fillPlanes/MAP_displacement.dds" distance="$data/fillPlanes/distance/fertilizerDistance_diffuse.dds"/>
<sprayType sprayTypeStr="FERTILIZER"/>
<pallet filename="objects/bigBag/map/bigBag_map.xml" />
</fillType>
<fillType name="DAP" title="$l10n_sf_dap_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.90" maxPhysicalSurfaceAngle="15"/>
<economy pricePerLiter="0.78"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/DAP_diffuse.dds" normal="textures/fillPlanes/DAP_normal.dds" height="textures/fillPlanes/DAP_height.dds" displacement="textures/fillPlanes/DAP_displacement.dds" distance="$data/fillPlanes/distance/fertilizerDistance_diffuse.dds"/>
<sprayType sprayTypeStr="FERTILIZER"/>
<pallet filename="objects/bigBag/dap/bigBag_dap.xml" />
</fillType>
<fillType name="POTASH" title="$l10n_sf_potash_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.95" maxPhysicalSurfaceAngle="15"/>
<economy pricePerLiter="0.55"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/potash_diffuse.dds" normal="textures/fillPlanes/potash_normal.dds" height="textures/fillPlanes/potash_height.dds" displacement="textures/fillPlanes/potash_displacement.dds" distance="$data/fillPlanes/distance/fertilizerDistance_diffuse.dds"/>
<sprayType sprayTypeStr="FERTILIZER"/>
<pallet filename="objects/bigBag/potash/bigBag_potash.xml" />
</fillType>
<fillType name="POLIFOSKA" title="$l10n_sf_polifoska_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.92" maxPhysicalSurfaceAngle="15"/>
<economy pricePerLiter="0.60"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="$data/fillPlanes/fertilizer_diffuse.dds" normal="$data/fillPlanes/fertilizer_normal.dds" height="$data/fillPlanes/fertilizer_height.dds" displacement="$data/fillPlanes/fertilizer_displacement.dds" distance="$data/fillPlanes/distance/fertilizerDistance_diffuse.dds"/>
<sprayType sprayTypeStr="FERTILIZER"/>
<pallet filename="objects/bigBag/polifoska/bigBag_polifoska.xml" />
</fillType>
<!-- ── CROP PROTECTION ────────────────────────────────── -->
<fillType name="INSECTICIDE" title="$l10n_sf_insecticide_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.001" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.45"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="HERBICIDE"/>
<pallet filename="objects/liquidTank/insecticide/liquidTank_insecticide.xml" />
</fillType>
<fillType name="FUNGICIDE" title="$l10n_sf_fungicide_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.001" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.52"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="HERBICIDE"/>
<pallet filename="objects/liquidTank/fungicide/liquidTank_fungicide.xml" />
</fillType>
<fillType name="LIQUID_UREA" title="$l10n_sf_liquid_urea_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.10" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.60"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/liquid_urea/liquidTank_liquid_urea.xml" />
</fillType>
<fillType name="LIQUID_AMS" title="$l10n_sf_liquid_ams_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.15" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.50"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/liquid_ams/liquidTank_liquid_ams.xml" />
</fillType>
<fillType name="LIQUID_MAP" title="$l10n_sf_liquid_map_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.20" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.90"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/liquid_map/liquidTank_liquid_map.xml" />
</fillType>
<fillType name="LIQUID_DAP" title="$l10n_sf_liquid_dap_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.20" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.82"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/liquid_dap/liquidTank_liquid_dap.xml" />
</fillType>
<fillType name="LIQUID_POTASH" title="$l10n_sf_liquid_potash_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.25" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.60"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/liquid_potash/liquidTank_liquid_potash.xml" />
</fillType>
<!-- ── ORGANIC / SOIL AMENDMENTS ──────────────────────── -->
<!-- Icons patched via Lua using modDirectory (same as above). -->
<!-- These types are registered here so they appear on the price table -->
<!-- and can be routed by our sprayer hook when obtained from other mods -->
<!-- or production lines. -->
<fillType name="GYPSUM" title="$l10n_sf_gypsum_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.10" maxPhysicalSurfaceAngle="20"/>
<economy pricePerLiter="0.10"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/gypsum_diffuse.dds" normal="textures/fillPlanes/gypsum_normal.dds" height="textures/fillPlanes/gypsum_height.dds" displacement="textures/fillPlanes/gypsum_displacement.dds" distance="$data/fillPlanes/distance/limeDistance_diffuse.dds"/>
<sprayType sprayTypeStr="LIME"/>
<pallet filename="objects/bigBag/gypsum/bigBag_gypsum.xml" />
</fillType>
<fillType name="COMPOST" title="$l10n_sf_compost_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.60" maxPhysicalSurfaceAngle="20"/>
<economy pricePerLiter="0.03"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/compost_diffuse.dds" normal="textures/fillPlanes/compost_normal.dds" height="textures/fillPlanes/compost_height.dds" displacement="textures/fillPlanes/compost_displacement.dds" distance="$data/fillPlanes/distance/manureDistance_diffuse.dds"/>
<sprayType sprayTypeStr="MANURE"/>
<pallet filename="objects/bigBag/compost/bigBag_compost.xml" />
</fillType>
<fillType name="BIOSOLIDS" title="$l10n_sf_biosolids_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.90" maxPhysicalSurfaceAngle="20"/>
<economy pricePerLiter="0.03"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/biosolids_diffuse.dds" normal="textures/fillPlanes/biosolids_normal.dds" height="textures/fillPlanes/biosolids_height.dds" displacement="textures/fillPlanes/biosolids_displacement.dds" distance="$data/fillPlanes/distance/manureDistance_diffuse.dds"/>
<sprayType sprayTypeStr="MANURE"/>
<pallet filename="objects/bigBag/biosolids/bigBag_biosolids.xml" />
</fillType>
<fillType name="CHICKEN_MANURE" title="$l10n_sf_chicken_manure_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.65" maxPhysicalSurfaceAngle="20"/>
<economy pricePerLiter="0.06"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/chickenlitter_diffuse.dds" normal="textures/fillPlanes/chickenlitter_normal.dds" height="textures/fillPlanes/chickenlitter_height.dds" displacement="textures/fillPlanes/chickenlitter_displacement.dds" distance="$data/fillPlanes/distance/manureDistance_diffuse.dds"/>
<sprayType sprayTypeStr="MANURE"/>
<pallet filename="objects/bigBag/chicken_manure/bigBag_chicken_manure.xml" />
</fillType>
<fillType name="PELLETIZED_MANURE" title="$l10n_sf_pelletized_manure_title" showOnPriceTable="true" isBulkType="true" unitShort="$l10n_unit_literShort">
<physics massPerLiter="0.75" maxPhysicalSurfaceAngle="20"/>
<economy pricePerLiter="0.35"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_fertilizer.png"/>
<textures diffuse="textures/fillPlanes/PelletizedManure_diffuse.dds" normal="textures/fillPlanes/PelletizedManure_normal.dds" height="textures/fillPlanes/PelletizedManure_height.dds" displacement="textures/fillPlanes/PelletizedManure_displacement.dds" distance="$data/fillPlanes/distance/mineralFeedDistance_diffuse.dds"/>
<sprayType sprayTypeStr="MANURE"/>
<pallet filename="objects/bigBag/pelletized_manure/bigBag_pelletized_manure.xml" />
</fillType>
<fillType name="LIQUIDLIME" title="$l10n_sf_liquidlime_title" showOnPriceTable="true" isBulkType="false" unitShort="$l10n_unit_literShort">
<physics massPerLiter="1.40" maxPhysicalSurfaceAngle="0"/>
<economy pricePerLiter="0.28"/>
<image hud="$dataS/menu/hud/fillTypes/hud_fill_liquidFertilizer.png"/>
<sprayType sprayTypeStr="LIQUIDFERTILIZER"/>
<pallet filename="objects/liquidTank/liquidlime/liquidTank_liquidlime.xml" />
</fillType>
</fillTypes>
<fillTypeCategories>
<!--
Extend the NATIVE FS25 FERTILIZER category with our custom dry types.
Vanilla spreaders, bigBag specialization fill checks, and any other category-based
lookup all use "FERTILIZER" - extending it here means our custom types pass
every check automatically, including the BigBag fill trigger.
The Lua installFillUnitHook also patches supportedFillTypes directly as a
belt-and-suspenders fallback for vehicles that use name-based (not category-based)
fill unit definitions.
-->
<fillTypeCategory name="FERTILIZER">FERTILIZER UREA AN AMS MAP DAP POTASH GYPSUM COMPOST BIOSOLIDS CHICKEN_MANURE PELLETIZED_MANURE POLIFOSKA</fillTypeCategory>
<!--
Same principle for liquid sprayers - extend LIQUIDFERTILIZER so vanilla sprayers
that already accept LIQUIDFERTILIZER will also accept our liquid nitrogen products
and starter fertilizer.
-->
<fillTypeCategory name="LIQUIDFERTILIZER">LIQUIDFERTILIZER UAN32 UAN28 ANHYDROUS STARTER INSECTICIDE FUNGICIDE LIQUID_UREA LIQUID_AMS LIQUID_MAP LIQUID_DAP LIQUID_POTASH LIQUIDLIME</fillTypeCategory>
</fillTypeCategories>
</map>