AmanitaMushroom

Code XML de Référence :

<type name="AmanitaMushroom">
    <nominal>0</nominal>
    <lifetime>900</lifetime>
    <restock>0</restock>
    <min>0</min>
    <quantmin>-1</quantmin>
    <quantmax>-1</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
    <category name="food" />
  </type>

Pour le faire spawn comme un champignon normal du jeu ajoutez le en ligne child d’un event champignon :

    <event name="TrajectoryConiferous">
        <nominal>140</nominal>
        <min>2</min>
        <max>4</max>
        <lifetime>180</lifetime>
        <restock>0</restock>
        <saferadius>25</saferadius>
        <distanceradius>100</distanceradius>
        <cleanupradius>25</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="0"/>
        <position>player</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
		    <child lootmax="0" lootmin="0" max="0" min="0" type="AmanitaMushroom"/>
            <child lootmax="0" lootmin="0" max="0" min="0" type="BoletusMushroom"/>
            <child lootmax="0" lootmin="0" max="0" min="0" type="MacrolepiotaMushroom"/>
        </children>
    </event>