From 1a2da7901cbe7c7cb9003208d79a1296f8654999 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 11 Sep 2016 00:12:19 +0200 Subject: [PATCH] Use pulsating lamp images. --- data/stations/station-alpha.json | 6 ++++++ tabakrolletjie/lights.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) -- 2.34.1