File: triggers.txt

package info (click to toggle)
aime 0.60.3-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,016 kB
  • ctags: 5,217
  • sloc: cpp: 77,611; ansic: 3,765; sh: 2,996; makefile: 234; sed: 93
file content (359 lines) | stat: -rw-r--r-- 14,480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359



                       Special Triggers List




Trigger        Attributes Passed In            Description


pre_say        this: The object with the        Before the player does a say 
                     special attached 
               primary:   the player speaking
               secondary: --

post_say       this: The object with the        After the player does a say 
                     special attached 
               primary:   the player speaking
               secondary: --

pre_get        this: The object gotten          Before the object is picked up
               primary:   --
               secondary: --              

post_get       this: The object gotten          After the object is picked up
               primary:   --
               secondary: --              


pre_north      this: Current location           Before the player moves in a 
pre_south      primary: The player              specific direction.  This is
pre_east       secondary: Next location         only good for specials attached
pre_west                                        to mobiles.
pre_up
pre_down
pre_northeast
pre_northwest
pre_southeast
pre_southwest  

pre_move       this: Current Location           Before a player moves from 
               primary: The player              a room
               secondary: Next location

onentry        this: The player                 When a player enters the room
               primary: The New location
               secondary: --

pre_look       this: The location               Before the location is 
               primary: --                      displayed to the user
               secondary: --

post_look      this: The location               After the location is 
               primary: --                      displayed to the user
               secondary: --

pre_examine    this: The object examined        Before an object's description 
               primary: --                      or contents are displayed to
               secondary: --                    the player

post_examine   this: The object examined        After an object's description 
               primary: --                      or contents are displayed to
               secondary: --                    the player

pre_open       this: The object opened          Before an object is opened 
               primary: --                     
               secondary: --       

post_open      this: The object opened          After an object is opened 
               primary: --                     
               secondary: --                  

pre_close      this: The object closed          Before an object is closed 
               primary: --                     
               secondary: --       

post_close     this: The object closed          After an object is closed
               primary: --                     
               secondary: --                  

pre_tie        this: The door tied to           Before the player ties a rope  
               primary: The rope tied           to a rope door
               secondary: --

post_tie       this: The door tied to           After the player ties a rope  
               primary: The rope tied           to a rope door
               secondary: --

pre_untie      this: The door tied to           Before the player unties a rope 
               primary: The rope tied           from a rope door
               secondary: --

post_untie     this: The door tied to           After the player unties a rope  
               primary: The rope tied           from a rope door
               secondary: --

pre_read       this: The book being read        Before the player reads a book  
               primary: --
               secondary: --

post_read      this: The book being read        After the player reads a book  
               primary: --
               secondary: --

pre_inventory  this: The player doing the       Before the inventory is 
                     inventory                  displayed to the player
               primary: --
               secondary: --

post_inventory this: The player doing the       After the inventory is 
                     inventory                  displayed to the player
               primary: --
               secondary: --

pre_drop       this: The object dropped         Before the player drops an
               primary: --                      object
               secondary: --

post_drop      this: The object dropped         After the player drops an
               primary: --                      object
               secondary: --

pre_lock       this: The object being locked    Before an object is locked
               primary: The key                 
               secondary: --

post_lock      this: The object being locked    After an object is locked
               primary: The key                 
               secondary: --

pre_unlock     this: The object being unlocked  Before an object is unlocked
               primary: The key                 
               secondary: --

post_unlock    this: The object being unlocked  After an object is unlocked
               primary: The key                 
               secondary: --


pre_tell       this: The individual being told  Before an individual is told
               primary: --                      something
               secondary: --

post_tell      this: The individual being told  After an individual is told
               primary: --                      something
               secondary: --

premove        this: The object being moved     When a player tries to move 
               primary: --                      an object.  The move command 
               secondary: --                    only works with specials and 
                                                unless there is a special 
                                                attached, always gives the 
                                                "it wont budge" message.

pre_give       this: The object being given     Before an object is given to
               primary: The target individual   a target individual
               secondary: --

post_give      this: The object being given     After an object is given to
               primary: The target individual   a target individual
               secondary: --

pre_wield      this: The object wielded         Before an object is wielded
               primary: --                      by an individual
               secondary: --

post_wield     this: The object being wielded   After an object is wielded
               primary: --                      by an individual
               secondary: --

pre_unwield    this: The object being unwielded Before an object is unwielded
               primary: --                      by an individual
               secondary: --

