summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-17 11:55:50 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-17 12:33:27 +0200
commit178b18109b94c267da5ccb9d48f28057ca65ddcd (patch)
tree180610d40453969640b67267a8e6442b484883af
parent4cff28dd701bbf64b856260d0969e2d65ea0657a (diff)
downloadfield-cloth-gold-178b18109b94c267da5ccb9d48f28057ca65ddcd.tar.gz
Remove cruft.
-rw-r--r--rules.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/rules.js b/rules.js
index 25a35e0..eb91a10 100644
--- a/rules.js
+++ b/rules.js
@@ -45,28 +45,6 @@ const TILE_RED = 36
const TILE_GREEN = 48
const TILE_UNKNOWN = 60
-const COUNT_NAME = [
- "no",
- "one",
- "two",
- "three",
- "four",
- "five",
- "six",
- "seven",
- "eight",
- "nine",
- "ten",
- "eleven",
- "twelve",
-]
-
-function count_name(n) {
- if (n > 12)
- return String(n)
- return COUNT_NAME[n]
-}
-
function space_name(s) {
switch (s) {
case S_DRAGON_1: return "Dragon"
@@ -80,12 +58,6 @@ function space_name(s) {
}
}
-const XTILE_NAME_UC = [ "Gold", "Blue", "White", "Red", "Green" ]
-const XTILE_NAME_LC = [ "gold", "blue", "white", "red", "green" ]
-
-const TILE_NAME_UC = [ "Cloth", "Beasts", "Piety", "Tournaments", "Jewels" ]
-const TILE_NAME_LC = [ "cloth", "beasts", "piety", "tournaments", "jewels" ]
-
const TILE_NAME_CODE = [ "G", "B", "W", "R", "J", "K" ]
const TILE_NAME_CODE_X = [ [], [], [], [], [], [] ]
@@ -295,12 +267,6 @@ exports.setup = function (seed, scenario, options) {
// === HANDS AND COURTS ===
-function rival_name() {
- if (game.active === RED)
- return BLUE
- return RED
-}
-
function rival_court() {
if (game.active === RED)
return game.blue_court