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

« back to all changes in this revision

Viewing changes to data/levels/mirrors.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
 
levelw = 20
2
 
levelh = 13
3
 
 
4
 
create_world(levelw, levelh)
5
 
draw_border("st-glass")
6
 
fill_floor("fl-gray")
7
 
 
8
 
draw_stones("st-glass", {1,5},{1,0},4)
9
 
draw_stones("st-glass", {1,7},{1,0},4)
10
 
doorv(1,6, {name="door1"})
11
 
doorv(2,6, {name="door2"})
12
 
doorv(3,6, {name="door3"})
13
 
doorv(4,6, {name="door4"})
14
 
 
15
 
 
16
 
function sdot1()
17
 
    SendMessage("door1", "openclose")
18
 
    SendMessage("door3", "openclose")
19
 
end
20
 
function sdot2()
21
 
    SendMessage("door2", "openclose")
22
 
end
23
 
function sdot3()
24
 
    SendMessage("door1", "openclose")
25
 
    SendMessage("door4", "openclose")
26
 
end
27
 
function sdot4()
28
 
    SendMessage("door3", "openclose")
29
 
    SendMessage("door4", "openclose")
30
 
end
31
 
 
32
 
shogundot1(10,8, {action="callback", target="sdot1"})
33
 
shogundot1(7,4, {action="callback", target="sdot2"})
34
 
shogundot1(7,8, {action="open", target="door2"})
35
 
shogundot1(13,4, {action="close", target="door4"})
36
 
shogundot1(13,8, {action="callback", target="sdot3"})
37
 
shogundot1(10,4, {action="callback", target="sdot4"})
38
 
 
39
 
set_stone("st-shogun", 7,6)
40
 
set_stone("st-shogun", 10,6)
41
 
set_stone("st-shogun", 13,6)
42
 
 
43
 
mirrorp(16,6,0,0,3)
44
 
mirror3(16,5,0,1,3)
45
 
mirror3(16,7,0,1,1)
46
 
 
47
 
mirrorp(19,1,0,0,2)
48
 
mirrorp(19,11,0,0,4)
49
 
mirrorp(0,1,0,0,4)
50
 
mirrorp(0,5,0,0,2)
51
 
mirrorp(0,7,0,0,4)
52
 
mirrorp(0,11,0,0,2)
53
 
 
54
 
mirrorp(19,11,0,0,4)
55
 
 
56
 
laser(0,6, TRUE, EAST)
57
 
 
58
 
 
59
 
oxyd(0,0)
60
 
oxyd(level_width-1,level_height-1)
61
 
oxyd(level_width-1, 0)
62
 
oxyd(0,level_height-1)
63
 
--oxyd_shuffle()
64
 
 
65
 
set_actor("ac-blackball", 10,8.5)
66