diff --git a/dev/catise.py b/dev/catise.py new file mode 100755 index 00000000..f24bdf3b --- /dev/null +++ b/dev/catise.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +comment = False +while True: + line = None + try: + line = input() + except: + pass + if line is None: + break + if line == '$$$': + comment = not comment + continue + if comment: + continue + line = line.replace('$\\$', '\\').replace('$/$', '/').replace('$X$', 'X'); + if line.startswith('$balloon'): + line = line[len('$balloon'):] + balloon = line[:line.find('$')] + line = line[len(balloon) + 1:] + for alpha in 'qwertyuiopasdfghjklzxcvbnm': + balloon = balloon.replace(alpha, ',') + balloon = balloon.split(',')[0] + if len(balloon) == 0: + line = '\033[01;33;41m%s\033[00m' % (50 * '/') + line + else: + line = '\033[42m%s\033[00m' % (int(balloon) * ' ') + line + print(line) + + diff --git a/extraponies/artemis.pony b/extraponies/artemis.pony index 1b816b96..1d0cb1d1 100644 --- a/extraponies/artemis.pony +++ b/extraponies/artemis.pony @@ -29,11 +29,11 @@ purposes, all without asking permission. See Other Information below. http://creativecommons.org/publicdomain/zero/1.0/legalcode $$$ -$balloon46$ - $\$  - $\$  - $\$  - ▄▄▄▄ ▄▀ +$balloon28$ + $\$  + $\$  + $\$  + $\$ ▄▄▄▄ ▄▀ ▄▄ ▄▄▄▄████▄▄▄▄▄▄▄ ▄▄▄  █▄▄▄▄█████████████▄███▄▄█▄▀  ▀▄██████████████▄▄██████▄██  diff --git a/extraponies/bubbleberry.pony b/extraponies/bubbleberry.pony index 4647683a..0666efc7 100644 --- a/extraponies/bubbleberry.pony +++ b/extraponies/bubbleberry.pony @@ -17,11 +17,11 @@ WIDTH: 46 HEIGHT: 25 $$$ -$balloon12$ - $\$  - $\$  - $\$  - ▄▄▄▄ ▄▄▄▄▄▄▄  +$balloon9$ + $\$  + $\$  + $\$  + ▄▄▄▄$\$ ▄▄▄▄▄▄▄  ▄▄██▄▄█▄█████▄▄▄▄▄▄▄  ███▄█▄██▄▄▄▄▄▄█▄▄▄████  ███▄▀ ▀▄█▄▄██▄███▄▄████  diff --git a/extraponies/butterscotch.pony b/extraponies/butterscotch.pony index 22bf5024..e393a67b 100644 --- a/extraponies/butterscotch.pony +++ b/extraponies/butterscotch.pony @@ -18,11 +18,11 @@ WIDTH: 39 HEIGHT: 25 $$$ -$balloon28$ - $\$  - $\$  - $\$  - ▄▄▄▄▄▄▄▄▄  +$balloon26$ + $\$  + $\$  + $\$  + $\$▄▄▄▄▄▄▄▄▄  ▄▄▄█▄▄█▄▄▄▄███  ▄▄███▄▄██████▄▄█  ▄▄▄ ▄▄▄▄ ▄▄████▄▄▄▄▄▄▄█▄██▀  diff --git a/extraponies/doctor.pony b/extraponies/doctor.pony index 695a4130..741a5db3 100644 --- a/extraponies/doctor.pony +++ b/extraponies/doctor.pony @@ -20,7 +20,7 @@ WIDTH: 42 HEIGHT: 30 $$$ -$balloon$ +$balloon6$ $\$  $\$  $\$  diff --git a/extraponies/drhooves11.pony b/extraponies/drhooves11.pony index 0dcdb0cf..b8566a6a 100644 --- a/extraponies/drhooves11.pony +++ b/extraponies/drhooves11.pony @@ -17,10 +17,10 @@ WIDTH: 43 HEIGHT: 24 $$$ -$balloon15$ - $\$  - $\$  - $\$  +$balloon11$ + $\$  + $\$  + $\$  ▄▄▄▄ ▄▄▄▄█▄▄  ▄▄▄▄███▄▄█▄█▄▄▄█▄▄  ▄▄█████▄▄▄▄▄▄███▄▄█▄▄  diff --git a/extraponies/drhooves2.pony b/extraponies/drhooves2.pony index 70ac4946..a60b742f 100644 --- a/extraponies/drhooves2.pony +++ b/extraponies/drhooves2.pony @@ -22,7 +22,7 @@ $balloon5$ $\$  $\$  $\$  - ▀█▄▄██▄▄▄▄  + $\$▀█▄▄██▄▄▄▄  ▄▄▄▄██████▄▄▄▄▄  ▄████████▄███▄▄██  ▄▄███▄▄██▄▄███████  diff --git a/extraponies/drhooves3.pony b/extraponies/drhooves3.pony index cd424832..9b6bff2a 100644 --- a/extraponies/drhooves3.pony +++ b/extraponies/drhooves3.pony @@ -22,7 +22,7 @@ $balloon5$ $\$  $\$  $\$  - █▄▄ ▄▄▄ ▄▄▄  + $\$█▄▄ ▄▄▄ ▄▄▄  ▄▄▄▀██▄▄███▄▄▄▄███▄▄  ▄▄███▄▄███▄▄████▄▄▄████  ███▄███████▄▄█▄██████▄▀  diff --git a/extraponies/drhooves4.pony b/extraponies/drhooves4.pony index d1c97248..5b3d5e09 100644 --- a/extraponies/drhooves4.pony +++ b/extraponies/drhooves4.pony @@ -22,8 +22,8 @@ $balloon5$ $\$  $\$  $\$  - █▄▄ ▄▄▄▄▄▄  - ▀▄▄▄▄█▄▄▄██▄▄  + $\$█▄▄ ▄▄▄▄▄▄  + $\$▀▄▄▄▄█▄▄▄██▄▄  ▄▄▄▄▄▄██▄▄█▄▄▄▄▄▄  ▄█▄▄▄█▄▄███▄▄▄▄███  █▄██▄▄██▄██████▄█▀  diff --git a/extraponies/drhooves7.pony b/extraponies/drhooves7.pony index 6b2dcf87..c2a39dc1 100644 --- a/extraponies/drhooves7.pony +++ b/extraponies/drhooves7.pony @@ -18,11 +18,11 @@ WIDTH: 33 HEIGHT: 25 $$$ -$balloon10$ - $\$  - $\$  - $\$  - ▄▄▄▄▄▄▄▄  +$balloon6$ + $\$  + $\$  + $\$  + $\$ ▄▄▄▄▄▄▄▄  ▄▄███▄▄▄██▄▄  █▄▄▄▄▄█▄████████  ▀▄▄▄██████▄█▄▄▄▄  diff --git a/extraponies/drhooves8.pony b/extraponies/drhooves8.pony index 5148edee..8830d2bf 100644 --- a/extraponies/drhooves8.pony +++ b/extraponies/drhooves8.pony @@ -18,11 +18,11 @@ WIDTH: 37 HEIGHT: 24 $$$ -$balloon9$ - $\$  - $\$  - $\$  - ▄▄▄▄▄██▄▄█▄▄▄  +$balloon5$ + $\$  + $\$  + $\$  + $\$ ▄▄▄▄▄██▄▄█▄▄▄  ▄▄██▄████▄▄▄████  █▄▄▄██▄█▄▄█▄▄████  ▄▄███▄▄▄▄▄█▄███████  diff --git a/extraponies/drhooves9.pony b/extraponies/drhooves9.pony index db879352..48783fb2 100644 --- a/extraponies/drhooves9.pony +++ b/extraponies/drhooves9.pony @@ -18,11 +18,11 @@ WIDTH: 32 HEIGHT: 23 $$$ -$balloon12$ - $\$  - $\$  - $\$  - █▄▄▄  +$balloon7$ + $\$  + $\$  + $\$  + $\$ █▄▄▄  ▄▄▄▄▄▄▄██▄██  ▄█▄▄▄▄██▄██▄█  █████▄▄▄▄▄██▄▄  diff --git a/extraponies/duskshine.pony b/extraponies/duskshine.pony index 25866231..ffdc0c1d 100644 --- a/extraponies/duskshine.pony +++ b/extraponies/duskshine.pony @@ -19,11 +19,11 @@ WIDTH: 38 HEIGHT: 25 $$$ -$balloon30$ - $\$  - $\$  - $\$  - ▄▄▄▄█  +$balloon25$ + $\$  + $\$  + $\$  + $\$ ▄▄▄▄█  ▄▄▄▄▄▄▄▄█▄▄▄▄▄▄█  █▄█████▄▄█▄▄▄▄▄▄██  ▄▄██▄█▄▄▄█▄▄████▄▄  diff --git a/extraponies/fillistia.pony b/extraponies/fillistia.pony index ede57966..73212036 100644 --- a/extraponies/fillistia.pony +++ b/extraponies/fillistia.pony @@ -21,13 +21,13 @@ WIDTH: 47 HEIGHT: 27 $$$ -$balloon25$ - $\$  - $\$  - $\$  - $\$  - $\$ ▄ ▄▄ ▄█  - $\$ ▄▄▄▄▄▄█▄▄▄▄▄█▄  +$balloon31$ + $\$  + $\$  + $\$  + $\$  + $\$ ▄ ▄▄ ▄█  + ▄▄▄▄▄▄█▄▄▄▄▄█▄  ██▄▄▄▄▄███▄▄█▄█▄▄ ▄▄▄▄▄███▄▄▄▄██████ █▄████▄▄█▄▄▄▄▄▄███ diff --git a/extraponies/gleamingshield.pony b/extraponies/gleamingshield.pony index fd535e62..60acee11 100644 --- a/extraponies/gleamingshield.pony +++ b/extraponies/gleamingshield.pony @@ -21,11 +21,11 @@ HEIGHT: 28 License summary: https://creativecommons.org/licenses/by-sa/3.0 Full license text: https://creativecommons.org/licenses/by-sa/3.0/legalcode $$$ -$balloon36$ - $\$  - $\$  - $\$  - ▄▄█  +$balloon30$ + $\$  + $\$  + $\$  + $\$ ▄▄█  ▄ ▄▄▄▄▄▄▄▄▄██▄  █▄▄▄█▄▄███▄▄█▄███  ████▄▄▄▄▄▄██▄▄▄█▄██ diff --git a/extraponies/molestia.pony b/extraponies/molestia.pony index 79f2e6fa..48d81cf3 100644 --- a/extraponies/molestia.pony +++ b/extraponies/molestia.pony @@ -21,14 +21,14 @@ WIDTH: 95 HEIGHT: 40 $$$ -$balloon66$ - $\$  - $\$  - $\$  - ▄█  - ▄▄▄▄▄ ▄▄▄▄ ▄█▀  - ████▄█▄██▄▄▄ █ ▄█▀  - ▄▄█▀▄███▄▄███▄▄▄▄ ██▄▄██▄▄▄▄▄▄  +$balloon52$ + $\$  + $\$  + $\$  + $\$ ▄█  + ▄▄▄▄▄ ▄▄▄▄ $\$ ▄█▀  + ████▄█▄██▄▄▄ $\$ █ ▄█▀  + ▄▄█▀▄███▄▄███▄▄▄▄ $\$ ██▄▄██▄▄▄▄▄▄  ▀▄██▄▄█▄███▄██████▄▄ ▄ ▄█▄▄█▄████▄████▄▄▄▄  ▀▄███▄▄▄██▄▄▄██▄▄▄▄▄ ██▄▄██▄▄██████████████▄▄▄▄▄▄  ▄██▄█████▄▄█▄▄▄████▄▄ ▄▄▄██▄▄▄▄██▄▄████▄████████████▄▄  diff --git a/extraponies/nyxdisguised.pony b/extraponies/nyxdisguised.pony index 56f47a6b..0f5808d0 100644 --- a/extraponies/nyxdisguised.pony +++ b/extraponies/nyxdisguised.pony @@ -22,11 +22,11 @@ HEIGHT: 20 License summary: https://creativecommons.org/licenses/by-sa/3.0 Full license text: https://creativecommons.org/licenses/by-sa/3.0/legalcode $$$ -$balloon13$ - $\$  - $\$  - $\$  - ▄▄▄▄▄▄█▄▄  +$balloon7$ + $\$  + $\$  + $\$  + $\$▄▄▄▄▄▄█▄▄  █▄▄ ▄▄▄▄▄▄█▄██▄▄▄▄  ▀▄▄▄▄▄▄▄██▄▄▄█▄███  ███████▄▄▄▄▄▄▄████  diff --git a/extraponies/pinkaminacupcake.pony b/extraponies/pinkaminacupcake.pony index 9599df72..28f2f325 100644 --- a/extraponies/pinkaminacupcake.pony +++ b/extraponies/pinkaminacupcake.pony @@ -22,10 +22,10 @@ WIDTH: 49 HEIGHT: 26 $$$ -$balloon35$ - $\$  - $\$  - $\$  +$balloon31$ + $\$  + $\$  + $\$  ▄▄▄ ▄▄▄██▄  ▄▄▄███▄▄▄█▄▄███  ▄▄██▄▄▄██▄██▄▄███▄▄▄  diff --git a/extraponies/rainbowblitz.pony b/extraponies/rainbowblitz.pony index 722c7b20..cb8c9729 100644 --- a/extraponies/rainbowblitz.pony +++ b/extraponies/rainbowblitz.pony @@ -18,11 +18,11 @@ WIDTH: 43 HEIGHT: 26 $$$ -$balloon10$ - $\$  - $\$  - $\$  - █▄▄▄ ▄▄  +$balloon8$ + $\$  + $\$  + $\$  + $\$ █▄▄▄ ▄▄  ▄▄▄▄▄▄▄▄▄███▄▄██▄▄  ▄▄▄▄▄▄▄▄▄███▄▄█▄▄▄█▄▄  ▀▀▄▄███████▄█████▄▄██▄▄  diff --git a/extraponies/surprise.pony b/extraponies/surprise.pony index bc7c7237..9fd69b8c 100644 --- a/extraponies/surprise.pony +++ b/extraponies/surprise.pony @@ -28,10 +28,10 @@ purposes, all without asking permission. See Other Information below. http://creativecommons.org/publicdomain/zero/1.0/legalcode $$$ -$balloon35$ - $\$  - $\$  - $\$  +$balloon31$ + $\$  + $\$  + $\$  ▄▄▄ ▄▄▄██▄  ▄▄▄███▄▄▄█▄▄███  ▄▄██▄▄▄██▄██▄▄███▄▄▄  diff --git a/extraponies/twilight.pony b/extraponies/twilight.pony index 9d9594b8..d84aa441 100644 --- a/extraponies/twilight.pony +++ b/extraponies/twilight.pony @@ -19,11 +19,11 @@ WIDTH: 50 HEIGHT: 24 $$$ -$balloon13$ - $\$  - $\$  - $\$  - ▄▄▄▄  +$balloon9$ + $\$  + $\$  + $\$  + $\$ ▄▄▄▄  ▄▄ ▄▄▄▄▄▄▄▄████▄▄  ▀█▄▄█▄▄▄██▄▄▄█▄██  ██▄▄██████▄▄██▄██▄  diff --git a/extraponies/woona.pony b/extraponies/woona.pony index e4c9f884..bf86afd9 100644 --- a/extraponies/woona.pony +++ b/extraponies/woona.pony @@ -23,13 +23,13 @@ HEIGHT: 27 License summary: https://creativecommons.org/licenses/by-nc-sa/3.0 Full license text: https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode $$$ -$balloon20$ - $\$  - $\$  - $\$  - ▄▄█▄█  - ▄▄▄▄ ▄▄█▄██▄▄█  - ▀▄██▄▄▄▄█▄▄▄▄███  +$balloon6$ + $\$  + $\$  + $\$  + $\$ ▄▄█▄█  + $\$ ▄▄▄▄ ▄▄█▄██▄▄█  + $\$▀▄██▄▄▄▄█▄▄▄▄███  ▄▄ ▄█▄██▄██▄▄▄█▄▄▄█  ▄▄▄▄█▄▄████▄▄▄█▄▄█▄█  ▄▄██▄▄▄█▄▄████▄▄▄██▄▄▄█