|
@@ -1,11 +1,10 @@
|
|
|
;;; SHIP INFO ;;;
|
|
|
-(defun display-crew ()
|
|
|
- (let* ((crew (crew-crew-members (player-ship-crew *player-ship*)))
|
|
|
- (crew-names
|
|
|
- (loop for member in crew-struct
|
|
|
- collect (list (uniq-crew-mem-name member) NIL NIL))))
|
|
|
+(defun display-crew (player-ship-obj)
|
|
|
+ (let ((crew-names
|
|
|
+ (loop for member in (crew-members (crew player-ship-obj))
|
|
|
+ collect (list (name member)))))
|
|
|
(format T "~%CREW DETAILS~%~%")
|
|
|
- (format-table T (list (list (crew-sanity-val (player-ship-crew *player-ship*)))) :column-label '("Sanity"))
|
|
|
+ (format-table T (list (list (sanity-val (crew player-ship-obj)))) :column-label '("Sanity"))
|
|
|
(format T "~%")
|
|
|
(format-table T crew-names :column-label '("Name" "Buff" "Buff Amount"))))
|
|
|
|