home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar Special 2004 August
/
GSSH0804.iso
/
Geschicklichkeit
/
Enigma
/
Enigma-081.exe
/
data
/
levels
/
ss_esp07.lua
< prev
next >
Wrap
Text File
|
2003-07-28
|
2KB
|
52 lines
-- Smutty Smurf 2003
-- ESPRIT #007
levelw = 20
levelh = 13
create_world(levelw, levelh)
oxyd_default_flavor = "b" -- Default flavor for oxyd stones.
set_actor("ac-blackball", 2.5,6.5, {player=0})
fill_floor("fl-ice_001", 0,0, level_width,level_height)
function renderLine( line, pattern)
for i=1, strlen(pattern) do
local c = strsub( pattern, i, i)
if c == "#" then
set_stone("st-glass",i-1,line)
elseif c=="L" then
set_item("it-extralife",i-1,line)
elseif c=="D" then
set_stone("st-death",i-1,line)
elseif c=="B" then
set_stone("st-actorimpulse",i-1,line)
elseif c=="O" then
oxyd(i-1,line)
elseif c=="C" then
set_item("it-crack", i-1,line, {type=2})
elseif c=="c" then
set_item("it-crack", i-1,line, {type=1})
elseif c=="N" then
document(i-1,line,"Watch out, slippery!")
elseif c=="F" then
set_item("it-flagblack", i-1,line)
end
end
end
-- 01234567890123456789
renderLine(00, " ")
renderLine(01, "####################")
renderLine(02, "#L #")
renderLine(03, "# D B B BB B B D #")
renderLine(04, "# #")
renderLine(05, "# O O C #")
renderLine(06, "# cN B B BB B B #")
renderLine(07, "# O O #")
renderLine(08, "# #")
renderLine(09, "# D B B BB B B cD #")
renderLine(10, "#F #")
renderLine(11, "####################")
renderLine(12, " ")
-- 01234567890123456789
oxyd_shuffle()