Quick Turret Priorities adds a compact side panel to the turret GUI for fast target priority management, preset synchronization across a planet or space platform, and a native zero-UPS asteroid size blacklist.
The mod does not scan enemies, override turret AI, or filter targets in Lua. It only configures native Factorio turret properties when you interact with a turret or build one, and then goes completely idle.
Quick Target Priority Matrix
Toggle target priorities for an entire enemy tier (row) or enemy class (column) in a single click. The matrix adapts automatically to the current planet or space platform, making turret setup fast without tedious one-by-one clicking.

Default Settings for Newly Built Turrets
Enable the Default checkbox for a preset, and every newly placed turret (or ghost) of that type on the surface will automatically receive those filters. This is especially useful in the heat of battle - for example, placing turrets already filtered for spitters or heavy targets without reconfiguring each one manually.

Live Sync, Surface Transfer & Turret Groups
One-Click Transfer Across Surface: copy the current turret's configuration (priorities, ignore toggle, blacklist, and circuit settings) to all matching turrets on the current planet or space platform in a single click - ideal for configuring an entire ship at once.
Live Sync Mode: enable live sync for a group, and any priority or blacklist change on one turret will immediately propagate to all matching turrets in that group on the current surface (especially handy on space platforms).
Independent Turret Groups: if you need different presets for the same turret type on the same surface (such as left flank vs. right flank lasers, or bow vs. stern turrets), create multiple numbered groups. Transfer, Default, and Live Sync all work independently per group.

Native Asteroid Size Blacklist (0 UPS)
In vanilla Factorio, turrets only have a whitelist with an "Ignore unprioritised targets" checkbox. When you use a priority list, the turret searches for targets strictly in list order from top to bottom - even if a closer threat is right in front of it.
To solve this cleanly, the mod generates hidden turret variants (15 variants per turret covering all combinations of Small, Medium, Big, and Huge asteroid tiers). They are completely invisible in crafting, research, signals, and Factoriopedia, and have specific asteroid target masks disabled natively at the engine level (ignore_target_mask).
Clicking the exclude arrow (< Excl.) seamlessly swaps the turret to the matching hidden variant while preserving all wire connections, ammo, fluids, health, kill counts, and settings. After that, the game engine itself ignores the blacklisted asteroid sizes while continuing to shoot the closest valid targets normally - with zero UPS cost.

Performance
- Zero background overhead (0 UPS): no periodic scans, no per-tick loops, no custom targeting scripts.
- All target acquisition and shooting logic remains 100% native Factorio.
- Tested across multiple planets, megabases, and large space platforms.
Safe Mod Removal
Before disabling or removing the mod from an existing save, clear all active asteroid blacklists on your turrets (turning off the exclude toggles restores them to their original vanilla turret prototypes). Otherwise, any turret currently using a blacklisted variant will be removed by Factorio when the mod's hidden prototypes are unloaded.
AI Used
To be transparent with the community: AI was heavily used in the development of this mod.