diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -986,6 +986,10 @@ function on_update() { ui.shaded_event.classList.toggle("action", !!(view.actions && view.actions.shaded === 1)) ui.unshaded_event.classList.toggle("action", !!(view.actions && view.actions.unshaded === 1)) + // Dynasty card + if (view.succ > 0) + ui.dynasty_card.className = "card card_dynasty_tughlaq" + layout_score() let items = [ ] @@ -1521,6 +1525,10 @@ function on_log(text) { text = text.substring(3) p.className = "indent italic" } + else if (text.match(/^\.e/)) { + text = text.substring(3) + p.className = "italic" + } else if (text.match(/^\.ad/)) { text = text.substring(4) p.className += " adice" |