{ 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 } } } } } }