Weapon workshop

The weapon workshop is a room that can be built with Fallout Shelter update 1.4.

Overview
The weapon workshop is a crafting room that unlocks at a vault population of 22 Dwellers. Like the outfit workshop, the weapon workshop is placed as one room that takes up three room spaces.

To increase the speed at which a weapon is produced, place dwellers with the corresponding SPECIAL trait in this room. There is a lower limit on crafting time, preventing it from being reduced below 2:52 using SPECIAL only; it can be further reduced with pet bonuses, however.

Some weapons can only be crafted in the workshop and cannot be found in the wasteland. This is indicated by a crossed wrench and screwdriver on the weapon blueprint in the workshop.

Common weapons
The cost follows the rule below:

$$n_{cost}=\left\lfloor\frac{AverageDamage}{5}\right\rfloor+5$$

The number of required junk follows the rule below:

$$n_{junk}=\left\lceil\frac{AverageDamage}{3}\right\rceil$$

Rare weapons
The cost follows the rule below:

$$n_\text{cost}=?$$

The number of required junk follows the rules below:

$$n_\text{common junk}=\begin{cases} 5, &\text{if}\ \sin\frac{2\pi\times\text{Average Damage}-1}{3}>0, \\ 3, &\text{if}\ \sin\frac{2\pi\times\text{Average Damage}-1}{3}<0, \\ \end{cases}$$ $$n_\text{rare junk}=\left\lfloor\text{Average Damage} \times 0.33 + 0.5\right\rfloor$$

All rare weapons require a rare weapon recipe -

Legendary weapons
All legendary weapons require a legendary weapon recipe -