post_unwield   this: The object unwielded       After an object is unwielded
               primary: --                      by an individual
               secondary: --

preput_target  this: The object being put       Before an object is put into
               primary: The receptacle for the  another object
                        object being put
               secondary: --

preput_receptacle  this: The receptacle for the     Before an object is put 
                         object being put           into another object
                   primary: The object being put   
                   secondary: --

postput_target this: The object being put       Before an object is put into
               primary: The receptacle for the  another object
                        object being put
               secondary: --

postput_receptacle this: The receptacle for the     Before an object is put 
                         object being put           into another object
                   primary: The object being put   
                   secondary: --

pre_wear       this: The object being worn      Before an object is worn by
               primary: --                      a player
               secondary: --

post_wear      this: The object being worn      After an object is worn by
               primary: --                      a player
               secondary: --

pre_remove     this: The object being removed   Before a wearable is removed 
               primary: --                      by a player
               secondary: --

post_remove    this: The object being removed   After a wearable is removed
               primary: --                      bu a player
               secondary: --

pre_eat        this: The object being consumed  Before food is consumed by
               primary: --                      a player
               secondary: --

post_eat       this: The object consumed        After food is consumed by
               primary: --                      a player
               secondary: --

pre_light      this: The object being lit       Before an object is lit by
               primary: The object doing the    another object
                        lighting 
               secondary: --

post_light     this: The object lit             After an object is lit by
               primary: The object that did the another object
                        lighting 
               secondary: --

pre_extinguish this: The object being           Before a lit object is
                     extinguished               extinguished
               primary: --    
               secondary: --

post_extinguish  this: The object extinguished  After a lit object is
                 primary: --                    extinguished
                 secondary: --

pre_kill       this: The target we are          Before the attack comes
                     attacking
               primary: The player doing the
                        attacking
               secondary: --

post_kill      this: The target we are          After the attack comes
                     attacking
               primary: The player doing the
                        attacking
               secondary: --


on_hit         this: The weapon used            When a blow is landed in battle
               primary: The target being 
                        attacked
               secondary: The attacker

on_death       this: The dying one              When an individual dies in
               primary: The one dealing the     battle
                        death blow
               secondary: --

pre_cast       this: The player doing the       Before the cast occurs but 
                     casting                    after the magic drain
               primary: --
               secondary: --

pre_perform    this: The player doing the       Before the perform occurs but 
                     performing                 after the endurance drain
               primary: --
               secondary: --

pre_sit        this: The player sitting         Before the player sits
               primary: --
               secondary: --

post_sit       this: The player sitting         After the player sits
               primary: --
               secondary: --

pre_sleep      this: The player sleeping        Before the player sleeps
               primary: --
               secondary: --

post_sleep     this: The player sleeping        After the player sleeps
               primary: --
               secondary: --

pre_stand      this: The player standing        Before the player stands
               primary: --
               secondary: --

post_stand     this: The player standing        After the player stands
               primary: --
               secondary: --

pre_play       this: The object being played    When a player tries to play 
               primary: --                      an object.  The play command 
               secondary: --                    only works with specials and 
                                                unless there is a special 
                                                attached, always gives the 
                                                "it produces no sound" message.

pre_enter      this: The item being entered     Before the player enters
               primary: --                      an object
               secondary: --

post_enter     this: The item entered           After the player enters
               primary: --                      an object
               secondary: --

pre_exit       this: The item being exited      Before the player exits
               primary: --                      an object
               secondary: --
 
post_exit      this: The item exited            After the player exits
               primary: --                      an object
               secondary: --

ondig          this: The player doing the       When a player tries to dig.
                     digging                    The dig command only works
               primary: --                      with specials and unless there
               secondary: --                    is a special attached, always
                                                gives the message "You find 
                                                nothing of interest".

pre_listen     this: The location listened to   Before the player listens to
               primary: --                      the location
               secondary: --

post_listen    this: The location listened to   After the player listens to
               primary: --                      the location
               secondary: --

pre_smell      this: The location smelled       Before the player smells the
               primary: --                      air
               secondary: --

post_smell     this: The location smelled       After the player smells the
               primary: --                      air
               secondary: --

pre_action_(name) this: The mudobject the action  Before the player performs
	             is performed on, or the      an action indicated by (name)
                     location it is performed 
		     in
               primary: --                      
               secondary: --


post_action_(name) this: the mudobject the action  After the player performs
                     is performed on, or the       an action indicated by (name)
                     location it is performed 
                     in 
	       primary: --
               secondary: --