In the book on page 121, The number of customizations a weapon or set of armor can support is based on its size and quality (see page 111)
The quality chart is pretty clear, what I am having trouble finding is the based on size part, I cant seem to find the page that say's how many upgrade's a...