summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/play.js b/play.js
index 80acf4f..9ad4ede 100644
--- a/play.js
+++ b/play.js
@@ -1716,6 +1716,14 @@ function on_log(text) {
p.className = "q"
text = political_cards[text.substring(1)].flavor
}
+ else if (text.startsWith("{")) {
+ p.className = "deal"
+ text = text.substring(1)
+ }
+ else if (text.startsWith("}")) {
+ p.className = "deal rejected"
+ text = text.substring(1)
+ }
p.innerHTML = text
return p