Jump to content
Sign in to follow this  
kmiles1990

Make barrels spawn ONLY in containers

Recommended Posts

How do I make barrels spawn ONLY in containers? 

 

Right now I have this.

<type name="Barrel_Red">
        <nominal>500</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>10</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="containers"/>
        <tag name="floor" />
        <usage name="Village" />
    </type>

But it spawns the barrels EVERYWHERE. It's very annoying.

Share this post


Link to post
Share on other sites
<type name="Barrel_Red">
        <nominal>500</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>10</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="containers"/>   <!-- Catégorie d'apparition de butin - (liens vers mapgroupproto.xml)  -->
        <usage name="Industrial"/>	    <!-- Zone d'apparition Industriel -->
    </type>

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×