# 5. Weapon

Instances of the `Weapon` class can be equipped. The equipped weapons deal extra damage when preforming attacks with the `Player.atk` function. Instances of the `Weapon` class is used in conjunction with the `Player.equipweapon` function to add the item to the `Player.weapon_one` and `Player.weapon_one_atk`.

You need to enter two parameters to create a weapon:

* `name`
  * The name of the weapon
* `atk`
  * The extra amount of damage that the weapon deals

#### Usage:

```python
sword = TARBSengine.Weapon("Sharp Sword", 5)
# A sword with the name "Sharp Sword" that deals 5 extra damage when attacking.
```
