<Entity tags="mortal,prey" name="$animal_duck">
  
	<Base file="data/entities/base_helpless_animal.xml" >

        <AnimalAIComponent 
        	preferred_job="JobDefault"
			attack_melee_enabled="0"
			attack_ranged_entity_file=""
			attack_ranged_predict="1"
			attack_ranged_enabled="0"
			attack_melee_enabled="0"
			sense_creatures="1"
			creature_detection_range_x="128"
			creature_detection_range_y="160"
			attack_melee_damage_min="0"
			attack_melee_damage_max="0"
			can_fly="0"
            >
        </AnimalAIComponent >
		
		<DamageModelComponent 
			ragdoll_filenames_file="data/ragdolls/duck/filenames.txt" 
			fire_probability_of_ignition="0.05"
			hp="0.1"
			>
		</DamageModelComponent>

		<SpriteComponent 
			_enabled="1" 
			alpha="1" 
			image_file="data/enemies_gfx/duck.xml" 
			next_rect_animation="" 
			offset_x="0" 
			offset_y="0" 
			rect_animation="stand" 
			 
			 >
		</SpriteComponent>

		<PathFindingComponent
		    distance_to_reach_node_x="20"
		    distance_to_reach_node_y="20"
			frames_to_get_stuck="20"
			can_jump="1" >
		</PathFindingComponent>

		<PathFindingGridMarkerComponent
			marker_work_flag="24" >
		</PathFindingGridMarkerComponent>
		
		<GenomeDataComponent 
			herd_id="helpless"
			food_chain_rank="20"
			is_predator="0" >
		</GenomeDataComponent>
		
		<CharacterDataComponent 
			collision_aabb_min_x="-2.6" 
			collision_aabb_max_x="2.6" 
			collision_aabb_min_y="-6" 
			collision_aabb_max_y="3" 
			buoyancy_check_offset_y="-1" 
			mass="0.3"
			>
		</CharacterDataComponent>
		
		<CharacterPlatformingComponent 
			jump_velocity_y="-12" 
			run_velocity="30"  
        	velocity_max_y="60"
			run_animation_velocity_switching_enabled="1"
			run_animation_velocity_switching_threshold="20">
		</CharacterPlatformingComponent>
		
		<HitboxComponent 
			_enabled="1" 
			aabb_min_x="-4.5" 
			aabb_max_x="4.5" 
			aabb_min_y="-5.5" 
			aabb_max_y="3"
			>
		</HitboxComponent>
	</Base>

</Entity>