<Entity name="$projectile_default" tags="pro_plr,bl_hl_custom">
<!--    -18    -->
		<VelocityComponent
			air_friction="-0.4" 
			gravity_y="0.0" 
			mass="0.01"
			>
		</VelocityComponent>

	<ProjectileComponent 
		_enabled="1" 
		lob_min="0.8"
		lob_max="1.0"
		speed_min="105"
		speed_max="105"
		collide_with_world="0"
		direction_random_rad="0.00"
		on_death_explode="1"
		on_death_gfx_leave_sprite="0" 
		on_lifetime_out_explode="1"
		explosion_dont_damage_shooter="1" 
		on_collision_die="0"
		lifetime="60"
		damage="0"
		knockback_force="0.1"
		velocity_sets_scale="0"
		penetrate_entities="1"
		lifetime_randomness="0"
		velocity_sets_rotation="0"
		ragdoll_force_multiplier="0.0025"
		hit_particle_force_multiplier="0.25 "
		camera_shake_when_shot="0.4"
		muzzle_flash_file="data/entities/particles/muzzle_flashes/muzzle_flash_small_pink.xml"
		collide_with_shooter_frames="10"
		collide_with_entities="0"
		friendly_fire="1"
		shoot_light_flash_radius="100"
		shoot_light_flash_r="255"
		shoot_light_flash_g="180"
		shoot_light_flash_b="230"
		>		
		<config_explosion
			never_cache="1" 
			damage="0"
			camera_shake="0" 
			explosion_radius="1"
			explosion_sprite="data/particles/black_hole_out.xml" 
			explosion_sprite_emissive="1"
			explosion_sprite_additive="1"
			explosion_sprite_random_rotation="0"
			explosion_sprite_lifetime="0"           
			create_cell_probability="0" 
			hole_destroy_liquid="0" 
			hole_enabled="1" 
			ray_energy="0"
			particle_effect="0" 
			damage_mortals="1"
			physics_explosion_power.min="0" 
			physics_explosion_power.max="0" 
			physics_throw_enabled="0" 
			shake_vegetation="1" 
			sparks_count_max="1" 
			sparks_count_min="4" 
			sparks_enabled="1"
			light_enabled="0" 
			stains_enabled="0"
			spark_material="plasma_fading_pink"
			>
		</config_explosion>
	</ProjectileComponent>
	
	<SpriteComponent 
		_enabled="1" 
		alpha="1" 
		image_file="data/projectiles_gfx/black_hole.xml" 
		next_rect_animation="" 
		offset_x="0" 
		offset_y="0" 
		emissive="1"
		additive="1"
		rect_animation="fireball"
		>
	</SpriteComponent>
	
	<ParticleEmitterComponent 
		emitted_material_name="plasma_fading_pink"
		offset.x="0"
		offset.y="0"
		x_pos_offset_min="-12"
		x_pos_offset_max="12"
		y_pos_offset_min="-12"
		y_pos_offset_max="12"
		x_vel_min="-8"
		x_vel_max="8"
		gravity.y="0.0"
		y_vel_min="-8"
		y_vel_max="8"
		count_min="1"
		count_max="4"
		lifetime_min="0.1"
		lifetime_max="1.5"
		create_real_particles="0"
		emit_cosmetic_particles="1"
		emission_interval_min_frames="1"
		emission_interval_max_frames="2"
		is_emitting="1" >
	</ParticleEmitterComponent>
	
	<CellEaterComponent
		radius="12"
		eat_dynamic_physics_bodies="1" 
		>
	</CellEaterComponent>

	<AudioComponent
		file="data/audio/Desktop/projectiles.bank"
		event_root="player_projectiles/black_hole"
		set_latest_event_position="1" >
	</AudioComponent>

	<AudioLoopComponent
		file="data/audio/Desktop/projectiles.bank"
		event_name="player_projectiles/black_hole/loop"
		auto_play="1">
	</AudioLoopComponent>

	<LuaComponent
		script_source_file="mods/UnlimitedBlackhole/files/black_hole_gravity.lua"
		execute_every_n_frame="1"
		>
	</LuaComponent>
	
	<VariableStorageComponent
		name="projectile_file"
		value_string="mods/UnlimitedBlackhole/files/customproj.xml"
		>
	</VariableStorageComponent>
</Entity>

