diff options
-rw-r--r-- | play.js | 6 | ||||
-rw-r--r-- | rules.js | 3 |
2 files changed, 0 insertions, 9 deletions
@@ -871,13 +871,10 @@ const die = { function on_log(text, ix) { let p = document.createElement("div") - console.log('text', text) let event_string = text.match(/^C(\d+)/) - console.log('event_string', event_string) if (event_string) event_n = parseInt(event_string[1]) - console.log('event_n', event_n) if (text.match(/^>>/)) { text = text.substring(2) @@ -897,7 +894,6 @@ function on_log(text, ix) { text = text.replace(/%(\d+)/g, sub_space_name) text = text.replace(/D[1-6]/g, sub_die) - console.log('text', text) if (text.match(/^\.h1/)) { text = text.substring(4) p.className = "h1" @@ -923,12 +919,10 @@ function on_log(text, ix) { } //Group events -console.log('text', text, 'ix', ix, 'log_event', log_event, 'event_side', event_side) // Reset group box counters (when log is rewound) if (ix <= log_event) log_event = 0 if (!scoring_cards.includes(event_n)) { - console.log('applying group') if (text.match(/^.E:/)) { p.classList.add("h2") log_event = ix @@ -4210,10 +4210,8 @@ function log_event(n) { } function log_br() { - console.log('log_br_called') if (game.log.length > 0 && game.log[game.log.length - 1] !== "") { game.log.push("") - console.log('space added') } } @@ -4786,7 +4784,6 @@ function vm_add_infl_free() { function vm_add_x_infl() { game.vm_available_ops = vm_operand(1) - console.log('game.vm_event', game.vm_event, 'game.vm.prompt',game.vm.prompt, event_prompt()) if (!(game.vm_event === C_PUBLIC_AGAINST_VIOLENCE && event_prompt() === 'Presov')) log('Placed SP:') |