2
dofile(enigma.FindDataFile("levels/ant.lua"))
5
cells[" "]=cell{floor="fl-leaves"}
6
cells["b"]=cell{floor="fl-gravel"}
7
cells["#"]=cell{stone="st-rock1"}
8
cells["h"]=cell{parent=cells["b"],item="it-hollow"}
9
cells["+"]=cell{stone="st-chargeplus"}
10
cells["-"]=cell{stone="st-chargeminus"}
11
cells["0"]=cell{stone="st-chargezero"}
14
"#########-########0#",
26
"#0#######-##########"
28
set_default_parent(cells[" "])
30
create_world_by_map(level,cells)
32
local ac1=set_actor("ac-whiteball-small", 6,1.5, {player=0})
33
local ac2=set_actor("ac-whiteball-small", 8,9, {player=0})
34
local ac3=set_actor("ac-whiteball-small", 5,3, {player=0})
35
local ac4=set_actor("ac-whiteball-small", 8,8, {player=0})
36
local ac5=set_actor("ac-whiteball-small", 10,5, {player=0})
37
local ac6=set_actor("ac-whiteball-small", 8,6, {player=0})
38
local ac7=set_actor("ac-whiteball-small", 9,7, {player=0})
39
local ac8=set_actor("ac-whiteball-small", 8,4, {player=0})
40
local ac9=set_actor("ac-whiteball-small", 8,2, {player=0})
41
local ac10=set_actor("ac-whiteball-small", 9,5, {player=0})
42
local ac11=set_actor("ac-whiteball-small", 9,4, {player=0})
43
local ac12=set_actor("ac-whiteball-small", 9,3, {player=0})
46
AddRubberBand(ac1, ac2, 6, 1)
47
AddRubberBand(ac2, ac3, 6, 1)
48
AddRubberBand(ac3, ac4, 6, 1)
49
AddRubberBand(ac4, ac5, 6, 1)
50
AddRubberBand(ac5, ac6, 6, 1)
51
AddRubberBand(ac6, ac7, 6, 1)
52
AddRubberBand(ac7, ac8, 6, 1)
53
AddRubberBand(ac8, ac9, 6, 1)
54
AddRubberBand(ac9, ac10, 6, 1)
55
AddRubberBand(ac10, ac11, 6, 1)
56
AddRubberBand(ac11, ac12, 6, 1)
57
AddRubberBand(ac12, ac1, 6, 1)
b'\\ No newline at end of file'