<item behavior="breakable">
<behavior>
<dictionary>
<entry name="ignore-trap-damage"><bool>false</bool></entry>
<entry name="destroy-snd"><string>sound/misc.xml:chest_wood_break</string></entry>
<entry name="destroy-particle"><string>effects/particles.xml:breakable_wood</string></entry>
<dictionary name="loot">
<string name="origin">0 0</string>
<float name="spread">0.5</float>
<array name="loot">
<array>
<int>1000</int><string>items/collectable_1.xml</string>
</array>
<array>
<int>1000</int><string>items/powerup_1up.xml</string>
</array>
<array>
<int>200</int><string>items/upgrade_health_2.xml</string>
<int>200</int><string>items/upgrade_mana_2.xml</string>
<int>400</int><string>items/upgrade_damage_2.xml</string>
<int>200</int><string>items/upgrade_defense_2.xml</string>
</array>
</array>
</dictionary>
</dictionary>
</behavior>
<sprite scale="16">
<texture>items/chests.png</texture>
<origin>6 13</origin>
<frame>16 32 16 16</frame>
</sprite>
<collision static="true">
<polygon>
<point>-9 -10</point>
<point>-9 4</point>
<point>9 -10</point>
<point>9 4</point>
</polygon>
</collision>
</item>