2015-03-03 16:10:12 -06:00
|
|
|
from otp.chat import ChatGarbler
|
2015-05-30 11:28:28 -05:00
|
|
|
from toontown.toonbase import TTLocalizer
|
2015-03-03 16:10:12 -06:00
|
|
|
|
|
|
|
class ToonChatGarbler(ChatGarbler.ChatGarbler):
|
|
|
|
|
2015-05-30 11:28:28 -05:00
|
|
|
def __init__(self):
|
|
|
|
self.messages = {'dog': TTLocalizer.ChatGarblerDog,
|
|
|
|
'cat': TTLocalizer.ChatGarblerCat,
|
|
|
|
'mouse': TTLocalizer.ChatGarblerMouse,
|
|
|
|
'horse': TTLocalizer.ChatGarblerHorse,
|
|
|
|
'rabbit': TTLocalizer.ChatGarblerRabbit,
|
|
|
|
'duck': TTLocalizer.ChatGarblerDuck,
|
|
|
|
'monkey': TTLocalizer.ChatGarblerMonkey,
|
|
|
|
'bear': TTLocalizer.ChatGarblerBear,
|
|
|
|
'pig': TTLocalizer.ChatGarblerPig,
|
|
|
|
'default': TTLocalizer.ChatGarblerDefault}
|