~ubuntu-branches/ubuntu/trusty/enigma/trusty

« back to all changes in this revision

Viewing changes to data/levels/enigma_ix/zephyr06_1.xml

  • Committer: Bazaar Package Importer
  • Author(s): Erich Schubert
  • Date: 2011-07-03 17:13:49 UTC
  • mfrom: (5.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110703171349-6axg83r3xe7es9uk
Tags: 1.10~~pre-alpha+r2210-1
* New SVN checkout, r2210
* Depend on libcurl4-gnutls-dev | libcurl4-nss-dev instead of libcurl4-dev
  since we now have to variants (that should both work). (Closes: #618147)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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">
 
3
  <el:protected>
 
4
    <el:info el:type="level">
 
5
      <el:identity el:title="Life Seed" el:subtitle="" el:id="zephyr06"/>
 
6
      <el:version el:score="1" el:release="1" el:revision="2" el:status="released"/>
 
7
      <el:author el:name="Zephyr" el:email=""/>
 
8
      <el:copyright>Copyright © 2009 Zephyr</el:copyright>
 
9
      <el:license el:type="GPL v2.0 or above" el:open="true"/>
 
10
      <el:compatibility el:enigma="1.10"/>
 
11
      <el:modes el:easy="false" el:single="true" el:network="true"/>
 
12
      <el:score el:easy="-" el:difficult="-"/>
 
13
    </el:info>
 
14
    <el:luamain><![CDATA[
 
15
wo["ProvideExtralifes"] = false
 
16
 
 
17
ti[" "] = {"fl_bright"}
 
18
ti["*"] = {"fl_red"} .. ti({"#ac_rotor", strength=100.0, prefercurrent=1.0, range=20.0})
 
19
ti["X"] = {"st_grate"}
 
20
ti["#"] = {"st_rawglass"}
 
21
ti["D"] = {"st_door", flavor="a", name="door#"}
 
22
ti["M"] = {"st_mail_w"}
 
23
ti["="] = ti["#"] .. {"it_pipe_ew"}
 
24
ti["L"] = ti["#"] .. {"it_pipe_ne"}
 
25
ti["N"] = ti["#"] .. {"it_pipe_sw"}
 
26
ti["a"] = ti["#"] .. {"it_seed_volcano", _product="it_seed_volcano", _stock=8}
 
27
ti["b"] = ti["#"] .. {"it_pipe_ne", _product="it_pipe_ne", _stock=1}
 
28
ti["c"] = ti["#"] .. {"it_pipe_ns", _product="it_pipe_ns", _stock=8}
 
29
ti["d"] = ti["#"] .. {"it_pipe_es", _product="it_pipe_es", _stock=1}
 
30
ti["e"] = ti["#"] .. {"it_pipe_ew", _product="it_pipe_ew", _stock=10}
 
31
ti["f"] = ti["#"] .. {"it_pipe_sw", _product="it_pipe_sw", _stock=1}
 
32
ti["S"] = {"st_switch", target="vendor"}
 
33
ti["s"] = {"st_switch", target="door#*", action="open"}
 
34
ti["O"] = {"st_oxyd"}
 
35
ti["@"] = {"#ac_marble_black"}
 
36
ti["A"] = {"#ac_marble_white"}
 
37
 
 
38
wo(ti, " ", {
 
39
    "####################",
 
40
    "###*DXXXD*##s     Sa",
 
41
    "####XXXXX####  @  ##",
 
42
    "#*###XXX###*#     Sb",
 
43
    "#DX#O#XDO#XD#     ##",
 
44
    "#XXXDXXX#XXX#     Sc",
 
45
    "#XXXXXAXXXXX#     ##",
 
46
    "#XXX#XXXDXXX#     Sd",
 
47
    "#DX#ODX#O#XD#     ##",
 
48
    "#*###XXX#N#*#     Se",
 
49
    "####XXXXXLN##     ##",
 
50
    "###*DXXXD*L=M     Sf",
 
51
    "####################"})
 
52
 
 
53
wo:shuffleOxyd()
 
54
 
 
55
function vendor(value, sender)
 
56
    store = it(sender + E)
 
57
    if store["_stock"] > 0 then
 
58
        store["_stock"] = store["_stock"] - 1
 
59
        wo[sender + W] = {store["_product"]}
 
60
    end
 
61
end
 
62
 ]]></el:luamain>
 
63
    <el:i18n>
 
64
      <el:string el:key="title">
 
65
        <el:english el:translate="false"/>
 
66
      </el:string>
 
67
    </el:i18n>
 
68
  </el:protected>
 
69
</el:level>