~ubuntu-branches/ubuntu/intrepid/enigma/intrepid

« back to all changes in this revision

Viewing changes to data/levels/m_tutor/m_tut1.lua

  • Committer: Bazaar Package Importer
  • Author(s): Erich Schubert
  • Date: 2005-08-28 15:30:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050828153009-sky64kb6tcq37xt5
Tags: 0.92.1-1
* New upstream subversion checkout
* Remove menu.s3m, which we are allowed to distributed but not to modify
  also copyright notice is confusing... (Closes: #321669)
* Rebuild with new libzipios (Closes: #325405)
  I hope this works without a versioned build-dependency
* Added "enigma replaces enigma-data" for upgrades (Closes: #308558)
* Added notes about the fonts copyright.
* updated to policy 3.6.2.1 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--
2
 
--
3
 
 
4
 
 
5
 
oxyd_default_flavor = "d"
6
 
 
7
 
dofile(enigma.FindDataFile("levels/ant.lua"))
8
 
 
9
 
cells={}
10
 
 
11
 
cells[" "]=cell{floor="fl-leavesb"}
12
 
cells["1"]=cell{floor="fl-leaves"}
13
 
cells["2"]=cell{floor="fl-leavesc1"}
14
 
cells["3"]=cell{floor="fl-leavesc2"}
15
 
cells["4"]=cell{floor="fl-leavesc3"}
16
 
cells["5"]=cell{floor="fl-leavesc4"}
17
 
cells["6"]=cell{floor="fl-leavesd1"}
18
 
cells["7"]=cell{floor="fl-leavesd2"}
19
 
cells["8"]=cell{floor="fl-leavesd3"}
20
 
cells["9"]=cell{floor="fl-leavesd4"}
21
 
cells["#"]=cell{stone="st-likeoxyda"}
22
 
cells["d"]=cell{{{document, "The blue stones are Oxyd stones. Open them by touching them with your black marble."}}}
23
 
cells["o"]=cell{actor={"ac-blackball", {player=0}}}
24
 
cells["0"]=cell{{{oxyd}}}
25
 
if (not difficult) then
26
 
    cells["Q"]=cell{parent=cells["1"]}
27
 
else
28
 
    cells["Q"]=cell{{{oxyd}}}
29
 
end
30
 
 
31
 
level = {
32
 
   "####################",
33
 
   "#                  #",
34
 
   "#       2111111114 #",
35
 
   "#       1011111101 #",
36
 
   "# 214   1111111111 #",
37
 
   "# 1d17 91111111111 #", 
38
 
   "# 1o11111111QQ1111 #",
39
 
   "# 1d16 81111111111 #",
40
 
   "# 315   1111111111 #",
41
 
   "#       1011111101 #",
42
 
   "#       3111111115 #",
43
 
   "#                  #",
44
 
   "####################"
45
 
}
46
 
 
47
 
 
48
 
set_default_parent(cells["1"])
49
 
 
50
 
create_world_by_map(level,cells)
51
 
 
52
 
oxyd_shuffle()