2
dofile(enigma.FindDataFile("levels/ant.lua"))
7
cells[" "]=cell{floor={face="fl-metal"}}
10
cells["#"]=cell{parent={{add_multicell, puzzles}}}
12
cells["O"]=cell{item={face="it-hollow"}}
13
cells["a"]=cell{item={face="it-trigger", attr={action="openclose", target="doorA"}}}
14
cells["b"]=cell{item={face="it-trigger", attr={action="openclose", target="doorB"}}}
15
cells["c"]=cell{item={face="it-trigger", attr={action="openclose", target="doorC"}}}
16
cells["d"]=cell{item={face="it-trigger", attr={action="openclose", target="doorD"}}}
17
cells["A"]=cell{parent=cells["O"], stone={face="st-door_b", attr={type="v", name="doorA"}}}
18
cells["B"]=cell{parent=cells["O"], stone={face="st-door_b", attr={type="v", name="doorB"}}}
19
cells["C"]=cell{parent=cells["O"], stone={face="st-door_b", attr={type="v", name="doorC"}}}
20
cells["D"]=cell{parent=cells["O"], stone={face="st-door_b", attr={type="v", name="doorD"}}}
24
cells["W"]=cell{parent={{add_multistone, "st-block", blocks}}}
25
cells["o"]=cell{parent={{add_multiactor, "ac-whiteball-small", actors, {player=0, mouseforce=1, essential=1}}}}
28
"####################",
40
"####################"
43
set_default_parent(cells[" "])
44
create_world_by_map(level)
45
add_rubber_band_pairs(actors, blocks, 10, 0)
46
render_puzzles(puzzles);