Community Forum

Where is heap Size (Quantity) stored?

Forum Overview >> Scripting

CategoryScripting
Created02.03.2015 20:25


Hello Paul (Unknown) 02.03.2015 20:27
I've searched the forums and everywhere else. Maybe I just missed it, but which file is the quantity of a heap pile stored in the savegame folder? I'm trying to find out how much of a fruit (straw) I have in a heap pile. Thanks for the help.

Emil Drefers (Unknown) 03.03.2015 08:54
Hi,

on the farm you can only sell straw (wheat_windrow).

The only place which stores it is the cow stable.
Open the file vehicles.xml.

Go to the following section:
<onCreateLoadedObject id="9" numAnimals0="0" numAnimals1="0" liquidManureFillLevel="0" manureHeapFillLevel="0">

and I'm sure you'll find what you want.

Note: the "Id" might have a different value in your case.
That depends on which map you play.
It should only show where the information about the coww stable is stored ;)

Cheers,
Emil



Note: Log in to post. Create a new account here.