~ubuntu-branches/ubuntu/precise/egoboo-data/precise

« back to all changes in this revision

Viewing changes to modules/abyss1.mod/objects/deadfall.obj/script.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-04-25 10:20:11 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100425102011-1aosouybjkexdg9v
Tags: 1:2.7.7-1
* New Upstream Release
* Switch to debhelper

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
IfSpawned
 
2
  tmpargument = 2
 
3
  tmpdistance = 0
 
4
  tmpx = selfx
 
5
  tmpy = selfy
 
6
  SpawnExactParticle
 
7
  SpawnExactParticle
 
8
  SpawnExactParticle
 
9
  SpawnExactParticle
 
10
  SpawnExactParticle
 
11
  SpawnExactParticle
 
12
  SpawnExactParticle
 
13
  SpawnExactParticle
 
14
  SpawnExactParticle
 
15
  SpawnExactParticle
 
16
  SpawnExactParticle
 
17
  SpawnExactParticle
 
18
IfTimeOut
 
19
  GetContent
 
20
  tmpx = tmpargument
 
21
  tmpy = 1
 
22
  IfXIsEqualToY
 
23
    // Go away
 
24
    tmpargument = 0
 
25
    SetContent
 
26
    GoPoof
 
27
  IfXIsLessThanY
 
28
    // Check the passage
 
29
    tmpargument = passage
 
30
    SetTargetToWhoeverIsInPassage
 
31
      IfTargetIsOnOtherTeam
 
32
        // The trap has been tripped
 
33
        tmpargument = 15
 
34
        tmpdistance = EXPDARE
 
35
        GiveExperienceToTarget
 
36
 
 
37
        tmpargument = 0
 
38
        SendMessageNear
 
39
        tmpdistance = 11025
 
40
        PlaySound
 
41
        tmpargument = 7
 
42
        SetContent
 
43
  IfXIsMoreThanY
 
44
    // Down the counter
 
45
    tmpargument = tmpx - 1
 
46
    SetContent
 
47
 
 
48
 
 
49
    // Drop a boulder
 
50
    tmpargument = 0
 
51
    tmpdistance = 600
 
52
    tmpx = selfx
 
53
    tmpy = selfy
 
54
    SpawnExactParticle
 
55
    SpawnExactParticle
 
56
    SpawnExactParticle
 
57
 
 
58
 
 
59
  // Wait a while
 
60
  tmpargument = 3
 
61
  SetTime
 
62
 
 
63
 
 
64
// All done
 
65
End