From: Simon Cross Date: Sat, 10 Sep 2016 22:12:19 +0000 (+0200) Subject: Use pulsating lamp images. X-Git-Tag: tabakrolletjie-v1.0.0~27 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=1a2da7901cbe7c7cb9003208d79a1296f8654999;p=tabakrolletjie.git Use pulsating lamp images. --- diff --git a/data/stations/station-alpha.json b/data/stations/station-alpha.json index 21c1789..1cd4ebc 100644 --- a/data/stations/station-alpha.json +++ b/data/stations/station-alpha.json @@ -32,6 +32,12 @@ "cost": 3, "available_colours": ["red", "yellow/blue", "green"], "intensity": 0.5 + }, + { + "type": "pulsatinglamp", + "cost": 3, + "available_colours": ["red", "blue/green"], + "intensity": 0.5 } ], "obstacles": [ diff --git a/tabakrolletjie/lights.py b/tabakrolletjie/lights.py index 3b6520c..cda6002 100644 --- a/tabakrolletjie/lights.py +++ b/tabakrolletjie/lights.py @@ -316,7 +316,7 @@ class Lamp(BaseLight): class PulsatingLamp(BaseLight): - FITTING_IMG = "lamp.png" + FITTING_IMG = "pulsatinglamp.png" DEFAULT_PULSE_RANGE = (20, 100) DEFAULT_PULSE_VELOCITY = 2 DEFAULT_INTENSITY_RANGE = (0.0, 0.9)