Poodletooth-iLand/toontown/chat/ToonChatGarbler.py

17 lines
637 B
Python
Raw Normal View History

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,
2015-07-05 18:59:25 -05:00
'default': TTLocalizer.ChatGarblerDefault}