aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorroot <root@frank.tg14.gathering.org>2014-04-15 23:27:47 +0200
committerroot <root@frank.tg14.gathering.org>2014-04-15 23:27:47 +0200
commit0d8d9b02b00d9872259ed0ee6308ed6dd2fd3893 (patch)
tree7f644c38dc9a9509551156adfb14d0296b3cad9c /tools
parentda4f901c6b6d8fa916657ce2f7a678936c05d75d (diff)
Funky creative changes.
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+)$/) {