summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-18 21:39:44 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commitc47caec0057dce0466af20d84e02ffb9dcf6aa2c (patch)
treeac3d3a9fd8f6757b47e4d1fb66d9e2543db98502 /rules.js
parent2629cba9b8f8a48e5fb96333da42760ce040221a (diff)
downloadandean-abyss-c47caec0057dce0466af20d84e02ffb9dcf6aa2c.tar.gz
Rename LoCs.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/rules.js b/rules.js
index 71d6a52..d820f3d 100644
--- a/rules.js
+++ b/rules.js
@@ -195,12 +195,12 @@ const ECUADOR = 27
const PANAMA = 28
// LoCs
-const CUCUTA_AYACUCHO = data.space_name.indexOf("Cúcuta / Ayacucho")
-const CUCUTA_ARAUCA = data.space_name.indexOf("Cúcuta / Arauca")
-const PASTO_TUMACO = data.space_name.indexOf("Pasto / Tumaco")
-const CALI_BUENAVENTURA = data.space_name.indexOf("Cali / Buenaventura")
-const CARTAGENA_SINCELEJO = data.space_name.indexOf("Cartagena / Sincelejo")
-const SANTA_MARTA_CARTAGENA = data.space_name.indexOf("Santa Marta / Cartagena")
+const AYACUCHO_CUCUTA_LOC = data.space_name.indexOf("Ayacucho-Cúcuta LoC")
+const ARAUCA_CUCUTA_LOC = data.space_name.indexOf("Arauco-Cúcuta LoC")
+const PASTO_TUMACO_LOC = data.space_name.indexOf("Pasto-Tumaco LoC")
+const BEUNAVENTURA_CALI_LOC = data.space_name.indexOf("Buenaventura-Cali LoC")
+const CARTAGENA_SINCELEJO_LOC = data.space_name.indexOf("Cartagena-Sincelejo LoC")
+const CARTAGENA_SANTA_MARTA_LOC = data.space_name.indexOf("Cartagena-Santa Marta LoC")
exports.roles = function (scenario) {
if (scenario.startsWith("2P"))
@@ -952,10 +952,10 @@ function is_coastal_space(s) {
s === NARINO ||
s === PANAMA ||
s === ECUADOR ||
- s === PASTO_TUMACO ||
- s === CALI_BUENAVENTURA ||
- s === CARTAGENA_SINCELEJO ||
- s === SANTA_MARTA_CARTAGENA
+ s === PASTO_TUMACO_LOC ||
+ s === BEUNAVENTURA_CALI_LOC ||
+ s === CARTAGENA_SINCELEJO_LOC ||
+ s === CARTAGENA_SANTA_MARTA_LOC
)
}
@@ -965,7 +965,7 @@ function is_next_to_ecuador(s) {
s === PASTO ||
s === PUTUMAYO ||
s === ARAUCA ||
- s === PASTO_TUMACO
+ s === PASTO_TUMACO_LOC
)
}
@@ -977,8 +977,8 @@ function is_next_to_venezuela(s) {
s === ARAUCA ||
s === VICHADA ||
s === GUAINIA ||
- s === CUCUTA_AYACUCHO ||
- s === CUCUTA_ARAUCA
+ s === AYACUCHO_CUCUTA_LOC ||
+ s === ARAUCA_CUCUTA_LOC
)
}