From: Simon Cross Date: Sat, 10 Sep 2016 12:55:02 +0000 (+0200) Subject: Add available lights list to levels. X-Git-Tag: tabakrolletjie-v1.0.0~107 X-Git-Url: https://git.ctpug.org.za/?p=tabakrolletjie.git;a=commitdiff_plain;h=6386ed0a574cdf90438a93c94da5605e23b4d7ea Add available lights list to levels. --- diff --git a/data/stations/01-tutorial.json b/data/stations/01-tutorial.json index 04f9d1c..92d5873 100644 --- a/data/stations/01-tutorial.json +++ b/data/stations/01-tutorial.json @@ -8,6 +8,7 @@ "available_lights": [ { "type": "lamp", + "cost": 3, "colours": ["blue", "red"], "intensity": 0.5 } diff --git a/data/stations/station-alpha.json b/data/stations/station-alpha.json index 4661a7d..c741364 100644 --- a/data/stations/station-alpha.json +++ b/data/stations/station-alpha.json @@ -5,7 +5,30 @@ "spawn positions": [[275, 300]], "seeds": 10 }, - "available_lights": null, + "available_lights": [ + { + "type": "spotlight", + "cost": 5, + "colours": ["red"], + "radius_limits": [20, 400], + "direction": 135, + "spread": 90, + "angular_velocity": 5, + "intensity": 0.8 + }, + { + "type": "lamp", + "cost": 3, + "colours": ["yellow"], + "intensity": 0.5 + }, + { + "type": "lamp", + "cost": 3, + "colours": ["red", "yellow", "green"], + "intensity": 0.5 + } + ], "obstacles": [ { "type": "wall",