Merge branch 'master' of hongabar.org:robotgame
This commit is contained in:
commit
3c8d203606
|
@ -238,6 +238,18 @@ class Level1(level.Level):
|
|||
for b in action_blocks:
|
||||
b.action = update_wells
|
||||
|
||||
self.objects.append(
|
||||
lever.Lever(self,
|
||||
task3_pos[0] - 64 * 3,
|
||||
task3_pos[1] - 48 * 3,
|
||||
[lambda *x: (self.complete_task(3)
|
||||
if (len([w for w in wells
|
||||
if (w.well_colour
|
||||
== (255, 255, 255))
|
||||
])
|
||||
== len(wells))
|
||||
else lambda: None)]))
|
||||
|
||||
### Task 4: Inverted bits
|
||||
|
||||
task4_pos = (64 * 13, 48 * 13)
|
||||
|
|
Loading…
Reference in New Issue