Paletts with Lettuce sinks in the ground

Adamvet
Posts: 171
Joined: Sun Feb 28, 2021 8:57 pm

Paletts with Lettuce sinks in the ground

Post by Adamvet »

Hello guys,

I have problem with lettuces pallets. When I try to move them from greenhouse to other place by hand, some of the pallets sinks in to the ground and now I can't move them anyway.
Some pallets just jump up from my hands and sinks in the ground. Anyone knows how I can remove them?
I'm guessing that I need do something with code game but I don't know where is the path about lettuces in ground.
SpukkZ
Posts: 4
Joined: Mon Aug 16, 2021 9:29 pm

Re: Paletts with Lettuce sinks in the ground

Post by SpukkZ »

I had the same issue with a couple of pallets getting stuck in the ground. I fixed those by editing the "vehicles.xml" file in the savegame folder, which will contain something like this (taking a wool pallet since I have that available in my current file):
<vehicle filename="data/objects/pallets/woolPallet/woolPallet.xml" id="23" isAbsolute="true" age="16.000000" price="0.000000" farmId="1" propertyState="1" operatingTime="0.000000" selectedObjectIndex="1" subSelectedObjectIndex="1">
<component index="1" position="608.82189941406 64.974540710449 489.80517578125" rotation="0.00013284868273625 -36.79545166272 0.0001913791288018"/>
<configuration name="fillUnit" id="1"/>
<boughtConfiguration name="fillUnit" id="1"/>
<fillUnit>
<unit index="1" fillType="WOOL" fillLevel="1000.000000"/>
</fillUnit>
</vehicle>

What you need to do is edit the "position" attribute, and more specifically the second number there (in my example the 64.974540710449), which is the height of the item. Just set it a little bit higher, save the file and reload the save, it should be standing on the ground when you get back on your farm.

Of course, make sure to back up the file before making any changes, in case you break something!
Adamvet
Posts: 171
Joined: Sun Feb 28, 2021 8:57 pm

Re: Paletts with Lettuce sinks in the ground

Post by Adamvet »

SpukkZ wrote: Mon Nov 29, 2021 1:42 pm I had the same issue with a couple of pallets getting stuck in the ground. I fixed those by editing the "vehicles.xml" file in the savegame folder, which will contain something like this (taking a wool pallet since I have that available in my current file):
<vehicle filename="data/objects/pallets/woolPallet/woolPallet.xml" id="23" isAbsolute="true" age="16.000000" price="0.000000" farmId="1" propertyState="1" operatingTime="0.000000" selectedObjectIndex="1" subSelectedObjectIndex="1">
<component index="1" position="608.82189941406 64.974540710449 489.80517578125" rotation="0.00013284868273625 -36.79545166272 0.0001913791288018"/>
<configuration name="fillUnit" id="1"/>
<boughtConfiguration name="fillUnit" id="1"/>
<fillUnit>
<unit index="1" fillType="WOOL" fillLevel="1000.000000"/>
</fillUnit>
</vehicle>

What you need to do is edit the "position" attribute, and more specifically the second number there (in my example the 64.974540710449), which is the height of the item. Just set it a little bit higher, save the file and reload the save, it should be standing on the ground when you get back on your farm.

Of course, make sure to back up the file before making any changes, in case you break something!


Is this high 64.974540710449, what should be or this you put little bit high number? And how higher should be if this 64.974540710449 number is to low?
I know it is silly question but I'm not specialist.

Thank you for answering 😀
SpukkZ
Posts: 4
Joined: Mon Aug 16, 2021 9:29 pm

Re: Paletts with Lettuce sinks in the ground

Post by SpukkZ »

Just add a little to the number before the period, I would suggest making it 70 orso. You could even replace the entire number (including the numbers after the period) with anything you want.
Smokeeatervff
Posts: 9
Joined: Fri Nov 26, 2021 1:44 pm

Re: Paletts with Lettuce sinks in the ground

Post by Smokeeatervff »

Had a pallet of strawberries sink into the ground on ps4
Post Reply