mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 12:12:36 -06:00
17 lines
734 B
Python
Executable file
17 lines
734 B
Python
Executable file
from ElevatorConstants import *
|
|
import DistributedBossElevatorAI
|
|
|
|
class DistributedBBElevatorAI(DistributedBossElevatorAI.DistributedBossElevatorAI):
|
|
|
|
def __init__(self, air, bldg, zone, antiShuffle = 0, minLaff = 0):
|
|
DistributedBossElevatorAI.DistributedBossElevatorAI.__init__(self, air, bldg, zone, antiShuffle=antiShuffle, minLaff=0)
|
|
self.type = ELEVATOR_BB
|
|
self.countdownTime = ElevatorData[self.type]['countdown']
|
|
|
|
def checkBoard(self, av):
|
|
result = 0
|
|
if simbase.config.GetBool('allow-ceo-elevator', 1):
|
|
result = DistributedBossElevatorAI.DistributedBossElevatorAI.checkBoard(self, av)
|
|
else:
|
|
result = REJECT_NOT_YET_AVAILABLE
|
|
return result
|