aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make-switch-placements.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/make-switch-placements.pl b/tools/make-switch-placements.pl
index fef1ed9..fe33c73 100755
--- a/tools/make-switch-placements.pl
+++ b/tools/make-switch-placements.pl
@@ -52,11 +52,14 @@ while (<STDIN>) {
} elsif ($name =~ /^creative(\d+)-(\d+)$/) {
my ($s, $n) = ($1, $2);
$x = 973 + 52 * $n;
- $y = int(160 + 22.2 * $s);
+ $y = int(138 + 22.2 * $s);
$xx = $x + 52;
$yy = $y + 14;
if ($s == 2 && $n == 1) {
+ $xx += 10;
+ }
+ if ($s == 3 && $n == 1) {
$xx += 20;
}
} elsif ($name =~ /^crew(\d+)-(\d+)$/) {