tutu
This commit is contained in:
@@ -16,6 +16,8 @@ from lamps.LampGroup import BONUS_MULTIPLIER_LAMPS
|
||||
from lamps.LampGroup import BONUS_LAMPS
|
||||
from lamps.LampGroup import PLAYER_LAMPS
|
||||
|
||||
from Sound import Sound
|
||||
|
||||
from events.LeaveUpperPlayfieldEvent import LeaveUpperPlayfieldEvent
|
||||
from solenoids.BottomLeftBankSolenoid import BottomLeftBankSolenoid
|
||||
from solenoids.BottomRightBankSolenoid import BottomRightBankSolenoid
|
||||
@@ -227,15 +229,22 @@ class PlayerState:
|
||||
self.orangeSpecialLit = self.orangeSpecialRight and self.orangeSpecialLeft
|
||||
|
||||
if self.orangeSpecialLit:
|
||||
Sound(21).play()
|
||||
time.sleep(0.7)
|
||||
Sound(20).play()
|
||||
Lamp("Special Orange").activate()
|
||||
|
||||
def advanceRedSpecial(self):
|
||||
if not self.isActive:
|
||||
return
|
||||
|
||||
self.redSpecial += 1
|
||||
CHAMP_LAMPS.activateNext()
|
||||
|
||||
if self.redSpecial == config.RED_SPECIAL_TIMES:
|
||||
Sound(21).play()
|
||||
time.sleep(0.7)
|
||||
Sound(20).play()
|
||||
self.redSpecialLit = True
|
||||
Lamp("Special Red").activate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user