summaryrefslogtreecommitdiff
path: root/view.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-03-11 14:38:26 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-03-11 14:38:26 +0100
commit3f3bc476993e9ca4e64404cef1fdc4bd1aed4d97 (patch)
treef1a6c0dac7c44fae4ac47704dfd97656efd038bd /view.go
parentd457a952eceb1698b2d71f5d9ec80736be423824 (diff)
...
Diffstat (limited to 'view.go')
-rw-r--r--view.go64
1 files changed, 64 insertions, 0 deletions
diff --git a/view.go b/view.go
new file mode 100644
index 0000000..94ea1ef
--- /dev/null
+++ b/view.go
@@ -0,0 +1,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
+}