Function veloren_common::comp::inventory::item::modular::generate_weapon_primary_components
source ยท pub fn generate_weapon_primary_components(
tool: ToolKind,
material: Material,
hand_restriction: Option<Hands>,
) -> Result<Vec<(Item, Option<Hands>)>, ModularWeaponCreationError>
Expand description
Generate all primary components for specific tool and material.
Read random_weapon_primary_component for more.