ZzzSmileYzzZ
New member
I've been working on Valmod farming system. I manage to make it work, so you can harvest with the fist and hoe and the seed stays there so no need to reseed. But the issue I got is that it don't take into account the soil. When you harvest the garden it is always the same amount that you get, only 1 crop. For example: if you pick up corn using the E key on fertile soil you get 5 corns but if you use the fist or hoe as I set it, it only collect 1 corn instead of 5.
The crops use a master CODE in the block.xml file:
And the harvest use this one:
So what do I need to do, to make the change so it work properly?
Cheers,
The crops use a master CODE in the block.xml file:
Code:
<block id="120" name="cropsHarvestableMaster">
<property name="CreativeMode" value="None"/>
<property name="Material" value="plants"/>
<property name="LightOpacity" value="0"/>
<property name="StabilitySupport" value="false"/>
<property name="Shape" value="BillboardPlant"/>
<property name="Mesh" value="grass"/>
<property name="Texture" value="395"/>
<property name="MultiBlockDim" value="1,2,1"/>
<property name="ImposterDontBlock" value="true"/>
<property name="Collide" value="melee"/>
<property name="IsTerrainDecoration" value="true"/>
<property name="IsDecoration" value="true"/>
<property name="Class" value="CropsGrown"/>
<property name="PlantGrowing.FertileLevel" value="1"/>
<property name="CropsGrown.BonusHarvestDivisor" value="9"/>
<property name="HarvestOverdamage" value="false"/>
<drop event="Destroy" count="0"/>
<property name="DescriptionKey" value="plantsBlockGroupDesc"/>
</block>
Code:
<block id="258" name="plantedBlueberry3Harvest">
<property name="Extends" value="cropsHarvestableMaster"/>
<property name="Shape" value="ModelEntity"/>
<property name="Model" value="Entities/Plants/blueberry_plant_harvestPrefab"/>
<drop event="Harvest" name="blueberries" count="1" tool_category="Pluck"/>
<property name="DowngradeBlock" value="plantedBlueberry1"/>
</block>
Cheers,