Get

Returns the weapon's weapon type <string>. Error if object is not a weapon. See weapon_class table.

Set

Set the weapon's weapon type <string>. Error if object is not a weapon. See weapon_class table.