trinket/items.go

21 lines
371 B
Go

package main
//Weapon creates type for general weapons
type Weapon struct {
Name string
Damage int
Active bool
}
var (
//Broadsword defines attributes of weapon Bradsword
Broadsword = Weapon{
Name: "Broadsword",
Damage: 5,
Active: false}
//GoblinClaw defines attributes of weapon GoblinClaw
GoblinClaw = Weapon{
Name: "Goblin Claw",
Damage: 5}
)