pub fn random_weapon(
    tool: ToolKind,
    material: Material,
    hand_restriction: Option<Hands>,
    rng: &mut impl Rng,
) -> Result<Item, ModularWeaponCreationError>
Expand description

Creates a random modular weapon when provided with a toolkind, material, and optionally the handedness