oldschool-toontown/toontown/coghq/LawbotOfficeExterior.py

16 lines
602 B
Python
Raw Normal View History

2019-11-02 17:27:54 -05:00
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 pandac.PandaModules import *
from . import FactoryExterior
2019-11-02 17:27:54 -05:00
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)