27 lines
823 B
Python
27 lines
823 B
Python
from events.SpecialEvent import SpecialEvent
|
|
|
|
|
|
from lamps.Lamp import Lamp
|
|
|
|
class OrangeSpecialEvent(SpecialEvent):
|
|
def __init__(self, gameState):
|
|
super().__init__("Orange Special Event", gameState)
|
|
Lamp("Special Orange").activate()
|
|
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()
|
|
|