summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-07-18 23:20:18 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-07-27 17:15:45 +0200
commit1591de13bba97142b92dd8e204b3ed52cf021b38 (patch)
tree647cbf6c9a012a440be20f38de351018e5960181
parent8d0c58e6ce871f7e95221f6ab9e18fc135b97702 (diff)
player: Add action key trigger and message selection triggers.
-rw-r--r--scenes/game.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/scenes/game.scm b/scenes/game.scm
index 7ad5bde..a889f73 100644
--- a/scenes/game.scm
+++ b/scenes/game.scm
@@ -83,6 +83,8 @@
(define-class <player> (<character>)
(previous-key-presses #:accessor previous-key-presses #:init-form (list))
+ (selecting-message? #:accessor selecting-message? #:init-form #f)
+ (action-held #:accessor action-held #:init-form #f)
(lifetime #:accessor lifetime #:init-form 100)
(happiness #:accessor happiness #:init-form 50)
(weight #:accessor weight #:init-form 50)