Poodletooth-iLand/toontown/chat/ToonChatGarbler.py

17 lines
637 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
from otp.chat import ChatGarbler
2015-05-30 16:28:28 +00:00
from toontown.toonbase import TTLocalizer
2015-03-03 22:10:12 +00:00
class ToonChatGarbler(ChatGarbler.ChatGarbler):
2015-05-30 16:28:28 +00: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,
2015-07-05 23:59:25 +00:00
'default': TTLocalizer.ChatGarblerDefault}