Versions in this module Expand all Collapse all v1 v1.2.3 Jul 18, 2022 v0 v0.1.0 Jul 18, 2022 Changes in this version + const ArmorTypeCloth + const ArmorTypeLeather + const ArmorTypePlate + const CombaTypeRanged + const CombatTypeMagic + const CombatTypeMelee + var CharacterTemplates = []CharacterTemplate + type ArmorType string + type Attribute struct + Name string + Short string + Value int32 + func NewAttribute(name, short string, value int32) Attribute + type Attributes []Attribute + type Character struct + AllTimeStats struct{ ... } + Attributes Attributes + Class Class + Created time.Time + CurrentHitPoints int32 + Description string + EquippedItems map[items.ItemSlot]*items.Item + Inventory Inventory + Level int32 + MaxHitPoints int32 + Name string + Race Race + XP int32 + type CharacterTemplate struct + TemplateID int32 + type Class struct + ArmorType ArmorType + CombatType CombatType + Description string + ID string + Name string + var ClassRanger Class = Class{ ... } + var ClassWarrior Class = Class{ ... } + var ClassWizard Class = Class{ ... } + type CombatType string + type Inventory struct + Items []*items.Item + Size int32 + type Race struct + Description string + Heritage string + ID string + Name string + var RaceDwarf Race = Race{ ... } + var RaceElve Race = Race{ ... } + var RaceHuman Race = Race{ ... }