summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-14 16:54:14 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-24 21:06:18 +0200
commit1b23caef2dc7e591b412cd656096bada0ddd8f28 (patch)
tree4741df141137bdc25ed98ff4e3ce8d71f09a31b7
parentbcfe205056fb1024197207cc3e47c0a061ef46f5 (diff)
downloadred-flag-over-paris-1b23caef2dc7e591b412cd656096bada0ddd8f28.tar.gz
Censorship Phase as option, not scenario.
-rw-r--r--about.html2
-rw-r--r--create.html3
-rw-r--r--rules.js4
3 files changed, 6 insertions, 3 deletions
diff --git a/about.html b/about.html
index 5903f5f..1593170 100644
--- a/about.html
+++ b/about.html
@@ -18,6 +18,6 @@ Copyright &copy; 2021
<ul>
<li><a href="/red-flag-over-paris/info/rules.html">Rules</a>
<li><a href="/red-flag-over-paris/info/playbook.html">Playbook</a>
-<li><a href="/red-flag-over-paris/info/pac.html">Player Aids</a>
+<li><a href="/red-flag-over-paris/info/censorship.html">Quick Reference</a>
<li><a href="/red-flag-over-paris/info/cards.html">Cards</a>
</ul>
diff --git a/create.html b/create.html
index e69de29..bcd5a34 100644
--- a/create.html
+++ b/create.html
@@ -0,0 +1,3 @@
+<p>
+<label><input type="checkbox" name="censorship" value="true">Censorship Phase variant</label>
+</p>
diff --git a/rules.js b/rules.js
index ffb1d19..4774507 100644
--- a/rules.js
+++ b/rules.js
@@ -10,7 +10,7 @@ const VERSAILLES = "Versailles"
var game, view, states = {}
-exports.scenarios = [ "Standard", "Censorship" ]
+exports.scenarios = [ "Standard" ]
exports.roles = [ COMMUNE, VERSAILLES ]
@@ -3283,7 +3283,7 @@ exports.setup = function (seed, scenario, options) {
log_h1("Red Flag Over Paris")
- if (scenario === "Censorship") {
+ if (options.censorship) {
log("Censorship Phase Variant.")
game.censorship = 1
}