summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/play.js b/play.js
index 06fb3e8..befa0f3 100644
--- a/play.js
+++ b/play.js
@@ -833,6 +833,16 @@ function create_support_buttons(region) {
e.style.top = y + "px"
e.style.left = x + "px"
}
+ if (region === ITALIA) {
+ [ x0, y0 ] = BOXES["Italia Support 2"]
+ for (let i = 5; i <= 7; ++i) {
+ let x = Math.floor(-1 + x0 + (i-5) * 51.6666)
+ let y = (-1 + y0)
+ let e = create_thing({ className: "support s" + i, my_action: "support", my_id: (region << 3) + i })
+ e.style.top = y + "px"
+ e.style.left = x + "px"
+ }
+ }
}
function is_action(action, arg) {