5
create_world( levelw, levelh)
7
fill_floor("fl-leaves", 0,0,levelw,levelh)
9
function renderLine( line, pattern)
10
for i=1, strlen(pattern) do
11
local c = strsub( pattern, i, i)
13
set_stone( "st-greenbrown", i-1, line)
17
set_stone( "st-brownie", i-1, line)
21
set_actor("ac-whiteball-small", i-.5,line+.5, {player=0,mouseforce=1})
23
draw_stones("st-grate1",{i-1,line}, {1,1}, 1)
25
set_stone( "st-wood", i-1, line)
27
set_floor("fl-space",i-1,line)
29
set_item("it-hollow",i-1,line)
31
set_floor("fl-space",i-1,line)
32
set_item("it-hollow",i-1,line)
37
renderLine(00,"####################")
38
renderLine(01,"#A A#")
39
renderLine(02,"# w w #")
40
renderLine(03,"# w==============w #")
41
renderLine(04,"# ============== #")
42
renderLine(05,"# ====B====B==== #")
43
renderLine(06,"# ============== #")
44
renderLine(07,"# ====B====B==== #")
45
renderLine(08,"# ============== #")
46
renderLine(09,"# w==============w #")
47
renderLine(10,"# w w #")
48
renderLine(11,"#A A#")
49
renderLine(12,"####################")