From 3f3bc476993e9ca4e64404cef1fdc4bd1aed4d97 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 11 Mar 2018 14:38:26 +0100 Subject: ... --- view.go | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 view.go (limited to 'view.go') 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 +} -- cgit v1.2.3