List of Likes/Dislikes?
Is there a list of which crops like which Fertilzer (A,B,C) or Herbicide (A,B,C,AA,BB,CC) each crop likes or dislikes at this time? Or how each fertilizer type corresponds to N or PK, and which crops like or dislike which levels of N or PK in the soil?
ok - I found this ;
--function fmcFilltypes.setupFruitFertilizerBoostHerbicideAffected() -- if (not fmcFilltypes.simplisticMode) then -- -- Set which fertilizer-fill-type that boosts what fruit-type -- -- Set which herbicide-fill-type that will affect what fruit-type -- fmcSoilMod.setFruit_FertilizerBoost_HerbicideAffected("wheat" ,"fertilizer" ,"herbicide" ) -- fmcSoilMod.setFruit_FertilizerBoost_HerbicideAffected("barley" ,"fertilizer" ,"herbicide2") -- fmcSoilMod.setFruit_FertilizerBoost_HerbicideAffected("rape" ,"fertilizer3" ,"herbicide3") -- fmcSoilMod.setFruit_FertilizerBoost_HerbicideAffected("maize" ,"fertilizer3" ,"herbicide" ) -- fmcSoilMod.setFruit_FertilizerBoost_HerbicideAffected("sugarBeet" ,"fertilizer2" ,"herbicide2") -- fmcSoilMod.setFruit_FertilizerBoost_HerbicideAffected("potato" ,"fertilizer2" ,"herbicide3") -- fmcSoilMod.setFruit_FertilizerBoost_HerbicideAffected("grass" ,"fertilizer" ,nil ) -- end
so can I assume from this, that;
wheat, barley & grass like an equal amount of N+PK rape & mazie like more N than PK beet and potato like more PK than N
and:
given the starting map levels of:
N = x3 PK = x1
that it would be better to spray a field of wheat or barley with Fertilizer B (PK) rather than Fertilizer A (NPK) in order to even out the balance of N + PK in the soil?
At the moment, there is no "crops likes/dislikes fertilizer- or herbicide-type" in effect. - The code you found, is 'commented out' and therefore not active code, just some artifact from SoilMod-FS2013.
The current fertilizer types have the following effects (which possibly still needs tweaking, also regarding how much they cost to buy):
- "A" increases N (+3) & PK (+1) at growth-cycle
- "B" increases PK (+3) at growth-cycle
- "C" increases N (+5) at growth-cycle
- Slurry increases N (+3) at growth-cycle
- Manure increases N by cultivating (+6) or by plowing (+10)
- Cultivating/plowing swath(windrows) increases N (+1)
- Cultivating/plowing crops (growth-stages 3 to 8 (withered)) increases N (+3)
The nutrition N layer have a maximum of '15' and PK a maximum of '7'.
When crops are growing they "consume" from the soil, depending on their current growth-stage:
- growth-stages 1-7; consume one N
- growth-stages 3 & 5; consume one PK
- growth-stages 2,3 & 5; consume one 'soil moisture'
- growth-stage 5; consume one 'soil pH' (i.e. decrease pH level)
Then at harvest, the yield is calculated from the remaining N, PK & soil moisture that is still in the soil. - I know that this is not "the correct way", but I do not have technical possibilities to "store" what the crops have been consuming during their growth.
If you want to study the harvest "yield calculations", look in fmcSoilModPlugins.lua, method pluginsForCutFruitArea. - You might also see that I still have some 'TODO' remarks in my code.
For the three herbicide types (A, B & C), they currently act exactly the same. I have not yet added any 'side-effects'. The next three herbicide types (AA, BB & CC), they are the same as above, only these also adds a 'weed prevention' layer which lasts for 3 days.
Update
The following rules apply, regarding herbicide types (A/AA,B/BB,C/CC) and crop types:
- B/BB or C/CC can be used on; wheat, barley, rye, oat, rice. (Do not use type A/AA)
- A/AA or C/CC can be used on; corn/maize, rape/canola, osr, luzerne, klee. (Do not use type B/BB)
- A/AA or B/BB can be used on; potato, sugarbeet, soybean, sunflower. (Do not use type C/CC)
These rules are currently hardcoded into the script, so if additional/new crop-types are needed, I need to know about them first.
With 2.0.42 it is now possible for map-makers to add new (or change existing) fruits' dislike towards a particular herbicide type.