changeset 189:b6c1a9448d7d

Activate door with switch.
author Jeremy Thurgood <firxen@gmail.com>
date Tue, 03 Sep 2013 21:09:55 +0200
parents 3894cfe15823
children 97627a999042
files data/levels/level1
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data/levels/level1	Tue Sep 03 20:24:25 2013 +0200
+++ b/data/levels/level1	Tue Sep 03 21:09:55 2013 +0200
@@ -11,14 +11,14 @@
 - args:
   - [300, 400]
   classname: FloorSwitch
-  name: switch
+  name: light_switch
 - args:
   - [300, 600]
   classname: FloorSwitch
-  name: switch2
+  name: door_switch
 - args:
   - [300, 500]
-  - switch
+  - light_switch
   classname: FloorLight
   name: light
 - args:
@@ -26,7 +26,7 @@
   - both_switches
   classname: FloorLight
   name: light2
-- args: [switch, switch2]
+- args: [light_switch, door_switch]
   classname: StateLogicalAndPuzzler
   name: both_switches
 - args:
@@ -38,7 +38,14 @@
   - [600, 200]
   - level1
   - [600, 700]
+  - door_switch
   classname: Door
+  name: switch_door
+- args:
+  - [620, 220]
+  - door_switch
+  classname: FloorLight
+  name: door_light
 polygons:
   1:
   - [60, 780]