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

« back to all changes in this revision

Viewing changes to data/levels/enigma_x/devnull36_1.xml

  • Committer: Package Import Robot
  • Author(s): Erich Schubert
  • Date: 2013-04-06 14:54:02 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130406145402-jgjrtk7hac8gtvza
Tags: 1.20-dfsg.1-1
* New upstream release (Closes: #704595)
  (Repacked: dropped zipios++ source and main menu music)
* Update watch file, sf.net again.
* Fix documentation links (Closes: #653508)
* Conflict with enigma-level-previews to encourage deinstallation
  (Pregenerated level previews were only used with version 1.01)
* Use dh7 for building instead of CDBS
* Update to policy 3.9.4.0 (no changes)
* Register documentation with doc-base

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="At the Pool" el:subtitle="" el:id="devnull36"/>
 
6
      <el:version el:score="1" el:release="1" el:revision="4" el:status="released"/>
 
7
      <el:author  el:name="/dev/null" el:email="" el:homepage=""/>
 
8
      <el:copyright>Copyright © 2009 dev0</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="true" el:single="true" el:network="false"/>
 
12
      <el:score el:easy="6:00" el:difficult="6:00"/>
 
13
    </el:info>
 
14
    <el:luamain><![CDATA[
 
15
wo["AutoRespawn"] = wo["IsDifficult"]
 
16
wo["AllowSuicide"] = false
 
17
wo["ProvideExtralifes"] = not wo["IsDifficult"]
 
18
 
 
19
ti[" "] = {"fl_rock"}
 
20
ti["~"] = {"fl_water"}
 
21
ti["#"] = cond(wo["IsDifficult"], ti["~"] .. {"st_grate_cross"}, ti["~"] .. {"st_portal"})
 
22
ti["W"] = {"st_box_rock"}
 
23
ti["D"] = {"st_door", "door#", faces = "ew"}
 
24
ti["keys"] = {"it_key", code = "%%"}
 
25
ti["holes"] = {"st_key", code = "%%", target = "@door#*"}
 
26
ti["o"] = {"st_oxyd_c", "oxydsBorder#"}
 
27
ti["O"] = {"st_oxyd_c", "oxydsCenter#"}
 
28
ti["@"] = {"#ac_marble_black", 0.5}
 
29
 
 
30
wo(res.autotile(ti, {"a", "b", "keys"}, {"A", "B", "holes"}), " ", {
 
31
  "####################",
 
32
  "#~~     ~##~     ~~#",
 
33
  "#~ W~  W~##~W  ~W ~#",
 
34
  "#~  W  Wa##bW  W  ~#",
 
35
  "#~  ####~~~~####  ~#",
 
36
  "#~ W#~~~~~~~~~~#W ~#",
 
37
  "#~  #   ~~~~   #  ~#",
 
38
  "#~ ~#W W ~~ W W#~ ~#",
 
39
  "#~~~    W@ W    ~~~#",
 
40
  "#~~~   ######   ~~~#",
 
41
  "##~~~###OOOO###~~~##",
 
42
  "#o~~~D        D~~~o#",
 
43
  "##o#A##########B#o##"})
 
44
 
 
45
wo:shuffleOxyd({"oxydsCenter#*", max = 0}, {"oxydsBorder#*", max = 0})
 
46
if wo["IsDifficult"] then
 
47
    wo:add(YIN, {"it_extralife"})
 
48
end
 
49
 ]]></el:luamain>
 
50
    <el:i18n>
 
51
      <el:string el:key="title">
 
52
        <el:english el:translate="false"/>
 
53
      </el:string>
 
54
    </el:i18n>
 
55
  </el:protected>
 
56
</el:level>