26 lines
802 B
Python
26 lines
802 B
Python
from events.SpecialEvent import SpecialEvent
|
|
|
|
|
|
from lamps.LampGroup import ORANGE_SPECIAL_LAMPS
|
|
|
|
class OrangeSpecialEvent(SpecialEvent):
|
|
def __init__(self, gameState):
|
|
super().__init__("Orange Special Event", gameState)
|
|
self.points = 100000
|
|
|
|
def trigger(self, target):
|
|
if self.gameState.currentPlayer.orangeSpecial == 0:
|
|
self.points = 100000
|
|
elif self.gameState.currentPlayer.orangeSpecial == 1:
|
|
self.points = 200000
|
|
elif self.gameState.currentPlayer.orangeSpecial == 2:
|
|
self.points = 300000
|
|
|
|
super().trigger(target)
|
|
|
|
if self.gameState.currentPlayer.orangeSpecialLit:
|
|
#config.ORANGE_SPECIAL(self)
|
|
self.bonus_time()
|
|
self.gameState.currentPlayer.resetOrangeSpecial()
|
|
|