From 6386ed0a574cdf90438a93c94da5605e23b4d7ea Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 10 Sep 2016 14:55:02 +0200 Subject: [PATCH] Add available lights list to levels. --- data/stations/01-tutorial.json | 1 + data/stations/station-alpha.json | 25 ++++++++++++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) 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", -- 2.34.1