Module modular

Structs§

MaterialStatManifest
PRIMARY_COMPONENT_POOL

Enums§

ModularBase
ModularComponent
ModularWeaponComponentKeyError
ModularWeaponCreationError
WeaponName

Functions§

compatible_handedness
Check if hand restrictions are compatible.
generate_weapon_primary_components
Generate all primary components for specific tool and material.
generate_weapons
modify_name
random_weapon
Creates a random modular weapon when provided with a toolkind, material, and optionally the handedness
random_weapon_primary_component
Creates a random modular weapon primary component when provided with a toolkind, material, and optionally the handedness
weapon_component_to_key
weapon_to_key

Type Aliases§

ModularWeaponComponentKey
This is used as a key to uniquely identify the modular weapon in asset manifests in voxygen (Main component, material)
ModularWeaponKey
This is used as a key to uniquely identify the modular weapon in asset manifests in voxygen (Main component, material, hands)