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

« back to all changes in this revision

Viewing changes to modules/palice.mod/objects/hatchet.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
//Set attack speed
 
2
IfUsed
 
3
  tmpargument = 65
 
4
  SetReloadTime
 
5
 
 
6
// ZZ> This function makes an item fall to the floor when spawned
 
7
IfSpawned                               //
 
8
  tmpargument = ACTIONJB                  //
 
9
  DoAction                                //
 
10
  KeepAction                              //
 
11
  MakeCrushValid
 
12
IfCrushed
 
13
  tmpx = selfx
 
14
  tmpy = selfy
 
15
  tmpdistance = selfz
 
16
  tmpargument = 1
 
17
  SpawnExactParticle
 
18
  SpawnExactParticle
 
19
  SpawnExactParticle
 
20
  SpawnExactParticle
 
21
  GoPoof
 
22
  tmpargument = 1
 
23
  SendMessageNear
 
24
IfDropped                               // Make it lie on floor
 
25
  KeepAction                              //
 
26
IfGrabbed                               // Tell them what they've won...
 
27
  SetTargetToWhoeverIsHolding             //
 
28
  IfTargetIsAPlayer                       //
 
29
    tmpargument = 0                       //
 
30
    SendMessageNear                       //
 
31
IfHitGround                             // Make a sound
 
32
  tmpargument = 1                         //
 
33
  tmpdistance = rand & 2047 + 10000       //
 
34
  PlaySound                               //
 
35
IfNotDropped
 
36
  tmpargument = 2
 
37
  SendMessageNear
 
38
IfTakenOut
 
39
  SetTargetToWhoeverIsHolding
 
40
  IfTargetIsAPlayer
 
41
    tmpargument = 4
 
42
    SendMessageNear
 
43
IfNotPutAway
 
44
  tmpargument = 3
 
45
  SendMessageNear
 
46
End                                     // All done