


Precision Farming Configurator V1.0.0.8
This is just a small addon that is meant to add requested items to Precision Farming.
Currently it does the following:
Allows rerouting/embedding the PF configuration to a map mod. This is on top of the normal things you can configure from a map. For example, if you wanted to remove crops from the tramline code (or disable tramlines completely) you could use this feature to do so. Allows the use of any spray type with Precision Farming. To do this, you simply list the spray type and its parent (vanilla spray type). The parent tells PF which type of calculations to use when using the custom spray type. PF calculates things differently depending on if it is currently using solid fertilizer, liquid fertilizer, herbicide, manure, etc. To activate, add the following to your map.xml file: SEE PHOTO 3
The path you specify should contain whatever PF files you want to change. The file names and folder structure in your map embedded folder should be the same as the PF mod itself. Also, you do not have to copy all of the PF files to your map, only the ones you want to change. This mod will fail over to the default PF files for anything missing.
The section is like I mentioned above. In this example, I have added ANHYDROUS_AMMONIA using LIQUIDFERTILIZER as a template. Parent must be specified to tell PF how to handle the custom spray. Otherwise, PF would not know if it is a herbicide, manure, solid fertilizer, etc. That’s just how it is set up. The spray types are hard coded, so I made some work arounds for that.
Finally, I chose not to simply replace the PF functions with new code because that can be a compatibility nightmare. This way should play more nicely with other mods because the original PF code and any other mods linked to it still runs.
More features intended as more gets requested.
V1.0.0.8
– Updated to a specialization code to work better with vehicles
– Spray types can now be added via any mod
– Spray types like Lime now correctly use their LiterPerSecond value
– Custom spray types will auto-inject into the buy, sell, load and unload stations
– Attempts to match the prices of similar fill types
– Custom spray types will auto-inject into the fill units of applicable vehicles
– Custom spray types should now work with fertilizer machines
– The spray type name is now displayed in PF hud files
ChangeLog v1.0.0.4:
The configuration has been changed to favor static group keys. The old configuration still works, so you don’t need to change it if you already have it configured.
Support for different types of lime. PF considers lime to be a static filler by default. For this reason, different lime types and application rates are not supported. This changes this behavior and allows for different lime types and different application rates.
Spray type mapping can be done from within each mod’s modDesc.xml. This part is not exclusive to map.xml.