bub
This commit is contained in:
@@ -325,7 +325,7 @@ class PlayerState:
|
||||
self.bonusTime -= 1
|
||||
self.printSpecial()
|
||||
|
||||
if self.bonus_time == 5:
|
||||
if self.bonusTime == 5:
|
||||
Sound(28).play()
|
||||
|
||||
if self.bonusTime == 0:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from Event import Event
|
||||
from solenoids.OutHoleSolenoid import OutHoleSolenoid
|
||||
from solenoids.MainFlipper import MainFlipper
|
||||
|
||||
from sounds.LowScore import LowScore
|
||||
|
||||
class StartBallEvent(Event):
|
||||
def __init__(self, gameState = None):
|
||||
@@ -15,6 +15,9 @@ class StartBallEvent(Event):
|
||||
return
|
||||
|
||||
self.gameState.isPlaying = True
|
||||
if self.gameState.currentPlayer.ballsLeft == 1:
|
||||
LowScore().play()
|
||||
|
||||
|
||||
super().trigger(target)
|
||||
self.flipper.activate()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from Sound import Sound
|
||||
|
||||
class Seconds(Sound):
|
||||
class LowScore(Sound):
|
||||
def __init__(self):
|
||||
self.name = '''Speech 9: "What a low score!"'''
|
||||
@@ -1,5 +1,5 @@
|
||||
from Target import Target
|
||||
|
||||
from Sound import Sound
|
||||
class LeftInlaneTarget(Target):
|
||||
def __init__(self):
|
||||
super().__init__(3000, 'Left Inlane')
|
||||
|
||||
Reference in New Issue
Block a user