summaryrefslogtreecommitdiff
path: root/view.go
blob: 94ea1efb6301c5ecb695ce7efbb2709ec68e0122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package main

type CharacterSheet struct {
	Name  string
	Race  string
	Class string
	Level int
}

type Stats struct {
	STR        int
	CON        int
	DEX        int
	INT        int
	WIS        int
	CHA        int
	HPMax      int
	MPMax      int
	Expirinece int
	SpellBook  []Spell
}

type Spell struct {
	Spell string
	Level int
}

type Equpments struct {
	Weapon      Equpment
	Shield      Equpment
	Helm        Equpment
	Hauberk     Equpment
	Brassairts  Equpment
	Vambraces   Equpment
	Gauntlets   Equpment
	Gambeson    Equpment
	Cuisses     Equpment
	Greaves     Equpment
	Sollerets   Equpment
	Gold        int
	Inventory   []Item
	Encumbrance int
}

type Equpment struct {
	Level int
	Name  string
}

type Item struct {
	Name     string
	Quantity int
}

type PlotDevelopment struct {
	Chapters []Chapter
	Quests   []Chapter
}

type Chapter struct {
	Done     bool
	Title    string
	Progress int
}