Very much done

This commit is contained in:
Jonas Zeunert
2021-03-07 10:51:24 +01:00
parent f07c686b68
commit c54ab2e311
47 changed files with 339 additions and 77 deletions

View File

@@ -3,6 +3,12 @@ from solenoids.BottomRightBankSolenoid import BottomRightBankSolenoid
class BottomRightBankEvent(BankEvent):
def __init__(self):
super().__init__(BottomRightBankSolenoid(), "Bottom Right Bank Event")
def __init__(self, playerState):
super().__init__(BottomRightBankSolenoid(), "Bottom Right Bank Event", playerState)
def trigger(self, target):
super().trigger(target)
playerState = self.playerState()
playerState.advanceRightOrangeSpecial()
if playerState.upperPlayfieldTime < 30:
playerState.addUpperPlayfieldTime(5)