diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-08 23:57:27 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-09 00:00:50 +0100 |
commit | 4d665cde4571c4621c6a0779e8b83f9bd10abb05 (patch) | |
tree | 0d4cb9ff498249b17dd8bb7c7c4eef3df0b4632b /play.js | |
parent | f15dd0c0842cb3944ebc006da5b135cea6eed7b2 (diff) | |
download | maria-4d665cde4571c4621c6a0779e8b83f9bd10abb05.tar.gz |
log deals
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |