Use pulsating lamp images.
authorSimon Cross <hodgestar@gmail.com>
Sat, 10 Sep 2016 22:12:19 +0000 (00:12 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sat, 10 Sep 2016 22:12:19 +0000 (00:12 +0200)
data/stations/station-alpha.json
tabakrolletjie/lights.py

index 21c17898b9582b7a22bdfd622f2f06e49245ae66..1cd4ebc4b35cb80d81014f5991ecd3dd62017a7c 100644 (file)
       "cost": 3,
       "available_colours": ["red", "yellow/blue", "green"],
       "intensity": 0.5
+    },
+    {
+      "type": "pulsatinglamp",
+      "cost": 3,
+      "available_colours": ["red", "blue/green"],
+      "intensity": 0.5
     }
   ],
   "obstacles": [
index 3b6520c3d96cdb15b5614a66db0e3bc65e9e9dc5..cda60022a5d5aa227d7a9401ad119ca31ff2ba67 100644 (file)
@@ -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)