toontown-just-works/toontown/coghq/LawbotOfficeExterior.py
2024-07-07 18:08:39 -05:00

15 lines
588 B
Python

from direct.directnotify import DirectNotifyGlobal
from direct.fsm import ClassicFSM
from direct.fsm import State
from toontown.toonbase import ToontownGlobals
from toontown.building import Elevator
from panda3d.core import *
import FactoryExterior
class LawbotOfficeExterior(FactoryExterior.FactoryExterior):
notify = DirectNotifyGlobal.directNotify.newCategory('LawbotOfficeExterior')
def enterWalk(self, teleportIn = 0):
FactoryExterior.FactoryExterior.enterWalk(self, teleportIn)
self.ignore('teleportQuery')
base.localAvatar.setTeleportAvailable(0)