I can't sell a crop

Your forum for all discussions around Modding.
juanc3112
Posts: 10
Joined: Thu Dec 03, 2020 12:37 am

I can't sell a crop

Post by juanc3112 »

Hi, I'm new to editing maps, and today I added a new crop to my map, the problem is that it appeared in the hud, on the map, and some fields had it. But I don't get it to sow, nor do I harvest and at the points of sale there is no price to sell that crop. Does anyone know why? :confusednew:

Edit don_apple: topic moved from ‚Community Corner‘ to ‚Modding‘.
Eische
Posts: 3797
Joined: Thu Oct 18, 2018 5:17 pm

Re: I can't sell a crop

Post by Eische »

You need to add the new crop to the fruittypeCategories in the fruitTypes.xml and fillTypes.xml.
For example there is a predefined category sowingMachine. Think of it as a group for all fruit types (crops) the machine can sow. Just add your new crop to this list.
You want to do the same for the groups bulk, farmSilo and so on.

For selling the crop, you need to add this to the xml files of the respective selling stations.
Playing on PC - Win10
Ryzen 3600
RX 5500XT
16GB Ram
How to post log file
How to upload pictures
Please report bugs for FS22 using the bugtracker
Post Reply