Well, that being the case, I would like to say first off, ARRRRR!  :)

Making thousands of weapons is a thankless task.  When you eventually 
get around to that, you will want a few basic weapons

guns: piston, rifle, blunderbus, flintlock, etc
swords: cutlass, longsword, short sword, etc
knives: dagger, stiletto, throwing knife, etc
blunt: sap, club, belaying pin, etc.
etc, etc

Under each weapon, you will have the other parts:
is it usable at range?
plus to hit
plus to damage
special (magical) effects
etc.

Then, you can make a list of items in a database and not have to hand 
craft each one.  You might write a routine that rates each weapon's 
characteristics and randomly generates weapons with a certain value and 
only players of some level can properly use a weapon like that.

This is the kind of thing that makes object oriented coding so useful.

Anyway, I wish you well with this.

-- 
Posted via http://www.ruby-forum.com/.