1
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
2
<el:level xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://enigma-game.org/schema/level/1 level.xsd" xmlns:el="http://enigma-game.org/schema/level/1">
4
<el:info el:type="level">
5
<el:identity el:title="One Way Ticket" el:subtitle="" el:id="luc25"/>
6
<el:version el:score="1" el:release="1" el:revision="0" el:status="released"/>
7
<el:author el:name="Lukas Schüller" el:email="Lucky_Luc@web.de" el:homepage=""/>
8
<el:copyright>Copyright © 2006 Lukas Schüller</el:copyright>
9
<el:license el:type="GPL v2.0 or above" el:open="true"/>
10
<el:compatibility el:enigma="0.92">
12
<el:modes el:easy="false" el:single="true" el:network="false"/>
14
<el:code>Lua 5.1 and XML converted by Leveladministrators</el:code>
16
<el:score el:easy="-" el:difficult="-"/>
21
-------------------------------------------
23
fill_floor("fl-leaves",0,0,39,13)
24
set_actor("ac-blackball",1.5,6.5,{player=0})
25
-------------------------------------------
26
--function to create one line of the level
27
function line(line,commands)
29
while(lx <= strlen(commands)) do
30
i = strsub(commands,lx,lx)
32
set_stone("st-greenbrown",lx-1,line-1)
35
set_stone("st-door",lx-1,line-1,{name="doora",type="v"})
38
set_stone("st-door",lx-1,line-1,{name="doorb",type="h"})
41
set_stone("st-door",lx-1,line-1,{name="doorc",type="h"})
44
set_stone("st-greenbrown_hole",lx-1,line-1)
47
set_stone("st-greenbrown_move",lx-1,line-1)
50
set_stone("st-floppy",lx-1,line-1,{action="openclose",target="doora"})
53
set_stone("st-key_a",lx-1,line-1,{action="openclose",target="doorb"})
56
set_stone("st-key_b",lx-1,line-1,{action="openclose",target="doorc"})
59
set_item("it-floppy",lx-1,line-1)
62
set_item("it-key_a",lx-1,line-1)
65
set_item("it-key_b",lx-1,line-1)
68
set_item("it-trigger",lx-1,line-1,{action="close",target="doora",invisible=1})
71
set_stone("st-switch",lx-1,line-1,{action="callback",target="draw_line"})
79
----------------------------------------
80
--function that changes the 10th line (used for the solution)
87
-----------------------------------------
89
oxyd_default_flavor = "c"
90
line(01,"#######################################")
91
line(02,"#o# ##a #o o#")
96
line(07,"# I t # s #")
100
line(11,"#-B ## # #")
101
line(12,"#o# f##b #o o#")
102
line(13,"#######################################")
104
enigma.ConserveLevel = FALSE
107
<el:string el:key="title">
108
<el:english el:translate="false"/>