From 0d8d9b02b00d9872259ed0ee6308ed6dd2fd3893 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 15 Apr 2014 23:27:47 +0200 Subject: Funky creative changes. --- tools/make-switch-placements.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') 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 () { } 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+)$/) { -- cgit v1.2.3