summaryrefslogtreecommitdiff
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
parentd457a952eceb1698b2d71f5d9ec80736be423824 (diff)
...
-rw-r--r--orig/pq.pngbin0 -> 64527 bytes
-rw-r--r--queue.go13
-rw-r--r--view.go64
3 files changed, 77 insertions, 0 deletions
diff --git a/orig/pq.png b/orig/pq.png
new file mode 100644
index 0000000..bfa0d06
--- /dev/null
+++ b/orig/pq.png
Binary files differ
diff --git a/queue.go b/queue.go
index 11b9aa8..f854de5 100644
--- a/queue.go
+++ b/queue.go
@@ -7,6 +7,11 @@ type Type int
const (
Task Type = iota
Plot
+ Heading
+ Kill
+ Market
+ Sell
+ Byuing
)
type Queue struct {
@@ -14,3 +19,11 @@ type Queue struct {
Duration int
Title string
}
+
+func Dequeue(q Queue) {
+ switch q.Type {
+ case Kill:
+ case Byuing:
+ case Market, Sell:
+ }
+}
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
+}