<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:generic:version{7412167c-06e9-4698-aff2-e63eb59037e7} -->
{
	type = "decorator_sensor"
	shape =
	{
		type = "sensor_shape_sphere"
		radius = 3000
	}
	entity_type_filter = "CLASSNAME"
	orphan_only = 1
	output = "Bombs"
	class_name = "weapon_c4"
	priority = 1
	child = 
	{
		type = "decorator_ranker_dist"
		input = "Bombs"
		child =
		{
			type = "decorator_picker_max_score"
			input = "Bombs"
			child =
			{
				type = "condition_is_empty"
				input = "Bombs"
				negated = 1
				child =
				{
					type = "decorator_try_lock"
					domain = "'PickupBombIfNearby'"
					child =
					{
						type = "action_move_to"
						destination = "Bombs"
						movement_type = "BT_ACTION_MOVETO_RUN"
						route_type = "BT_ACTION_MOVETO_FASTEST_ROUTE"
						hiding_spot = "HidingSpot"
						threat = "NearestThreatMemory"
						nearest_area_distance_threshold = 20
					}
				}
			}
		}
	}
}
