<?xml version="1.0" encoding="utf-8"?>
<MaterialDefinitions>
	<!-- Materials -->
	<Material>
		<Name>DIRT_TEMPLATE</Name>

		<DestroyedEffect>tile_destroyed</DestroyedEffect>
		<!-- <CrackEffect>tile_damaged</CrackEffect> -->
		<CrackSprite>Sprites/effects;rock_crack</CrackSprite>
		<WalkEffect>walk_puff</WalkEffect>
		<WalkSound>player_walk_dirt</WalkSound>
		<LandEffect>land_puff</LandEffect>
		<WeaponMaterials>
			<WeaponMaterial Weapon="Pickaxe">
				<Effect>archaea_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
				<MineralSound>player_attack_pick_mineral</MineralSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Drill">
				<Effect>archaea_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_drill_dirt</DamageSound>
				<NoDamageSound>player_attack_drill_invulnerable</NoDamageSound>
				<MineralSound>player_attack_drill_mineral</MineralSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Steam Punch">
				<Effect>archaea_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
				<MineralSound>player_attack_pick_mineral</MineralSound>
			</WeaponMaterial>
		</WeaponMaterials>
	</Material>
	
	<Material>
		<Name>dirt</Name>
		<Template>DIRT_TEMPLATE</Template>
		<DestroyedSound>tile_destroyed</DestroyedSound>
	</Material>
	
	<Material>
		<Name>dirt_regen</Name>
		<Template>DIRT_TEMPLATE</Template>
		
		<RegenEffect>tile_destroyed</RegenEffect>
		<RegenTimeSeconds>3</RegenTimeSeconds>
	</Material>

	<Material>
		<Name>SINK_TEMPLATE</Name>
		<Template>DIRT_TEMPLATE</Template>
		
		<DestroyedSound>tile_destroyed</DestroyedSound>
	</Material>
	
	<Material>
		<Name>sink</Name>
		<Template>SINK_TEMPLATE</Template>
	</Material>

	<Material>
		<Name>sink_oldworld</Name>
		<Template>SINK_TEMPLATE</Template>
		
		<CrackSprite>Sprites/effects;oldworld_crack01</CrackSprite>
	</Material>

	<Material>
		<Name>sink_vectron</Name>
		<Template>SINK_TEMPLATE</Template>
		
		<CrackSprite>Sprites/effects;vectron_crack01</CrackSprite>
	</Material>
	
	<Material>
		<Name>sink_regen</Name>
		<Template>SINK_TEMPLATE</Template>
		
		<RegenEffect>tile_destroyed</RegenEffect>
		<RegenTimeSeconds>3</RegenTimeSeconds>
	</Material>

	<Material>
		<Name>sink_regen_oldworld</Name>
		<Template>sink_regen</Template>
		
		<CrackSprite>Sprites/effects;oldworld_crack01</CrackSprite>
	</Material>

	<Material>
		<Name>sink_regen_vectron</Name>
		<Template>sink_regen</Template>
		
		<CrackSprite>Sprites/effects;vectron_crack01</CrackSprite>
	</Material>

	<Material>
		<Name>rock</Name>

		<DestroyedEffect>tile_destroyed</DestroyedEffect>
		<CrackSprite>Sprites/effects;rock_crack</CrackSprite>
		<WalkEffect>walk_puff</WalkEffect>
		<WalkSound>player_walk_dirt</WalkSound>
		<LandEffect>land_puff</LandEffect>
		<WeaponMaterials>
			<WeaponMaterial Weapon="Pickaxe">
				<Effect>spark_hit</Effect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Drill">
				<Effect>spark_hit</Effect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Steam Punch">
				<Effect>spark_hit</Effect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
			</WeaponMaterial>
		</WeaponMaterials>
	</Material>
	
	<Material>
		<Name>oldworld_dirt</Name>

		<DestroyedEffect>tile_destroyed_oldworld</DestroyedEffect>
		<!-- <CrackEffect>tile_damaged</CrackEffect> -->
		<CrackSprite>Sprites/effects;oldworld_crack01</CrackSprite>
		<WalkEffect>walk_puff</WalkEffect>
		<WalkSound>player_walk_dirt</WalkSound>
		<LandEffect>land_puff</LandEffect>
		<WeaponMaterials>
			<WeaponMaterial Weapon="Pickaxe">
				<Effect>oldworld_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
				<MineralSound>player_attack_pick_mineral</MineralSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Drill">
				<Effect>oldworld_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_drill_dirt</DamageSound>
				<NoDamageSound>player_attack_drill_invulnerable</NoDamageSound>
				<MineralSound>player_attack_drill_mineral</MineralSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Steam Punch">
				<Effect>oldworld_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
				<MineralSound>player_attack_pick_mineral</MineralSound>
			</WeaponMaterial>
		</WeaponMaterials>
	</Material>
	
	<Material>
		<Name>ow_dirt</Name>
		<Template>oldworld_dirt</Template>
		<DestroyedSound>tile_destroyed</DestroyedSound>
	</Material>

	<Material>
		<Name>vectron_dirt</Name>

		<DestroyedEffect>tile_destroyed_vectron</DestroyedEffect>
		<!-- <CrackEffect>tile_damaged</CrackEffect> -->
		<CrackSprite>Sprites/effects;vectron_crack01</CrackSprite>
		<WalkEffect>walk_puff</WalkEffect>
		<WalkSound>player_walk_dirt</WalkSound>
		<LandEffect>land_puff</LandEffect>
		<WeaponMaterials>
			<WeaponMaterial Weapon="Pickaxe">
				<Effect>vectron_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
				<MineralSound>player_attack_pick_mineral</MineralSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Drill">
				<Effect>vectron_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_drill_dirt</DamageSound>
				<NoDamageSound>player_attack_drill_invulnerable</NoDamageSound>
				<MineralSound>player_attack_drill_mineral</MineralSound>
			</WeaponMaterial>
			<WeaponMaterial Weapon="Steam Punch">
				<Effect>vectron_tile_hit</Effect>
				<NoDamageEffect>spark_hit</NoDamageEffect>
				<DamageSound>player_attack_pick_dirt</DamageSound>
				<NoDamageSound>player_attack_pick_invulnerable</NoDamageSound>
				<MineralSound>player_attack_pick_mineral</MineralSound>
			</WeaponMaterial>
		</WeaponMaterials>
	</Material>

	<Material>
		<Name>vec_dirt</Name>
		<Template>vectron_dirt</Template>
		<DestroyedSound>tile_destroyed</DestroyedSound>
	</Material>
	
	<Material>
		<Name>vec_dirt_regen</Name>
		<Template>vectron_dirt</Template>
		
		<RegenEffect>tile_destroyed_vectron</RegenEffect>
		<RegenTimeSeconds>3</RegenTimeSeconds>
	</Material>
	
</MaterialDefinitions>
