|
@@ -35,7 +35,7 @@
|
|
|
:credits 1000
|
|
|
:crew (make-crew :sanity-val 100
|
|
|
:moral-val 100
|
|
|
- :crew-members (list))
|
|
|
+ :crew-members (list (make-uniq-crew-mem)))
|
|
|
:inventory (make-player-inventory :petrofuel 20
|
|
|
:gruel 20
|
|
|
:spice 0
|
|
@@ -43,9 +43,30 @@
|
|
|
:archeotech 0)))))
|
|
|
|
|
|
|
|
|
+(defun new-game ()
|
|
|
+ (progn
|
|
|
+ (init-game-state)))
|
|
|
|
|
|
+(defun game-intro ()
|
|
|
+ (cls)
|
|
|
+ (format t "In the grim darkness of the far future, there is only COMMERCE...~C" #\linefeed)
|
|
|
+ (sleep 2)
|
|
|
+ (format t "You embark across a bleak galaxy to ply your wares and discover untold riches!~C" #\linefeed)
|
|
|
+ (sleep 2)
|
|
|
+ (format t *intro-ship*)
|
|
|
+ (prompt-read ""))
|
|
|
|
|
|
+;; Options for top level menu
|
|
|
+(defvar *top-level-options* "
|
|
|
+Actions:
|
|
|
+1. Sector info
|
|
|
+2. Ship info
|
|
|
+3. Trade
|
|
|
+4. Scout
|
|
|
+5. Leave
|
|
|
+")
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+(defun top-level-game-menu ()
|
|
|
+ (format t *top-level-options*)
|
|
|
+ (let ((option (prompt-read "Enter an option: "))
|
|
|
+ (cond ((eql option '"1") (print "1"))))))
|