<!--Anleitung:

!Musterlösung
!Wichtig die Ordner müssen nicht gleich heißen, in diesem Fall müssen die Einträge angepasst werden zu euren Ordnernamen.

1. den foliage Ordner in den Ornder maps ziehen
2. in der map.xml
    in den <fruitTypes> bitte folgendes einfügen:

        <fruitType filename="maps/foliage/barley/barley.xml" />
        <fruitType filename="maps/foliage/canola/canola.xml" />
        <fruitType filename="maps/foliage/grass/grass.xml" />
        <fruitType filename="maps/foliage/maize/maize.xml" />
        <fruitType filename="maps/foliage/oat/oat.xml" />
        <fruitType filename="maps/foliage/sorghum/sorghum.xml" />
        <fruitType filename="maps/foliage/soybean/soybean.xml" />
        <fruitType filename="maps/foliage/sunflower/sunflower.xml" />
        <fruitType filename="maps/foliage/wheat/wheat.xml" />

3. die map.i3d mit notepad öffnen und dort für alle Früchte die Einträge abändern
z.B 

<File fileId="326" filename="$data/foliage/maize/maize.xml"/>

zu 

<File fileId="326" filename="foliage/maize/maize.xml"/>

für alle anderen Früchte wiederholen

!Wichtig der Pfad geht von der i3d aus, bei mir liegt diese schon in maps deswegen beginnt der Pfad auch mit foliage/...
!die Id muss gleichbleiben, also nicht meinen Eintag kopieren.

4. im Spiel testen




Instructions:

!Sample Solution
!Important: The folders don't have to have the same name; in this case, the entries must be adapted to your folder names.

1. Drag the foliage folder into the maps folder
2. in the map.xml
 Please insert the following into the <fruitTypes>:

        <fruitType filename="maps/foliage/barley/barley.xml" />
        <fruitType filename="maps/foliage/canola/canola.xml" />
        <fruitType filename="maps/foliage/grass/grass.xml" />
        <fruitType filename="maps/foliage/maize/maize.xml" />
        <fruitType filename="maps/foliage/oat/oat.xml" />
        <fruitType filename="maps/foliage/sorghum/sorghum.xml" />
        <fruitType filename="maps/foliage/soybean/soybean.xml" />
        <fruitType filename="maps/foliage/sunflower/sunflower.xml" />
        <fruitType filename="maps/foliage/wheat/wheat.xml" />

 3. Open the map.i3d file with Notepad and change the entries for all fruits.

For example,

<File fileId="326" filename="$data/foliage/maize/maize.xml"/>

to

<File fileId="326" filename="foliage/maize/maize.xml"/>

Repeat for all other fruits.

!Important: The path is based on the i3d file. In my case, this is already in maps, which is why the path also starts with foliage/...
!The ID must remain the same, so don't copy my entry.

4. Test in the game-->