Mini-turret

The mini-turret is a stationary defense mechanism which fires at incoming enemies.
== Acquisition ==
Alternatively, turrets can be uninstalled and looted from various world sites.
== Summary ==
Mini-turrets automatically shoot at enemies within range so long as they are powered and have sufficient ammunition. They only shoot at enemies of their faction, including manhunting animals but not animals hunting pawns or faction animals for food. They are capable of friendly fire. The mini-turret uses the mini-turret gun weapon. In addition to the weapon's accuracy, the turret itself has a per-tile shooting accuracy of 96% or equivalent to a Shooting skill of 8. It fires a 2-round burst, with no need for warmup, but with a slow 4.8 second cooldown. It has a maximum range of tiles.
After firing 60 rounds, it needs to be reloaded with steel by a hauler. This can be adjusted in the storyteller settings, but all default difficulty settings do not alter this.
Mini-turrets do benefit from cover, following the usual rules of adjacency and angle. The long-standing bug regarding this mechanic has since been resolved as confirmed through empirical testing.
Like all turrets, they cannot target any pawn that has one or more tiles of blind smoke between the turret and them and are temporarily disabled by sources of EMP, with downtime scaling to the EMP damage dealt. Unlike mechanoids, turrets do not adapt to EMP and thus can be continuously restunned.
=== Explosion ===
Mini-turrets have a 50% chance to explode when damaged below 20% health. The exploding turret will spark and emit a hissing sound for before exploding, dealing 50 Bomb damage in a 3.9 tile radius. Bomb damage is multiplied against walls, against other impassable structures and plants, and against passable buildings. All nearby raiders will attempt to move out of the blast radius before detonation.
== Analysis ==
A single turret isn't much firepower. Each mini-turret is roughly equal to a good short bow or normal recurve bow shot with 8 Shooting skill. Even when massed up, turrets are unlikely to handle raids on their own. But they can be useful.
* In large numbers, turrets do add up. A group of turrets, when combined with colonists, can make a meaningful difference.
* Mini-turrets are great as decoys. If a turret is closer to an enemy, enemies will often target it over your colonists. It's better for a doomsday rocket launcher to hit a turret than a colonist. Turning a turret's power off (such as with a power switch) will prevent manhunters from attacking them.
: Turrets can also be used as explosive bait. While IED traps are generally more efficient, a turret that happens to explode will severely damage any enemy in melee range.
Killbox structures are natural fits for turrets. Killboxes funnel enemies into 1 place, allowing you to take full advantage of your turrets' firepower. In a killbox or not, you'll want to place turrets at least 4 tiles apart. Otherwise, a single explosion can cause a chain reaction, and destroy all your mini-turrets.
Enemies that are unusually clever, as well as sappers in general, will try and avoid a turret's line of sight. While this might seem like a bad thing, a lategame colony can place mini-turrets where you don't want sappers or breachers to go. Even if your main killbox uses turrets, you can place another, turret-less killbox near your colonist's bedrooms in order to lure sappers in.
=== Material selection === 
Generally, it should be expected for mini-turrets to be replaced with some frequency, however more durable materials will significantly reduce the loss rate. Steel is the most viable option early-game, but steel turrets aren't durable and won't survive sustained firepower. The most effective material is nominally plasteel. It has the most and is non-flammable. However, it is relatively high cost and is typically in high demand in armor, bionics, etc. Uranium is commonly received as a quest reward and is significantly less in demand, while offering similar performance. 
As mini-turrets only require stuff, the cost of upgrading is relatively minor. Not including work to build, uranium only increases the cost by while making the mini-turret significantly less likely to be destroyed. If the upgrade prevents destruction a single time, it has more than paid for itself. Should mini-turrets be retained past the early game, it is strongly suggested to upgrade them to uranium. Notably, either Uranium and Plasteel are required to withstand a single standard explosion without destruction, and the effect of the chance to wick at 20% health further incentivizes higher HP pools. 
=== Images ===
File:SteelTurret.png|Steel Mini-Turret
File:PlasteelTurret.png|Plasteel Mini-Turret
File:UraniumTurret.png|Uranium Mini-Turret
File:SilverTurret.png|Silver Mini-Turret
File:GoldenTurret.png|Golden Mini-Turret
== Graphs ==
over Range
== Version history ==
* 0.2.363 - Made turret look and sound weak to match its functionality.
* Alpha 3 - Auto-turret renamed to Improvised Turret.
* 0.19.2009 - Renamed from Improvised turret to mini-turret. Power decreased from 350W and cost decreased, but now requires barrel changes.
* 1.1 - Nerfed to fire a 2-round burst, down from 3.
* 1.1.0 - Placing turrets now shows min and max range, not just max range.
* 1.1.2569 - Range increased from 25 to 29.
* 1.1.2618 - Reload cost was doubled and the fuel capacity was halved, while the damage was increased to 11 from 10.
* 1.3.3200 - Damage increased from 11 to 12. Accuracy increased: touch 0.7 -> 0.77, short 0.64 -> 0.7, medium 0.41 -> 0.45, long 0.22 -> 0.24. Turret ammo cost is no longer factored by difficulty (previously: Adventure Story and below reduced cost).
* Between 1.3.3117 and 1.4.3580 - Turrets now properly benefit from cover. Despite displaying in the mouse-over box as such, empirical testing demonstrated that mini-turrets did not benefit at all.https://i.imgur.com/mq4aojR.mp4
AutoTurret.png|Original sprite of the auto-turret and improvised turret.
== References ==
Category:Security Category:Turret