toontown-just-works/toontown/chat/ToonChatGarbler.py
2024-07-07 18:08:39 -05:00

16 lines
637 B
Python

from otp.chat import ChatGarbler
from toontown.toonbase import TTLocalizer
class ToonChatGarbler(ChatGarbler.ChatGarbler):
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}