toontown-just-works/toontown/chat/ToonChatGarbler.py

17 lines
637 B
Python
Raw Permalink Normal View History

2024-07-07 18:08:39 -05:00
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}